]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Quote args passed to convertDefault.sh
[lyx.git] / src / ChangeLog
1 2005-04-17  Angus Leeming  <leeming@lyx.org>
2
3         * converter.C (convert): protect all args of convertDefault.sh
4         script with quotes.
5
6 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * text3.C (dispatch): change the layout to "Caption" after inserting
9         a float.
10
11 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * text3.C (dispatch): fix language problem in newly created
14         textinsets (and main text) in non-english docs
15
16 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
19         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
20         * text3.C (getStatus): disable LFUN_INSET_MODIFY
21
22 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * lyxtext.h:
25         * text.C (metrics): 
26         * text2.C (getFont):
27         * rowpainter.C (getFont): Fix metrics bug introduced by inset
28         fonts fix
29
30 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
33         output of \item arguments without trailing text.
34
35 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * FontIterator.C (operator*): avoid a copy of the font.
38
39 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
40
41         * rowpainter.C (getFont): fix language bug from previous fix
42
43 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
44
45         * rowpainter.C (RowPainter, getFont): fix font inside inset 
46         (bugs 1766, 1809)
47
48 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
51         preventing inserted font, deco, delim insets jumping to start of
52         surrounding inset.
53
54 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * lyxfunc.C (dispatch): translate message before sending it to the
57         minibuffer. 
58
59 2005-03-29  Angus Leeming  <leeming@lyx.org>
60
61         * lyx_main.C (priv_exec): call os::internal_path on each file passed
62         to LyX on the command line.
63
64 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
65
66         * vc-backend.C: use QuoteName to protect file names wherever
67         necessary. 
68
69 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
70
71         * buffer.[Ch]:
72         * BranchList.h: fix bugs 1844,1845: document settings don't
73         stick
74
75 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * lyxrc.C (setDefaults, read, output, getDescription): add support
78         for tex_allows_spaces.
79
80         * exporter.C (Export): allows files in directory containing spaces
81         if tex_allows_spaces is true.
82
83         * buffer.C (makeLaTeXFile): if the document path contains spaces,
84         output it in double quotes.
85
86 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * rowpainter.C: use default text height for drawing change tracker
89         strikeout lines.
90
91 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
94
95 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
98         directory is missing.
99
100 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
101
102         * text2.C: fixed the fix, extended to other case.
103
104 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * text2.C: fix for cursor up/down stuck in math [bug 1792]
107
108 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * text2.C (cursorUp): get rid of a crash
111         * text.C (x2pos): add an assert
112
113 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * lyxfunc.C (getStatus): fix warning when assertions are disabled
116
117         * text3.C: 
118         * lyxfunc.C: 
119         * dociterator.C: include <boost/current_function.hpp>, which is
120         needed when assertions are disabled.
121
122 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
123
124         * text2.C: fix for stuck cursor when traversing two 
125         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
126
127 2005-02-25  Andreas Vox  <avox@arcor.de>
128
129         * output_docbook.C (makeParagraph): suppress trailing newline
130         after a run of paragraphs
131
132 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
133
134         * paragraph.C: fix for confused change tracker when pasting
135         text that begins with a lineseparator. [bug 1827]
136         (setChange(0, Change::INSERTED);)
137
138         * paragraph_funcs.C: fix for lost changes on triple-paste
139         in change tracking mode [bug 1827] (par.setChange()).
140
141 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * text2.C (updateCounters, setCounter, expandLabel): move to
144         buffer_funcs.
145
146         * buffer_funcs.C (updateCounters): turn into a free standing
147         function and add a buffer parameter. Remove dead code for tracking
148         labelstring change.
149         (setCounter): change into a free-standing function which gets a
150         dociterator as argument. Use this iterator to fix captions in a
151         simple way. When no float is found above the caption, use the
152         labelstring of the caption layout as default.
153
154         * text.C (breakParagraph, backspace): 
155         * text2.C (init, setLayout, changeDepth):
156         * text3.C (dispatch): 
157         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
158         updateCounters.
159
160         * dociterator.C (forwardPar): make it much faster by calling
161         forwardPos() only when really necessary.
162
163         * output_docbook.C (makeCommand): adapt to expandLabel move.
164
165         * cursor.C: remove unused variable
166
167 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
168
169         * paragraph_funcs.C: fix crash when pasting insets in change 
170         tracking mode [bug 1277] (honour change type in moveItem).
171
172 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
173
174         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
175
176 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
177
178         * BufferView.C (setCursor): change to use a DocIterator.
179         (gotoLabel): use BufferView::setCursor (other part of bug 781).
180         (putSelectionAt): adapt to BufferView::setCursor change.
181
182         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
183         moved here from LyXText and rewritten to use proper cursor
184         methods. Fixes bug 1787, 616 and 835.
185
186         * BufferView_pimpl.C (restorePosition): set the cursor correctly
187         when inside an inset (part of bug 781).
188         (dispatch): adapt to change of BufferView::setCursor.
189         (getStatus, dispatch): handle LFUN_GOTOERROR,
190         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
191
192         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
193         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
194         * text3.C (gotoNextInset, gotoInset): removed.
195
196 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
199
200 2005-02-15  Angus Leeming  <leeming@lyx.org>
201
202         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
203         can be used meaningfully in a comparison.
204
205 2005-02-13  André Pönitz  <poenitz@gmx.net>
206
207         * bufferview_funcs.C (coordOffset): improve cursor drawing
208
209 2005-02-13  André Pönitz  <poenitz@gmx.net>
210
211         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
212         * Cursor.C (dispatch): use fixIfBroken
213         * lyxfunc.C (getStatus): use fixIfBroken
214
215 2005-02-15  Angus Leeming  <leeming@lyx.org>
216
217         * lyx_main.C (error_handler):
218         * lyxfunc.C:
219         * lyxrc.C (setDefaults):
220         s/GetEnv/getEnv/.
221         #include "environment.h".
222
223         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
224
225 2005-02-15  Angus Leeming  <leeming@lyx.org>
226
227         * lyxserver.C (startPipe): squash MSVC warning "local variable
228         'fd' used without having been initialized".
229
230 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * BufferView_pimpl.C: revert accidental commit.
233
234 2005-02-14  André Pönitz  <poenitz@gmx.net>
235
236         * dociterator.[Ch]: new member forwardPosNoDescent(),
237         which doesn't enter nested insets.
238         * text2.C (setFont): use forwardPosNoDescent() instead
239         of ForwardPos() (fixes crash on font change).
240
241 2005-02-13  Angus Leeming  <leeming@lyx.org>
242
243         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
244         only if lyxrc.path_prefix is not empty.
245
246 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * bufferparams.C (readGraphicsDriver): prevent crash
249
250 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * text2.C (setCounter): check for inInset() == 0
253
254 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
257         but use update() to get correct screen display; use convert
258         instead of istringstream. 
259         (getStatus): handle LFUN_GOTO_PARAGRAPH 
260
261         * lyxfunc.C (dispatch, getStatus): do not handle
262         LFUN_GOTO_PARAGRAPH here.
263
264 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * text3.C (dispatch): size() -> depth()
267
268         * text2.C: remove some debug output
269
270         * paragraph.C: ws changes only
271
272         * lyxfunc.C (getStatus): size() -> depth()
273
274         * dociterator.h (clear, push_back, pop_back, internalData,
275         operator[], resize, empty): new functions
276         Make StableDocIterator and operator== be friends. Don't inherit
277         from std::vector use a privat class variable slices_ instead.
278         Modify to fit.
279
280         * dociterator.C: update because of not inheriting from std::vector
281         anymore. Call explictly to slices_ instead. Use depth() instead of
282         size() and top() instead of back()
283
284         * cursor.C: chagne size() -> depth and back() -> top(). Also
285         remove some direct operator[](i) calls in favour of foo[i]
286         (getFont): remove some dead code
287
288         * bufferview_funcs.C (coordOffset): size() -> depth()
289
290         * buffer.C: ws changes only
291
292         * CutAndPaste.C (eraseSelection): back() -> top()
293
294         * BufferView_pimpl.C (selectionRequested): back() -> top()
295
296         * BufferView.C (setCursor): size() -> depth()
297
298 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
299
300         * text3.C (cursorPrevious): return true if depm changed something
301         (cursorNext): ditto
302         (dispatch): rename sl to oldTopSlice, remove moving use the new
303         NoUpdate func attrib instead. Make sure that needsUpdate is set
304         for function that have NoUpdate, but where depm might have changed
305         the buffer anyway.
306
307         * text2.C (cursorLeft): make us return true if depm changed
308         something
309         (cursorRight): ditto
310         (cursorUpParagraph): ditto
311         (curosrDownParagraph): ditto
312         (cursorUp, cursorDown): ditto, make sure to read comments in code
313         (deleteEmptyParagraphMechanism): remove an assert, also return
314         true if just a single char was deleted.
315
316         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
317         cursor that we modify, to avoid modifying an active cursor before
318         we call setCursor. This allows depm to run. Also return true if
319         depm deleted something.
320
321         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
322         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
323         cursorDownParagraph, cursorPrevious and cursorNext, return true if
324         something was changed in the buffer because of them (ie. depm run)
325
326         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
327         debug messages. Make update by default be false. Make sure that
328         the result of update is retained throught several calls down to
329         dispatch.
330
331         * LyXAction.h: add a new func_attrib: NoUpdate
332
333         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
334         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
335         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
336         and LFUN_WORDLEFT
337         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
338
339 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
342         bv_->owner(), bv_->buffer() by direct references to the private
343         members.
344         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
345         (getStatus): isSavedPosition() is in BufferView::Pimpl.
346         (fitCursor): center() is in BufferView::Pimpl.
347         (getStatus, trackChanges, dispatch): no need for a temporary buf
348         variable
349         (fitCursor, workAreaDispatch): use workarea().workheight()
350
351 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * CutAndPaste.C (pasteSelectionHelper): fix a crash
354
355 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
356
357         * buffer.C: format up to 241.
358         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
359         break if pasting into ERT
360         * lyxfunc.C (getStatus): suppress mathpanel and
361         LFUN_DIALOG_SHOW_NEW_INSET in ERT
362
363 2005-02-01  Angus Leeming  <leeming@lyx.org>
364
365         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
366
367 2005-02-01  Angus Leeming  <leeming@lyx.org>
368
369         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
370         calling fs::is_directory().
371
372 2005-01-31  Angus Leeming  <leeming@lyx.org>
373
374         * lyx_main.C (priv_exec): specify explicitly the relative location
375         of the top level build directory when run in-place.
376
377 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
380         LyXText containing the cursor, not the top-level one.
381
382         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
383         true.
384         (insertStringAsLines): rename par to pit; use temporary variable
385         par to hold a Paragraph; do not store par.layout() in a variable,
386         since the pointer may die when breaking paragraphs; pass pars to
387         breakParagraph() instead of Buffer::paragraphs().
388
389 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
390
391         * lyxlex_pimpl.h: #include <fstream>.
392
393         * BufferView.[Ch] (getLyXText): add a const version.
394
395         * BufferView_pimpl.C: add debug aids.
396
397         * RowList_fwd.h:
398         * buffer.h:
399         * lyxrow.h:
400         * paragraph_funcs.h: add commentary explaining what the class does.
401
402
403         * coordcache.[Ch]: add lots of commentary.
404         (startUpdating, doneUpdating): debug aids.
405         (arrays, insets, parPos, getParPos): accessors to private data.
406
407         * cursor_slice.[Ch] (text): add a const version.
408         * dociterator.[Ch] (text, innerText): add const versions.
409
410         * lyxtext.h (breakParagraph): change the keep_layout arg to a
411         bool.
412
413         * paragraph.C (getRow, pos2ros): add asserts.
414
415         * paragraph.h: add commentary. Lots of.
416
417         * paragraph.[Ch] (metrucs, draw): removed.
418
419         * cursor.C:
420         * rowpainter.[Ch]: const-correct changes.
421
422         * text.C: various obvious clean-ups. Removal of ancient cruft.
423         Bug fixes, even.
424
425 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
426
427         * vc-backend.C (find_file): rewrite to use boost.filesystem
428         (scanMaster): ditto
429
430         * main.C (main): set default name check for boost.filesystem to
431         no check
432
433         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
434         (open): ditto
435         (doImport): ditto
436         (actOnUpdatedPrefs): ditto
437
438         * lyx_main.C (init): rewrite to use boost.filesystem
439         (queryUserLyXDir): ditto
440
441         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
442         (getContentsOfAsciiFile): ditto
443
444         * lastfiles.C (readFile): rewrite to use boost.filesystem
445
446         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
447
448         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
449         (loadLyXFile): ditto
450
451         * buffer.C (Buffer): adjust for destroydir
452         (getLogName): rewrite to use boost.filesystem
453         (setFileName): ditto
454         (save): use fs::copy_file (from fs_extras)
455
456         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
457
458         * LaTeX.C (run): rewrite to use boost.filesystem
459         (scanAuxFiles): ditto
460         (handleFoundFile): ditto
461
462 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
463
464         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
465
466         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
467
468 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
469
470         * lyxlayout.[Ch]: change some vars from float to double
471
472         * buffer.C (readFile): make a local var const
473
474         * Several files: use convert<> instead of atoi,strToXXX and friends
475
476 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * LaTeXFeatures.[Ch]: Add a static list packages_ that
479         holds the contents of packages.lst. New functions getAvailable
480         and isAvailable to parse and check that list, resp.
481
482         * LyXAction.C:
483         * lfuns.h:
484         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
485
486         * bufferparams.[Ch]: new param output_changes.
487
488         * Buffer.C: increase file format to 240.
489         Use output_changes and isVailable.
490
491         * changes.[Ch]:
492         * paragraph.C:
493         * paragraph_pimpl.C: Use output_changes and isVailable.
494
495 2005-01-23  Angus Leeming  <leeming@lyx.org>
496
497         * output_latex.C: #include "insetbibitem.h", rather than
498         forward declare function bibitemWidest.
499
500 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
501
502         * lyx_main.C (init): make it compile on the Mac.
503
504 2005-01-20  Angus Leeming  <leeming@lyx.org>
505
506         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
507         (setLyXMisc): (char string literal) != (char string literal) is
508         performing a comparison on the addresses. Convert one operand
509         explicitly to string to guarantee expected behaviour.
510         From MSVC warning.
511
512 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
513
514         * buffer.C:
515         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
516
517         * output_plaintext.C: remove unneeded #include gzstream.h.
518
519 2005-01-20  Angus Leeming  <leeming@lyx.org>
520
521         * SpellBase.h: rename some of the elements of the Result enum.
522
523         * aspell_local.h:
524         * ispell.h:
525         * pspell.h:
526         * aspell.C (check):
527         * ispell.C (check):
528         * pspell.C (check): ditto
529
530 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
531
532         * buffer.C: add #include <fstream>.
533
534         * lyx_main.C (init): Compile fix.
535
536         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
537
538 2005-01-20  Angus Leeming  <leeming@lyx.org>
539
540         * mover.h: change commentary to reflect the changed meaning of
541         the $$s placeholder.
542
543 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * output_linuxdoc.C (linuxdocParagraphs): silence warning
546
547         * lyxfind.C (MatchString::operator()): remove bogus semicolon
548
549 2005-01-20  Angus Leeming  <leeming@lyx.org>
550
551         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
552         printing diagnostic data by not dereferecing an iterator past the
553         end.
554
555 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
556
557         * buffer.C (readHeader): use "&&" rather than "and".
558
559         * lyxserver.h (inPipeName, outPipeName): make these const.
560
561 2005-01-19  Angus Leeming  <leeming@lyx.org>
562
563         * lyx_main.C (error_handler, init): protect SIGHUP with
564         #ifdef SIGHUP guards.
565
566 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
569
570 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * text.C (setHeightOfRow): add a margin at the top and bottom of
573         the document (bug 1761)
574
575 2005-01-17  Angus Leeming  <leeming@lyx.org>
576
577         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
578         with "python ". Workaround for a brain-dead Windows.
579
580 2005-01-16  Angus Leeming  <leeming@lyx.org>
581
582         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
583         for MacOSX and Windows to use prependEnvPath.
584         Strip out the hard-coded block to add elements to the PATH for
585         MacOSX and replace it with a call to prependEnvPath using the
586         contents of LyXRC::path_prefix.
587         (queryUserLyXDir): strip out the code to run reconfigure, instead
588         returning a boolean indicating the necessity to do so.
589         (reconfigureUserLyXDir): contains the code to reconfigure the
590         user support directory. Is now called after the various LyXRC data
591         files have been read.
592
593         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
594
595 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * converter.[Ch] (convert): take a new parameter try_default. Use
598         a default converter (imagemagick) if try_default is true.
599
600 2005-01-13  Angus Leeming  <leeming@lyx.org>
601
602         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
603         os::cygwin_path_fix.
604         (write): output LyXRC::cygwin_path_fix as necessary.
605
606 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
607
608         * lyxrc.h:
609         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
610
611 2005-01-12  Angus Leeming  <leeming@lyx.org>
612
613         * lyx_main.C (init): set the PATH variable to include the
614         directory containing the LyX binary when running on Mac or Windows.
615
616 2005-01-12  Angus Leeming  <leeming@lyx.org>
617
618         * lyx_main.C (init): remove cruft that purports to set the locale
619         dir. It doesn't and is not needed anyway.
620
621 2005-01-10  Angus Leeming  <leeming@lyx.org>
622
623         * Makefile.am: remove the lyx_main.C special casing.
624
625         * BufferView_pimpl.C:
626         * bufferlist.C:
627         * exporter.C:
628         * lyx_cb.C:
629         * lyx_main.C:
630         * lyxfunc.C:
631         * messages.C: use support/package.h to provide the paths to the
632         various directories used by LyX.
633
634 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
635
636         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
637         layout if pasting into an empty paragraph)
638
639 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * tex-accent.C: add <string>
642
643 2005-01-06  José Matos  <jamatos@lyx.org>
644
645         * ParagraphParameters.C (write): put every parameter in its own line.
646         * paragraph.C (write): reduce number of consecutive empty lines exported.
647         * buffer.C (LYX_FORMAT): increase file format to 239.
648
649 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * everywhere: change support/tostr.h -> support/convert.h
652
653         * tabular.C: make all write_attributes templates, tostr -> convert
654
655         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
656         (emptyTag): and -> &&, and fix type for ret from getChar
657         (getFirstWord): fix type for ret from getChar
658         (onlyText): and -> &&
659         (simpleDocBookOnePar): and not -> && !, fix type for ret from
660         getChar
661
662         * toc.C (goTo, action):
663         * text3.C (dispatch):
664         * text.C (currentState):
665         * tex-accent.C (DoAccent):
666         * sgml.C:
667         * lyxrc.C:
668         * lyxfunc.C (menuNew):
669         * lyxfinc.C (replace):
670         * counters.C (laberItem):
671         * bufferview_funcs.C (font2string):
672         * bufferparams.C (writeFile):
673         * buffer.C (readFile):
674         * Spacing.C (set):
675         * MenuBackend.C: tostr -> convert
676
677         * LaTeX.C (runMessage): fix format
678         (scanAuxFiles): tostr -> convert
679
680         * BufferView_pimpl.C (savePosition): fix format
681         (restorePosition): ditto
682         (dispatch): ditto
683
684 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
685
686         * Spacing.[Ch]: New method getValueAsString().
687
688         * Spacing.[Ch]:
689         * bufferparams.C:
690         * ParagraphParameters.C:
691         * lyxlayout.C:
692         * text.C:
693         * text3.C: store/read spacing value as string.
694
695         * rowpainter.C: change float value (spacing_val) to double.
696
697         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
698         broken custom document spacing).
699
700 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
701
702         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
703         namespace, also more use of temp references and const
704
705         * cursor.[Ch] (getStatus): move to lyxfunc.C
706
707         * bufferparams.C: reformat slightly
708
709         * bufferview_funcs.C (font2string): constify arg
710
711         * changes.C:
712         * converter.C:
713         * counters.C:
714         * bufferlist.C:
715         * buffer_funcs.C: (many funcs): constify arg on function
716         definitions, also make more local vars const, also add ASSERTS on
717         pointer args.
718
719         * buffer.C (LYX_FORMAT): put const in correct place
720         (many funcs): constify arg on function definitions, also make
721         more local vars const
722
723         * aspell_local.h: remove "struct" from typdef setup
724
725         * aspell.C (check): make word_ok const
726         (nextMiss): simplify slightly
727         (error): ditto
728
729 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * lyxrc.[Ch]: store all float values as strings.
732         use int (not float) for lyxrc.dpi.
733
734 2005-01-04  Angus Leeming  <leeming@lyx.org>
735
736         * lyx_cb.C (Reconfigure):
737         * lyx_main.C (queryUserLyXDir):
738         to run the <system_lyxdir>/configure correctly on Windows, prefix
739         the path to the script with "sh " when generating the string that
740         is passed to system().
741
742 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
743
744         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
745
746 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * lyxlength.C (asLatexString): get rid of setprecision
749
750 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * text2.C (setLayout): remove unused variable endpit.
753         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
754
755         * paragraph.C (onlyText): remove unused variable style.
756
757         * cursor.C (bruteFind): remove unused variables beg and end.
758
759         * Makefile.am (dist_noinset_DATA): not needed anymore
760
761         * cheaders/*: remove.
762
763 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
764
765         * text3.C: fix LFUN_MATH_MODE.
766
767 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * buffer_funcs.C (countWords): new function. Counts words between
770         two iterators.
771
772         * BufferView_pimpl.C (getStatus, dispatch): handle
773         LFUN_WORDS_COUNT.
774
775         * LyXAction.C (init):
776         * lfuns.h: add LFUN_WORDS_COUNT.
777
778 2004-12-19  Angus Leeming  <leeming@lyx.org>
779
780         * buffer.C (save): s/slashify_path/internal_path/.
781
782 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
783
784         * lyxfind.C (findChange): do not search for end of pars, because
785         the change tracker cannot handle this (fixes bug 1719).
786
787 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * paragraph.[Ch] (autoBreakRows): remove
790
791         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
792
793         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
794         avoid using the paragraph one
795
796         * text2.C (LyXText, insertStringAsLines): adjust
797
798 2004-12-16  Angus Leeming  <leeming@lyx.org>
799
800         * bufferlist.C:
801         * lyx_main.C:
802         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
803
804 2004-12-14  Angus Leeming  <leeming@lyx.org>
805
806         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
807
808         * bufferlist.C (emergencyWrite):
809         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
810         GetEnvPath("HOME").
811
812 2004-12-14  Angus Leeming  <leeming@lyx.org>
813
814         * main.C: (main): no longer pass pointers to os::init.
815
816 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * undo.C (textUndoOrRedo): simplify logic, fix a crash
819         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
820
821 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
822
823         * lyxfunc.C:
824         * text3.C: remove selection_possible global flag
825
826 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
827
828         * text2.C (getSelectionSpan): remove
829         (changeDepth, changeDepthAllowed): adjust
830
831 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
832
833         * Makefile.am (BOOST_LIBS): use boost variables
834
835 2004-12-03  José Matos  <jamatos@lyx.org>
836
837         * buffer.C: format up to 238.
838
839 2004-12-03  José Matos  <jamatos@lyx.org>
840
841         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
842
843 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
844
845         * cursor.C (goUpDown): remove call to idxUpDown2
846
847 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
848
849         * tabular.[Ch]: use size_t-like types for cell, row and column
850         indices
851
852 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * lyxfunc.C (getStatus): do not lose previous information when
855         calling BufferView::getStatus; do not set a default "Command
856         disabled" message at the beginning, but just before returning.
857
858 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
859
860         * cursor.h (getStatus): add better comment from src/cursor.C
861
862 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * text3.C (getStatus): return false when the lfun is not handled
865
866 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
867
868         * broken_headers.h: remove
869
870         * Makefile.am (lyx_SOURCES): remove broken_headers.h
871
872 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
873
874         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
875         offset_ref accessors
876
877         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
878         top_y_, merge fitcursor with update
879         (updateScrollbar, scrollDocView, fitCursor, center, update): new
880         coord scheme
881         (metrics): introduce
882         (workAreaDispatch): adapt to new coord scheme
883         (redoCurrentBuffer): remove
884
885         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
886
887         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
888         CurStatus enum.
889
890         * coordcache.[Ch]: add paragraph cache and helpers
891
892         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
893         adjust everywhere
894
895         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
896         (targetX, setTargetX): introduce
897
898         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
899         baseline -> ascent, as the rest of lyx
900
901         * lyxtext.h: remove redoParagraphs, updateParPositions,
902         fullRebreak, redoParagraphInternal. move dist to anon namespace in
903         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
904         have ascent/descent (ascent is ascent of first par)
905
906         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
907         step of BufferView
908
909         * paragraph.[Ch]: unify dimension handling with the rest of lyx
910
911         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
912
913         * pariterator.C: fix infinite loop introduced in par->pit renaming
914
915         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
916         in insets and LyXText, draw two off-screen paragraphs using
917         NullPainter, and adapt to new coord scheme
918
919         * text.C:
920         * text2.C:
921         * text3.C: adapt lfun handlers to the new coord scheme, which
922         means: there's only guaranteed coord information for onscreen pars
923         plus one above and one below. This implies that one can do search
924         from y coordinates in the range [-1,workHeight]
925
926 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * rename a lot of InsetOld to InsetBase
929
930 2004-11-25  Angus Leeming  <leeming@lyx.org>
931
932         * BufferView_pimpl.C:
933         * lyx_cb.C:
934         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
935
936 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
939         call BufferView::getStatus if LCursor::getStatus did nothing
940         (setStatusMessage, getStatusMessage): removed.
941
942         * FuncStatus.C (message): new methods. Used to provide an error
943         message indicating why a command is disabled.
944         (clear, |=, FuncStatus): update for message.
945
946 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * lyxfunc.C (dispatch): always call sendDispatchMessage
949
950 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * BufferView.C:
953         * BufferView_pimpl.C:
954         * CutAndPaste.C:
955         * FontIterator.C:
956         * buffer.C:
957         * cursor.C:
958         * cursor_slice.[Ch]:
959         * dociterator.[Ch]:
960         * lyxfind.C:
961         * paragraph_funcs.C:
962         * pariterator.C:
963         * rowpainter.C:
964         * text.C:
965         * text2.C:
966         * text3.C:
967         * undo.C: par->pit renaming
968
969 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * tabular.C (cellstruct): use initialization, store a shared_ptr
972         to insettext instead of the insettext directly, adjust to fit.
973         (operator=):  new function
974         (swap): new function
975         (rowstruct): use initialization
976         (columnstruct): use initialization
977         (ltType): use initialization
978
979
980         * lyxlength.h (swap): new function
981
982         * LColor.[Ch] (operator=): use the common semantics
983
984 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * lyxfind.C (findNextChange): update the bufferview after setting
987         the selection.
988
989 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
992         number of InsetOptArgs has already been inserted.
993
994         * output_latex.C (latexOptArgInsets): new method. This outputs all
995         the optarg insets, up to the limit defined in the layout file.
996         (optArgInset): removed
997         (TeXOnePar): call latexOptArgInsets; correctly update texrow
998
999 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * paragraph.C (isLetter): remove special spellchecker-related
1002         code; return true also for digits
1003         (isWord, isKomma): remove
1004
1005         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1006         * lyxfind.C (MatchString()): use isLetter instead of isWord
1007
1008 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * pariterator.h (operatir=): comment out un-implemented member
1011         function.
1012
1013         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1014         static cast.
1015
1016 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1017
1018         * lyxfont.h: include LColor.h to satisfy concept checks.
1019
1020 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1021
1022         * pariterator.h: add typdefs for value_type, difference_type,
1023         pointer and reference to satisfy concept checks. Also add default
1024         constructor for same reason.
1025
1026         * pariterator.C (operator++): add post-increment operator to
1027         satisfy concept checks.
1028
1029         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1030         checks.
1031
1032         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1033
1034         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1035         checks. Also rename base_type to BaseType to follow naming
1036         standard better.
1037
1038         * FloatList.h: include Floating.h to satisfy concept checks.
1039
1040 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * lyxfunc.C (getStatus): when the origin of the request is menu or
1043         toolbar, and the LyXView does not have focus, do as if there was
1044         no buffer (bug 1720)
1045
1046         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1047         FuncRequest to individual entries of LFUN_SEQUENCE
1048
1049 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * output_latex.C (TeXOnePar): override runparams.moving_arg
1052         according to the needprotect value of the current paragraph (bug
1053         1739)
1054
1055         * paragraph.C (simpleTeXOnePar): no need to override
1056         runparams.moving_args here
1057
1058 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1059
1060         * vspace.C: fix off-by-one-error, related to fix #1682
1061
1062 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1063
1064         * lengthcommon.C: a more general fix for bug 1682
1065
1066 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * text.C (backspace): fix crash
1069
1070 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1071
1072         * format.[Ch] (getFormatFromFile): new method
1073         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1074
1075 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1078
1079 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1080
1081         * lyxfunc.C (dispatch): remove the verbose argument
1082         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1083         instead
1084
1085         * kbmap.C (defkey): set the origin of func to KEYBOARD
1086
1087         * MenuBackend.C (MenuItem):
1088         * ToolbarBackend.C (add): set the origin of func to UI
1089
1090         * funcrequest.[Ch]: add origin member, which indicates which part
1091         of LyX requests an action
1092
1093 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * converter.C (move): don't lie in the error message
1096         * converter.h (isReachable, move): document
1097
1098 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1099
1100         * buffer.C: remove unused using lyx::support::atoi
1101         * paragraph_funcs.C: ditto
1102
1103 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1104
1105         * bufferlist.C (exists): use bind and equal_to instead of
1106         compare_memfun
1107         (getBuffer): ditto
1108         * lyxtextclasslist.C (NumberOfClass): ditto
1109
1110         * cursor.C (insert): use for_each instead of explicit for loop
1111
1112         * bufferlist.C (getFileNames): use std::transform and
1113         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1114
1115         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1116         for loop
1117
1118         * buffer.C (changeLanguage): use for_each instead of explicit for
1119         loop
1120         (hasParWithID): implement using getParFromID
1121
1122         * LaTeXFeatures.C: ws change only
1123
1124         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1125         to cleanup a bit.
1126
1127         * BufferView_pimpl.C (trackChanges): use for_each instead of
1128         expilicit for loop
1129
1130 2004-11-04  André Pönitz  <poenitz@gmx.net>
1131
1132         * undo.h:
1133         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1134
1135         * dociterator.C (asDocIterator): use hard assert again.
1136
1137 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * lyxlength.C (asLatexString): rewrite so that it does not use
1140         snprintf anymore
1141
1142 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * text3.C (specialChar, dispatch): make sure cursor moves to the
1145         right after inserting an inset
1146
1147 2004-11-02  José Matos  <jamatos@lyx.org>
1148
1149         * output_docbook.C (docbook):
1150         * paragraph.C (getID):
1151         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1152         garantee that the output is always legal.
1153
1154         * tabular.C (docbook):
1155         * outputprams.[Ch]: remove mixed contents.
1156
1157 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1158
1159         * text2.C (setCounter): prevent endless loop
1160
1161 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * exporter.C (copyFile): use the mover instead of support::copy()
1164         * exporter.C (Export): pass format and latex name to copyFile()
1165         * exporter.h (addExternalFile): document
1166         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1167
1168 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1169
1170         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1171
1172 2004-10-30  José Matos  <jamatos@lyx.org>
1173
1174         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1175         text and no inset or font change. This allows to use CDATA
1176         sections just for the whole paragraph.
1177
1178 2004-10-30  José Matos  <jamatos@lyx.org>
1179
1180         * paragraph.C (getFirstWord): remove unused variable.
1181
1182 2004-10-30  José Matos  <jamatos@lyx.org>
1183
1184         * paragraph.C (getFirstWord): the content should always be escaped
1185         there.
1186         (simpleDocBookOnePar):
1187         * output_docbook.C (makeEnvironment): replace reference to CDATA
1188         to style pass_thru.
1189
1190 2004-10-30  José Matos  <jamatos@lyx.org>
1191
1192         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1193
1194 2004-10-30  José Matos  <jamatos@lyx.org>
1195
1196         * output_docbook.C (makeParagraphs):
1197         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1198         standard paragraph has only a given type of content drop the wrapper.
1199
1200 2004-10-29  José Matos  <jamatos@lyx.org>
1201
1202         * output_docbook.C (makeEnvironment):
1203         * sgml.C (openTag):
1204         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1205
1206 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1207
1208         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1209         (cleanID): sanitize any id.
1210
1211 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1212
1213         * buffer.C, lyxlex_pimpl.C:
1214         * lyxlex_pimpl.C (setFile):
1215         s/getExtFromContents/getFormatFromContents/
1216
1217 2004-10-28  José Matos  <jamatos@lyx.org>
1218
1219         * output_docbook.C (makeEnvironment): move id to broadest possible
1220         scope.
1221
1222         * sgml.C (openTag): apply substitution of <> for all attributes.
1223
1224 2004-10-28  José Matos  <jamatos@lyx.org>
1225
1226         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1227         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1228         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1229
1230         * sgml.[Ch]: new version for open and closeTag for paragraph and
1231         for strings. Now they handle the ids of paragraphs.
1232
1233 2004-10-26  Angus Leeming  <leeming@lyx.org>
1234
1235         * Makefile.am: add mover.[Ch].
1236
1237         * converter.C (convert, move): use the new Movers to move external
1238         files to the temp directory.
1239
1240         * lyx_main.C (init): ensure that the global system_movers data
1241         is initialised.
1242
1243         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1244         preferences file.
1245
1246         * mover.[Ch]: new files, defining a Mover as a utility to move an
1247         external file between directories and, if necessary, manipulate this
1248         file using a helper script.
1249
1250 2004-10-25  José Matos  <jamatos@lyx.org>
1251
1252         * output_docbook.C (makeCommand): merge two if's that tested the
1253         same condition.
1254
1255 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * sgml.C (escapeString): fix warning in a better way
1258
1259 2004-10-25  José Matos  <jamatos@lyx.org>
1260
1261         * sgml.C (escapeString): import the require boosts header file for
1262         tie, and avoid a signed unsigned comparison.
1263
1264 2004-10-25  José Matos  <jamatos@lyx.org>
1265
1266         * sgml.h: add #include <string>
1267
1268 2004-10-25  José Matos  <jamatos@lyx.org>
1269
1270         * sgml.[Ch] (escapeString): new function to escape all the string.
1271
1272 2004-10-24  José Matos  <jamatos@lyx.org>
1273
1274         * paragraph.[Ch] (getFirstWord): new function to get the first
1275         word. Useful for description.
1276         (simpleDocBookOnePar): remove depth argument, add another that
1277         says where to start the paragraph.
1278
1279         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1280         use the new functions to fix cleanly the support for descriptions.
1281
1282 2004-10-24  José Matos  <jamatos@lyx.org>
1283
1284         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1285         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1286         * output_linuxdoc.C (linuxdocParagraphs):
1287         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1288         add buffer as argument.
1289
1290 2004-10-24  José Matos  <jamatos@lyx.org>
1291
1292         * output_docbook.C (makeEnvironment, searchEnvironment): place
1293         CDATA inside paragraphs and fix scope for listitems.
1294
1295 2004-10-24  José Matos  <jamatos@lyx.org>
1296
1297         * output_docbook.C: remove using statement for stack.
1298
1299 2004-10-23  José Matos  <jamatos@lyx.org>
1300
1301         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1302         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1303         docbook. The new scheme is recursive and makes use of iterators, the
1304         same as latex export works.
1305         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1306         directly with the paragraph contents. This code was moved up to
1307         output_docbook.C (docbookParagraphs).
1308         * sgml.C (openTag, closeTag): removed unneeded newlines.
1309         (closeEnvTags) removed.
1310
1311 2004-10-23  André Pönitz  <poenitz@gmx.net>
1312
1313         * undo.C (textUndoOrRedo):
1314         * dociterator.C (asDocIterator): work around crash
1315
1316         * cursor.C (getStatus): replace ASSERT by more verbose error message
1317           and manual correction of the problem. Should increase stability
1318           while providing more sensible information.
1319
1320 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1323
1324         * bufferlist.C (previous, next): new methods
1325
1326         * lfuns.h:
1327         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1328
1329 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1330
1331         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1332         entities to preamble.
1333
1334 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1335
1336         * messages.C (Pimpl): strip off translation context information
1337
1338 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1341         the cursor is correct (bug 1694)
1342
1343 2004-10-13  José Matos  <jamatos@lyx.org>
1344
1345         * output_docbook.C (docbookParagraphs): fix closing tags in the
1346         end of the document.
1347
1348 2004-10-09  José Matos  <jamatos@lyx.org>
1349
1350         * buffer.C: format up to 237.
1351         * bufferparams.C (write): use tostr to convert booleans to strings.
1352
1353 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1356
1357 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1358
1359         * LaTeX.C: implement use of babel language in xindy.
1360
1361 2004-10-05  José Matos  <jamatos@lyx.org>
1362
1363         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1364         Add new translators to help reading and writing the lyx file.
1365
1366 2004-10-05  José Matos  <jamatos@lyx.org>
1367
1368         * ParagraphParameters.C (read):
1369         * text.C (readParToken): replace nexToken by more appropriate lex
1370         methods.
1371
1372 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1373
1374         * LaTeX.C (runMakeIndex):
1375         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1376         (usually 'makeindex') configurable.
1377
1378         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1379         with a variable rather than with a number.
1380
1381 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * output_latex.C (TeXOnePar): make sure font setting is the first
1384         thing that gets output (and the last at the end). Should fix bug
1385         1404.
1386
1387 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * pch.h: use proper signal include
1390
1391         * LaTeX.h: Use preferred calling of Boost.Signal
1392         * buffer.h: ditto
1393
1394 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1395
1396         * pch.h: dont include <boost/function/function0.hpp>
1397
1398         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1399
1400         * paragraph_pimpl.h: remove usage of ShareContainer
1401
1402         * paragraph_pimpl.C: remove initialization of ShareContainer.
1403
1404 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         Fix bug #1666
1407
1408         * BufferView.C (putSelectionAt): change the semantics when
1409         backwards == true: now, this just swaps cursor and anchor wrt the
1410         forward case
1411
1412         * BufferView.h (putSelectionAt): add some documentation
1413
1414         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1415         make sure backwardChar is done at least once (to avoid getting
1416         stuck)
1417         (findNextChange): use putSelectionAt in the forward direction
1418         (operator()): use Paragraph::isWord
1419
1420 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1421
1422         * Spacing.C (set): c_str fix
1423
1424 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * lyx_cb.C (Reconfigure): quote the name of configure script in
1427         case it contains spaces
1428
1429 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1430
1431         * client: new dir
1432
1433         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1434         (BOOST_LIBS): use top_buildir when looking for the file
1435
1436 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1437
1438         * pch.h: do not use include boost/format.hpp, multiple symbols
1439                 will result (gcc bug)
1440
1441
1442 2004-08-23  José Matos  <jamatos@lyx.org>
1443
1444         * bufferparams.C (readToken): fix reading of the author field.
1445
1446 2004-08-20  José Matos  <jamatos@lyx.org>
1447
1448         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1449
1450 2004-08-20  José Matos  <jamatos@lyx.org>
1451
1452         * lyxlex.[Ch] (findToken): remove function.
1453
1454         * ParagraphParameters.C (findToken):
1455         * bufferparams.C (findToken): replace call for previous function
1456         with local copy. This local function has one more argument, the
1457         read string argument.
1458
1459 2004-08-16  José Matos  <jamatos@lyx.org>
1460
1461         * ParagraphParameters.C (write):
1462         * Spacing.C (writeFile):
1463         * bufferparams.C (writeLaTeX):
1464         * lyx_cb.C (Reconfigure):
1465         * paragraph.C (write):
1466         * tabular.C (write): remove unnecessary space at end of line.
1467
1468
1469 2004-08-16  José Matos  <jamatos@lyx.org>
1470
1471         * text.C (readParagraph): remove debug message.
1472
1473 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1476         crash
1477
1478         * output_plaintext.C (asciiParagraph): set depth correctly
1479
1480         * outputparams.h: add member depth
1481
1482         * paragraph_funcs.C (ownerPar): remove.
1483
1484         * text2.C (setCounter): remove first_pit; comment out some
1485         non-working code that uses ownerPar
1486
1487         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1488         uses ownerPar
1489
1490 2004-08-16  José Matos  <jamatos@lyx.org>
1491
1492         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1493         For the same level of importance use the same chanel to report problems.
1494         (read): add code to deal with \begin_body and \end_body.
1495
1496
1497 2004-08-15  José Matos  <jamatos@lyx.org>
1498
1499         * lyxlex.C (getString): fix comment, buffer::readBody is now
1500         buffer:readDocument.
1501
1502         * tex-strings.C (string_papersize): Default -> default,
1503         Custom -> custom, for consistency with other options.
1504
1505 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * pch.h: new file
1508
1509         * Makefile.am: support pch
1510
1511 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * text.C (readParToken): remove the static LyXFont variable and
1514         pass it as a parameter instead. This fixes a nasty bug where an
1515         inset will be inserted with a bad font in some situations
1516         (readParagraph): adapt
1517
1518         * text2.C (setCounter): reduce number of calls to pars_[pit]
1519
1520         * text.C (singleWidth): add an assert, fix a test
1521
1522         * rowpainter.C (paintText): reduce number of calls to singleWidth
1523
1524         * paragraph.C (isHfill):
1525         (isNewline): ws only
1526
1527 2004-08-14  André Pönitz  <poenitz@gmx.net>
1528
1529         * text.C:
1530         * text2.C:
1531         * rowpainter.C:
1532         * lyxtext.h (several functions): use a Paragraph & argument
1533         instead of par_type
1534
1535 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1538
1539         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1540
1541         * text.C (singleWidth): remove useless test
1542
1543 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1544
1545         * tabular.h: remove bogus comments
1546
1547         * tabular.C (getDescentOfRow):
1548         (isPartOfMultiColumn): add assertions
1549
1550         * lyxlength.C (inPixels): remove #warning
1551
1552 2004-08-14  André Pönitz  <poenitz@gmx.net>
1553
1554         * paragraph.h: inline getChar()
1555
1556         * BufferView.h: remove unused declarations
1557
1558 2004-08-14  José Matos  <jamatos@lyx.org>
1559
1560         * Buffer.[Ch] (readDocument): new name for old readBody.
1561         * Buffer.C: new file format, new keywords: \begin_document,
1562         \begin_header, \begin_body, \end_body.
1563
1564         * bufferparams.C (readToken): replace all calls to lex.nextToken
1565         by lex.next(). Do the same to eatLine except where really needed.
1566
1567         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1568         line when writing to the lyx file.
1569
1570         * output_plaintext.C (asciiParagraph): fix Bibliography style
1571         handling.
1572
1573         * text.C (read): fix end of file handling.
1574
1575 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * MenuBackend.C (Menu::operator[]): new method to access
1578         individual menu items
1579         (Menu::hasFunc): new method. search for an item that corresponds
1580         to a given func
1581         (MenuBackend::specialMenu): new method
1582         (MenuBackend::expand): if a special menu has been set, skip
1583         entries whose func() appears in this menu
1584
1585 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1586
1587         * text3.C: use Debug::DEBUG a bit more
1588
1589         * text.C (leftMargin): try to simplify a tiny bit change var x to
1590         l_margin. Dont output the wide margins always.
1591         (rightMargin): no margin in inner texts
1592
1593         * rowpainter.h (nestMargin): new func
1594         (changebarMargin): new func
1595         (rightMargin): new func
1596
1597         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1598         now functions.
1599         (paintLast): ditto
1600
1601         * factory.C (createInset): modify setDrawFrame
1602
1603         * cursor.C: use Debug::DEBUG a bit more
1604
1605 2004-08-14  André Pönitz  <poenitz@gmx.net>
1606
1607         * coordcache.[Ch]:
1608         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1609         cache for all insets in (at least partially) visible (top-level)
1610         paragraphs.
1611
1612         * BufferView_pimpl.C: reset external coord cache before every update.
1613         This means the coord cache only contains valid entries.
1614
1615 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1616
1617         bug 1096
1618         * BufferView_pimpl.C (getInsetByCode): move function out of class
1619         and change in to a template in anon namespace. Also fix to do what
1620         suits us better.
1621
1622 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1623
1624         bug 1305
1625         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1626         of char
1627         (breakParagraph): rename par to par_offset and use a local
1628         reference. Add code to keep the language over a rebreak.
1629         (breakParagraphConservative): rename par to par_offset, use a
1630         local reference
1631         (mergeParagraph): ditto
1632         (outerHook): ditto
1633         (isFirstInSequence): ditto
1634         (outerFont): rename pit to par_offset
1635
1636         * paragraph.C: ws change
1637         * paragraph.h: ditto
1638         * text3.C: ditto
1639         * text.C: ditto
1640
1641 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1644         treatment for ']'
1645
1646         * paragraph.C (simpleTeXOnePar): when we have a \item with
1647         optional argument, enclose the argument with curly brackets (in
1648         case it contains a closing square bracket)
1649
1650         * text2.C (editXY):
1651         * text2.C (editXY):
1652         * text3.C (checkInsetHit): constify
1653
1654 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1655
1656         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1657         documents (bug 1629)
1658
1659 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         Fix toggling of collapsable insets with the mouse (bug 1558)
1662
1663         * lyxfunc.C (dispatch): adapt to LCursor changes
1664
1665         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1666         make sure that dispatch is not invoked twice
1667
1668         * cursor.C (needsUpdate): new method
1669         (dispatch): return void
1670         (result): new method, to access the DispatchResult of the cursor.
1671
1672 2004-08-13  José Matos  <jamatos@lyx.org>
1673
1674         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1675
1676 2004-08-13  André Pönitz  <poenitz@gmx.net>
1677
1678         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1679
1680         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1681           multiple cells
1682
1683 2004-08-12  André Pönitz  <poenitz@gmx.net>
1684
1685         * text3.C: take out the 'cursor right' form insertInset and only
1686         do it in those places when it is really needed. Fixes crash on
1687         C-m...
1688
1689 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1692
1693         * BufferView_pimpl.C (setBuffer): initialize the current font of
1694         the underlying LyXText
1695
1696 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1697
1698         * kbsequence.C (print): use UI native formatting for menu
1699         shortcuts
1700
1701         * text.C (insertChar): call Paragraph::insertChar with a font
1702         argument (cosmetic)
1703
1704         * paragraph.C (insertInset, insertChar): the version that takes a
1705         LyXFont argument is now a wrapper around the other one (the
1706         opposite used to be true).
1707
1708         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1709         argument. Font setting is done in Paragraph now.
1710
1711 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * outputparams.h: add new members intitle and lang.
1714
1715         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1716         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1717
1718 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1719
1720         * text3.C (dispatch): remove special handling of button 4 and 5,
1721         it is now taken care of in the frontend code.
1722
1723 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1724
1725         * Spacing.h: add <string> (STLPort compile fix)
1726
1727 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1728
1729         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1730
1731 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1732
1733         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1734         to bool.
1735
1736         * converter.C (showMessage): inherit from unary_function, make
1737         operator() const.
1738
1739         * buffer.C (writeFile): initialize retval
1740
1741         * InsetList.h: rename private variable list to list_
1742         * InsetList.[Ch]: adjust accordingly.
1743
1744 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1745
1746         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1747         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1748         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1749         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1750         * ParagraphParameters.C, LaTeXFeatures.C: replace
1751         "support/std_sstream.h" with <sstream>
1752
1753 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1754
1755         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1756         * lyxsocket.C (LyXServerSocket): ditto
1757         (serverCallback): ditto
1758
1759 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1760
1761         * LaTeXFeatures.C: check release date when loading jurabib.
1762
1763 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1764
1765         * lyxserver.C (startPipe): call register_socket_callback
1766         (endPipe): call unregister_socket_callback
1767
1768 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1769
1770         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1771         (LyXServerSocket): register the callback
1772         (LyXServerSocket): unregister the callback
1773         (fd): delete function
1774         (serverCallback): improve error checking and setup the callbacks.
1775         (dataCallback): change arg to fd.
1776         (writeln): new func (copied fro the client socket) used for server
1777         write to client.
1778         (LyXDataSocket): simplify
1779         (~LyXDataSocket): close ann unregiser callback
1780         (server): delete function
1781         (fd): delete function
1782         (readln): small changes, improve some std::string usage
1783         (writeln): constify a bit
1784
1785 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1788         Qt frontend
1789
1790 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1793         after it has been populated
1794
1795 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * text2.C (insertInset): move cursor when inserting inset.
1798
1799 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1800
1801         * kbmap.C (findbindings): a couple of new methods. returns a
1802         container of kb_sequence objects. The real work is done by the
1803         private recursive version
1804         (printbindings): uses findbindings to print out a bracketed list
1805         of bindings (renamed from findbinding).
1806
1807         * MenuBackend.C (binding): use kb_keymap::findbindings
1808
1809         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1810
1811 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1812
1813         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1814
1815 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * paragraph.C (isWord): return true on insets that report
1818         isLetter().
1819
1820         * text.C (getWord): use Paragraph::isWord to decide what is in a
1821         word and what is not; fix bug 1609.
1822
1823 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1824
1825         * tex-strings.C: add "none" to string_paperpackages[], fixes
1826         off-by-one-error in the paperpackage selection.
1827
1828         * lyxlex.[Ch]:
1829         * tex-strings.[Ch]: char const * string[n]
1830         -> char const * const string[]
1831
1832 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1835         command, return early.
1836
1837 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1838
1839         * debug.h: add DEBUG to enum and fix size of ANY.
1840
1841         * debug.C: add support for Debug::DEBUG
1842         (showTags): cast errorTags.level to unsigned int
1843
1844         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1845         (redoCurrentBuffer): ditto
1846         (updateScrollbar): ditto
1847         * cursor.C (dispatch): ditto
1848         * text2.C (setLayout): ditto
1849         (setFont): ditto
1850         (updateCounters): ditto
1851         (editXY): ditto
1852         (deleteEmptyParagraphMechanism): ditto
1853
1854 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1855
1856         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1857         annotations to cleanup the Makefile slightly.
1858
1859 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * lyxrc.C: do not set user_email to a default value but use empty
1862         instead. The entry used to be translated, which does not work
1863         since at the point where lyxrc is constructed there is no
1864         translation service available
1865
1866         * messages.C (getLocaleDir): remove and use directly
1867         lyx_localedir() instead
1868
1869 2004-06-02  Angus Leeming  <leeming@lyx.org>
1870
1871         Fix crash caused by dereferencing null pointer 'exportdata' in
1872         OutputParams by creating a new ExportData variable on the heap,
1873         storing it in a boost::shared_ptr.
1874         The crash was triggered when generating an Instant Preview
1875         of an external inset.
1876
1877         * Makefile.am: add outputparams.C
1878
1879         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1880         (c-tor): allocate memory to it.
1881
1882         * exporter.C (c-tor): associated changes.
1883
1884 2004-06-01  Angus Leeming  <leeming@lyx.org>
1885
1886         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1887         contains data before calling isInset(0). (Bug 1513.)
1888
1889 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1890
1891         * exporter.C (checkOverwrite): new method
1892         * exporter.C (copyFile): new method
1893         * exporter.C (Export): copy referenced files to the document dir
1894         * exporter.[Ch]: new class ExportedFile
1895         * exporter.[Ch]: new class ExportData. Contains currently the
1896         names of referenced external files
1897         * outputparams.h: add exportdata member.
1898
1899 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1900
1901         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1902         version.C-tmp
1903
1904 2004-05-19  Angus Leeming  <leeming@lyx.org>
1905
1906         * LaTeXFeatures.C:
1907         * ToolbarBackend.C:
1908         * bufferparams.C:
1909         * lyxfunc.C: small changes due to the introduction of namespace
1910         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1911
1912 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1913
1914         * text3.C (dispatch): supress update when only moving the cursor
1915         * cursor.C (selHandle): remove commented code
1916
1917 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1918
1919         * paragraph.C (startTeXParParams): correct column count
1920         * CutAndPaste.C (pasteSelection): remove const_cast
1921         * output_docbook.C (docbookParagraphs): remove const_cast
1922         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1923         const_cast and return ParagraphList::const_iterator
1924         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1925         * output_plaintext.C (writeFileAscii): remove const_cast
1926         * paragraph.[Ch] (simpleTeXOnePar): make const
1927         * paragraph_funcs.C (outerPar): use const iterators
1928         * paragraph_pimpl.C (validate): use const iterators
1929         * text.C (setHeightOfRow): use const iterators
1930
1931 2004-05-17  Angus Leeming  <leeming@lyx.org>
1932
1933         * lfuns.h:
1934         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1935
1936         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1937         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1938         if the citation engine has changed.
1939
1940 2004-05-14  José Matos  <jamatos@lyx.org>
1941
1942         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1943         if the textclass does not provide it. Have it different for sgml and
1944         xml.
1945         support the language of document.
1946         * output_docbook.C (docbookParagraphs):
1947         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1948         first anchor as the id of the paragraph, remove special case code.
1949         * sgml.C (escapeChar): escape only < & >.
1950
1951 2004-05-14  Angus Leeming  <leeming@lyx.org>
1952
1953         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1954         dependencies on src/frontends/controllers/biblio.h. Define a
1955         CiteEngine_enum wrapper class to enable the enum to be forward
1956         declared.
1957
1958 2004-05-12  Angus Leeming  <leeming@lyx.org>
1959
1960         * buffer.C: up LYX_FORMAT to 234.
1961         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1962         use_numerical_citations with a single biblio::CiteEngine cite_engine
1963         variable.
1964         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1965
1966 2004-05-13  José Matos  <jamatos@lyx.org>
1967
1968         * converter.h:
1969         * converter.C (Converter, readFlags): add xml member.
1970         * outputparams.h: add XML flavor.
1971         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1972
1973 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1974
1975         * lyxfunc.C (dispatch):
1976         (getStatus): fix handling of LFUN_SEQUENCE
1977
1978 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * debug.C (showLevel): do not forget the end-of-line marker
1981
1982 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * kbmap.C (read): do not stop parsing a bind file when an error
1985         occurs (bug 1575)
1986
1987 2004-04-29  Angus Leeming  <leeming@lyx.org>
1988
1989         * cursor.C:
1990         * factory.C:
1991         * pariterator.C:
1992         * text2.C: wrap a bunch of #warning statements
1993         inside #ifdef WITH_WARNINGS blocks.
1994
1995 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1996
1997         * buffer.C: increment format to 233.
1998
1999 2004-04-28  Angus Leeming  <leeming@lyx.org>
2000
2001         * BufferView_pimpl.C:
2002         * lyxfunc.C:
2003         * text3.C:
2004         s/updateToolbar()/updateToolbars()/
2005         s/Toolbar.h/Toolbars.h/
2006
2007 2004-04-28  Angus Leeming  <leeming@lyx.org>
2008
2009         * BufferView.[Ch] (c-tor):
2010         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2011         No longer passes these data to the WorkArea generator.
2012
2013 2004-04-28  Angus Leeming  <leeming@lyx.org>
2014
2015         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2016
2017 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2018
2019         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2020
2021 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * output_latex.C (TeXEnvironment): make sure that there is a line
2024         break before \end{foo} for the last paragraph of a document
2025         (TeXOnePar): if the paragraph is at the end of the document (or
2026         inset) and the language has to be reset, then make sure that the
2027         line break is _before_ the language command, not after (fixes bug
2028         1225); also make sure that the language reset command is the first
2029         thing after the paragraph (to ensure proper nesting of
2030         environments and thus fix bug 1404)
2031
2032 2004-04-21  John Levon  <levon@movementarian.org>
2033
2034         * ToolbarBackend.h:
2035         * ToolbarBackend.C: make "name" be a programmatic name
2036         and a gui_name field.
2037
2038         * lyxfunc.C: display the minibuffer on M-x
2039
2040 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2043         (bug 1526)
2044
2045 2004-04-19  Angus Leeming  <leeming@lyx.org>
2046
2047         * BufferView_pimpl.C (setBuffer): changed preview interface.
2048
2049         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2050         possible values.
2051
2052 2004-04-19  John Levon  <levon@movementarian.org>
2053
2054         * BufferView_pimpl.C:
2055         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2056
2057 2004-04-05  Angus Leeming  <leeming@lyx.org>
2058
2059         * text.C (redoParagraphs): add call to updateCounters(), thereby
2060         fixing the missing "Figure #:" label from the caption of a
2061         figure float.
2062
2063 2004-04-13  Angus Leeming  <leeming@lyx.org>
2064
2065         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2066         cursor is clicked out of an inset.
2067
2068 2004-04-13  Angus Leeming  <leeming@lyx.org>
2069
2070         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2071         than an InsetOld one.
2072
2073 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2074
2075         * format.[Ch]: add editor to Format
2076         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2077         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2078
2079 2004-04-08  André Pönitz  <poenitz@gmx.net>
2080
2081         * metricsinfo.h: remove PainterInfo::width member
2082
2083 2004-04-08  Angus Leeming  <leeming@lyx.org>
2084
2085         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2086         "\providecommand" rather than "\newcommand", thereby preventing
2087         clashes with packages that define "\boldsymbol" themselves.
2088         Eg, beamer.
2089
2090 2004-04-08  Angus Leeming  <leeming@lyx.org>
2091
2092         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2093         thereby squashing an unnecessary warning.
2094
2095 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2096
2097         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2098         setBuffer()
2099
2100 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * BufferView.C (setCursor): call redoParagraph (some insets could
2103         have been opened)
2104         (putSelectionAt): remove the 'double update' trick
2105
2106         * BufferView_pimpl.C (fitCursor): call refreshPar
2107         (workAreaDispatch): remove an uneeded update call
2108         (dispatch): remove some manual update calls
2109
2110         * cursor.[Ch]: remove cached_y_, updatePos
2111         (selHandle): set noUpdate when appropriate
2112
2113         * lyxfunc.C (dispatch): track if we need an update
2114
2115         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2116
2117         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2118         (paintSelection): cheap optimization, do not call cursorX when not
2119         needed
2120         (paintPars): change signature
2121         (refreshPar): add
2122         (paintText): adjust
2123         (paintTextInset): adjust
2124
2125         * text.C: adjust
2126
2127 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2128
2129         * lengthcommon.C: compilation fix: remove explicit array size from
2130         unit_name[] and friends
2131
2132 2004-04-05  Angus Leeming  <leeming@lyx.org>
2133
2134         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2135
2136         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2137         present only for the preferences dialog.
2138         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2139
2140 2004-04-05  Angus Leeming  <leeming@lyx.org>
2141
2142         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2143         to enable the frontends to export changes to lyxrc correctly.
2144
2145         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2146
2147 2004-04-07  André Pönitz  <poenitz@gmx.net>
2148
2149         * cursor.[Ch] (selClear, adjust): remove math
2150
2151         * cursor_slice.C: more agressive assert
2152
2153         * lyxfunc.C:
2154         * BufferView_pimpl.C: rework mouse event dispatch
2155
2156         * dociterator.C:
2157         * paragraph.C:
2158         * text2.C:
2159         * text3.C: adjust
2160
2161 2004-04-05  André Pönitz  <poenitz@gmx.net>
2162
2163         * cursor.[Ch] (valign, halign...): remove unneeded functions
2164
2165 2004-04-05  Angus Leeming  <leeming@lyx.org>
2166
2167         * lyxlength.[Ch] (unit_name et al.): const-correct.
2168
2169 2004-04-05  Angus Leeming  <leeming@lyx.org>
2170
2171         * BufferView_pimpl.C:
2172         * buffer.C:
2173         * counters.C:
2174         * cursor.C:
2175         * lyxfunc.C
2176         * paragraph.C:
2177         * pariterator.C:
2178         * text.C:
2179         * text2.C:
2180         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2181
2182 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2185
2186 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2189         * BufferView_pimpl.[Ch] (getStatus)
2190         * BufferView.[Ch] (getStatus): add
2191         * lyxfunc.C (getStatus): move lfuns handled in
2192         BufferView::dispatch to te function above
2193         * Cursor.C (setSelection): set selection() = true
2194
2195 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2196
2197         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2198
2199 2004-03-31  Angus Leeming  <leeming@lyx.org>
2200
2201         * lyxfunc.C (dispatch): Fall through to the generic
2202         Dialogs::show("preamble").
2203
2204 2004-03-31  Angus Leeming  <leeming@lyx.org>
2205
2206         * lyxfunc.C (dispatch): Fall through to the generic
2207         Dialogs::show("spellchecker").
2208
2209 2004-03-31  Angus Leeming  <leeming@lyx.org>
2210
2211         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2212         preferences dialog.
2213
2214 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * BufferView.C
2217         * cursor.[Ch]
2218         * dociterator.[Ch]:
2219         * insetiterator.[Ch]:
2220         * lyxfind.C:
2221         * lyxfunc.C:
2222         * pariterator.[Ch]:
2223         * text2.C:
2224         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2225
2226 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2229         insets where we are putting the cursor.
2230
2231 2004-03-31  Angus Leeming  <leeming@lyx.org>
2232
2233         * lfuns.h:
2234         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2235
2236         * lyxrc.[Ch] (read, write): overloaded member functions taking
2237         a std::[io]stream arguments.
2238
2239         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2240
2241 2004-03-31  Angus Leeming  <leeming@lyx.org>
2242
2243         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2244         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2245
2246         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2247         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2248
2249 2004-03-31  Angus Leeming  <leeming@lyx.org>
2250
2251         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2252         the LFUN_ALL_INSETS_TOGGLE code.
2253
2254 2004-03-30  Angus Leeming  <leeming@lyx.org>
2255
2256         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2257         has died. Fall through to the generic Dialogs::show("document").
2258
2259 2004-03-30  Angus Leeming  <leeming@lyx.org>
2260
2261         * lfuns.h:
2262         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2263         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2264
2265         * lyxfunc.C (getStatus, dispatch): define the actions for these
2266         lfuns. Little more than a cut and pste job from ControlDocument.C
2267
2268         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2269
2270 2004-03-30  Angus Leeming  <leeming@lyx.org>
2271
2272         * lfuns.h:
2273         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2274         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2275
2276         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2277         open/closed state of ollapsable insets. Usage:
2278
2279         all-inset-toggle <state> <name>, where
2280         <state> == "open" || "closed" || "toggle" and
2281         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2282
2283         * lyxtext.h, text2.C (toggleInset): removed.
2284
2285         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2286         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2287         now passes LFUN_INSET_TOGGLE to the found inset.
2288
2289         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2290         is now invoked as "all-insets-toggle toggle branch".
2291
2292 2004-03-30  Angus Leeming  <leeming@lyx.org>
2293
2294         * dociterator.C:
2295         * insetiterator.C:
2296         * pariterator.[Ch]: added/corrected header blurb.
2297
2298 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2299
2300         * dociterator.[Ch]: add an inset_ member
2301         (backwardPos): implemented
2302         (backwardPos, forwardPos): use inset_ when the stack is empty.
2303         (doc_iterator_begin, doc_iterator_end): implemented
2304         * pariterator.[Ch]: adjust, add begin, end
2305         * insetiterator.[Ch]: adjust, add begin, end
2306         * cursor.C:
2307         * document.C:
2308         * BufferView.C:
2309         * BufferView_pimpl.C:
2310         * CutAndPaste.C: adjust
2311
2312 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2313
2314         * buffer.C: increment file format to 232.
2315         * LaTeXFeatures.C: add bibtopic package.
2316         * bufferparams.[Ch]: param \use_bibtopic.
2317
2318         * lyxrc.[Ch]: add lyxrc bibtex_command
2319         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2320
2321         * buffer.C: increment file format to 231.
2322
2323 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2324
2325         * dociterator.C: implement forwardPar
2326         * iterators.[Ch]: remove, replaced by
2327         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2328         * BufferView.C:
2329         * BufferView_pimpl.C:
2330         * CutAndPaste.C:
2331         * buffer.C:
2332         * bufferview_funcs.C:
2333         * cursor.C:
2334         * lyxfind.C
2335         * lyxfunc.C
2336         * paragraph_funcs.C
2337         * toc.C:
2338         * Makefile.am: adjust
2339
2340 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * CutAndPaste.C (pasteSelection): fix 2 crashes
2343         (eraseSelection): fix a crash
2344         * paragraph_funcs.C: remove a warning
2345
2346 2004-03-28  Angus Leeming  <leeming@lyx.org>
2347
2348         * lfuns.h:
2349         * LyXAction.C (init): new LFUN_PRINT.
2350
2351         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2352
2353 2004-03-27  Angus Leeming  <leeming@lyx.org>
2354
2355         * lfuns.h:
2356         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2357
2358         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2359
2360 2004-03-27  Angus Leeming  <leeming@lyx.org>
2361
2362         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2363         insetlist always contains non-null pointers to insets.
2364
2365 2004-03-26  Angus Leeming  <leeming@lyx.org>
2366
2367         * src/BufferView_pimpl.C:
2368         * src/CutAndPaste.C:
2369         * src/buffer.C:
2370         * src/iterators.C:
2371         * src/output_plaintext.C:
2372         * src/outputparams.h:
2373         * src/paragraph_funcs.C:
2374         * src/rowpainter.C:
2375         * src/text.C:
2376         * src/text2.C:
2377         * src/frontends/controllers/ControlErrorList.C:
2378         * src/frontends/gtk/FileDialogPrivate.C:
2379         * src/frontends/gtk/GPainter.C:
2380         * src/frontends/gtk/GToolbar.C:
2381         * src/frontends/qt2/QRef.C:
2382         * src/mathed/math_scriptinset.C: squash compiler warnings.
2383
2384 2004-03-26  Angus Leeming  <leeming@lyx.org>
2385
2386         * ispell.C (LaunchIspell::start):
2387         * lyx_cb.C (AutoSaveBuffer::start):
2388         invoke run(DontWait) rather than runNonBlocking().
2389
2390 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2391
2392         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2393
2394 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2395
2396         * kbsequence.C (print): adjust
2397
2398         * kbmap.C (printKeySym): rename and change signature
2399         (printKey): use LyXKeySym::print()
2400
2401 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * undo.C: add using std::advance to compile for stlport
2404
2405 2004-03-24  Angus Leeming  <leeming@lyx.org>
2406
2407         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2408         it leads to a crash when no buffer is present.
2409
2410 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2411             Martin Vermeer  <martin.vermeer@hut.fi>
2412
2413         * lyxfunc.C (dispatch):
2414         * bufferparams.C (readToken): use the new LColor::setColor
2415
2416         * LColor.[Ch] (setColor): new version that takes two strings as
2417         argument and creates a new color entry if necessary
2418
2419 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2420
2421         * buffer.C (makeLaTeXFile): if the main latex file that is
2422         processed is usually a subdocument of some master, then pretend
2423         for a while that it is actually the master
2424
2425 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2426
2427         * buffer.C (getLabelList):
2428         (getBibkeyList): use getMasterBuffer()
2429         (getMasterBuffer): new method. Returns the main document in the
2430         case where one is using included documents.
2431
2432 2004-03-25  André Pönitz  <poenitz@gmx.net>
2433
2434         * Makefile.am:
2435         * iterators.[Ch]:
2436         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2437
2438         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2439
2440         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2441         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2442
2443         * ParameterStruct.h: merge with ParagraphParameters
2444
2445         * lyxtext.h: remove LyXText::parOffset() and getPar()
2446
2447         * text3.C: Remove all 'manual' update calls. We do now one per user
2448         interaction which is completely sufficient.
2449
2450         * Bidi.C:
2451         * BufferView.[Ch]:
2452         * BufferView_pimpl.C:
2453         * FontIterator.[Ch]:
2454         * MenuBackend.C:
2455         * ParagraphParameters.[Ch]:
2456         * buffer.C:
2457         * buffer.h:
2458         * bufferlist.C:
2459         * cursor.[Ch]:
2460         * cursor_slice.[Ch]:
2461         * dociterator.[Ch]:
2462         * errorlist.[Ch]:
2463         * factory.C:
2464         * lfuns.h:
2465         * lyxfind.C:
2466         * lyxfunc.C:
2467         * output_docbook.[Ch]:
2468         * output_latex.[Ch]:
2469         * output_linuxdoc.[Ch]:
2470         * output_plaintext.[Ch]:
2471         * paragraph.[Ch]:
2472         * paragraph_funcs.[Ch]:
2473         * paragraph_pimpl.[Ch]:
2474         * rowpainter.C:
2475         * tabular.[Ch]:
2476         * text.C:
2477         * text2.C:
2478         * toc.C:
2479         * undo.[Ch]: adjust
2480
2481         * frontends/controllers/ControlDocument.C:
2482         * frontends/controllers/ControlErrorList.C:
2483         * frontends/controllers/ControlSpellchecker.C:
2484         * insets/inset.C:
2485         * insets/inset.h:
2486         * insets/insetbase.h:
2487         * insets/insetbibitem.C:
2488         * insets/insetbox.C:
2489         * insets/insetbranch.C:
2490         * insets/insetcaption.C:
2491         * insets/insetcharstyle.C:
2492         * insets/insetcharstyle.h:
2493         * insets/insetcollapsable.C:
2494         * insets/insetcollapsable.h:
2495         * insets/insetert.C:
2496         * insets/insetfloat.C:
2497         * insets/insetfoot.C:
2498         * insets/insetmarginal.C:
2499         * insets/insetnote.C:
2500         * insets/insetoptarg.C:
2501         * insets/insettabular.C:
2502         * insets/insettext.C:
2503         * insets/insettext.h:
2504         * insets/insetwrap.C:
2505         * mathed/math_mboxinset.C:
2506         * mathed/math_nestinset.C:
2507         * mathed/math_scriptinset.C:
2508         * mathed/math_scriptinset.h:
2509         * support/types.h:
2510
2511 2004-03-24  Angus Leeming  <leeming@lyx.org>
2512
2513         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2514         deal with any child processes that have finished but are waiting to
2515         communicate this fact to the rest of LyX.
2516
2517 2004-03-24  Angus Leeming  <leeming@lyx.org>
2518
2519         64-bit compile fixes.
2520
2521         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2522         (c-tor): pass lyx::pos_types rather than ints.
2523
2524         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2525         lyx::pos_type.
2526
2527         * text.C (Delete): compile fix.
2528         (getPar): ensure that function declaration is the same as that in
2529         the header file.
2530
2531 2004-03-23  Angus Leeming  <leeming@lyx.org>
2532
2533         * ispell.C (LaunchIspell):
2534         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2535         a boost::shred_ptr rather than a std::auto_ptr.
2536
2537 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2538
2539         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2540         handle LFUN_FILE_INSERT_*
2541
2542         * lyxrc.C (setDefaults, getDescription, output, read):
2543         * lyxrc.h: remove ps_command
2544
2545 2004-03-22  Angus Leeming  <leeming@lyx.org>
2546
2547         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2548         Ensure that error_handler is processed once only and that all data
2549         is saved before attempting to output any warning messages.
2550
2551         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2552
2553 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2554
2555         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2556
2557 2004-03-19  André Pönitz  <poenitz@gmx.net>
2558
2559         * cursor.[Ch] (reset): take main text inset as argument
2560
2561         * BufferView: adjust
2562         * BufferView_pimpl.C: adjust
2563
2564         * paragraph.[Ch]: fix completely broken operator=()
2565
2566 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2567
2568         * LColor.C (getFromLyXName): make sure that the color name is used
2569         as lowercase.
2570
2571 2004-03-17  Angus Leeming  <leeming@lyx.org>
2572
2573         * lfuns.h:
2574         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2575
2576         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2577         dialog and to kill a forked process.
2578
2579 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2580
2581         * text2.C (setCursorFromCoordinates): fix font problem
2582
2583 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2584
2585         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2586         bogus "rebuild cursor" code
2587
2588 2004-03-11  André Pönitz  <poenitz@gmx.net>
2589
2590         * buffer.[Ch]: use InsetText instead of LyXText as container for
2591         the main lyx text.
2592
2593         * dociterator.[Ch]: drop the BufferView * member which is not needed
2594         anymore after the change to buffer.C
2595
2596         * paragraph_funcs.C:
2597         * text.C:
2598         * text2.C:
2599         * BufferView.[Ch]:
2600         * BufferView_pimpl.[Ch]:
2601         * cursor.[Ch]:
2602         * cursor_slice.[Ch]: adjust
2603
2604         * text3.C: fix bug in mathDispatch
2605
2606 2004-03-08  André Pönitz  <poenitz@gmx.net>
2607
2608         * undo.[Ch]: use 'StableDocumentIterator' as base for
2609         the Undo struct.
2610
2611 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2612
2613         * LaTeXFeatures.C:
2614         * bufferparams.[Ch]: add jurabib support and param.
2615
2616         * LaTeX.C: add FIXME/comment.
2617
2618 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2619
2620         * buffer.C: increment file format to 230.
2621
2622 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2623
2624         * cursor.C (dispatch): avoid infinite loops
2625
2626 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * rowpainter.C (paintSelection): fix x coordinates
2629
2630 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * text.C (rowBreakPoint): fix breaking before displayed insets
2633
2634 2004-03-01  André Pönitz  <poenitz@gmx.net>
2635
2636         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2637
2638         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2639
2640         * Makefile.am:
2641         * BufferView.C:
2642         * BufferView_pimpl.C:
2643         * buffer.C:
2644         * lyxfind.C:
2645         * lyxfunc.C:
2646         * text.C:
2647         * text2.C:
2648         * text3.C: adjust
2649
2650 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * lyxtext.h:
2653         * text.C:
2654         * text2.C:
2655         * rowpainter.C:
2656         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2657         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2658
2659 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2660
2661         * Bidi.[Ch] (computeTables): const correctness
2662         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2663         fill_hfill, fill_label_hfill and x from Row
2664         * lyxtext.h: prepareToPrint returns a RowMetrics
2665         * rowPainter.C: adjust
2666         * text.C (prepareToPrint): use width, not textWidth. adjust
2667         (redoParagraphInternal, cursorX): adjust
2668         * text2.C (getColumnNearX): adjust
2669         (init): put a default value to the top LyXText::width
2670
2671 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2672
2673         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2674
2675 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * lyxtext.h: add FontIterator class
2678
2679         * text.C (FontIterator, operator*, operator->, operator++): add
2680         (rowBreakPoint, setRowWidth): adjust (fixing a
2681         rebreaking bug)
2682
2683 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * BufferView_pimpl.C (workAreaDispatch): allow also
2686         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2687
2688 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2689
2690         * text.C (rowBreakPoint): fix a bug showing with very large insets
2691
2692 2004-02-25  André Pönitz  <poenitz@gmx.net>
2693
2694         * text3.C:
2695         * cursor.[Ch]: move some mathed specific code to mathed
2696
2697 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2698
2699         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2700         use_tempdir in preferences
2701         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2702         tempfile creation
2703         * lyx_main.C: ensure that tempdir is valid
2704         * lyxlex.h: correct typo
2705         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2706         * paragraph.[Ch] (isMultiLingual): make const
2707         * cursor.[Ch] (openable): make const
2708
2709 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2710
2711         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2712
2713 2004-02-20  André Pönitz  <poenitz@gmx.net>
2714
2715         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2716
2717         * cursor.[Ch]: prepare for localized getStatus()
2718
2719         * lyxtext.h:
2720         * tabular.C:
2721         * text.C:
2722         * text2.C:
2723         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2724
2725 2004-02-20  André Pönitz  <poenitz@gmx.net>
2726
2727         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2728
2729 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * text2.C (setCursorFromCoordinates): switch to absolute coords
2732         (cursorUp): adjust
2733         (cursorDown): adjust
2734         * text3.C (dispatch): adjust
2735
2736 2004-02-16  André Pönitz  <poenitz@gmx.net>
2737
2738         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2739           insets/ChangeLog)
2740
2741         * cursor_slice.[Ch]: remove unneeded acessor function
2742
2743         * lyxtext.h: rename rtl() to isRTL()
2744
2745         * rowpainter.C:
2746         * tabular.C:
2747         * text.C:
2748         * text2.C:
2749         * text3.C: adjust
2750
2751 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2752
2753         * rowpainter.C (paintSelection): coord fix
2754
2755 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2756
2757         * Spacing.C: compile fix
2758
2759 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * cursor.C (dispatch): restore current_ before returning
2762
2763 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2764
2765         * text2.C (cursorUp, cursorDown): fix coords
2766         (moveUp): fix crash
2767
2768 2004-02-12  André Pönitz  <poenitz@gmx.net>
2769
2770         * lyxtext.h:
2771         * text.C:
2772         * text2.C:
2773         * text3.C: add LCursor & parameter to most cursor movement functions
2774           remove usage of LyXText::cursorRow() and cursorPar()
2775
2776         * cursor.[Ch]: add textRow() needed members
2777
2778         * BufferView.C:
2779         * BufferView_pimpl.C:
2780         * paragraph.[Ch]:
2781         * BufferView.C:
2782         * BufferView_pimpl.C: adjust
2783
2784 2004-02-11  André Pönitz  <poenitz@gmx.net>
2785
2786         * lyxfunc.C:
2787         * BufferView.[Ch]:
2788         * BufferView_pimpl.C: shift undo/redo handling
2789
2790         * cursor.[Ch]: fix mathed crash
2791
2792         * lyxfind.C:
2793         * lyxtext.h: move selectionAsText to LCursor
2794
2795         * output_latex.C:
2796         * paragraph.C:
2797         * text.C:
2798         * text2.C:
2799         * text3.C: adjust
2800
2801         * rowpainter.C: fix excessive drawing
2802
2803 2004-02-06  André Pönitz  <poenitz@gmx.net>
2804
2805         * BufferView.[Ch]:
2806         * BufferView_pimpl.[Ch]:
2807         * text3.C: move some text specific LFUN handling
2808
2809 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2810
2811         * text3.C (checkInsetHit): adjust coords
2812         * text2.C (getColumnNearX): adjust coords
2813         (edit): adjust coords
2814         * text.C (getRowNearY): add two asserts
2815
2816 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2817
2818         * converter.C:
2819         * format.C: add using std::distance to compile on gcc 2.95/stlport
2820
2821 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2824
2825 2004-02-04  André Pönitz  <poenitz@gmx.net>
2826
2827         * BufferView.[Ch] (insertInset):
2828         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2829
2830         * text2.C:
2831         * text3.C: adjust
2832
2833 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2836         on the default clause of the switch
2837         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2838         wasn't catched by LCursor::dispatch
2839
2840 2004-02-03  André Pönitz  <poenitz@gmx.net>
2841
2842         * BufferView.C:
2843         * cursor.[Ch]: some additional asserts
2844
2845         * undo.[Ch]: remove LyXText dependency in interface
2846
2847         * lyxfunc.C: adjust
2848
2849         * lyxtext.h (firstPar, lastPar): remove dead functions
2850
2851         * text.C:
2852         * text2.C:
2853         * text3.C:
2854         * paragraph.[Ch]: adjust
2855
2856 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * lyxfind.C (find): fix argument order in call to ::find
2859
2860 2004-02-02  André Pönitz  <poenitz@gmx.net>
2861
2862         * cursor.[Ch]: remove direct access to anchor
2863
2864         * text.C: remove findText() hack
2865
2866 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2867
2868         * iterators.[Ch] (lockPath): remove in favour of...
2869         * BufferView.[Ch] (setCursor): this addition
2870         * BufferView.C (putSelectionAt): adjust
2871         * undo.C (performUndoOrRedo): adjust
2872         * lyxfunc.C (dispatch): adjust
2873
2874 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2875
2876         * iterators.C (lockPath): add a missing slice
2877         * undo.C (performUndoOrRedo): remove redundant positioning code
2878
2879 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2880
2881         * vc-backend.C (scanMaster): ";" -> ';'
2882
2883 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2884
2885         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2886         std::binary_function
2887
2888         * lyxtextclass.C (compare_name): rename to...
2889         (LayoutNamesEqual): ...this
2890
2891         * lyxlex_pimpl.C (compare_tags): inherit from
2892         std::binary_function, put back into anon namespace
2893
2894         * lyxfind.C (MatchString): inherig from std::binary_function
2895         (findChange): use empty() istead of !size()
2896
2897         * format.C (FormatNamesEqual): new functor
2898         (getFormat): use it
2899         (getNumber): use it
2900         (add): use it
2901         (erase): use it
2902         (setViewer): use it
2903
2904         * converter.C (compare_Converter): rename to...
2905         (ConverterEqual): ...this, and fixup a bit.
2906         (getConverter): use it, and make function const
2907         (getNumber): use it, and make function const
2908         (add): use it
2909         (erase): use it:
2910
2911         * bufferlist.C: add using boost::bind
2912
2913         * MenuBackend.C (MenuNamesEqual): new functor
2914         (hasMenu): use it, and make function const
2915         (hasSubmenu): use nested bind to get rid of compare_memfun.
2916
2917 2004-01-30  André Pönitz  <poenitz@gmx.net>
2918
2919         * BufferView_pimpl.C:
2920         * cursor.C:
2921         * cursor.h:
2922         * cursor_slice.[Ch]:
2923         * lyxfunc.C:
2924         * lyxtext.h:
2925         * paragraph_funcs.C:
2926         * paragraph_funcs.h:
2927         * rowpainter.C:
2928         * text.C:
2929         * text2.C:
2930         * text3.C: move some of the edit(x,y) handling to the insets
2931         some coordinate changes.
2932
2933 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2934
2935         * text.C: add using statements for std::advance and std::distance
2936
2937         * paragraph.C: add using statement for std::distance
2938
2939         * lyxfind.C: add using statement for std::advance
2940
2941         * cursor.C (region): remove std:: from swap
2942         (openable): use nucleus in stead of operator->
2943
2944         * BufferView.C: add using statements for std::distance and std::swap
2945
2946 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2947
2948         * iterators.C: Remove the pimple, move the needed structures to
2949         the header file. Create accessor for the positions stack.
2950         (asPosIterator): remove function
2951
2952         * PosIterator.C (PosIterator): move constructors to top of file
2953         (PosIterator): reimplement the constructor taking a ParIterator in
2954         terms of setFrom.
2955         (setFrom): new function
2956         (operator!=): inline it
2957
2958 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2959
2960         * lyxfind.C (replaceAll): use std::advance
2961
2962         * iterators.h: inherit from std::iterator.
2963
2964         * PosIterator.C (advance, distance): remove
2965         * PosIterator.h: interit from std::iterator.
2966
2967 2004-01-26  André Pönitz  <poenitz@gmx.net>
2968
2969         * BufferView.[Ch]:
2970         * BufferView_pimpl.[Ch]:
2971         * InsetList.[Ch]:
2972         * PosIterator.[Ch]:
2973         * buffer.h:
2974         * bufferview_funcs.C:
2975         * cursor.[Ch]:
2976         * cursor_slice.h:
2977         * factory.[Ch]:
2978         * iterators.[Ch]:
2979         * lyxfind.C:
2980         * lyxfunc.C:
2981         * lyxtext.h:
2982         * output_docbook.C:
2983         * output_latex.C:
2984         * output_linuxdoc.C:
2985         * output_plaintext.C:
2986         * paragraph.[Ch]:
2987         * paragraph_funcs.[Ch]:
2988         * paragraph_pimpl.[Ch]:
2989         * rowpainter.C:
2990         * tabular.C:
2991         * tabular.h:
2992         * text.C:
2993         * text2.C:
2994         * text3.C: more IU:  dumps most of the rest of the mathcursor
2995     implementation into cursor.[Ch]; "globalize" a bit of it.
2996
2997 2004-01-25  Angus Leeming  <leeming@lyx.org>
2998
2999         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3000
3001 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3002
3003         * LaTeXFeatures.h: add nice_ and nice() const
3004         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3005
3006 2004-01-20  André Pönitz  <poenitz@gmx.net>
3007
3008         * BufferView.[Ch]:
3009         * BufferView_pimpl.C:
3010         * PosIterator.C:
3011         * bufferview_funcs.C:
3012         * cursor.[Ch]:
3013         * cursor_slice.[Ch]:
3014         * factory.C:
3015         * iterators.C:
3016         * lyx_cb.C:
3017         * lyxfind.C:
3018         * lyxfunc.C:
3019         * lyxtext.h:
3020         * rowpainter.C:
3021         * text.C:
3022         * text2.C:
3023         * text3.C:
3024         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3025           LCursor and mathcursor parts to LCursor and InsetBase.
3026
3027 2004-01-15  André Pönitz  <poenitz@gmx.net>
3028
3029         * cursor_slice.[Ch]: add a few covienience functions
3030
3031         * funcrequest.[Ch]: remove BufferView * member
3032
3033         * BufferView_pimpl.C:
3034         * cursor.C:
3035         * factory.[Ch]:
3036         * lyxfind.[Ch]:
3037         * lyxfunc.C:
3038         * lyxtext.h:
3039         * text3.C:
3040         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3041
3042 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3045         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3046
3047 2004-01-13  André Pönitz  <poenitz@gmx.net>
3048
3049         * textcursor.[Ch]:
3050         * lyxtext.h: hide cursor and selection anchor behind accessor function
3051
3052         * BufferView.C:
3053         * BufferView_pimpl.[Ch]:
3054         * PosIterator.C:
3055         * bufferview_funcs.C:
3056         * cursor.h:
3057         * lyxfind.C:
3058         * lyxfunc.C:
3059         * text.C:
3060         * text2.C:
3061         * text3.C:
3062         * undo.C: adjust
3063
3064         * cursor.h:
3065         * cursor_slice.[Ch]: some integer type changes for inset unification
3066
3067         * lyxcursor.[hC]: remove, it's CursorSlice now.
3068
3069         * Makefile.am:
3070         * BufferView_pimpl.[Ch]:
3071         * bufferview_funcs.C:
3072         * cursor_slice.C:
3073         * lyxtext.h:
3074         * text.C:
3075         * text2.C:
3076         * text3.C:
3077         * textcursor.[Ch]: adjust
3078
3079 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * text2.C (undoSpan): add and use
3082         * text.C (breakParagraph): use undoSpan (fix bug 578)
3083         * lyxtext.h: adjust
3084
3085 2004-01-08  Angus Leeming  <leeming@lyx.org>
3086
3087         * BufferView_pimpl.C (MenuInsertLyXFile):
3088         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3089         * lyxfunc.C (menuNew, open, doImport):
3090         FileFilterList change to the FileDialog open and save functions.
3091
3092 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3093
3094         * ShareContainer.h: make isEqual and isUnique adaptable
3095
3096         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3097
3098 2004-01-07  Angus Leeming  <leeming@lyx.org>
3099
3100         * LyXAction.C:
3101         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3102
3103         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3104
3105         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3106         functions replacing find, replace and replaceAll.
3107
3108         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3109         LFUN_WORDFIND(FORWARD|BACKWARD).
3110
3111 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * text.C (breakParagraph): remove an outdated #warning
3114
3115 2004-01-07  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxfind.C: somewhat clearer logic
3118
3119         * text.C: prevent crash in cursorX on unitialized row cache
3120
3121 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3122
3123         * lyxcursor.[Ch] (operator>): add
3124         * textcursor.C (selStart, selEnd): use std::min and std::max
3125
3126 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3127
3128         * Chktex.C: include boost/format.hpp
3129
3130 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3131
3132         * InsetList.C: replace functor MathcIt with adaptable functor
3133         InsetTablePosLess
3134         (insetIterator): modify accordingly
3135
3136         * BranchList.h: move the BranchNamesEqual functor here from...
3137         * BranchList.C: ... to here
3138
3139         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3140         SameName and match.
3141         (add): replace a finding loop with std::find_if.
3142
3143 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * output_docbook.C: moving LatexParam functionality into
3146         .layout files
3147
3148 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3149
3150         * buffer.C: increment format to 229.
3151
3152 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3153
3154         * LaTeXFeatures.C:
3155         * lyx_sty.[Ch]: remove minipageindent_def
3156
3157         * LyXAction.C:
3158         * factory.C:
3159         * lfuns.h:
3160         * lyxfunc.C:
3161         * text3.C: remove LFUN_INSET_MINIPAGE
3162
3163 2003-12-28  Angus Leeming  <leeming@lyx.org>
3164
3165         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3166
3167 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * text2.C (setParagraph): fix off-by-one crash
3170
3171 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3172
3173         * output_docbook.C: header stuff for AGU
3174
3175 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * text2.C (redoCursor): remove
3178         * text.C:
3179         * text3.C:
3180         * BufferView_pimpl.C: remove calls to redoCursor and
3181         setCursor(cursor.par(), cursor.pos()) all around
3182
3183 2003-12-15  Angus Leeming  <leeming@lyx.org>
3184
3185         * buffer.C: up the format to 228.
3186
3187 2003-12-15  André Pönitz  <poenitz@gmx.net>
3188
3189         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3190         slices
3191
3192         * Makefile.am:
3193
3194         * BufferView_pimpl.C:
3195         * cursor.[Ch]:
3196         * lyxcursor.[Ch]:
3197         * rowpainter.[Ch]:
3198         * lyxtext.h:
3199         * text.C:
3200         * text2.C:
3201         * text3.C: adjust
3202
3203 2003-12-15  Angus Leeming  <leeming@lyx.org>
3204
3205         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3206         than getFromGUIName to manipulate the color.
3207
3208 2003-12-14  Angus Leeming  <leeming@lyx.org>
3209
3210         * BranchList.[Ch]: minimize the API.
3211         (Branch::getBranch, getColor): now return a 'const &'.
3212         (Branch::setSelected) now returns a bool set to true if the
3213         selection status changes.
3214         (BranchList::clear, size, getColor, setColor, setSelected,
3215         allBranches, allSelected, separator): removed.
3216         (BranchList::find): new functions, returning the Branch with
3217         the given name.
3218         (BranchList::add, remove): return a bool indicating that
3219         the operation was successful.
3220
3221         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3222         new InsetBranch::isBranchSlected member function.
3223
3224         * LColor.[Ch]: mimimize the API.
3225         (fill): renamed as addColor and made private.
3226         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3227         versions of these functions taking a string arg have been removed.
3228
3229         * bufferparams.C (readToken):
3230         * lyxfunc.C (dispatch):
3231         * lyxrc.C (read): changes due to the altered BranchList and
3232         LColor APIs.
3233
3234         * factory.C (createInset, readInset): changes due to altered
3235         InsetBranch c-tor.
3236
3237 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3238
3239         * factory.C:
3240         * lyxfunc.C: remove insetminipage. "minipage-insert"
3241         now produces a frameless minipage box inset.
3242
3243 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3244
3245         * textcursor.[Ch] (selStart,selEnd): add new methods
3246         remove selection::start, end, use LyXCursor::operator<
3247         * lyxcursor.[Ch] (operator<): add
3248         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3249         * BufferView.[Ch] (unsetXSel): add
3250         * text2.C (clearSelection): use unsetXSel,adjust
3251         * text.C: adjust
3252         * text3.C: adjust
3253         * rowpainter.C: adjust
3254         * bufferview_funcs.C (put_selection_at): adjust
3255
3256 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * BufferView_pimpl.C: small coord. correction
3259
3260 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3261
3262         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3263         dragging over the splash screen.
3264
3265 2003-12-11  Angus Leeming  <leeming@lyx.org>
3266
3267         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3268         as it is now handled in LyXText::dispatch.
3269
3270         * text3.C (doInsertInset): remove a level of nesting.
3271
3272 2003-12-11  Angus Leeming  <leeming@lyx.org>
3273
3274         * factory.C (createInset): changes due to the changed interface to
3275         InsetCommandMailer::string2params.
3276
3277 2003-12-10  Angus Leeming  <leeming@lyx.org>
3278
3279         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3280         'dialog-show-new-inset <inset name>'
3281
3282 2003-12-10  Angus Leeming  <leeming@lyx.org>
3283
3284         * buffer.C: up the format to 227.
3285
3286         * factory.C: the box inset is now identified simply by 'Box'.
3287
3288 2003-12-10  Angus Leeming  <leeming@lyx.org>
3289
3290         * buffer.C: up the format to 226.
3291
3292         * factory.C: the note inset is now identified simply by 'Note'.
3293
3294 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3297         when a pit is enough. Standarize a couple of loops.
3298
3299 2003-12-05  Angus Leeming  <leeming@lyx.org>
3300
3301         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3302         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3303         data to the re-worked "log" dialog.
3304
3305 2003-12-03  André Pönitz  <poenitz@gmx.net>
3306
3307         * PosIterator.C:
3308         * iterators.C:
3309         * lyxtext.h:
3310         * output_latex.C:
3311         * paragraph_funcs.C:
3312         * text.C:
3313         * text2.C: use Inset::getText instead of Inset::getParagraph
3314
3315 2003-12-03  André Pönitz  <poenitz@gmx.net>
3316
3317         * buffer.[Ch]:
3318         * lyxtext.h:
3319         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3320         InsetText::read() as LyXText::read()
3321
3322 2003-12-02  Angus Leeming  <leeming@lyx.org>
3323
3324         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3325         type. Add a comment in the implementation that the function uses
3326         the stream's bad() function rather than fail() as the std::streams
3327         would do.
3328
3329 2003-12-02  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxlex.[Ch]: make interface more similar to std::stream
3332
3333         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3334
3335 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3336
3337         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3338
3339 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3340
3341         * vspace.[Ch]: remove VSpace::NONE
3342
3343 2003-12-01  André Pönitz  <poenitz@gmx.net>
3344
3345         * buffer.[Ch]:
3346         * lyxtext.h: move ParagraphList member to LyXText
3347         rename LyXText::ownerParagraphs to LyXText::paragraph
3348
3349         * CutAndPaste.C:
3350         * bufferview_funcs.C:
3351         * iterators.[Ch]:
3352         * lyx_cb.C:
3353         * paragraph.C:
3354         * rowpainter.C:
3355         * tabular.C:
3356         * text.C:
3357         * text2.C:
3358         * text3.C: adjust
3359
3360         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3361
3362         * undo.C: fix cursor positioning
3363
3364 2003-12-01  John Levon  <levon@movementarian.org>
3365
3366         * BufferView_pimpl.C: fix a crash on exit with
3367         a buffer open
3368
3369 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * BranchList.C: fix setSelected() method.
3372
3373 2003-11-28  André Pönitz  <poenitz@gmx.net>
3374
3375         * ParagraphParameters.[Ch]:
3376         * ParameterStruct.h: remove space above/below from Paragraph to
3377          InsetVSpace
3378
3379         * BufferView_pimpl.C:
3380         * factory.C:
3381         * lyxfunc.C:
3382         * lyxtext.h:
3383         * output_latex.C:
3384         * paragraph.C:
3385         * paragraph_funcs.C:
3386         * rowpainter.[Ch]:
3387         * text.C:
3388         * text2.C:
3389         * text3.C: adjust
3390
3391 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3392
3393         * factory.C: Syntax change for CharStyles
3394
3395 2003-11-28  André Pönitz  <poenitz@gmx.net>
3396
3397         * BufferView.[Ch]:
3398         * BufferView.[Ch]:
3399         * buffer.[Ch]:
3400         * buffer.[Ch]: move LyXText member
3401
3402 2003-11-28  André Pönitz  <poenitz@gmx.net>
3403
3404         * BufferView.[Ch]: make LyXText * text a private member
3405
3406         * BufferView_pimpl.C:
3407         * cursor.C:
3408         * iterators.C:
3409         * lyx_cb.C:
3410         * lyxfind.C:
3411         * lyxtext.h:
3412         * rowpainter.[Ch]:
3413         * text.C:
3414         * text2.C:
3415         * undo.C: adjust
3416
3417         * output_plaintext.C: cleanup
3418
3419 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * buffer.C:
3422         * lyxtextclass.[Ch]: parametrize SGML document header
3423
3424 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3425
3426         * converter.[Ch]:
3427         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3428         getFlavor().
3429
3430 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3431
3432         * text2.C (setFont): rework using PosIterator (no more recursive)
3433         (setCharFont): no more needed
3434         (setLayout): no more selection cursors fiddling (done by redoCursor)
3435         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3436         destroy remaining ones)
3437
3438 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3441         * lyxtext.h: ditto
3442         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3443         selection cursors
3444         * lyxfunc.C: adjust
3445         * text3.C: adjust + re-allow multi par depth changes
3446         * textcursor.C: simplify a bit
3447
3448 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3449
3450         * src/buffer.C:
3451         * src/lyxlayout.C:
3452         * src/lyxlayout.h:
3453         * src/lyxtext.h:
3454         * src/output_docbook.C:
3455         * src/output_latex.C:
3456         * src/paragraph.C:
3457         * src/paragraph.h:
3458         * src/sgml.C:
3459         * src/sgml.h:
3460         * src/text2.C: Introducing a number of tags parametrizing various
3461         XML formats that we may want to support
3462
3463 2003-11-25  André Pönitz  <poenitz@gmx.net>
3464
3465         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3466
3467         * lyxtext.h (leftMargin/rightMargin): simplify interface
3468
3469         * rowpainter.C:
3470         * text.C:
3471         * text2.C:
3472         * text3.C: adjust
3473
3474 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3475
3476         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3477         master file to any child files. Fixes bug 546.
3478
3479 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3482
3483 2003-11-24  André Pönitz  <poenitz@gmx.net>
3484
3485         * rowpainter.C: simplification
3486
3487         * text2.C (updateCounters): remove call to redoParagraph on
3488         changed labels as this is far too expensive.
3489
3490 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3491
3492         * converter.C (convert): fix a crash: this function gets
3493         called with buffer == 0 from importer code.
3494
3495 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3496
3497         * text3.C (cursorPrevious): make sure that we do not compare
3498         iterators form different containers.
3499         (cursorNext): ditto
3500
3501         * rowpainter.C (paintSelection): make sure that we do not compare
3502         iterators from different containers.
3503
3504         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3505         iterators from different ParagraphList containers.
3506         [NEXT] ditto
3507
3508         * text2.C (LyXText): change order of initialization slightly
3509         (operator=): new function. copy all variables except cache_par_
3510         (moveUp): make sure that we do not compare iterators from
3511         different ParagraphList constainers.
3512         (moveDown): ditto
3513
3514         * text.C (firstPar): new function
3515         (lastPar): new function
3516         (endPar): new function
3517
3518         * lyxtext.h: move things around and group public functions, public
3519         variables, private functions, private variables
3520
3521 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3522
3523         * factory.C: change call to InsetERT constructor to avoid
3524         additional invocation of method status
3525         * text2.C (toggleInset): remove redundant update() call
3526         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3527         instead of a Bufferview pointer
3528
3529 2003-11-21  André Pönitz  <poenitz@gmx.net>
3530
3531         * rowpainter.C: simplification
3532
3533 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * text3.C (dispatch): make possible to extend a word/row selection
3536         with the mouse
3537
3538 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3539
3540         * lyxtext.h: x0_,y0_ -> xo_,yo_
3541         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3542         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3543         * rowpainter.C (paintRows): paint full paragraphs
3544
3545 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3548         screen coordinates)
3549
3550 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * lyxtext.h: add x0_, y0_
3553         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3554         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3555
3556 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * text2.C (setCursorIntern): move the x_target update here *
3559         * text3.C: change some bv() to true/false in calls to
3560         cursorUp/Down/Right/Left
3561         * cursor.C: use helper function.
3562
3563 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3566         * paragraph_funcs.[Ch]: correct comment
3567         * rowpainter.C: do not paint selections away from bv->cursor()
3568         Fix a long standing selection painting bug.
3569         * text3.C: generalize mouse-selection code to LyXTexts other that
3570         top one
3571         * textcursor.C: do not use y coords if we can use par offsets
3572
3573 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3574
3575         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3576         cursor position after e.g. inset insert)
3577
3578 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * lyxfind.C (replace): adjust to locking removal + some
3581         code simplification
3582
3583 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3586         of the path
3587
3588 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3589
3590         * lyxlayout.[Ch]:
3591         * output_docbook.C: XML sanitation: new layout
3592         parameters InnerTag and CommandDepth
3593
3594 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3595
3596         * BufferView_pimpl.C:
3597         * factory.C:
3598         * text3.C: Fix the insertion and modification of button-style
3599         insets
3600
3601 2003-11-13  André Pönitz  <poenitz@gmx.net>
3602
3603         * InsetList.[Ch]: remove deleteLyXText
3604
3605         * paragraph.[Ch]: cache beginOfBody position
3606
3607         * Bidi.C:
3608         * text.C:
3609         * text2.C:
3610         * text3.C: remove superfluous update() calls
3611
3612         * vspace.C: cleanup
3613
3614 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3617         * BufferView.C (fitLockedInsetCursor): remove
3618         * cursor.[Ch] (getDim): add
3619         * text.C (getRowNearY): add faster version
3620         * text3.C: remove some update calls
3621
3622 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3623
3624         * LaTeXFeatures.C:
3625         * LyXAction.C:
3626         * MenuBackend.C:
3627         * MenuBackend.h:
3628         * dispatchresult.h:
3629         * factory.C:
3630         * lfuns.h:
3631         * lyxfunc.C:
3632         * lyxtextclass.C:
3633         * lyxtextclass.h:
3634         * text3.C: The Character Style /XML short element patch.
3635
3636 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3637
3638         * text3.C:
3639         * factory.C: Small step to solving 'unable to insert some insets'
3640         problem
3641
3642 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3643
3644         * cursor.[Ch] (updatePos): new function for updating the y
3645         position of the tip inset
3646         * bufferview_funcs.C (put_selection_at):
3647         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3648
3649 2003-11-11  André Pönitz  <poenitz@gmx.net>
3650
3651         * text.C: remove big comment on invalid Paragraph pointers as it is
3652         not valid anymore
3653
3654 2003-11-11  André Pönitz  <poenitz@gmx.net>
3655
3656         * text_funcs.[Ch]: merge with ...
3657
3658         * text.C: ... this
3659
3660         * lyxtext.h:
3661         * text2.C:
3662         * text3.C: adjust
3663
3664         * Makefile.am: remove text_funcs.[Ch]
3665
3666 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * cursor.C (getPos): return absolute cached y coord
3669
3670         * BufferView_pimpl.C (fitCursor): new simplistic code
3671         (workAreaDispatch): add a fitCursor call
3672
3673 2003-11-10  André Pönitz  <poenitz@gmx.net>
3674
3675         * BufferView.[Ch]:
3676         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3677
3678 2003-11-10  André Pönitz  <poenitz@gmx.net>
3679
3680         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3681         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3682         indicate that the cursor needs to leave an inset
3683
3684         * lyxtext.h: remove inset locking
3685
3686         * cursor.[Ch]: re-implement functionality provided by inset locking
3687
3688         * BufferView.[Ch]:
3689         * BufferView_pimpl.[Ch]:
3690         * LyXAction.C:
3691         * bufferview_funcs.[Ch]:
3692         * factory.C:
3693         * funcrequest.[Ch]:
3694         * iterators.C:
3695         * lyx_cb.C:
3696         * lyxfind.C:
3697         * lyxfunc.C:
3698         * text.C:
3699         * text2.C:
3700         * text3.C:
3701         * undo.C: adjust
3702
3703 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * PosIterator.[Ch]: replace the stack with a vector, add inset
3706         accesor
3707         * iterators.[C]: adjust
3708
3709 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3712         replaced
3713         * paragraph_funcs.C (readParToken): put the correct id in the
3714         error item, not the id of the top paragraph
3715
3716 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3717
3718         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3719         * bufferview_funcs.C (put_selection_at): use the above
3720
3721 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3722
3723         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3724
3725 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3726
3727         * output_linuxdoc.h:
3728         * output_plaintext.h:
3729         * output.h:
3730         * output_docbook.h: add #include statements
3731
3732 2003-11-05  José Matos  <jamatos@lyx.org>
3733
3734         * output_docbook.[Ch]:
3735         * output_latex.[Ch]:
3736         * output_linuxdoc.[Ch]:
3737         * output_plaintext.[Ch]: New files for output formats.
3738         * output.[Ch]: New file for helper functions.
3739
3740         * buffer.[Ch]:
3741         * paragraph_funcs.[Ch]: output functions moved to new files.
3742
3743         * outputparams.h: rename of latexrunparams.h
3744
3745         * LaTeX.[Ch]:
3746         * buffer.[Ch]:
3747         * bufferlist.[Ch]:
3748         * converter.[Ch]:
3749         * exporter.C:
3750         * paragraph.[Ch]:
3751         * paragraph_funcs.[Ch]:
3752         * paragraph_pimpl.[Ch]:
3753         * tabular.[Ch]: rename ascii to plaintext
3754         and LatexRunParams to OutputParams.
3755
3756 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * iterators.[Ch] (text): require bv argument
3759         * undo.C (recordUndo):
3760         * lyxfunc.C (dispatch):
3761         * bufferview_funcs.C (put_selection_at): adjust
3762
3763 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3764
3765         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3766
3767 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3770         nestings
3771
3772 2003-11-04  André Pönitz  <poenitz@gmx.net>
3773
3774         * cursor.[Ch]: restructure
3775
3776         * BufferView.[Ch]:
3777         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3778
3779         * iterators.[Ch] (asCursor): remove
3780
3781         * lfuns.h: remove LFUN_INSET_EDIT
3782
3783         * lyxfunc.C:
3784         * tabular.C:
3785         * text.C:
3786         * text2.C:
3787         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3788
3789 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * lyxfind.[Ch]: complete overhaul
3792         * BufferView_pimpl.C:
3793         * lyxfunc.C: adjust
3794         * paragraph.[Ch] (insert): add
3795
3796 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * BufferView.[Ch]:
3799         * lyxtext.h:
3800         * text.C: remove dead spellcheck code
3801
3802 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * dispatchresult.h: add a val setter
3805
3806         * cursor.C (dispatch): use a tempvar for data_[i]
3807
3808 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * PosIterator.[Ch]: compile fix
3811
3812 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3813
3814         * text.C (cursorPar): deactivate the cursor cache
3815
3816 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3819
3820 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * text3.C (dispatch): adjust for new DisptchResult semantics.
3823
3824         * lyxfunc.C (dispatch): handle update when return from
3825         Cursor::dispatch, adjust for new DispatchResult semantics.
3826
3827         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3828         DispatchResult(true) mean to not update. Add class functions for
3829         setting dispatched and update, as well as reading.
3830
3831         * cursor.C (dispatch): don't handle update here
3832
3833 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3836         * trans_mgr.C: adjust
3837
3838         * paragraph_funcs.C (readParToken): exception safety
3839
3840         * lyxvc.h: store the vcs pointer in a scoped_ptr
3841         * lyxvc.C: adjust
3842
3843         * lyxsocket.C (serverCallback): exception safety
3844
3845         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3846
3847         * ispell.C (clone): make it return a auto_ptr
3848
3849         * factory.C (createInset): exception safety
3850         (readInset): exception safety
3851
3852         * bufferlist.C (newBuffer): exception safety
3853
3854         * Thesaurus.C (Thesaurus): use initialization for aik_
3855
3856         * MenuBackend.C (expandToc): exception safety.
3857
3858 2003-11-03  André Pönitz  <poenitz@gmx.net>
3859
3860         * buffer.C:
3861         * buffer.h:
3862         * bufferview_funcs.C: remove getInsetFromId()
3863
3864         * lyxcursor.[Ch]:
3865         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3866
3867         * lyxfunc.C:
3868         * text2.C:
3869         * text3.C: adjust
3870
3871 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3872
3873         * PosIterator.C (distance, advance): new
3874         * bufferview_funcs.[Ch] (put_selection_at): new
3875         * iterators.[Ch] (lockPath): new
3876
3877 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * iterators.[Ch] (asPosIterator): added
3880         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3881         * PosIterator.[Ch]: added
3882
3883 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * text3.C:
3886         * lyxfunc.C:
3887         * cursor.C (dispatch):
3888         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3889
3890         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3891         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3892         contructor, add a class function dispatched. Remove operator>=
3893
3894 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * debug.C: only use the default constructor for debugstream
3897         (lyxerr) here.
3898
3899         * main.C (main): include debug.h and setup the lyxerr streambuf
3900         here.
3901
3902 2003-10-31  José Matos  <jamatos@lyx.org>
3903
3904         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3905
3906         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3907         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3908         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3909         * paragraph_pimpl.C (simpleTeXSpecialC):
3910         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3911         add LatexRunParams argument.
3912
3913         * exporter.C (Export): change call accordingly.
3914
3915         * latexrunparams.h: add new member to take care of the other backends.
3916 2003-10-30  José Matos  <jamatos@lyx.org>
3917
3918         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3919         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3920         factorise code for paragraph output.
3921         * buffer.[Ch]:
3922         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3923         move functions.
3924
3925 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text3.C (dispatch):
3928         * lyxfunc.C (dispatch):
3929         * cursor.C (dispatch):
3930         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3931
3932         * dispatchresult.h: make the dispatch_result_t ctor explicit
3933
3934 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3935
3936         * sgml.[Ch]:
3937         * buffer.C: small refactoring of docbook stuff
3938
3939 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3942         meaning.
3943
3944 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3947         operator dispatch_result_t, and operators for == != and >=
3948
3949         * cursor.C (dispatch): adjust for operator dispatch_result_t
3950         removal. comment out call to update
3951
3952         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3953
3954 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * text3.C:
3957         * text2.C:
3958         * text.C:
3959         * lyxtext.h:
3960         * lyxfunc.C:
3961         * cursor.C:
3962         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3963         (dispatch):
3964
3965         * dispatchresult.h: new file, DispatchResult broken out of
3966         insets/insetbase.h
3967
3968         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3969
3970 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * text.C (rowBreakPoint): put a hack inside #if 0
3973
3974 2003-10-28  André Pönitz  <poenitz@gmx.net>
3975
3976         * lyxtext.h:
3977         * metricsinfo.C:
3978         * paragraph_funcs.C:
3979         * rowpainter.C:
3980         * text.C:
3981         * text2.C: general cleanup (lots of small stuff)
3982
3983 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3984
3985         * text2.C (cursorEnd): simple fix to the "end key goes to one
3986         before the end on last row" bug
3987
3988 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * text.C (backspace): fix the "zombie characters"
3991
3992 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3993
3994         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3995
3996 2003-10-27  André Pönitz  <poenitz@gmx.net>
3997
3998         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3999
4000         * factory.C: handle new InsetPagebreak, InsetLine
4001
4002         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4003         and move handling into new InsetPagebreak, InsetLine
4004
4005         * BufferView_pimpl.C:
4006         * LyXAction.C:
4007         * ParagraphParameters.C:
4008         * ParameterStruct.h:
4009         * lyxfunc.C:
4010         * lyxtext.h:
4011         * paragraph.C:
4012         * paragraph.h:
4013         * paragraph_funcs.C:
4014         * paragraph_pimpl.C:
4015         * rowpainter.C:
4016         * text.C:
4017         * text2.C:
4018         * text3.C: adjust
4019
4020 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4021
4022         * text.C:
4023         * lyxrow_funcs.[Ch]:
4024         * Bidi.C:
4025         * paragraph.C:
4026         * lyxtext.h:
4027         * rowpainter.C:
4028         * text2.C:
4029         * text3.C: remove lastPos uses in favour of Row::endpos
4030
4031 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * undo.C (performUndoOrRedo): fix two crashes by setting a
4034         cursor by hand and reordering some calls. Use bv->lockInset instead
4035         of inset->edit because the latter loses cursor information
4036
4037 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4040         by Martin
4041         (rowBreakPoint): fix width. change point to point + 1.
4042         Add a missing check.
4043
4044 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4045
4046         * MenuBackend.C:
4047         * lyxfunc.C: fix (at least partly) the problems
4048         with the Nav menu and headers inside branch insets
4049         reported by Kayvan
4050
4051 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * paragraph.C (getChar): add strong asserts
4054
4055         * lyxrow_funcs.C (lastPos): remove hideous hack
4056
4057         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4058         (fill): adjust to that (avoid an infinite loop)
4059
4060 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4063
4064 2003-10-23  André Pönitz  <poenitz@gmx.net>
4065
4066         * RowList_fwd.h: change list<> to vector<> to gain speed
4067         after suggestion from Alfredo
4068
4069 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4070
4071         * lyxtext.h: move the bidi stuff from here...
4072         * text.C: and here
4073         * text2.C: and here
4074         * Bidi.[Ch]: ... to here
4075
4076 2003-10-23  André Pönitz  <poenitz@gmx.net>
4077
4078         * lyxtext.h:
4079         * text.C (isLastRow, isFirstRow): new functions
4080
4081         * paragraph.h: new width cache member
4082
4083         * rowpainter.C: replace RowList::iterator with Row & where possible
4084
4085         * lyxfunc.C: replace several view()->text with a single call
4086
4087         * toc.C: fix 'unused' warning
4088
4089 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4092         when woring with stream::pos_type
4093         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4094
4095 2003-10-22  André Pönitz  <poenitz@gmx.net>
4096
4097         * lyxtext.h:
4098         * text.C: use Row & instead of RowList::iterator
4099
4100         * lyxrow.h: rename end() to endpos()
4101
4102         * rowpainter.C:
4103         * text.C:
4104         * text2.C: adjust
4105
4106 2003-10-22  Angus Leeming  <leeming@lyx.org>
4107
4108         * buffer.[Ch] (fully_loaded): new member function, returning true
4109         only when the file has been loaded fully.
4110         Used to prevent the premature generation of previews and by the
4111         citation inset to prevent computation of the natbib-style label.
4112
4113         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4114         templates are all set up.
4115
4116         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4117
4118 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4119
4120         * text.C: fixed an "oops" in the "is a bit silly"
4121         bug fix
4122
4123 2003-10-21  André Pönitz  <poenitz@gmx.net>
4124
4125         * FuncStatus.[Ch]: small stuff, whitespace
4126
4127         * lyxfont.[Ch]: operator<<() for debug reasons
4128
4129         * lyxfunc.C:
4130         * lyxrow_funcs.C:
4131         * lyxtext.h: whitespace, spelling
4132
4133         * paragraph.C: naming of variables
4134
4135         * text.C:
4136         * text2.C: small stuff
4137
4138
4139 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4140
4141         * text.C: (1) finish off the inset display() work;
4142         (2) fix the "is a bit silly" bug (accessing char
4143         past end of par).
4144
4145 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4146
4147         * text.C: re-introduce display() for insets, fixing the
4148         various bugs (stretch of line above, math inset
4149         positioning, ...)
4150
4151 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4152
4153         * text.C (rightMargin): remove spurious semicolon
4154
4155         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4156         1415)
4157
4158 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4159
4160         * text3.C: fix one crash due to wrong cursor def
4161
4162 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * vc-backend.C (scanMaster): make the regex static
4165
4166         * LaTeX.C (scanAuxFile): make the regexs static
4167
4168         * text3.C (doInsertInset, dispatch, dispatch):
4169         * text2.C (cursorUp, cursorDown):
4170         * text.C (selectNextWordToSpellcheck):
4171         * BufferView_pimpl.C (dispatch):
4172         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4173
4174 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4175
4176         * lyxsocket.C: include <cerrno>
4177
4178 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * lyxfunc.C (dispatch): remove textcache stuff
4181
4182         * bufferlist.C (release): remove textcache stuff
4183         (closeAll): ditto
4184
4185         * TextCache.C: delete file
4186         * TextCache.h: delete file
4187
4188         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4189
4190         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4191         delete of the bv_->text.
4192         (resizeCurrentBuffer): remove texcache stuff
4193         (workAreaResize): ditto
4194
4195 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4198         action.
4199
4200 2003-10-16  André Pönitz  <poenitz@gmx.net>
4201
4202         * lyxrow.[Ch]:
4203         * paragraph.h:
4204         * rowpainter.C:
4205         * text.C:
4206         * text2.C:
4207         * text3.C: speed up by storing y positions per paragraph plus per-row
4208         offset instead of having a 'full' y position in the row.
4209
4210 2003-10-15  André Pönitz  <poenitz@gmx.net>
4211
4212         * iterators.[Ch]:
4213         * iterators.[Ch]:
4214         * undo.[Ch]: make undo aware of inner insets
4215
4216 2003-10-14  Angus Leeming  <leeming@lyx.org>
4217
4218         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4219         static member functions LyX::ref() and LyX::cref.
4220         (lastfiles): new accessor functions for the new lastfiles_ member var.
4221         (addLyXView, views_): add a new LyXView to the list of views_.
4222         (updateInset): loop over all LyXViews to call their own updateInset
4223         member function, returning a pointer to the Buffer owning the inset.
4224
4225         * BufferView_pimpl.C (loadLyXFile):
4226         * MenuBackend.C (expandLastfiles):
4227         * bufferlist.C (MenuWrite, QuitLyX):
4228         lastfiles is no longer a global variable.
4229         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4230
4231         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4232         static function. Access through LyX::cref().emergencyCleanup().
4233
4234 2003-10-14  André Pönitz  <poenitz@gmx.net>
4235
4236         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4237
4238         * undo.[Ch]: restoring part of 'undo in insets'
4239
4240         * Makefile.am:
4241         * undo_funcs.[Ch]: merge with undo.[Ch]
4242
4243         * tabular.C: small cleansing stuff
4244
4245 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * paragraph_funcs.C (readParToken): report unknown insets as error
4248         boxes. Use the outer paragraph as location (also for unknown
4249         tokens).
4250
4251         * factory.C (readInset): do not abort on reading an unknown inset.
4252         Eat it and return 0.
4253
4254 2003-10-13  Angus Leeming  <leeming@lyx.org>
4255
4256         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4257
4258         * lyxrc.C: displayTranslator is now a function,
4259         declared in GraphicsTypes.h.
4260
4261 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4262
4263         * format.C: new placeholder $$a to pass the socket address.
4264
4265         * bufferlist.[Ch]: new function getBufferFromTmp.
4266
4267         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4268           files in the temporary dir.
4269
4270 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4271
4272         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4273
4274         * Makefile.am: add lyxsocket.[Ch].
4275
4276         * lyx_main.C (error_handler): handle SIGPIPE.
4277
4278 2003-10-13  André Pönitz  <poenitz@gmx.net>
4279
4280         * BufferView_pimpl.C:
4281         * lyxtext.h:
4282         * text.C:
4283         * text2.C:
4284         * text3.C:
4285         * undo_funcs.[Ch]: use paroffset_type instead of
4286           ParagraphList::iterators to prevent multiple conversion
4287           (and get a more robust interface)
4288
4289 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4292         * lyxtext.h: ditto
4293         * text3.C (dispatch): ditto
4294
4295 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4298         move the onlyfile, use onlyfile instead of foundfile in a couple
4299         of places.
4300
4301         * DepTable.C (update): flush the error stream a bit more
4302
4303 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * lyxserver.C (callback): adjust
4306
4307         * lyxfunc.C (getStatus): add a missing brace in commented code
4308         (ensureBufferClean): reindent
4309         (dispatch): delete version taking a string
4310
4311 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * LaTeX.C (deplog): move found file handlig from here...
4314         (handleFoundFile): .. to new function here.
4315         (deplog): make sure to discover several files mentioned on the
4316         same log line.
4317
4318 2003-10-10  André Pönitz  <poenitz@gmx.net>
4319
4320         * lyxfunc.C:
4321         * lyxtext.h:
4322         * tabular.C:
4323         * text.C:
4324         * text2.C:
4325         * text3.C: fix some of the tabular crashes
4326
4327 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4328
4329         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4330
4331         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4332
4333 2003-10-09  André Pönitz  <poenitz@gmx.net>
4334
4335         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4336
4337         * BufferView.C:
4338         * BufferView_pimpl.C:
4339         * bufferview_funcs.C:
4340         * lyx_cb.C:
4341         * lyxcursor.C:
4342         * lyxfind.C:
4343         * lyxfunc.C:
4344         * lyxtext.h:
4345         * text.C:
4346         * text2.C:
4347         * text3.C:
4348         * text_funcs.[Ch]:
4349         * textcursor.[Ch]:
4350         * undo_funcs.C: adjust
4351
4352 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * text2.C (incrementItemDepth): new function, use a backtracking
4355         algorithm to discover the correct item depth.
4356         (resetEnumCounterIfNeeded): new function, use a backtracking
4357         algorithm to discover if counter reset is needed.
4358         (setCounter): use them. Simplify a bit. Add different labels for
4359         different item depths for itemize.
4360
4361         * paragraph.C (Paragraph): remove initialization of enumdepth
4362         (operator=): ditto
4363
4364         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4365         enumerate and itemize. Change the type of itemdepth to signed char.
4366
4367 2003-10-08  André Pönitz  <poenitz@gmx.net>
4368
4369         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4370           thing assignable.
4371         * text.C:
4372         * text2.C: adjust
4373
4374         * tabular.[Ch]: fix crash after 'row-insert'
4375
4376 2003-10-08  Angus Leeming  <leeming@lyx.org>
4377
4378         Fix doxygen warnings.
4379
4380         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4381         Remove CutAndPaste:: prefix from header file declaration.
4382
4383         * LColor.h (fill): remove LColor:: prefix from declaration.
4384
4385         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4386         use lyx::depth_type rather than Paragraph::depth_type so that
4387         header file and .C file match.
4388
4389         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4390
4391         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4392         * aspell.C: \file aspell_local.C -> \file aspell.C
4393         * gettext.C: \file gettext.C -> \file src/gettext.C
4394         * gettext.h: \file gettext.h -> \file src/gettext.h
4395         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4396         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4397         * text.C: \file text.C -> \file src/text.C
4398
4399         * toc.C: move comment so that doxygen is not confused.
4400
4401 2003-10-07  Angus Leeming  <leeming@lyx.org>
4402
4403         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4404
4405 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4406
4407         * aspell.C:
4408         * aspell_local.h: add forgotten std::string's.
4409
4410 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4411
4412         * LaTeXFeatures.C:
4413         * LyXAction.C:
4414         * factory.C:
4415         * lfuns.h:
4416         * lyxfunc.C:
4417         * text3.C: The Box patch. Fancybox support, minipage, parbox
4418
4419 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4420
4421         * CutAndPaste.h:
4422         * DepTable.h:
4423         * FloatList.h:
4424         * LaTeXFeatures.h:
4425         * ParagraphParameters.h:
4426         * TextCache.h:
4427         * Thesaurus.h:
4428         * bufferlist.h:
4429         * exporter.h:
4430         * importer.h:
4431         * lastfiles.h:
4432         * lyxfind.h:
4433         * lyxfont.h:
4434         * lyxlex.h:
4435         * lyxtextclasslist.h:
4436         * messages.h:
4437         * paragraph.h:
4438         * paragraph_pimpl.C:
4439         * textcursor.h: add <string> and other small fixes to make Lars'
4440         std::string patch compile with STLport.
4441
4442 2003-10-06  Angus Leeming  <leeming@lyx.org>
4443
4444         * LColor.h: Add missing #include <string>.
4445
4446 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * All most all file in all subdirs: Make <string> be the prefered
4449         way of getting to std::string, add using declarations.
4450
4451 2003-10-06  André Pönitz  <poenitz@gmx.net>
4452
4453         * metricsinfo.C: initialize LyXFont before changing attribute.
4454         (fixes the 'math in \emph is upright' bug)
4455
4456 2003-10-06  André Pönitz  <poenitz@gmx.net>
4457
4458         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4459
4460 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * graph.C:
4463         * paragraph_pimpl.C: Small fixes to build using STLport
4464
4465 2003-10-02  André Pönitz  <poenitz@gmx.net>
4466
4467         * lyxfunc.C:
4468         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4469
4470 2003-10-01  André Pönitz  <poenitz@gmx.net>
4471
4472         * factory.C: assert early
4473
4474 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * lyx_main.C: remove the global debug object
4477
4478         * debug.h: adjust for new debugstream
4479
4480         * debug.C: adjust for new debugstream and keep the global debug
4481         object here.
4482
4483 2003-09-22  Angus Leeming  <leeming@lyx.org>
4484
4485         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4486         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4487         an incomplete class LyXFont.
4488
4489 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4490
4491         * factory.C: bug fix in branches
4492
4493 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * lyxfunc.C (processKeySym): adjust
4496         (dispatch): adjust
4497         (dispatch): change arg name from ev to func, adjust
4498         (sendDispatchMessage): ditto
4499
4500         * lyx_main.C (defaultKeyBindings): adjust keybindings
4501         (deadKeyBindings): ditto
4502
4503         * kbsequence.C (addkey): return a FuncRequest
4504
4505         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4506
4507         * kbmap.C (bind): take a FuncRequest as arg, adjust
4508         (read): adjust
4509         (lookup): adjust
4510         (defkey): change to take a FuncRequest as arg, adjust
4511         (findbinding): take a FuncRequest as arg, adjust.
4512
4513         * funcrequest.h (operator=): added
4514
4515         * funcrequest.C (FuncRequest): default kb_action changed from
4516         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4517
4518         * buffer.C (dispatch): simplify
4519         (dispatch): adjust to take a FuncRequest as arg, adjust
4520
4521         * boost.C (assertion_failed): change assertion message slightly
4522
4523         * ToolbarBackend.C (read): simplify
4524
4525         * MenuBackend.C (binding): adjust call to findbinding, add a
4526         message if no binding is found.
4527         (read): simplify
4528         (expandToc): correct by adding a empty FuncRequest
4529
4530         * LyXAction.C: include <boost/assert.hpp>
4531         (isPseudoAction): delete function
4532         (LookupFunc): change name to...
4533         (lookupFunc): this. change return type to FuncRequest.
4534         (getActionName): take kb_action as arg, simplify
4535         (funcHasFlag): add an assert, simplify.
4536
4537 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * toc.C (action): return a FuncRequest, simplify
4540
4541         * lyxfunc.C (processKeySym): adjust
4542         (getStatus): delete version that takes an int.
4543         (getStatus): adjust
4544         (dispatch): delete version that takes action as int
4545         (dispatch): adjust
4546         (sendDispatchMessage): simplify and adjust
4547
4548         * funcrequest.C (getArg): take unsigned int as arg
4549
4550         * ToolbarBackend.C (read): adjust
4551         (add): delete version that takes func as a string.
4552         (getIton): take a FuncRequest as arg
4553
4554         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4555         action.
4556
4557         * MenuBackend.C (MenuItem): add a new construct that only takes a
4558         Kind, simplify the constructor use for submenus.
4559         (add): adjust
4560         (expandLastfiles): adjust
4561         (expandDocuments): adjust
4562         (expandFormats): adjust
4563         (expandFloatListInsert): adjust
4564         (expandFloatInsert): adjust
4565         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4566
4567         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4568         Remove class variables lyx_pseudo_map and lyx_arg_map
4569
4570         * LyXAction.C (searchActionArg): delete function
4571         (getPseudoAction): delete function
4572         (retrieveActionArg): delete function
4573         (LookupFunc): make it return kb_action, simplify.
4574         (getActionName): simplify
4575
4576         * factory.C (createInset): fix new bug
4577
4578 2003-09-19  Angus Leeming  <leeming@lyx.org>
4579
4580         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4581         masterFilename_ parameter in the include inset.
4582
4583         * factory.C (createInset): changes due to the changes to InsetInclude.
4584
4585 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4586
4587         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4588
4589 2003-09-18  Angus Leeming  <leeming@lyx.org>
4590
4591         * buffer.C:
4592         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4593         Inset::fillWithBibKeys.
4594         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4595
4596 2003-09-18  Angus Leeming  <leeming@lyx.org>
4597
4598         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4599         variables.
4600         (ctor): pass and store a 'Buffer const &'
4601         (buffer): new member function.
4602
4603         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4604         '*this' to the LaTeXFeatures ctor.
4605
4606 2003-09-18  Angus Leeming  <leeming@lyx.org>
4607
4608         * LColor.h:
4609         * lyxfont.C:
4610         * lyxfont.h:
4611         * lyxtext.h:
4612         * text.C: rename EnumLColor as LColor_color.
4613
4614 2003-09-18  Angus Leeming  <leeming@lyx.org>
4615
4616         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4617         remove #include "insets/insetbase.h" from cursor.h.
4618
4619 2003-09-18  Angus Leeming  <leeming@lyx.org>
4620
4621         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4622         InsetOld_code to remove #include "inset.h".
4623
4624         * iterators.C: add #include "insets/inset.h"
4625
4626 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4627
4628         * BufferView.C: remove more locking stuff that apparently doesn't
4629         do anything sensible.
4630
4631 2003-09-16  André Pönitz  <poenitz@gmx.net>
4632
4633         * paragraph.[Ch]:
4634         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4635           performance boost.
4636
4637 2003-09-16  Angus Leeming  <leeming@lyx.org>
4638
4639         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4640
4641         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4642         arg/return type.
4643
4644         * paragraph.h: remove #include "lyxfont.h". Forward declare
4645         LyXFont_size.
4646
4647 2003-09-16  Angus Leeming  <leeming@lyx.org>
4648
4649         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4650         of support/textutils.h.
4651         (isWord): move the contents of support/textutils.h's IsWordChar here.
4652
4653         * buffer.C:
4654         * lyxfind.C:
4655         * rowpainter.C:
4656         * text.C:
4657         * text2.C: add #include "paragraph.h".
4658
4659         * rowpainter.C:
4660         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4661
4662 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * main.C:
4665         * lyx_main.C:
4666         * lyx_cb.C:
4667         * buffer.C:
4668         * LaTeX.C: use namespace alias for lyx::support::os
4669
4670 2003-09-16  Angus Leeming  <leeming@lyx.org>
4671
4672         * bufferparams.C:
4673         * bufferview_funcs.C:
4674         * factory.C:
4675         * lyxfunc.C:
4676         * paragraph_pimpl.C:
4677         * rowpainter.C:
4678         * text.C: add #include "LColor.h".
4679
4680 2003-09-16  Angus Leeming  <leeming@lyx.org>
4681
4682         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4683         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4684         return LyXFont &.
4685         Store the FontBits::color variable as an int rather than as an
4686         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4687         file.
4688
4689         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4690         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4691         string calls together.
4692
4693         * lyxrc.C: add #include "LColor.h".
4694
4695 2003-09-15  Angus Leeming  <leeming@lyx.org>
4696
4697         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4698         a cow_ptr.
4699
4700 2003-09-15  Angus Leeming  <leeming@lyx.org>
4701
4702         * LColor.h: add an EnumLColor wrapper for LColor::color.
4703
4704         * lyxfont.[Ch] (color, setColor, realColor):
4705         * lyxtext.h, text.C (backgroundColor):
4706         pass EnumLColor args to/from the functions, rather than LColor::color
4707         ones.
4708
4709         * lyxfont.h:
4710         * lyxtext.h: forward declare EnumLColor.
4711
4712         * lyx_main.C: add #include "LColor.h".
4713
4714 2003-09-15  Angus Leeming  <leeming@lyx.org>
4715
4716         * .cvsignore: add lyx-gtk.
4717
4718 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * Chktex.C
4721         * LaTeX.C
4722         * LaTeXFeatures.C
4723         * ParagraphParameters.C
4724         * Spacing.C
4725         * buffer.C
4726         * bufferparams.C
4727         * bufferview_funcs.C
4728         * chset.C
4729         * counters.C
4730         * funcrequest.C
4731         * lyxfont.C
4732         * lyxgluelength.C
4733         * lyxlength.C
4734         * paragraph.C
4735         * paragraph_funcs.C
4736         * text3.C
4737         * vc-backend.C: remove usage of STRCONV
4738
4739 2003-09-15  Angus Leeming  <leeming@lyx.org>
4740
4741         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4742         explicitly define the color passed to the painter.
4743
4744 2003-09-15  Angus Leeming  <leeming@lyx.org>
4745
4746         * bufferparams.C (BufferParams): reorder member initializers to avoid
4747         compiler warning.
4748
4749 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4752         * text.C (updateRowPositions): remove an unusual nop
4753
4754 2003-09-12  André Pönitz  <poenitz@gmx.net>
4755
4756         * BufferView_pimpl.C:
4757         * Bullet.C:
4758         * layout.h:
4759         * lyxfunc.C:
4760         * lyxlayout.[Ch]:
4761         * lyxtextclass.C:
4762         * rowpainter.C:
4763         * text.C:
4764         * text2.C:
4765         * Counters.[Ch]: finish the 'automatic counters' job
4766
4767 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4768
4769         * aspell.C: include <boost/assert.cpp> (compile fix)
4770
4771 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4772
4773         * boost.C (assertion_failed): use lyx::support::abort instead of
4774         assert.
4775
4776 2003-09-10  Angus Leeming  <leeming@lyx.org>
4777
4778         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4779         with their _fwd progeny.
4780
4781 2003-09-09  Angus Leeming  <leeming@lyx.org>
4782
4783         134 files throughtout the source tree: replace 'using namespace abc;'
4784         directives with the appropriate 'using abc::xyz;' declarations.
4785
4786 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4787
4788         * boost.C (emergencyCleanup): moved here from LAssert.c
4789         (assertion_failed): new function, called by BOOST_ASSERT
4790
4791         * several files: change Assert to BOOST_ASSERT
4792
4793 2003-09-09  Angus Leeming  <leeming@lyx.org>
4794
4795         * buffer.[Ch]: Add an Impl class and move Buffer's member
4796         variables into it. As a result move several header files out of
4797         buffer.h.
4798
4799         Add header files to lots of .C files all over the tree as a result.
4800
4801 2003-09-09  Angus Leeming  <leeming@lyx.org>
4802
4803         * buffer.[Ch]: make Buffer's member variables private. Add
4804         accessor functions.
4805
4806         Lots of changes all over the tree as a result.
4807
4808 2003-09-08  Angus Leeming  <leeming@lyx.org>
4809
4810         * graph.C: #include <config.h>.
4811
4812 2003-09-08  Angus Leeming  <leeming@lyx.org>
4813
4814         * BranchList.C:
4815         * BufferView.C:
4816         * BufferView_pimpl.C:
4817         * CutAndPaste.C:
4818         * DepTable.C:
4819         * LaTeX.C:
4820         * LaTeXFeatures.C:
4821         * LyXAction.C:
4822         * MenuBackend.C:
4823         * TextCache.C:
4824         * aspell.C:
4825         * buffer.C:
4826         * bufferlist.C:
4827         * changes.C:
4828         * chset.C:
4829         * converter.C:
4830         * counters.C:
4831         * debug.C:
4832         * graph.C:
4833         * ispell.C:
4834         * lyx_cb.C:
4835         * lyxfind.C:
4836         * lyxfunc.C:
4837         * lyxlex_pimpl.C:
4838         * lyxrc.C:
4839         * lyxrow.C:
4840         * paragraph.C:
4841         * rowpainter.C:
4842         * texrow.C:
4843         * text.C:
4844         * text2.C:
4845         * toc.C: remove redundant using directives.
4846
4847 2003-09-07  Angus Leeming  <leeming@lyx.org>
4848
4849         * LaTeXFeatures.h: remove #include "support/types.h".
4850         * ToolbarBackend.h: remove #include <algorithm>.
4851         * changes.h: remove #include <ctime>.
4852         * debug.h: remove #include <iosfwd>.
4853         * graph.h: remove #include "support/std_string.h".
4854         * lyx_main.h: remove #include <csignal>.
4855         * lyxlex_pimpl.h: remove #include <fstream>.
4856         * sgml.h: remove #include <algorithm>, <utility>.
4857         * toc.h: remove #include "support/std_ostream.h".
4858         Add #include <iosfwd>.
4859
4860 2003-09-07  Angus Leeming  <leeming@lyx.org>
4861
4862         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4863
4864         * converter.h: forward declare LatexRunParams.
4865         * encoding.h: remove #include "lyxrc.h".
4866         * lyxtext.h: remove #include "LColor.h".
4867         * lyxtextclass.h: remove #include "support/types.h".
4868         * trans.h: remove #include "tex-accent.h".
4869         * trans_mgr.h: remove #include "tex-accent.h".
4870         * insets/inset.h: remove #include "support/types.h", <vector>.
4871         * insets/insetcollapsable.h: remove #include "LColor.h".
4872         * insets/insetinclude.h: remove #include "dimension.h".
4873         * insets/insetlatexaccent.h: remove #include "dimension.h".
4874         * insets/insetoptarg.h:: remove #include "insettext.h".
4875         * insets/insettext.h: remove #include "dimension.h",
4876         <boost/shared_ptr.hpp>
4877
4878         * insets/renderers.h: add #include "dimension.h".
4879         * insets/updatableinset.h: add #include "support/types.h".
4880
4881         * many .C files: Associated changes.
4882
4883 2003-09-06  Angus Leeming  <leeming@lyx.org>
4884
4885         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4886         one, inside testInvariant.
4887
4888         * PrinterParams.C: new file.
4889         * PrinterParams.[Ch]: move the function bodies out of line.
4890
4891 2003-09-06  Angus Leeming  <leeming@lyx.org>
4892
4893         * ParagraphParameters.h: forward declare ParameterStruct rather than
4894         including its header file.
4895         (depth): moved out-of-line.
4896
4897 2003-09-06  Angus Leeming  <leeming@lyx.org>
4898
4899         * BufferView_pimpl.h:
4900         * kbmap.h:
4901         * kbsequence.h:
4902         * lyxfunc.h: forward declare LyXKeySym rather than
4903         #include "frontends/LyXKeySym.h".
4904
4905         * BufferView_pimpl.C:
4906         * kbmap.C:
4907         * kbsequence.C:
4908         * lyxfunc.C: associated changes.
4909
4910 2003-09-06  Angus Leeming  <leeming@lyx.org>
4911
4912         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4913         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
4923         * buffer.h:
4924         * bufferlist.C:
4925         * BufferView.C:
4926         * bufferview_funcs.C:
4927         * BufferView_pimpl.C:
4928         * CutAndPaste.C:
4929         * lyx_cb.C:
4930         * lyxfunc.C:
4931         * paragraph.h:
4932         * ParagraphParameters.C:
4933         * tabular.C:
4934         * text3.C:
4935         * toc.C:
4936         * undo_funcs.C:
4937         * frontends/controllers/ControlDocument.C:
4938         * insets/insetcaption.C: rearrange the #includes into some sort of
4939         coherent order.
4940
4941         * buffer.h: remove #includes ErrorList.h, undo.h
4942
4943 2003-09-06  Angus Leeming  <leeming@lyx.org>
4944
4945         * support/types.h: add a 'depth_type' typedef, used to store the
4946         nesting depth of a paragraph.
4947
4948         * paragraph.h:
4949         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4950         defining explicitly.
4951
4952         * buffer.h:
4953         * paragraph_funcs.h:
4954         * ParagraphParameters.h:
4955         * sgml.h: use lyx::depth_type rather than Paragraph or
4956         ParameterStruct's depth_type.
4957
4958         * buffer.h
4959         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4960
4961         * BufferView.C:
4962         * BufferView_pimpl.C:
4963         * CutAndPaste.C:
4964         * ParagraphParameters.C:
4965         * buffer_funcs.C:
4966         * bufferlist.C:
4967         * bufferview_funcs.C:
4968         * lyx_cb.C:
4969         * lyxfunc.C:
4970         * tabular.C:
4971         * text3.C:
4972         * toc.C:
4973         * undo_funcs.C:
4974         * frontends/LyXView.C:
4975         * frontends/controllers/ControlDocument.C:
4976         * frontends/controllers/ControlErrorList.C:
4977         * insets/insetbibitem.C:
4978         * insets/insetbranch.C:
4979         * insets/insetcaption.C:
4980         * insets/insetcollapsable.C:
4981         * insets/insetenv.C:
4982         * insets/insetert.C:
4983         * insets/insetfloat.C:
4984         * insets/insetfoot.C:
4985         * insets/insetfootlike.C:
4986         * insets/insetnewline.C:
4987         * insets/insetquotes.C:
4988         * insets/insettabular.C:
4989         * insets/insettext.C:
4990         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4991
4992         * frontends/controllers/ControlChanges.C: #include "changes.h".
4993
4994 2003-09-06  Angus Leeming  <leeming@lyx.org>
4995
4996         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4997         than #including paragraph.h.
4998
4999         * ParagraphList.h:
5000         * RowList.h: deleted. Superfluous.
5001
5002         * CutAndPaste.h:
5003         * iterators.h:
5004         * lyxcursor.h:
5005         * lyxtext.h:
5006         * text_funcs.h:
5007         * undo.h:
5008         * undo_funcs.h:
5009         * insets/inset.h:
5010         * insets/insettext.h: use ParagraphList_fwd.h rather than
5011         ParagraphList.h.
5012
5013         * paragraph.h: don't forward declare ParagraphList.
5014
5015         * buffer.h:
5016         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5017         rather than ParagraphList.h. paragraph.h is still needed for the
5018         Paragraph::depth_type parameters.
5019
5020         * textcursor.h: enable it to compile stand-alone in light of the
5021         above changes.
5022
5023         * bufferview_funcs.C:
5024         * iterators.C:
5025         * lyxfunc.C:
5026         * lyxrow_funcs.C:
5027         * paragraph.C:
5028         * rowpainter.C:
5029         * text.C:
5030         * text2.C:
5031         * text3.C:
5032         * text_funcs.C:
5033         * textcursor.C:
5034         * undo.C:
5035         * frontends/controllers/ControlParagraph.C:
5036         * frontends/controllers/ControlTabular.C:
5037         * insets/insetmarginal.C:
5038         * insets/insetminipage.C:
5039         * insets/insetnote.C:
5040         * insets/insetoptarg.C: add header files needed to compile again.
5041
5042 2003-09-06  Angus Leeming  <leeming@lyx.org>
5043
5044         * RowList_fwd.h: new file, forward-declaring Row rather than
5045         #including lyxrow.h.
5046
5047         * lyxrow_funcs.h:
5048         * lyxtext.h:
5049         * paragraph.h:
5050         * insets/insettext.h: use it instead of RowList.h
5051
5052         * bufferview_funcs.C:
5053         * lyxfunc.C:
5054         * lyxrow_funcs.C:
5055         * paragraph.C:
5056         * rowpainter.C:
5057         * text.C:
5058         * text2.C:
5059         * text3.C: #include "RowList.h".
5060
5061 2003-09-05  Angus Leeming  <leeming@lyx.org>
5062
5063         * factory.C (createInset):
5064         * vspace.C (c-tor): replace sscanf call with an istringstream.
5065         * ispell.C: re-add missing HP/UX headers.
5066         * lyxserver.C: re-add missing  os2 headers.
5067
5068 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5069
5070         * BranchList.C:
5071         * graph.C:
5072         * ispell.C:
5073         * lastfiles.C:
5074         * lyx_cb.C:
5075         * lyxserver.C:
5076         * texrow.C:
5077         * text3.C: re-add missing system headers, needed for 2.95.2.
5078
5079 2003-09-05  Angus Leeming  <leeming@lyx.org>
5080
5081         Changes most place everywhere due to the removal of using directives
5082         from support/std_sstream.h.
5083
5084 2003-09-05  Angus Leeming  <leeming@lyx.org>
5085
5086         Replace LString.h with support/std_string.h,
5087         Lsstream.h with support/std_sstream.h,
5088         support/LIstream.h with support/std_istream.h,
5089         support/LOstream.h with support/std_ostream.h.
5090
5091         Changes resulting throughout the tree.
5092
5093 2003-09-05  Angus Leeming  <leeming@lyx.org>
5094
5095         * sgml.h: ensure that the header file can be compiled stand-alone.
5096         * *.C: strip out redundant #includes. (320 in total.)
5097
5098 2003-09-04  Angus Leeming  <leeming@lyx.org>
5099
5100         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5101         here (from getPackages).
5102
5103         * debug.[Ch]: add a new EXTERNAL tag.
5104
5105 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5106
5107         * text2.C (cursorEnd): simplify
5108         (setCursor): adjust
5109         (getColumnNearX): adjust
5110
5111         * text.C (computeBidiTables): adjust
5112         (fill): adjust
5113
5114         * rowpainter.C (paintChars): adjust
5115         (paintSelection): adjust
5116         (paintChangeBar): adjust
5117         (paintText): adjust
5118
5119         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5120         lastPos instead.
5121         (numberOfSeparators): adjust
5122
5123 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5124
5125         * LyXAction.C:
5126         * box.[Ch]:
5127         * lfuns.h:
5128         * lyxfunc.C:
5129         * text3.C: Restricts the mouse click functionality
5130         of insets like bibtex, include, toc and floatlist to the visible
5131         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5132         up the dialogs. Cursor has to be in front of the inset (i.e.
5133         start of row) for this to function.
5134
5135 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5136
5137         * bufferview_funcs.C (currentState): output row information
5138
5139 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5140
5141         * bufferview_funcs.C (currentState): output paragraph position
5142
5143 2003-09-04  Angus Leeming  <leeming@lyx.org>
5144
5145         * FloatList.h: move out #include "Floating.h".
5146         * LaTeX.h: move out #include "DepTable.h".
5147         * LyXAction.h: move out #include "funcrequest.h".
5148         * buffer.h: move out #include "author.h", "iterators.h".
5149         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5150         * lyx_main.h: move out #include "errorlist.h".
5151         * lyxfunc.h: move out #include "FuncStatus.h".
5152         * lyxtext: move out #include "lyxcursor.h".
5153         * paragraph_pimpl.h: move out #include "counters.h".
5154
5155 2003-09-03  Angus Leeming  <leeming@lyx.org>
5156
5157         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5158         preamble_snippets list, enabling us to add snippets to the preamble
5159         only if the snippet was not there already.
5160
5161 2003-09-04  Angus Leeming  <leeming@lyx.org>
5162
5163         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5164
5165 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5168         update
5169
5170 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5171
5172         * BranchList.C: point fix, earlier forgotten
5173
5174 2003-09-02  Angus Leeming  <leeming@lyx.org>
5175
5176         * box.C (contains): renamed from 'contained' after a fantastic
5177         amount of hot air.
5178
5179 2003-09-02  John Levon  <levon@movementarian.org>
5180
5181         * BufferView.C:
5182         * lyxcursor.h:
5183         * lyxcursor.C:
5184         * lyxfunc.C:
5185         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5186
5187 2003-09-02  John Levon  <levon@movementarian.org>
5188
5189         * text2.C: simplification of cursorEnd(), including partial
5190         fix for bug 1376
5191
5192 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * buffer.C (readFile): add a space
5195
5196 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5199
5200 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * buffer.C (readFile): new function, take a filename and a
5203         ParagraphList::iterator
5204         (readFile): adjust
5205         (readFile): adjust, make it private. don't use setStream, make
5206         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5207         always contain the filename.
5208
5209         * BufferView.C (insertLyXFile): simplify and make it work for
5210         gzipped files.
5211
5212 2003-08-30  John Levon  <levon@movementarian.org>
5213
5214         * Makefile.am: fix dist (from Kayvan)
5215
5216 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * most files: change to use const Buffer refs
5219
5220 2003-08-27  André Pönitz  <poenitz@gmx.net>
5221
5222         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5223         on top of ownerPar().
5224
5225 2003-08-27  John Levon  <levon@movementarian.org>
5226
5227         * funcrequest.C: properly initialise POD members
5228
5229 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * lyxtext.h (top_y): move top_y from here
5232         * text.C:
5233         * text2.C:
5234         * text3.C:
5235         * BufferView.[Ch]:
5236         * BufferView_pimpl.[Ch]: to here
5237         * frontends/screen.C:
5238         * insets/insettabular.C:
5239         * insets/insettext.C: adjust
5240         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5241
5242 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * BufferView.[Ch]:
5245         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5246
5247 2003-08-26  André Pönitz  <poenitz@gmx.net>
5248
5249         * paragraph_func.[Ch] (outerPar): new function
5250
5251         * paragraph.C:
5252         * paragraph_funcs.C:
5253         * paragraph_funcs.h:
5254         * paragraph_pimpl.C:
5255         * text2.C: remove Inset::par_owner
5256
5257 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5258
5259         * lyxrow_funcs.C:
5260         * lyxtext.h:
5261         * text.C:
5262         * text2.C: eliminates the needFullRow/display() stuff
5263         altogether, putting the logic in metrics/draw in the insets.
5264
5265 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5266
5267         * text2.C (redoParagraphInternal, redoParagraphs):
5268         * text.C (redoParagraph): add a call to updateRowPositions at the
5269         end of each 'metrics-like' call. Remove all others.
5270         (getRow): remove the 'y-computing' version.
5271         (getRowNearY): do not compute nor return the real y. Solve the
5272         'y < 0' problem and simplify.
5273
5274 2003-08-22  Angus Leeming  <leeming@lyx.org>
5275
5276         * *.[Ch]: clean-up of licence and author blurbs.
5277         Also move config.h out of a few .h files and into a few .C files.
5278
5279 2003-08-22  André Pönitz  <poenitz@gmx.net>
5280
5281         * lyxrow.[Ch]: add x_ and *fill_ members
5282
5283         * lyxtext.h:
5284         * text.C:
5285         * rowpainter.C:
5286         * text2.C: adjust/remove prepareToPrint() calls
5287
5288 2003-08-22  André Pönitz  <poenitz@gmx.net>
5289
5290         * lyxrow.[Ch]: add  end_ member
5291
5292         * lyxrow_funcs.C: use LyXRow::end_
5293
5294         * lyxtext.h (singleWidth): add LyXFont parameter
5295
5296         * rowpainter.C:
5297         * text2.C: adjust LyXText::singleWidth() calls
5298
5299         * text.C (redoParagraph): simplify row breaking logic
5300
5301
5302 2003-08-19  André Pönitz  <poenitz@gmx.net>
5303
5304         * funcrequest.C: initialize button_ member
5305
5306         * text3.C:
5307         * rowpainter.[Ch]: interface consolidation
5308
5309 2003-08-18  André Pönitz  <poenitz@gmx.net>
5310
5311         * BufferView.C:
5312         * BufferView_pimpl.C:
5313         * lyxfind.C:
5314         * paragraph_funcs.C:
5315         * rowpainter.C:
5316         * text3.C: remove LyXScreen::draw() and fitCursor calls
5317
5318         * BranchList.h: remove spurious semicolons
5319
5320         * MenuBackend.C: fix branchlist related crash
5321
5322 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5323
5324         * BranchList.[Ch]:
5325         * InsetList.[Ch]:
5326         * LColor.[Ch]:
5327         * LyXAction.C:
5328         * Makefile.am:
5329         * MenuBackend.[Ch]:
5330         * bufferparams.[Ch]:
5331         * factory.C:
5332         * lfuns.h:
5333         * lyxfunc.C:
5334         * text3.C: implements the 'branch inset'
5335         idea. This allows the output of various versions of a document
5336         from a single source version, selectively outputing or suppressing
5337         output of parts of the text.
5338         This implementation contains a 'branch list editor' in a separate
5339         tab of the document settings dialog. Branches are user definable
5340         and have a "display colour" to distinguish them on-screen.
5341
5342         ColorHandler was somewhat cleaned up.
5343         (1) make possible a dynamically growing LColor list by allowing
5344         the graphic context cache to grow along (vector);
5345         (2) eliminate an IMHO unnecessary step in colour allocation.
5346
5347 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5348
5349         * BufferView_pimpl.C: compile fix
5350
5351 2003-08-15  André Pönitz  <poenitz@gmx.net>
5352
5353         * rowpainter.C: remove extra metrics calls
5354
5355         * lyxtext.h: merge the two constructors into a single one,
5356           pass reference to owner's par list
5357
5358         * BufferView_pimpl.C:
5359         * text.C:
5360         * text2.C: adjust
5361
5362 2003-08-15  André Pönitz  <poenitz@gmx.net>
5363
5364         * lyxrow_funcs.[Ch]:
5365         * lyxtext.h:
5366         * paragraph.h:
5367         * paragraph_funcs.C:
5368         * rowpainter.C:
5369         * text.C:
5370         * text2.C:
5371         * text3.C:
5372         * text_funcs.C: split LyXText::rowlist_ into individual
5373         Paragraph::rows_ chunks
5374
5375         * BufferView.[Ch]:
5376         * BufferView_pimpl.[Ch]:
5377         * lyxfind.C:
5378         * lyxtext.h:
5379         * text3.C: remove toggleSelection()
5380
5381 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5382
5383         * bufferlist.C: beautify two alerts (shorter text of buttons)
5384         * buffer.C: Remove redundant ' ' from message
5385         * tabular.h:
5386         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5387         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5388         rename VALIGN_CENTER to VALIGN_MIDDLE
5389
5390 2003-08-11  André Pönitz  <poenitz@gmx.net>
5391
5392         * lyxtext.h (getPar):
5393         * text.C: new function
5394
5395 2003-08-11  André Pönitz  <poenitz@gmx.net>
5396
5397         * Makefile.am:
5398         * tracer.[Ch]: remove unneeded files
5399
5400         * InsetList.[Ch]: remove resizeInsetsLyXText()
5401
5402         * lyxtext.h:
5403         * text.C:
5404         * text2.C:
5405         * text3.C: merge insertParagraphs() and appendParagraph()
5406         remove breakAgain(), update()
5407
5408         * BufferView_pimpl.[Ch]:
5409         * bufferview_funcs.[Ch]:
5410         * lyxfunc.C:
5411         * paragraph.[Ch]:
5412         * rowpainter.C:
5413         * tabular.C: adjust after text & InsetList changes.
5414
5415 2003-08-08  André Pönitz  <poenitz@gmx.net>
5416
5417         * text.C (insertChar, backspace): replace rowlist fiddling
5418         with rebreak of full par
5419
5420         * lyxtext.h:
5421         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5422         checkParagraph, updateInset): removed
5423
5424 2003-08-07  André Pönitz  <poenitz@gmx.net>
5425
5426         * paragraph.C:
5427         * text3.C: merge some LFUN handlers, remove dead code
5428
5429 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5430
5431         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5432
5433 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * text2.C (DEPM): fix part of bug 1255 and 1256
5436
5437 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5438
5439         * BufferView_pimpl.C (workAreaDispatch): change to use
5440         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5441         that are no mouse related.
5442
5443 2003-08-05  André Pönitz  <poenitz@gmx.net>
5444
5445         * BufferView.[Ch]:
5446         * BufferView_pimpl.[Ch]:
5447         * bufferview_funcs.C:
5448         * text2.C:
5449         * text3.C: rip out "deep update"
5450
5451         * textcursor.[Ch] (last_sel_cursor): remove unused member
5452
5453 2003-08-04  André Pönitz  <poenitz@gmx.net>
5454
5455         * BufferView.[Ch]:
5456         * BufferView_pimpl.[Ch]:
5457         * ParagraphParameters.C:
5458         * bufferview_funcs.C:
5459         * lyx_cb.C:
5460         * lyxfind.C:
5461         * lyxfunc.C:
5462         * text.C:
5463         * text2.C:
5464         * text3.C: replace "complicated" BufferView::update(...) calls with
5465         simpler ones.
5466
5467         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5468
5469 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5470
5471         * Makefile.am (lyx_SOURCES): add paper.h
5472
5473 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5474
5475         * Makefile.am: move things around so that both lyx-qt and
5476         lyx-xforms can be built (according to --with-frontend). Then lyx
5477         is a symbolic link to lyx-[firstfrontend]
5478
5479 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5480
5481         * Always use std::endl with lyxerr
5482
5483 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5484
5485         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5486
5487 2003-08-01  André Pönitz  <poenitz@gmx.net>
5488
5489         * BufferView.[Ch]:
5490         * BufferView_pimpl.[Ch]:
5491         * lyxfunc.C:
5492         * text3.C: merge BufferView::repaint() and BufferView::update()
5493
5494 2003-08-01  José Matos  <jamatos@lyx.org>
5495
5496         * buffer.[Ch]: file_format is no longer a buffer data element.
5497
5498 2003-08-01  André Pönitz  <poenitz@gmx.net>
5499
5500         * BufferView.C:
5501         * lyxtext.h:
5502         * text.C:
5503         * text2.C: make redoParagraph more independent of current cursor
5504
5505         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5506         * text.C:
5507         * text2.C: remove unneeded members
5508
5509 2003-07-30  André Pönitz  <poenitz@gmx.net>
5510
5511         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5512
5513         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5514           create a single function...
5515
5516         * paragraph_funcs.C (moveItem): ... here.
5517
5518         * text.C:
5519           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5520
5521 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5522
5523         * LColor.[Ch]: Add comment and greyedout logical colors.
5524
5525 2003-07-30  André Pönitz  <poenitz@gmx.net>
5526
5527         * tabular.C: don't use Assert too heavily. This crashes where it
5528           shouldn't
5529
5530 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5531
5532         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5533         is disabled (bug 1232)
5534
5535 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5536
5537         * factory.C: limited 'arg' scope
5538
5539 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5540
5541         * factory.C: fixed Note submenu issues
5542
5543 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5544
5545         * factory.C: submenu for Note/Comment/Greyedout
5546
5547 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5548
5549         * lyx_main.C (LyX):
5550         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5551
5552 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5553
5554         * LaTeXFeatures.C:
5555         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5556         greyedout. Patch provided by Jürgen Spitzmüller.
5557
5558 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5559
5560         * kbmap.C (read): fix error message when reading bind files
5561
5562 2003-07-29  Angus Leeming  <leeming@lyx.org>
5563
5564         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5565         certainly does not do what it purports to do. I am doing it, and
5566         us, a favour by killing it.
5567
5568 2003-07-28  José Matos  <jamatos@lyx.org>
5569
5570         * buffer.C (readBody, do_writeFile):
5571         * paragraph.C(readParagraph): \end_document replaces \the_end.
5572
5573 2003-07-29  André Pönitz  <poenitz@gmx.net>
5574
5575         * BufferView.[Ch]:
5576         * BufferView_pimpl.[Ch]:
5577         * lyxfunc.C:
5578         * text2.C:
5579         * text3.C:
5580         * textcursor.[Ch]: remove toggleToggle & Co
5581
5582 2003-07-28  José Matos  <jamatos@fep.up.pt>
5583
5584         * buffer.C (readParagraph):
5585         * params_func (readParToken, readParagraph):
5586         * paragraph.C (write): \layout -> \begin_layout.
5587
5588 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * lyxlex_pimpl.C (setFile): clean up slightly.
5591
5592         * bufferparams.h: add compressed var
5593
5594         * buffer_funcs.C (readFile): adjust for LyXLex change
5595         (newFile): ditto + simplify
5596
5597         * buffer.C (writeFile): handle writing of compressed files
5598
5599         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5600         Check if the file is compressed and set a bufferparm if so.
5601
5602         * Makefile.am (lyx_LDADD): remove explicit -lz
5603
5604 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5605
5606         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5607         makeDocBookFile): put the real LyX version in the first line of
5608         the file
5609
5610         * version.h:
5611         * version.C.in: remove lyx_docversion
5612
5613         * tabular.C (write_attribute): add a template-based version to
5614         write enums properly
5615
5616 2003-07-28  André Pönitz  <poenitz@gmx.net>
5617
5618         * lyxtext.h:
5619         * text.C:
5620         * text2.C:
5621         * text3.C: use doubles again for x-coordinates. They are needed.
5622
5623 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * messages.C (getLocaleDir): use lyx_localedir()
5626
5627         * lyxlex_pimpl.C (setFile): compress stuff
5628
5629         * buffer.C (writeFile): add some compression stuff
5630         (do_writeFile): new func, dont call expliti close... will this
5631         breake anything?
5632
5633         * Makefile.am (lyx_LDADD): add -lz
5634
5635 2003-07-28  José Matos  <jamatos@fep.up.pt>
5636
5637         * buffer.C: increment file format.
5638         * paragraph_funcs (readParagraph, readParToken):
5639         * paragraph.C (readParagraph): add \end_layout.
5640
5641 2003-07-27  Angus Leeming  <leeming@lyx.org>
5642
5643         * Makefile.am: remove special casing for configure-time setting of
5644         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5645
5646         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5647         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5648
5649 2003-07-26  André Pönitz  <poenitz@gmx.net>
5650
5651         * paragraph_func.[Ch]:
5652         * paragraph.C (realizeFont): inline it whereever it is used
5653
5654         * rowpainter.C:
5655         * text.C:
5656         * text2.C:
5657         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5658
5659
5660 2003-07-26  André Pönitz  <poenitz@gmx.net>
5661
5662         *       lyxtext.h:
5663         * text.C:
5664         * text2.C: get rid of LyXText::need_break_row
5665
5666 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * toc.[Ch]: put namespace toc inside namespace lyx
5669
5670         * MenuBackend.C (expandToc2): adjust for lyx::toc
5671         (expandToc): ditto
5672
5673         * lyxfunc.C (dispatch): adjust for lyx::find
5674
5675         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5676         lyx::find instead. Reorganize a bit.
5677         (LyXReplace): rename to replace
5678         (LyXFind): rename to find
5679
5680         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5681         (dispatch): ditto
5682
5683 2003-07-26  André Pönitz  <poenitz@gmx.net>
5684
5685         * text.C (setHeightOfRow): restrict scope of temporary variable
5686
5687         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5688           code (never has been used?)
5689
5690 2003-07-27  Asger Alstrup  <alstrup@local>
5691
5692         * text.C (fill): Optimise algorithm to exploit that we can reuse
5693         the LyXFont for many characters.
5694         (setHeightOfRow): Same thing.
5695         (rowBreakPoint): Same thing.
5696
5697 2003-07-26  Asger Alstrup  <alstrup@local>
5698
5699         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5700
5701         * text.C (singleWidth): Spurious font copying in hot-spot
5702         singleWidth avoided. Reorder tests for arabic for efficiency.
5703
5704         * text.C (fill): handle empty paragraphs better.
5705
5706 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5707
5708         * ispell.C:
5709         * encoding.h: add includes
5710
5711         * lyxrc.C: remove reading of bind files
5712
5713         * lyx_main.C (init): setup bindings and menus only if we have a
5714         gui.
5715
5716         * kbmap.C (read): new method. Do the actual reading of bind
5717         files.
5718
5719         * converter.C (dvipdfm_options):
5720         * bufferparams.C:
5721         * lyxrc.C (read):
5722         (output): adapt PAPER_* enums.
5723
5724         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5725
5726         * bufferparams.h: remove paper-related enums from there
5727
5728         * paper.h: New file. A trivial header file to hold paper-related
5729         enums. It should later expand to contain many paper-related
5730         horrors access.
5731
5732         * lyxrc.C: declare extern displayTranslator
5733
5734 2003-07-27  José Matos  <jamatos@fep.up.pt>
5735
5736         * tabular.[Ch] (linuxdoc): add support for tables and figures
5737         (linuxdoc).
5738
5739 2003-07-27  José Matos  <jamatos@fep.up.pt>
5740
5741         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5742         consistency in both functions.
5743         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5744
5745 2003-07-26  Asger Alstrup  <alstrup@local>
5746
5747         * rowpainter.C (paintRows): Change algorithm to work directly on
5748         the insets rather than asking every character in the document
5749         whether its an inset.
5750
5751 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5752
5753         * buffer.C (openFileWrite): factorize some code
5754
5755 2003-07-26  Angus Leeming  <leeming@lyx.org>
5756
5757         * lyx_cb.C:
5758         * lyx_main.[Ch]: replace occurances of system_tempdir with
5759         os::getTmpDir().
5760
5761 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * rename Inset to InsetOld
5764
5765 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5766
5767         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5768         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5769         which I think is a bit clearer. EDIT is gone, since it was
5770         premature optimisation, and broken for mathed anyway.
5771         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5772         with cursor positioning in insets as well (math insets still do not
5773         work, but that's a different story anyway.) It mysteriously
5774         crashes sometimes with undo in the first paragraph, but I'm fairly
5775         confident that this is a compiler bug.
5776
5777 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * paragraph.C (Paragraph): adjust for new clone return type
5780         (operator==): ditto
5781         (copyIntoMinibuffer): ditto
5782
5783 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5784
5785         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5786         by not having a special case, and always doing a full rebreak of
5787         the document after undo.
5788
5789 2003-07-23  Angus Leeming  <leeming@lyx.org>
5790
5791         * factory.C (createInset): InsetExternal::setParams now takes a
5792         Buffer const * arg.
5793
5794 2003-07-23  Angus Leeming  <leeming@lyx.org>
5795
5796         * factory.C (createInset): changed interface to the external and
5797         graphics mailers' string2params functions.
5798
5799 2003-07-23  Angus Leeming  <leeming@lyx.org>
5800
5801         * factory.C (createInset): pass a
5802         Buffer const * parameter to InsetExternalMailer's string2params.
5803
5804 2003-07-22  John Levon  <levon@movementarian.org>
5805
5806         * Thesaurus.h: include the right aiksaurus header
5807
5808 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5809
5810         * MenuBackend.C (expand): check menu shortcuts unconditionally
5811
5812 2003-07-21  Angus Leeming  <leeming@lyx.org>
5813
5814         * factory.C (createInset): pass a
5815         buffer_path parameter to InsetGraphicsMailer's string2params.
5816
5817 2003-07-21  Angus Leeming  <leeming@lyx.org>
5818
5819         * BufferView_pimpl.C (buffer):
5820         * buffer.C (d-tor):
5821         * lyx_main.C (LyX):
5822         * lyxfunc.C (dispatch):
5823         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5824         rather than the grfx shortcut.
5825
5826 2003-07-21  André Pönitz  <poenitz@gmx.net>
5827
5828         * rowpainter.C: remove unused variables
5829
5830         * tabular_funcs.C:
5831         * tabular_funcs.h: move to tabular.C
5832         * Makefile.am: adjust
5833
5834         * tabular.[Ch]: basic optical cleaning
5835
5836         * author.h: pass references, not values
5837
5838 2003-07-18  André Pönitz  <poenitz@gmx.net>
5839
5840         * lyxtext.h:
5841         * metricsinfo.C:
5842         * metricsinfo.h:
5843         * rowpainter.C:
5844         * text.C:
5845         * text2.C:
5846         * text3.C: two-phase drawing for InsetText and InsetTabular
5847         some float -> int changes.
5848
5849 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5850
5851         * lyx_main.C: fix the fix
5852
5853 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5854
5855         * lyx_main.C: fix a crash in batch mode if no files specified
5856         * converter.C: ws
5857
5858 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * format.[Ch] (papersize): moved to BufferParams
5861         * converter.[Ch] (dvips_options): moved to BufferParams
5862         (dvipdfm_options): moved to anon namespace
5863         * bufferparams.[Ch]: added above functions.
5864
5865 2003-07-17  André Pönitz  <poenitz@gmx.net>
5866
5867         * lyxtext.h:
5868         * rowpainter.C:
5869         * text2.C: don't call inset->update() anymore
5870
5871         * metricsinfo.[Ch]: add convenience constructor
5872
5873 2003-07-16  André Pönitz  <poenitz@gmx.net>
5874
5875         * lyxcursor.[Ch]:
5876         * lyxfunc.[Ch]:
5877         * text.C:
5878         * text2.C: replace the LyXCursor::irow_ member with
5879          on-demand computation of the value
5880
5881 2003-07-16  John Levon  <levon@movementarian.org>
5882
5883         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5884
5885 2003-07-15  André Pönitz  <poenitz@gmx.net>
5886
5887         * text.C:
5888         * text2.C: remove no more needed refresh_row
5889
5890 2003-07-15  André Pönitz  <poenitz@gmx.net>
5891
5892         * lyxtext.h:
5893         * rowpainter.C:
5894         * text2.C:
5895         * text3.C: refresh_status tristate -> need_update bool
5896
5897 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * lyxtext.h (init): remove reinit argument (act as if always true)
5900         * text2.C: adjust to that
5901
5902 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5903
5904         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5905         * text3.C: use it to delete selections in some cases
5906         (bugs 441, 673, 702, 954).
5907
5908 2003-07-14  André Pönitz  <poenitz@gmx.net>
5909
5910         * rowpainter.[Ch]: reduce interface
5911
5912 2003-07-14  André Pönitz  <poenitz@gmx.net>
5913
5914         * BufferView_pimpl.C:
5915         * text2.C: adjust after removing unused BufferView * argument
5916
5917 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5918
5919         * text2.C (init): fix a crash fired on resize
5920
5921 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5922
5923         * buffer.[Ch]: added new closing signal
5924         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5925         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5926         BufferView::Pimpl via the closing the signal
5927
5928 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5929
5930         * buffer.[Ch]: take out all bv-related from buffer
5931         * BufferView.C:
5932         * BufferView_pimpl.[Ch]: connect to new signals
5933         * CutAndPaste.C: removed useless asserts
5934         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5935         * lyxvc.[Ch]:
5936         * vc-backend.[Ch]:
5937         * lyxfunc.C: moved view-related funciontality from vc here
5938         * paragraph.C: removed outdated comments
5939         * text.C: ws
5940
5941 2003-07-10  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView_pimpl.C:
5944         * tabular.h:
5945         * tabular_funcs.C:
5946         * text.C:
5947         * text2.C: remove InsetText::InnerCache, clean up consequences
5948
5949 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5950
5951         * ispell.C: fix two typos in error messages
5952
5953 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5954
5955         * Extend Note inset to other forms of annotation like Comment
5956         and Greyedout. Right button click gives dialog.
5957
5958         Files modified or added (+):
5959
5960         * insetnote.[Ch]
5961         * FormNote.[Ch]      +
5962         * ControlNote.[Ch]   +
5963         * form_note.fd       +
5964         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5965         frontends/controllers
5966         * xforms/Dialogs.C
5967         * factory.C
5968
5969 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5970
5971         * aspell.C: add missing namespace lyx::support
5972
5973 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * BufferView.[Ch] (newFile): Add
5976         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5977         * LaTeX.[Ch] (message): added this signal and use it
5978         * buffer.[Ch] (busy, message): added these signals and use them
5979         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5980         * converter.C:
5981         * exporter.C:
5982         * format.C:
5983         * importer.C: use buffer signals instead of direct bv calling
5984         * lyx_cb.[Ch] (ShowMessage): removed
5985         * lyx_main.C:
5986         * lyxfunc.C:
5987         * paragraph_funcs.C:
5988         * text2.C: use buffer signals
5989
5990 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * introduce namespace lyx::graphics
5993
5994 2003-07-02  André Pönitz  <poenitz@gmx.net>
5995
5996         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5997
5998 2003-07-01  André Pönitz  <poenitz@gmx.net>
5999
6000         * text.C:
6001         * text2.C:
6002         * text3.C:
6003         * text_funcs.[Ch]:
6004         * textcursor.h:
6005         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6006           text*.C to text_func.C
6007
6008 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * introduce namespace lyx::support
6011
6012 2003-06-30  André Pönitz  <poenitz@gmx.net>
6013
6014         * Chktex.C:
6015         * funcrequest.C:
6016         * lyxtext.h:
6017         * text.C: re-enable --with-included-string
6018
6019 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * textcursor.C: add <config.h>
6022
6023         * text.C (getWord): remove const from word_location arg
6024
6025         * lyxvc.C (getLogFile): fix const type order
6026
6027         * lyxtext.h: remove const from word_location arg, add arg name
6028
6029         * lyxlayout.h: currect type on labeltype.
6030
6031         * importer.C: correct \file
6032
6033         * converter.C (intToFormat): use std:: on ret val, ws changes
6034
6035         * bufferlist.h: correct \file
6036
6037         * buffer.C (makeLinuxDocFile): fix const type order
6038         (makeDocBookFile): ditto
6039         (fillWithBibKeys): use std:: on stdlib args.
6040
6041         * CutAndPaste.C: fix authors.
6042         (availableSelections): use std:: on return vector
6043
6044 2003-06-27  André Pönitz  <poenitz@gmx.net>
6045
6046         * BufferView_pimpl.C:
6047         * bufferview_funcs.C:
6048         * lyxcursor.C:
6049         * lyxcursor.h:
6050         * lyxfunc.C:
6051         * lyxtext.h:
6052         * rowpainter.C:
6053         * text.C:
6054         * text2.C:
6055         * text3.C: remove LyXCursor::row_ member
6056
6057         * lyxtext.h:
6058         * text.C: rename fullRebreak() to partialRebreak() and implement
6059           a fullRebreak() that really bereks fully
6060
6061         * textcursor.h: new struct for cursor-related data
6062
6063 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6064
6065         * lyx_main.C (LyX): get full path of document loaded on the
6066         command line
6067
6068 2003-06-26  André Pönitz  <poenitz@gmx.net>
6069
6070         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6071           remove unused/broken operator>,<,>=.
6072
6073         *       text.C: remove only use of broken operator<= in an Assert().
6074
6075 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6076
6077         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6078         moved errorlist_.clear to showErrorList
6079
6080 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6081
6082         * converter.C (scanLog, runLaTeX):
6083         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6084         move the bv->showErrorList call to the callers
6085         * lyxfunc.C: i.e. here...
6086         * text2.C: and here
6087         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6088         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6089         namespace, the second to...
6090         * buffer_funcs (BufferFormat, parseErrors): added
6091         * errorlist.C (ErrorList(TeXErrors const &)): removed
6092
6093 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6094
6095         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6096
6097 2003-06-24  "Garst R. Reese" <reese@isn.net>
6098
6099         * debug.C: fix typo
6100
6101 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6102
6103         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6104
6105         * version.C.in: change docversion to 1.4
6106
6107 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * buffer.C: fix a bug just introduced
6110
6111 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * buffer.[Ch]: added the parseError signal and use it, removed
6114         sgmlError
6115         * BufferView.[Ch] (addError): moved to ...
6116         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6117         to the Buffer::parseError signal to catch (guess what) parse errors
6118         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6119
6120 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6121
6122         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6123         ability to create a buffer and to return an existing one from
6124         the list. Moved these functions to...
6125         * buffer_funcs.[Ch]: added
6126         * BufferView.[Ch] (loadLyXFile): added
6127         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6128         job removed from bufferlist::loadLyXFile.
6129         * buffer.C (setReadOnly): make it work without view
6130         (i.e added an if (users))
6131
6132 2003-06-19  Angus Leeming  <leeming@lyx.org>
6133
6134         * lfuns.h:
6135         * LyXAction.C (init):
6136         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6137         with LFUN_DIALOG_SHOW <name> <data>.
6138
6139 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6140
6141         * CutAndPaste.C (availableSelections): small compilation fix for
6142         ancient (gcc 2.9x) compilers
6143
6144 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * text3.C (cursorNext): add tmp var
6147
6148         * text2.C (updateCounters): for function calling out of for clause
6149         (replaceSelectionWithString): ditto
6150         (insertStringAsParagraphs): ditto
6151         (getColumnNearX): add tmp var
6152         (setCursorFromCoordinates): add tmp var
6153         (cursorDownParagraph): add tmp var
6154         (deleteEmptyParagraphMechanism): add tmp var
6155
6156         * text.C (insertChar): add tmp var
6157
6158         * rowpainter.C (paintDepthBar): add tmp var
6159
6160         * CutAndPaste.C (availableSelections): potentially check all
6161         paragraphs in a cut to fill the shown strings.
6162
6163 2003-06-18  André Pönitz  <poenitz@gmx.net>
6164
6165         * kbmap.[Ch]: use vector<> instead of list<>
6166
6167 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6168
6169         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6170         pasteSelection with index
6171
6172         * text2.C (pasteSelection): modify, call pasteSelection with index
6173
6174         * paragraph.C (asString): reimplement version with no interval to
6175         call the one with interval.
6176
6177         * lyxtext.h: add index arg to pasteSelection
6178
6179         * MenuBackend.C (MenuItem): handle PasteRecent
6180         (Menu::read::Menutags): add md_pasterecent
6181         (read): handle it
6182         (expandPasteRecent): new function
6183         (expand): use it
6184
6185         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6186
6187         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6188         the limited stack
6189         (availableSelections): new function
6190
6191 2003-06-17  Angus Leeming  <leeming@lyx.org>
6192
6193         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6194
6195 2003-06-17  Angus Leeming  <leeming@lyx.org>
6196
6197         * lfuns.h:
6198         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6199
6200         * lyxfunc.C (dispatch): invoke it.
6201
6202 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6203
6204         * iterators.C (operator++, ParPosition): reintroduce some
6205         const_cast for the benefit of older compilers.
6206
6207 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6208
6209         * text3.C (dispatch): do not modify clipboard when doing
6210         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6211         LFUN_DELETE_SKIP on a selection selection
6212
6213 2003-06-16  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView.C:
6216         * buffer.C:
6217         * buffer.h:
6218         * paragraph.C:
6219         * tabular.[Ch]: IU of clone() and getLabelList();
6220
6221 2003-06-13  André Pönitz  <poenitz@gmx.net>
6222
6223         * tabular.h: compactification
6224
6225 2003-06-12  André Pönitz  <poenitz@gmx.net>
6226
6227         * tabular.C:
6228         * tabular.h:
6229         * tabular_funcs.h: some renaming plus whitespace
6230
6231 2003-06-12  André Pönitz  <poenitz@gmx.net>
6232
6233         * BufferView.C:
6234         * BufferView_pimpl.C:
6235         * CutAndPaste.C:
6236         * buffer.C:
6237         * iterators.[Ch]:
6238         * lyxfunc.C:
6239         * text.C:
6240         * toc.C: Return a Paragraph & for ParIterator::operator*()
6241
6242 2003-06-11  John Levon  <levon@movementarian.org>
6243
6244         * lyx_main.C:
6245         * ToolbarBackend.h:
6246         * ToolbarBackend.C: add "Toolbars" section and
6247         put the flags there
6248
6249 2003-06-10  Angus Leeming  <leeming@lyx.org>
6250
6251         * lfuns.h:
6252         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6253
6254         * lyxfunc.C (dispatch): invoke it.
6255
6256 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * main.C: protect <ios> with HAVE_IOS
6259         (main): protect sync_with_stdio with HAVE_IOS
6260
6261 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6262
6263         * text2.C (cutSelection): adjust
6264         (pasteSelection): adjust
6265
6266         * messages.C: handle get of empty string
6267
6268         * main.C (main): use sync_with_stdio(false)
6269
6270         * lyxfunc.C (dispatch): adjust
6271
6272         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6273         (WriteAs): remove unneeded BufferView arg.
6274
6275         * bufferparams.h: use correct types on papersize, papersize2 and
6276         paperpackage.
6277
6278         * bufferparams.C (readToken): adjust for type
6279         (writeLaTeX): add missing cases to switch.
6280
6281         * bufferlist.C (quitWriteBuffer): adjust
6282         (close): adjust
6283
6284         * buffer.C (asciiParagraph): remove some commented code.
6285
6286         * CutAndPaste.C: remove current_view extern variable.
6287         (cutSelection): add BufferParams arg.
6288         (eraseSelection): add BufferParams arg.
6289         (pasteSelection): add Buffer const & arg
6290
6291 2003-06-07  John Levon  <levon@movementarian.org>
6292
6293         * buffer.C:
6294         * paragraph_funcs.C:
6295         * paragraph_pimpl.C:
6296         * text.C:
6297         * text2.C:
6298         * paragraph.h:
6299         * paragraph.C: allow InsetERT to freely space lines,
6300         and some consolidation of code
6301
6302 2003-06-06  José Matos  <jamatos@fep.up.pt>
6303
6304         * buffer.C (makeDocBookFile): fix bug #821
6305
6306 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6307
6308         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6309
6310 2003-06-04  Angus Leeming  <leeming@lyx.org>
6311
6312         * buffer.C: bump format to 224.
6313
6314 2003-06-05  André Pönitz  <poenitz@gmx.net>
6315
6316         * text2.C (redoParagraphs): remove two const_cast<>
6317
6318 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6319
6320         * ParagraphList.h: remove last remnants of NO_STD_LIST
6321
6322 2003-06-03  Angus Leeming  <leeming@lyx.org>
6323
6324         * factory.C (createInset): small change to the way InsetExternal's params
6325         are set.
6326
6327 2003-06-04  André Pönitz  <poenitz@gmx.net>
6328
6329         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6330
6331         * paragraph_pimpl.h:
6332         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6333
6334         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6335
6336         * undo_funcs.C: make some simple cases of undo work again
6337
6338 2003-06-03  John Levon  <levon@movementarian.org>
6339
6340         * ispell.C: HPUX doesn't have sys/select.h
6341         (from Albert Chin)
6342
6343 2003-06-03  John Levon  <levon@movementarian.org>
6344
6345         * CutAndPaste.C: update tabular and include inset
6346         buffer references
6347
6348         * buffer.h:
6349         * paragraph.h:
6350         * paragraph.C: remove owningBuffer(), don't pass Buffer
6351         to clone()
6352
6353         * factory.C: insetGraphicsParams changed
6354
6355 2003-06-02  John Levon  <levon@movementarian.org>
6356
6357         * LyXAction.C:
6358         * factory.C:
6359         * lfuns.h:
6360         * lyxfunc.C:
6361         * text3.C: remove insetparent
6362
6363 2003-06-02  John Levon  <levon@movementarian.org>
6364
6365         * buffer.h:
6366         * buffer.C: fix inset_iterator.end(), move out of line
6367         (bug 1149)
6368
6369 2003-06-01  John Levon  <levon@movementarian.org>
6370
6371         * text3.C: use a proper cut/paste when doing inset
6372         insert (from Jürgen Spitzmüller)
6373
6374 2003-06-01  John Levon  <levon@movementarian.org>
6375
6376         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6377
6378 2003-05-30  André Pönitz  <poenitz@gmx.net>
6379
6380         * rowpainter.C: unify second drawing phase
6381
6382 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * trans_mgr.C: remove one case of current_view
6385
6386         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6387
6388         * paragraph_funcs.h: remove paragraph.h include
6389
6390         * paragraph.h: delete NO_STD_LIST stuff
6391
6392         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6393
6394         * buffer.h: remove paragraph.h include
6395
6396         * ParagraphList.C: delete file
6397
6398         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6399
6400         * toc.C (getTocList): adjust
6401
6402         * paragraph_pimpl.C (validate): adjust
6403
6404         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6405
6406         * paragraph.C (Paragraph): adjust
6407         (getPositionOfInset): use const_iterator, adjust
6408         (bibitem): use const_iterator, adjust
6409         (setInsetOwner): adjust
6410
6411         * iterators.C (operator++): adjust
6412
6413         * InsetList.[Ch]: Replace selfmade iterator with standard
6414         vector::iterator also introduce const_iterator. Remove getPos,
6415         getInset and setInset from InsetTable. Adjust accordingly.
6416
6417         * BufferView.C (lockInset): adjust
6418         (ChangeInsets): adjust
6419
6420         * tabular.[Ch]: delete commented same_id functions
6421
6422 2003-05-28  John Levon  <levon@movementarian.org>
6423
6424         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6425
6426 2003-05-28  André Pönitz  <poenitz@gmx.net>
6427
6428         * metricsinfo.[Ch]: remove 'fullredraw' member
6429
6430 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6431
6432         * lyxtextclass.C (operator): remove caching.
6433
6434 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * text3.C: adjust
6437
6438         * text2.C (cursorBottom): adjust
6439         (setCounter): use ParagraphList::find, adjust
6440
6441         * text.C (workWidth): use ParagraphList::find, adjust
6442
6443         * lyxcursor.C (LyXCursor): adjust
6444
6445         * buffer.C (inset_iterator): adjust
6446
6447         * ParagraphList.h: make iterator(value_type) private, make
6448         ParagraphList a friend of iterator.
6449
6450         * ParagraphList.C (find): new function
6451
6452         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6453
6454 2003-05-27  André Pönitz  <poenitz@gmx.net>
6455
6456         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6457
6458 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6459
6460         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6461
6462 2003-05-26  John Levon  <levon@movementarian.org>
6463
6464         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6465
6466 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * remove same_id from function signatures, adjust.
6469
6470 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6473
6474         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6475
6476         * paragraph.C (Paragraph): get rid of same_ids parameter
6477
6478         * ParagraphList.C (insert): adjust
6479         (push_back): adjust
6480
6481 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * paragraph_funcs.C (breakParagraph): adjust
6484         (breakParagraphConservative): adjust
6485
6486         * buffer.C (readParagraph): adjust
6487
6488         * ParagraphList.C (insert): take a reference instead of a pointer
6489         (insert): adjust
6490
6491         * paragraph.[Ch] (id): new function
6492
6493         * bufferlist.C (newFile): adjust
6494
6495         * ParagraphList.C (ParagraphList): adjust
6496         (assign): adjust
6497         (push_back): take a reference instead of a pointer.
6498
6499         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6500
6501         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6502         instead.
6503
6504         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6505         set else use old code.
6506
6507         * ParagraphList.C: remove all NO_NEXT code and only compile this
6508         code of NO_STD_LIST is set.
6509
6510 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * BufferView_pimpl.C:
6513         * TextCache.C:
6514         * TextCache.h:
6515         * bufferlist.C:
6516         * errorlist.h:
6517         * format.C:
6518         * format.h:
6519         * graph.C:
6520         * lyxfunc.C:
6521         * lyxrc.C:
6522         * graphics/GraphicsConverter.C:
6523         * graphics/PreviewLoader.C: header adjustment
6524
6525 2003-05-23  Angus Leeming  <leeming@lyx.org>
6526
6527         * LaTeXFeatures.[Ch] (useBabel): new method.
6528         * bufferparams.C (writeLaTeX): use it.
6529
6530 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * ParagraphList.h (set): remove unused function.
6533
6534 2003-05-23  André Pönitz  <poenitz@gmx.net>
6535
6536         * BufferView.C:
6537         * BufferView_pimpl.C:
6538         * buffer.C:
6539         * buffer.h:
6540         * lyxfunc.C:
6541         * undo_funcs.C: setUndo reworked
6542
6543         * iterators.[Ch]: add access to topmost ParagraphList
6544
6545         * lyxtext.[Ch] (workWidth): add a const
6546
6547 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6548
6549         * texrow.[Ch] (increasePos): remove function
6550         * exporter.C (export): removed unused var and outdated comment
6551
6552 2003-05-23  Angus Leeming  <leeming@lyx.org>
6553
6554         * latexrunparams.h: rename fragile as moving_arg.
6555         * paragraph.C (simpleTeXOnePar): ditto.
6556         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6557
6558 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6561         (createUndo): ditto
6562         (textUndoOrRedo): comment out a currently unused var.
6563
6564         * paragraph.h (NO_NEXT): enable NO_NEXT
6565
6566         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6567
6568         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6569
6570         * exporter.C (Export): adjust for removeAutoInsets removal.
6571
6572         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6573
6574         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6575
6576         * BufferView.[Ch] (removeAutoInsets): delete function
6577
6578 2003-05-22  Angus Leeming  <leeming@lyx.org>
6579
6580         * latexrunparams.h: add a free_spacing variable.
6581
6582         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6583         to pass moving_arg, as the data is stored in runparams.fragile.
6584
6585         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6586         to Inset::latexOptional or to simpleTeXOnePar.
6587
6588         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6589         free_spacing arg to Inset::latexOptional.
6590
6591         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6592         free_spacing arg.
6593
6594 2003-05-22  Angus Leeming  <leeming@lyx.org>
6595
6596         * latexrunparams.h: add fragile and use_babel variables.
6597
6598         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6599         * buffer.C (makeLaTeXFile): store this returned value in
6600         runparams.use_babel, thus passing it to the inset::latex methods.
6601
6602         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6603         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6604
6605         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6606         longer has a fragile arg, as it is stored in runparams.fragile.
6607
6608         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6609         moving_arg parameter as the data is stored in runparams.fragile.
6610
6611         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6612         a fragile parameter as the data is stored in runparams.fragile.
6613
6614 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6617
6618 2003-05-22  Angus Leeming  <leeming@lyx.org>
6619
6620         * latexrunparams.h: add a 'bool nice' which defaults to false.
6621
6622         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6623         now encapsulated within runparams.
6624
6625         * bufferlist.C (updateIncludedTeXfiles):
6626         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6627
6628 2003-05-22  Angus Leeming  <leeming@lyx.org>
6629
6630         * latexrunparams.h: new file containing struct LatexRunParams.
6631         * Makefile.am: add new file.
6632
6633         * LaTeX.[Ch] (c-tor, run):
6634         * buffer.[Ch] (makeLaTeXFile):
6635         * bufferlist.[Ch] (updateIncludedTeXfiles):
6636         * converter.C (convert, scanLog):
6637         * converter.[Ch] (runLaTeX):
6638         * exporter.C (Export):
6639         * paragraph.[Ch] (simpleTeXOnePar):
6640         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6641         * paragraph_funcs.[Ch] (latexParagraphs):
6642         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6643         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6644         pass around a LatexRunParams parameter.
6645
6646 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * paragraph.[Ch]: remove unused constructor
6649
6650         * ParagraphList.C (erase): new function, taking two iterators
6651
6652 2003-05-22  André Pönitz  <poenitz@gmx.net>
6653
6654         * undo_funcs.C: remove duplicated code
6655
6656         * iterator.[Ch]: operator=
6657
6658 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * tabular.C (SetMultiColumn): ws changes
6661
6662         * rowpainter.C (paintFirst): get rid of a ->previous
6663
6664         * lyx_cb.C (getPossibleLabel): parlist simplification
6665
6666         * BufferView.C (ChangeInsets): simplify slightly.
6667
6668 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6669
6670         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6671         * lfuns.h: new LFUN_SPACE
6672         * lyxfunc.C: protected space has a new lfun
6673         * paragraph_funcs.C: read new space insets
6674         * text3.C:
6675         * factory.C: handle new space insets
6676
6677 2003-05-22  André Pönitz  <poenitz@gmx.net>
6678
6679         * BufferView.C:
6680         * BufferView_pimpl.C:
6681         * buffer.[Ch]:
6682         * lyxfunc.C:
6683         * undo_funcs.C: return a ParIterator from getParFromID.
6684
6685         * iterators.[Ch]: add two const's
6686
6687 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * toc.C (getTocList): adjust
6690
6691         * iterators.[Ch]: rework for parlist
6692
6693         * buffer.C (par_iterator_begin): adjust
6694         (par_iterator_end): adjust
6695
6696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6697
6698         * BufferView.C (removeAutoInsets): adjust
6699         (ChangeInsets): adjust
6700
6701 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6702
6703         * text.C (top_y): fix bug 1110
6704
6705 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6706
6707         * errorlist.[Ch]: added
6708         * buffer.C:
6709         * BufferView.[Ch]:
6710         * BufferView_pimpl.C:
6711         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6712         instead
6713
6714 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * Makefile.am: ensure that lyx is relinked upon changes to the
6717         various "convenience" libs.
6718
6719 2003-05-20  Angus Leeming  <leeming@lyx.org>
6720
6721         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6722         files are compiled in alphabetical order again.
6723
6724         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6725
6726 2003-05-19  Angus Leeming  <leeming@lyx.org>
6727
6728         * gettext.[Ch]: remove "char const * _(char const *)".
6729
6730 2003-05-19  André Pönitz  <poenitz@gmx.net>
6731
6732         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6733
6734         * Makefile.am:
6735         * BufferView.C:
6736         * DepTable.h:
6737         * LaTeXFeatures.C:
6738         * buffer.C:
6739         * lyxfont.C:
6740         * lyxlex.h:
6741         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6742
6743 2003-05-19  André Pönitz  <poenitz@gmx.net>
6744
6745         * buffer.C:
6746         * lyxlayout.[Ch]:
6747         * lyxtextclass.[Ch]:
6748         * paragraph.C:
6749         * paragraph_funcs.[Ch]:
6750         * text2.C:
6751         * text3.C: more insetenv work
6752
6753 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6754
6755         * ParagraphParameters.C (params2string): small bug fixed
6756
6757 2003-05-16  André Pönitz  <poenitz@gmx.net>
6758
6759         * debug.C:
6760         * bufferview_funcs.C: patch from Kornel Benko to prevent
6761           crash when _(...) is called twice in a statement
6762
6763 2003-05-16  André Pönitz  <poenitz@gmx.net>
6764
6765         * BufferView.C:
6766         * lyxfunc.C:
6767         * text.C:
6768         * text2.C:
6769         * text3.C:
6770         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6771
6772 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6773
6774         * lyx_main.C (init): remove spurious static_cast
6775
6776 2003-05-14  André Pönitz  <poenitz@gmx.net>
6777
6778         * BufferView.C: fix format string
6779
6780 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6781
6782         * BufferView.[Ch] (insertErrors): removed
6783         * BufferView.[Ch] (showErrorList): added
6784         * buffer.C (runChkTeX):
6785         * converter.C (scanLog): call showErrorList instead of inserterrors
6786
6787 2003-05-13  André Pönitz  <poenitz@gmx.net>
6788
6789         * BufferView_pimpl.C:
6790         * buffer.C:
6791         * bufferview_func.C:
6792         * MenuBackend.C:
6793         * lyxfunc.C:
6794         * lyxrc.C:
6795         * tex-accent.C:
6796         * text3.C:
6797         * toc.C:
6798         * tabular_funcs.h: tostr() from its own header
6799
6800         * ParagraphParameters.C:
6801         * ToolbarBackend.C:
6802         * bufferparams.C:
6803         * format.C:
6804         * lyxlex_pimpl.C:
6805         * text3.C: STRCONV()
6806
6807 2003-05-12  André Pönitz  <poenitz@gmx.net>
6808
6809         * BufferView.C:
6810         * BufferView_pimpl.C:
6811         * CutAndPaste.C:
6812         * LaTeX.C:
6813         * LaTeXFeatures.C:
6814         * ParagraphParameters.C:
6815         * buffer.C:
6816         * bufferlist.C:
6817         * bufferparams.C:
6818         * bufferview_funcs.C:
6819         * converter.C:
6820         * counters.C:
6821         * debug.C:
6822         * exporter.C:
6823         * format.C:
6824         * importer.C:
6825         * lyx_cb.C:
6826         * lyx_main.C:
6827         * lyxfont.C:
6828         * lyxfunc.C:
6829         * lyxvc.C:
6830         * paragraph.C:
6831         * paragraph_funcs.C:
6832         * tabular.C:
6833         * tabular_funcs.C:
6834         * text2.C:
6835         * text3.C:  boost::format -> bformat  all over the place
6836
6837
6838 2003-05-09  André Pönitz  <poenitz@gmx.net>
6839
6840         * LColor.[Ch]: Pimpl the #include <map> away
6841
6842 2003-05-09  John Levon  <levon@movementarian.org>
6843
6844         * bufferlist.C: never remove emergency saves
6845
6846 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * Makefile.am: better lib building
6849
6850 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6853         instead.
6854         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6855         (simpleTeXSpecialChars): adjust
6856         (simpleTeXSpecialChars): adjust
6857         * paragraph.C (simpleTeXOnePar): adjust
6858         * buffer.C (makeLaTeXFile): adjust
6859
6860         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6861
6862         * text2.C (changeDepth): parlist cleanup
6863         (getColumnNearX): ditto
6864
6865         * rowpainter.C (getLabelFont): parlist cleanup
6866
6867         * bufferlist.C (newFile): parlist cleanup
6868
6869         * CutAndPaste.C (eraseSelection): parlist cleanup
6870
6871         * BufferView_pimpl.C (trackChanges): parlist cleanup
6872         (dispatch): ditto
6873
6874         * BufferView.C (lockInset): parlist cleanup.
6875         (ChangeInsets): ditto
6876
6877 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * CutAndPaste.h: Update file header.
6880
6881         * CutAndPaste.C: Update file header.
6882         Store the parts cut out of the Document in a limited_stack.
6883         (copySelection): adjust
6884         (pasteSelection): new function, takes the index in the limited stack.
6885         (nrOfParagraphs): adjust
6886         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6887         simplify error inset insertion.
6888         (checkPastePossible): adjust
6889
6890 2003-05-06  John Levon  <levon@movementarian.org>
6891
6892         * text2.C: don't cast wrap inset to float
6893
6894 2003-05-05  André Pönitz  <poenitz@gmx.net>
6895
6896         * iterator.C:
6897         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6898
6899         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6900           few naked Paragraph *.
6901
6902 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6903
6904         * bufferparams.C: Output warning if a document with missing
6905         TeX document class is loaded
6906         * exporter.C: Disable TeX exports if the document class is missing
6907         * lyxtextclass.C:
6908         * lyxtextclass.h:
6909         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6910         isTeXClassAvailable()
6911
6912 2003-05-03  John Levon  <levon@movementarian.org>
6913
6914         * BufferView.h:
6915         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6916         explicit cursor show/hide
6917
6918         * BufferView_pimpl.h:
6919         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6920         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6921
6922         * lyxfunc.C: hide cursor before dispatching.
6923
6924         * lyx_cb.C:
6925         * lyxfind.C:
6926         * text.C:
6927         * text3.C: remove explicit cursor hides
6928
6929 2003-05-02  André Pönitz  <poenitz@gmx.net>
6930
6931         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6932
6933         * undo_funcs.C:
6934         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6935           linked lists
6936
6937         * text2.C: tiny whitespace
6938
6939 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * undo_funcs.C: almost only ws changes.
6942
6943         * ParagraphList.C (splice): just return if pl is empty.
6944
6945 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * ParagraphList.C (splice): new function.
6948
6949         * CutAndPaste.C (pasteSelection): use it
6950
6951 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * CutAndPaste.C (pasteSelection): remove the last next and
6954         previous from this file.
6955
6956 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * CutAndPaste.C (pasteSelection): more clean up, user proper
6959         ParagraphList functions for pasteing.
6960
6961         * ParagraphList.C (insert): new function, three arg insert
6962
6963 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * ParagraphList.C (insert): new function, three arg insert
6966
6967         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6968         not on paragraphs.
6969
6970 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6973
6974 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6975
6976         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6977
6978 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6981         (copySelection): clean up a bit.
6982         (pasteSelection): use make_pair
6983
6984         * ParagraphList.C (ParagraphList): implement copy constructor
6985         (operator=): implement, base on copy constructor.
6986         (assign): new func
6987
6988         * paragraph.C (erase): return a bool
6989
6990         * paragraph_pimpl.C (erasePos): remove function, move contents...
6991         (erase): ... here. Return a bool.
6992         (erase): call erase instead of erasePos.
6993
6994 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6995
6996         * ParagraphList.h: define PitPosPair
6997         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6998         ParagraphList, fix a bug on pasting multiple pars
6999         * text2.C: change interface to C&P
7000
7001 2003-04-30  André Pönitz  <poenitz@gmx.net>
7002
7003         * undo_func.C: revert part of yesterday's patch 2
7004
7005 2003-04-30  John Levon  <levon@movementarian.org>
7006
7007         * LColor.C: s/tabular/table/
7008
7009 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * text3.C (dispatch): do not convert iterator -> pointer
7012         * undo_funcs.C (setCursorParUndo): ditto
7013         * text_funcs.C (transposeChars): ditto
7014
7015         * text2.C (setLayout): ws changes only
7016
7017         * text.C (breakParagraph): do not convert iterator -> pointer
7018         (insertChar): ditto
7019         (acceptChange): ditto
7020         (rejectChange): ditto
7021         (changeCase): ditto
7022         (Delete): ditto
7023         (backspace): ditto
7024
7025         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7026         pointer
7027
7028 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7029
7030         * text3.C (gotoInset): YABG (yet another bad getChar)
7031
7032 2003-04-29  André Pönitz  <poenitz@gmx.net>
7033
7034         * paragraph.h: make operator= private unimplemented as long as
7035           it is unusable
7036
7037         * ParagraphList.C: whitespace
7038
7039         * paragraph.[Ch]:
7040         * paragraph_pimpl.[Ch]:
7041         * paragraph_funcs.C:
7042         * CutAndPaste.C:
7043         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7044
7045         * text2.C:
7046           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7047
7048 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7051         * paragraph.[Ch] (erase):
7052         * paragraph_pimpl.[Ch] (erase): change return type and value
7053         * text2.C (cutSelection): some rework
7054
7055 2003-04-28  John Levon  <levon@movementarian.org>
7056
7057         * bufferlist.C: changes for unsaved changes dialog
7058
7059 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * bufferlist.C (newFile): set language (messages_) for new
7062         documents also.
7063
7064         * buffer.C (readFile): ws changes only.
7065
7066 2003-04-28  André Pönitz  <poenitz@gmx.net>
7067
7068         * undo_funcs.C:
7069         * lyxfunc.C:
7070         * buffer.[Ch]:
7071         * BufferView_pimpl.C:
7072         * BufferView.C: getParFromID related ParagraphList::iterator changes
7073
7074 2003-04-28  André Pönitz  <poenitz@gmx.net>
7075
7076         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7077           Changes
7078
7079 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * messages.C: remove one more localedir class variable.
7082
7083 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * messages.C (getLocaleDir): singleton generation function
7086         (Pimpl): use it.
7087         (Messages): add a default constructor.
7088
7089         * main.C (main): do not setup localedir here, do not call
7090         gettext_init.
7091
7092         * gettext.C (_): use it.
7093         (gettext_init): delete funciton
7094
7095 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * gettext.C (getLyXMessages): new singleton generating function.
7098
7099         * buffer.C (updateDocLang): adjust
7100
7101         * Makefile.am (messages.o): add target
7102         (main.o): remove target
7103
7104 2003-04-27  John Levon  <levon@movementarian.org>
7105
7106         * bufferlist.C:
7107         * lyx_cb.C:
7108         * lyxfunc.C:
7109         * lyxvc.C: specify cancel button in Alert::prompt
7110
7111 2003-04-26  John Levon  <levon@movementarian.org>
7112
7113         * text3.C:
7114         * lyxfunc.C:
7115         * lfuns.h:
7116         * LyXAction.C: add LFUN_INSET_SETTINGS
7117
7118         * lyxfunc.C: don't enable tabular-feature when there's
7119         just any locking inset
7120
7121 2003-04-26  John Levon  <levon@movementarian.org>
7122
7123         * bufferlist.C: re-add Cancel to buffer close question
7124
7125         * lyxfunc.C: fix import UI a bit
7126
7127 2003-04-25  John Levon  <levon@movementarian.org>
7128
7129         * gettext.C: remove the broken asserts for now
7130
7131 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * messages.C: make case where setlocale cannot comply work better.
7134
7135         * buffer.C (updateDocLang): new function
7136         (changeLanguage): use it
7137         (readFile): use it
7138
7139         * text2.C (setCounter): use B_ a bit.
7140
7141         * lyxlayout.C (Read): be sure to trim the label strings.
7142
7143         * messages.C (Messages): fix typo in comment
7144
7145         * buffer.C (readFile): set message_ after file is loaded.
7146         (makeDocBookFile): remove double return
7147         (changeLanguage): reset message_ upon language change.
7148         (B_): new func, use this to get translated buffer strings.
7149
7150         * main.C: add myself and Jean Marc as authors.
7151
7152 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * messages.[hC]: pimplify Messages, and three different pimpls to be
7155         used in different circumstances.
7156
7157         * gettext.[Ch]: change for use with new message code.
7158
7159 2003-04-24 André Pönitz <poenitz@gmx.net>
7160
7161         * factory.C: support for eqref
7162
7163 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * messages.[Ch]: add missing char
7166
7167         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7168
7169         * messages.[Ch]: New files
7170
7171 2003-04-18  John Levon  <levon@movementarian.org>
7172
7173         * BufferView.h:
7174         * BufferView.C:
7175         * BufferView_pimpl.C:
7176         * lfuns.h:
7177         * LyXAction.C:
7178         * lyxtext.h:
7179         * text2.C: remove layout-copy/paste (bug 778)
7180
7181 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7184
7185 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7188         if they succeed. Act accordingly.
7189
7190 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * text2.C (setCharFont): adjust
7193         (setCounter): adjust
7194         (insertStringAsLines): adjust
7195
7196         * text.C (leftMargin): adjust
7197         (setHeightOfRow): adjust
7198
7199         * rowpainter.C (paintFirst): adjust
7200         (paintLast): adjust
7201
7202         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7203         (outerHook): ditto
7204         (isFirstInSequence): ditto
7205         (getEndLabel): ditto
7206         (outerFont): adjust
7207
7208         * paragraph.C (getParLanguage): comment out some hard stuff.
7209
7210         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7211         (sgmlError): ditto
7212         (simpleDocBookOnePar): ditto
7213         (makeDocBookFile): use ParagraphList::iterator
7214
7215         * CutAndPaste.C (pasteSelection): adjust
7216
7217 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * text2.C (getFont): adjust
7220         (getLayoutFont): adjust
7221         (getLabelFont): adjust
7222
7223         * paragraph_funcs.C (TeXOnePar): adjust
7224
7225         * buffer.C (simpleLinuxDocOnePar): adjust
7226         (simpleDocBookOnePar): adjust
7227
7228         * CutAndPaste.C (pasteSelection): adjust
7229
7230         * BufferView.C (getEncoding): adjust
7231
7232         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7233
7234 2003-04-16  John Levon  <levon@movementarian.org>
7235
7236         * lyxfind.C: use parlist stuff for search/changes
7237
7238 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7241
7242         * text2.C (deleteEmptyParagraphMechanism): adjust
7243
7244         * text2.[Ch] (ownerParagraph): delete func (both of them
7245
7246 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7249
7250 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * ParagraphList.C: prepare for NO_NEXT
7253
7254 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * text2.C (getFont): adjust
7257         (getLayoutFont): adjust
7258         (getLabelFont): adjust
7259
7260         * paragraph.C (getFont): adjust
7261         (getLabelFont): adjust
7262         (getLayoutFont): adjust
7263
7264         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7265
7266 2003-04-15  John Levon  <levon@movementarian.org>
7267
7268         From Angus Leeming
7269
7270         * lyx_main.C: handle Include in .ui files
7271
7272 2003-04-15  John Levon  <levon@movementarian.org>
7273
7274         * MenuBackend.C: make the doc files length shorter
7275
7276         * ToolbarBackend.h:
7277         * ToolbarBackend.C: handle toolbar placement flags,
7278         Minibuffer
7279
7280 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7283         adjust
7284
7285         * paragraph_funcs.C (TeXOnePar): adjust
7286
7287         * paragraph.C (getLabelFont): add outerfont arg, adjust
7288         (getLayoutFont): ditto
7289         (simpleTeXOnePar): adjust
7290
7291         * paragraph_pimpl.C (realizeFont): delete func
7292
7293 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7294
7295         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7296         row argument, constify cur argument.
7297
7298 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * text2.C (getFont): adjust
7301         (getLayoutFont): adjust
7302         (getLabelFont): adjust
7303
7304         * paragraph_funcs.C (TeXOnePar): adjust
7305         (outerFont): new func...
7306         (realizeFont): ...moved out from here, changed this to facilitate
7307         transition
7308
7309         * paragraph.C (getFont): take outerfont as arg, adjust
7310         (simpleTeXOnePar): add outerfont arg, adjust
7311
7312         * buffer.C (simpleLinuxDocOnePar): adjust
7313         (simpleDocBookOnePar): adjust
7314
7315         * CutAndPaste.C (pasteSelection): adjust
7316
7317         * BufferView.C (getEncoding): adjust
7318
7319 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * text2.C (setCharFont): adjust
7322         (setCounter): adjust
7323
7324         * text.C (leftMargin): adjust
7325         (setHeightOfRow): adjust
7326
7327         * rowpainter.C (paintFirst): adjust
7328         (paintLast): adjust
7329
7330         * paragraph_pimpl.C (realizeFont): adjust
7331
7332         * paragraph.C (isFirstInSequence): move from here...
7333         * paragraph_funcs.C (isFirstInSequence): ...to here
7334
7335         * paragraph.C (outerHook): move from here...
7336         * paragraph_funcs.C (outerHook): ...to here
7337
7338         * paragraph.C (depthHook): move from here...
7339         * paragraph_funcs.C (depthHook): ...to here
7340
7341         * paragraph.C (getEndLabel): move from here...
7342         * paragraph_funcs.C (getEndLabel): ...to here
7343
7344         * text2.C (realizeFont): move from here...
7345         * paragraph_funcs.C (realizeFont): ...to here
7346
7347 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7350
7351 2003-04-14  Angus Leeming  <leeming@lyx.org>
7352
7353         * LColor.[Ch]: scrap LColor mathcursor.
7354
7355 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * lyxlex.[Ch] (text): delete function
7358         * trans.C (Load): adjust
7359         * paragraph_funcs.C (readParToken): adjust
7360
7361 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7364         vector<char> instead of a char[].
7365
7366         * lyxlex_pimpl.C (getString): adjust
7367         (next): adjust
7368         (lex): use getString
7369         (eatLine): adjust
7370         (nextToken): adjust
7371
7372         * lyxlex.C (text): use pimpl_->getString()
7373         (getBool): ditto
7374         (findToken): ditto
7375
7376 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7379         (makeFontEntriesLayoutSpecific): temp var for par.size()
7380         (setLayout): temp var for ownerParagraphs().end()
7381         (fullRebreak): temp var for rows().end()
7382         (selectionAsString): temp var for boost::next(startpit), realize
7383         that the while really is a regular for loop.
7384         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7385         setCursor in one place.
7386         (setParagraph): temp vr for ownerParagraphs().end()
7387         (updateCounters): make the while loop a for loop
7388         (cutSelection): temp var for ownerParagraphs().end()
7389         (updateInset): make the do {} while() a regular for loop
7390         (getCursorX): use temp vars
7391         (setCurrentFont): use temp vars
7392         (getColumnNearX): use temp vars
7393
7394 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * text.C (transformChar): use temp var for getChar
7397         (computeBidiTables): use temp var for row->par()
7398         (fill): move temp vars for row->par() and pit->layout() earlier in
7399         the function.
7400         (labelFill): use temp var for row->par()
7401         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7402         asc and desc, realize that pit never changes and that firstpit is
7403         just a duplicate and not needed. Exchange rit->par() with pit in a
7404         lot of places.
7405         (breakAgain): use a temp var for boost::next(rit)
7406         (breakAgainOneRow): ditto
7407         (breakParagraph): use a temp var for rows().begin()
7408         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7409         (cursorRightOneWord): use temp var for cursor.par() and
7410         cursor.pos(), remove usage of tmpcursor.
7411         (cursorLeftOneWord): use temp var for cursor.par() and
7412         cursor.pos() only set cur at end of function.
7413
7414 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * text.C, text2.C: exchange all usage of Paragraph::next with
7417         boost::next(ParagraphList::iterator)
7418
7419         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7420
7421         * text2.C (cursorTop): simplify implementation
7422         (cursorBottom): ditto
7423         (setParagraph): use ParagraphList::iterator
7424         (setCurrentFont): adjust
7425         (getColumnNearX): adjust
7426         (cursorRight): adjust
7427         (cursorLeft): remove usage of Paragraph::previous
7428         (cursorUpParagraph): ditto
7429         (deleteEmptyParagraphMechanism): slight cleanup
7430
7431         * text.C (isBoundary): take a Paragraph const & instead of a
7432         pointer as arg.
7433         (addressBreakPoint): ditto
7434         (leftMargin): remove usage of Paragraph::previous.
7435         (setHeightOfRow): ditto
7436         (cursorLeftOneWord): ditto
7437         (selectNextWordToSpellcheck): ditto
7438         (Delete): ditto
7439         (backspace): ditto
7440         (breakParagraph): remove one usage of Paragraph::next
7441         (redoParagraph): ditto
7442         (acceptChange): ditto
7443         (insertChar): adjust
7444         (rowBreakPoint): adjust
7445
7446         * bufferview_funcs.C (toggleAndShow): adjust
7447
7448 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7449
7450         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7451         methods to access it.
7452         * lyxtext.h:
7453         * text.C: Added updateRowPositions to compute all row positions.
7454         Make top_y and getRowNearY() to use the cached y position
7455
7456 2003-04-11  John Levon  <levon@movementarian.org>
7457
7458         * text.C (rowBreakPoint): reintroduce the labelEnd
7459         checks, code copied from the row fill stuff. Deep voodoo.
7460
7461         * text.C (fill): add a comment and debugging for the
7462         next poor soul.
7463
7464 2003-04-11  John Levon  <levon@movementarian.org>
7465
7466         * text.C: make sure fullrow insets get wrapped to the next line,
7467         even when they're in a manual label
7468
7469 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * text2.C (insertParagraph): make it take ParagraphList::iterator
7472         as arg.
7473         (setLayout): make it return ParagraphList::iterator
7474         (redoParagraphs): ditto
7475         (setCounter): ditto
7476         (checkParagraph): ditto
7477
7478         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7479
7480         * text2.C: adjust several funcs.
7481         (realizeFont): take a ParagraphList::iterator as arg.
7482         (getLayoutFont): ditto
7483         (getLabelFont): ditto
7484         (setCharFont): ditto
7485
7486         * text.C: adjust several funcs.
7487
7488 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7489
7490         * text.C (selectNextWordToSpellcheck): don't accidentally
7491         skip insets
7492
7493 2003-04-10  John Levon  <levon@movementarian.org>
7494
7495         * ToolbarBackend.C (getIcon): special handling for
7496         LFUN_MATH_DELIM
7497
7498 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7499
7500         * text2.C (cursorRight): a getChar assert fixed
7501
7502 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * text2.C (getFont): change to take a ParagraphList::iterator
7505         instead of Paragraph*
7506         Adjust several functions.
7507
7508         * text.C (transformChar): change to take a ParagraphList::iterator
7509         instead of Paragraph*
7510         (singleWidth): ditto
7511         Adjust several functions.
7512
7513         * rowpainter.C: adjust several functions
7514         * rowpainter.h:store a ParagraphList::iterator and not a
7515         Paragraph&.
7516
7517
7518 2003-04-09  John Levon  <levon@movementarian.org>
7519
7520         * lyxfunc.C:
7521         * lfuns.h:
7522         * LyXAction.h:
7523         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7524         and the "help" bits as well
7525
7526 2003-04-09  John Levon  <levon@movementarian.org>
7527
7528         * ToolbarBackend.h:
7529         * ToolbarBackend.C: allow multiple toolbars
7530
7531 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * undo_funcs.C (setCursorParUndo): adjust
7534
7535         * text_funcs.C (transposeChars): adjust
7536
7537         * text3.C (gotoNextInset): adjust
7538         (dispatch): adjust
7539
7540         * text2.C (setLayout): adjust
7541         (changeDepth): adjust
7542         (setFont): adjust
7543         (redoParagraphs): adjust
7544         (selectionAsString): adjust
7545         (setParagraph): adjust
7546         (insertInset): adjust
7547         (cutSelection): adjust
7548         (copySelection): adjust
7549         (pasteSelection): adjust
7550         (insertStringAsLines): adjust
7551         (updateInset): adjust
7552         (setCursor): change to take a ParagraphList::iterator parameter
7553         (setCursorIntern): change to take a ParagraphList::iterator parameter
7554         (setCurrentFont): adjust
7555         (cursorLeft): adjust
7556         (cursorRight): adjust
7557         (deleteEmptyParagraphMechanism): adjust
7558
7559         * text.C (breakParagraph): adjust
7560         (insertChar): adjust
7561         (acceptChange): adjust
7562         (rejectChange): adjust
7563         (selectNextWordToSpellcheck): adjust
7564         (changeCase): adjust
7565         (Delete): adjust
7566         (backspace): adjust
7567
7568         * lyxfind.C (SearchForward): adjust
7569         (SearchBackward): adjust
7570         (nextChange): adjust
7571
7572         * lyxcursor.C (par): adjust
7573
7574         * lyxcursor.h: store a ParagraphList::iterator instead of a
7575         Paragraph*
7576
7577         * lyx_cb.C (getPossibleLabel): adjust
7578
7579         * bufferview_funcs.C (toggleAndShow): adjust
7580
7581         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7582         (dispatch): adjust
7583
7584         * BufferView.C (removeAutoInsets): adjust
7585         (lockedInsetStoreUndo): adjust
7586
7587 2003-04-09  John Levon  <levon@movementarian.org>
7588
7589         * ToolbarBackend.C: try icon without argument
7590         if with argument fails
7591
7592 2003-04-08  John Levon  <levon@movementarian.org>
7593
7594         * ToolbarBackend.h:
7595         * ToolbarBackend.C: add getIcon(), handle tooltip,
7596         and change from "Icon" to "Item".
7597
7598 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7599
7600         * BufferView.C (lockInset): another bad getchar crunched
7601
7602 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7603
7604         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7605         again)
7606
7607 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7608
7609         * lyxfind.C (searchForward, searchBackwards): bug 782
7610
7611 2003-04-07  John Levon  <levon@movementarian.org>
7612
7613         * paragraph.C: remove dead comment
7614
7615         * text.C: remove troublesome depth-fiddling code
7616         in leftMargin() and rightMargin() (bug 1017)
7617
7618         * text.C: fix breaking of rows in nested lists
7619         (bug 1004)
7620
7621         * text2.C (updateCounters): fix up depth values
7622         (bug 1013)
7623
7624 2003-04-07  John Levon  <levon@movementarian.org>
7625
7626         * BufferView_pimpl.C: clear message when doc finishes resizing,
7627         and after a mouse event
7628
7629         * lyxfunc.C: clear message after exiting inset
7630
7631 2003-04-07  John Levon  <levon@movementarian.org>
7632
7633         * bufferview_funcs.C: show math status not outside
7634         status in the statusbar
7635
7636 2003-04-07  John Levon  <levon@movementarian.org>
7637
7638         * lyxfunc.C: note status changed after a depth change
7639
7640 2003-04-04  Angus Leeming  <leeming@lyx.org>
7641
7642         * LaTeX.h: move AuxInfo operator==, != out of line.
7643         Remove LaTeX virtual destructor; nothing derives from it.
7644         Move operator()() out of public area and rename it startscript().
7645         Change protected for private.
7646
7647 2003-04-04  Angus Leeming  <leeming@lyx.org>
7648
7649         * lyxfunc.C:
7650         * text2.C: remove unneeded #includes.
7651
7652 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7653
7654         * text2.C (dEPM): fix the heigth of the next row
7655
7656 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7657
7658         * text.C: squashed an invalid getChar requester + some ws changes
7659
7660 2003-04-03  John Levon  <levon@movementarian.org>
7661
7662         * bufferview_funcs.h:
7663         * bufferview_funcs.C:
7664         * lyxfunc.C:
7665         * lyxtext.h:
7666         * text2.C: make getStatus work for the env depth lfuns
7667
7668 2003-04-03  John Levon  <levon@movementarian.org>
7669
7670         * bufferview_funcs.h:
7671         * bufferview_funcs.C:
7672         * lyxfunc.C:
7673         * lyxtext.h:
7674         * text2.C: parlistize decDepth(), by merging it with incDepth()
7675
7676 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * lyxrow.h: store a ParagraphList::iterator instead of a
7679         Paragraph* and adjust other class functions to suit.
7680
7681         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7682         above.
7683
7684 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * text2.C (setCursor): do not anchor to cursor row for the time being
7687
7688 2003-04-02  John Levon  <levon@movementarian.org>
7689
7690         * LyXAction.C:
7691         * lfuns.h:
7692         * lyx_main.C:
7693         * lyxtext.h:
7694         * text.C:
7695         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7696
7697 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * paragraph.h: make ParagraphList and ParagraphList::iterator
7700         friends of Paragraph.
7701
7702         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7703
7704         * ParagraphList.C: Use the private next_ and previous_ from
7705         Paragraph.
7706
7707 2003-04-01  John Levon  <levon@movementarian.org>
7708
7709         * ToolbarBackend.h:
7710         * ToolbarBackend.C:
7711         * Makefile.am: rename, remove defaults gunk
7712
7713         * MenuBackend.h:
7714         * MenuBackend.C: remove defaults gunk
7715
7716         * Languages.h:
7717         * Languages.C: remove defaults gunk
7718
7719         * lyx_main.h:
7720         * lyx_main.C: error out if files couldn't be found.
7721
7722 2003-04-02  John Levon  <levon@movementarian.org>
7723
7724         * text2.C: make incDepth() use parlist
7725
7726 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * undo_funcs.C (firstUndoParagraph): adjust
7729
7730         * text3.C (gotoInset): adjust
7731         (dispatch): adjust, and rewrite loop.
7732
7733         * text2.C (init): adjust, and rewrite loop.
7734         (redoParagraphs): adjust
7735         (updateInset): adjust, and rewrite loop.
7736         (deleteEmptyParagraphMechanism): adjust
7737
7738         * tabular.C (LyXTabular): adjust
7739         (SetMultiColumn): adjust
7740         (TeXRow): adjust
7741
7742         * lyxtext.[Ch] (ownerParagraph): delete function
7743         (ownerParagraphs): new function returns a ParagraphList.
7744
7745         * BufferView.C (removeAutoInsets): adjust
7746         (insertErrors): adjust
7747         (setCursorFromRow): adjust
7748
7749 2003-04-01  Angus Leeming  <leeming@lyx.org>
7750
7751         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7752         in the frontends.
7753
7754 2003-04-02  John Levon  <levon@movementarian.org>
7755
7756         * lyxtext.h:
7757         * text.C:
7758         * Makefile.am:
7759         * text_funcs.h:
7760         * text_funcs.C: make transposeChars a free function
7761
7762         * lyxrow_funcs.C: remove wrong comment
7763
7764 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * lyxtext.h: adjust
7767         * rowpainter.C: adjust
7768         * text.C: adjust
7769         * text2.C: adjust
7770         * text3.C: adjust
7771
7772         * lyxrow_funcs. [Ch]: new files
7773
7774         * lyxrow.[Ch]: remove next and previous pointers
7775         (next,previous): remove accessor functions
7776         (isParEnd): move to lyxrow_funcs
7777         (lastPos): move to lyxrow_funcs
7778         (nextRowIsAllInset): move to lyxrow_funcs
7779         (lastPrintablePos): move to lyxrow_funcs
7780         (numberOfSeparators): move to lyxrow_funcs
7781         (numberOfHfills): move to lyxrow_funcs
7782         (numberOfLabelHfills): move to lyxrow_funcs
7783         (hfillExpansion): move to lyxrow_funcs
7784
7785         * lyxfunc.C: adjust
7786
7787         * bufferview_funcs.C (toggleAndShow): adjust
7788
7789         * RowList.h: Remove class RowList from file leave just a
7790         std::list<Row>.
7791
7792         * RowList.C: delete file
7793
7794         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7795         and lyxrow_funcs.h
7796
7797 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * text3.C (cursorPrevious): adjust
7800         (cursorNext): adjust
7801         (dispatch): adjust
7802
7803         * text2.C (redoHeightOfParagraph): adjust
7804         (redoDrawingOfParagraph): adjust
7805         (setCursor): adjust
7806
7807         * text.C (breakParagraph): adjust
7808         (insertChar): adjust
7809         (backspace): adjust
7810
7811         * rowpainter.C (RowPainter): adjust
7812         (leftMargin): simplify and adjust
7813         (most rowpainter functions): adjust.
7814
7815         * rowpainter.h: store the row as RowList::iterator not as Row*
7816
7817         * lyxcursor.C (row): taka RowList::iterator as arg
7818         (irow): ditto
7819
7820         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7821         of Row*.
7822
7823 2003-04-01  Angus Leeming  <leeming@lyx.org>
7824
7825         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7826         stuff like bool Bool.
7827
7828 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7831         rewrite a loop
7832
7833 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7836         RowList::iterator.
7837
7838         * lyxtext.h (rows): drop one version and leve a const variant that
7839         returns a RowList::iterator.
7840
7841 2003-03-31  Angus Leeming  <leeming@lyx.org>
7842
7843         * text.C (fill): ensure that the signature is the same as that in the
7844         header file.
7845
7846 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7847
7848         * text2.C (redoParagraphs): adjust
7849         (updateCounters): adjust
7850         (checkParagraph): adjust
7851         (getColumnNearX): adjust and reformat a bit.
7852
7853         * text.C (top_y): adjust
7854         (workWidth): adjust
7855         (leftMargin): adjust
7856         (prepareToPrint): adjust
7857         (getRow): adjust
7858         (getRowNearY): adjust
7859
7860         * lyxtext.h: make rowlist_ mutable.
7861
7862         * RowList.h: add const_iterator
7863         * RowList.C: adjust for RowList::const_iterator.
7864
7865         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7866         adjust.
7867
7868 2003-03-31  John Levon  <levon@movementarian.org>
7869
7870         * lyxrc.h:
7871         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7872
7873         * lyx_main.C: set default fonts from using lyx_gui funcs
7874
7875         * exporter.C: pdf_mode moved from lyxrc
7876
7877         * lyx_cb.C:
7878         * lyxfunc.C: changes from above
7879
7880 2003-03-31  John Levon  <levon@movementarian.org>
7881
7882         * lyx_main.C: fix to the last fix
7883
7884 2003-03-31  John Levon  <levon@movementarian.org>
7885
7886         * bufferlist.C: "Load original" -> "Load Original"
7887
7888         * converter.C:
7889         * exporter.C:
7890         * importer.C:
7891         * lyx_main.C:
7892         * format.C: more Alert cleanups
7893
7894 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * text2.C (removeParagraph): make it take a RowList::iterator as
7897         arg, adjust.
7898         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7899         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7900
7901         * text.C (anchor_row): make it take a RowList::iterator as arg,
7902         adjust.
7903         (computeBidiTables): make it take a const reference to Row instead
7904         of Row pointer, adjust.
7905         (leftMargin): make it take a RowList::iterator as arg, adjust.
7906         (rowBreakPoint): adjust
7907         (breakAgainOneRow): make it take a RowList::iterator as arg,
7908         adjust.
7909         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7910
7911         * bufferview_funcs.C (toggleAndShow): adjust
7912
7913 2003-03-30  John Levon  <levon@movementarian.org>
7914
7915         * Makefile.am:
7916         * BoostFormat.h:
7917         * boost-inst.C: moved to support
7918
7919         * several files: changes as a result
7920
7921 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * text2.C (LyXText): adjust.
7924         (init): adjust
7925         (removeRow): make it take a RowList::iterator as arg, adjust.
7926         (fullRebreak): adjust
7927         (deleteEmptyParagraphMechanism): adjust
7928         (clearPaint): adjust
7929         (postPaint): adjust
7930
7931         * text.C (top_y): adjust
7932         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7933         (breakAgain): make it take a RowList::iterator as arg, adjust.
7934         (breakParagraph): adjust
7935         (insertChar): adjust
7936         (backspace): adjust
7937
7938         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7939         need_break_row, and refresh_row.
7940
7941         * text3.C (dispatch): adjust
7942
7943         * text2.C (checkParagraph): adjust
7944         (setCursor): adjust
7945         (setCursorFromCoordinates): adjust
7946
7947         * text.C (top_y): adjust
7948         (workWidth): adjust
7949         (getRow): make it return a RowList::iterator, adjust
7950         (getRowNearY): make it return a RowList::iterator, adjust
7951
7952         * text2.C (init): adjust
7953         (insertRow): remove function
7954         (insertParagraph): adjust
7955         (redoParagraphs): adjust
7956         (fullRebreak): adjust
7957         (updateCounters): adjust
7958
7959         * text.C (top_y): rewrite to use RowList iterators.
7960         (top_y): adjust
7961         (setHeightOfRow): rewrite to sue RowList iterators.
7962         (appendParagraph): adjust
7963         (breakAgain): adjust
7964         (breakAgainOneRow): adjust
7965         (breakParagraph): adjust
7966         (getRow): adjust
7967         (getRowNearY): adjust, and remove commented code.
7968
7969         * lyxtext.h (firstRow): delete function
7970         (lastRow): delete function
7971         (rows): new function (const and non-const versions.)
7972         (insertRow): delete function
7973
7974         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7975
7976 2003-03-29  John Levon  <levon@movementarian.org>
7977
7978         * BufferView_pimpl.C: always update scrollbar top
7979         because pasting text when we're anchored could mean we
7980         miss an update altogether
7981
7982 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * text2.C (init): use rowlist_.end() and not 0.
7985         (insertRow): change to take a RowList::iterator as arg, adjust
7986         for this.
7987         (insertParagraph): change to take a RowList::iterator as arg,
7988         adjust for this.
7989         (redoParagraphs): remove some debug msgs.
7990
7991         * text.C (appendParagraph): change to take a RowList::iterator
7992         arg, adjust for this.
7993         (breakAgain): add an assert
7994         (breakAgainOneRow): ditto
7995
7996 2003-03-29  John Levon  <levon@movementarian.org>
7997
7998         * text2.C: do not clear selection after inc/decDepth
7999         (bug 550)
8000
8001 2003-03-29  John Levon  <levon@movementarian.org>
8002
8003         * BufferView.C:
8004         * buffer.C: fix broken strerrors according to Lars
8005
8006 2003-03-29  John Levon  <levon@movementarian.org>
8007
8008         * converters.C: more Alert cleanups
8009
8010 2003-03-29  John Levon  <levon@movementarian.org>
8011
8012         * bufferview_funcs.C: remove pointless Alert
8013
8014         * buffer.C: fix confusing error message when
8015         a template is chmoded 000
8016
8017 2003-03-29  John Levon  <levon@movementarian.org>
8018
8019         * BufferView.C:
8020         * BufferView.h:
8021         * BufferView_pimpl.C: Alert fixes
8022
8023         * Makefile.am:
8024         * tabular.C:
8025         * tabular-old.C: remove unused table compat reading
8026
8027 2003-03-29  John Levon  <levon@movementarian.org>
8028
8029         * BufferView.C:
8030         * buffer.C:
8031         * lyx_cb.h:
8032         * lyx_cb.C: more Alert cleanups
8033
8034         * lyxfunc.C: don't allow chktex if not latex document
8035
8036 2003-03-29  John Levon  <levon@movementarian.org>
8037
8038         * lyx_cb.C:
8039         * BufferView.C:
8040         * buffer.C: warnings pushed down from support/,
8041         kill err_alert
8042
8043 2003-03-29  John Levon  <levon@movementarian.org>
8044
8045         * lyxfunc.C: safety check for C-r (revert)
8046
8047 2003-03-29  John Levon  <levon@movementarian.org>
8048
8049         * bufferlist.h:
8050         * bufferlist.C: several UI fixes using Alert::prompt.
8051         Fix the pointless looping quit code. Fix stupid revert
8052         behaviour (bug 938)
8053
8054         * lyxvc.h:
8055         * lyxvc.C:
8056         * lyx_cb.C: use Alert::prompt
8057
8058         * lyx_main.C: remove a silly question
8059
8060         * lyxfunc.C: remove a couple of silly questions,
8061         use Alert::prompt
8062
8063 2003-03-28  John Levon  <levon@movementarian.org>
8064
8065         * text2.C: fix bug 974 (End on empty par)
8066
8067 2003-03-28  John Levon  <levon@movementarian.org>
8068
8069         * BufferView_pimpl.C:
8070         * LyXAction.C:
8071         * lfuns.h: remove do-nothing math greek lfuns
8072
8073 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * lyxgluelength.h (isValidGlueLength): add default arg on
8076         parameter 2. Remove default arg from friend in class.
8077
8078         * lyxlength.h (isValidLength): add default arg on parameter 2.
8079         Remove default arg from friend in class.
8080
8081         * text2.C (LyXText): adjust, initialize refresh_row.
8082         (init): adjust
8083         (removeRow): adjust
8084         (insertRow): adjust
8085         (insertParagraph): adjst
8086         (redoParagraphs): adjust
8087         (fullRebreak): adjust
8088         (updateCounters): adjust
8089         (deleteEmptyParagraphMechanism): first attempt at fixing a
8090         crashing bug.
8091
8092         * text.C (top_y): adjust
8093         (setHeightOfRow): adjust
8094         (getRow): adjust
8095         (getRowNearY): adjust
8096
8097         * lyxtext.h: include RowList.h
8098         (~LyXText): not needed anymore, deleted.
8099         (firstRow): modify for RowList
8100         (lastRow): new function
8101         Delete firstrow and lastrow class variables, add a Rowlist
8102         rowlist_ class variable.
8103
8104         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8105         paragraph is empty.
8106
8107         * RowList.C (insert): fix case where it == begin().
8108
8109 2003-03-26  Angus Leeming  <leeming@lyx.org>
8110
8111         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8112         the thesaurus dialog.
8113
8114 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8117
8118         * RowList.[Ch]: new files
8119
8120         * ParagraphList.C (erase): handle the case where it == begin
8121         correctly.
8122
8123 2003-03-25  John Levon  <levon@movementarian.org>
8124
8125         * Makefile.am:
8126         * aspell_local.h:
8127         * aspell.C: add new aspell support
8128
8129         * lyxrc.h:
8130         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8131         have it accessible.
8132
8133 2003-03-25  Angus Leeming  <leeming@lyx.org>
8134
8135         * lfuns.h:
8136         * LyXAction.C (init): new LFUN_INSET_INSERT.
8137
8138         * BufferView_pimpl.C (dispatch): split out part of the
8139         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8140
8141         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8142         LFUN_INSET_APPLY.
8143
8144 2003-03-25  Angus Leeming  <leeming@lyx.org>
8145
8146         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8147
8148 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8149
8150         * text2.C:
8151         * text3.C: remove useless row->height(0)
8152
8153 2003-03-25  John Levon  <levon@movementarian.org>
8154
8155         * lyxtext.h:
8156         * text2.C:
8157         * text3.C: rename the refreshing stuff to better names
8158
8159 2003-03-24  John Levon  <levon@movementarian.org>
8160
8161         * BufferView_pimpl.h:
8162         * BufferView_pimpl.C: update layout choice on a mouse
8163         press/release
8164
8165 2003-03-23  John Levon  <levon@movementarian.org>
8166
8167         * Makefile.am: fix commandtags.h reference
8168
8169 2003-03-22  John Levon  <levon@movementarian.org>
8170
8171         * BufferView_pimpl.C:
8172         * lyxtext.h:
8173         * rowpainter.C:
8174         * rowpainter.h:
8175         * text.C:
8176         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8177
8178 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8179
8180         * lyxtext.h:
8181         * text.C: take the rtl methods out of line
8182
8183 2003-03-21 André Pönitz <poenitz@gmx.net>
8184
8185         * metricsinfo.[Ch]: new files containing structures to be passed around
8186         during the two-phase-drawing...
8187
8188 2003-03-21 André Pönitz <poenitz@gmx.net>
8189
8190         * lyxtextclass.C: read 'environment' tag.
8191
8192 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8193
8194         * text2.C (removeRow): fix bug 964
8195
8196 2003-03-20  John Levon  <levon@movementarian.org>
8197
8198         * rowpainter.C:
8199         * text.C:
8200         * text2.C: paint cleanups. Inset::update() dropped font
8201         parameter
8202
8203 2003-03-19  John Levon  <levon@movementarian.org>
8204
8205         * lyxfunc.C: only fitcursor/markDirty if available()
8206
8207 2003-03-19  John Levon  <levon@movementarian.org>
8208
8209         * commandtags.h: rename to ...
8210
8211         * lfuns.h: ... this, and renumber / cleanup
8212
8213 2003-03-19  John Levon  <levon@movementarian.org>
8214
8215         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8216         fit the cursor after an lfun
8217
8218         * BufferView.h:
8219         * BufferView.C:
8220         * BufferView_pimpl.h:
8221         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8222
8223         * LyXAction.C: layout-character should have ReadOnly
8224
8225         * ParagraphParameters.C:
8226         * buffer.C:
8227         * bufferview_funcs.C:
8228         * lyx_cb.C:
8229         * lyxfind.C:
8230         * lyxtext.h:
8231         * text.C:
8232         * text2.C:
8233         * text3.C:
8234         * undo_funcs.C: changes from above
8235
8236 2003-03-18  John Levon  <levon@movementarian.org>
8237
8238         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8239         remove it from update()
8240
8241         * lyxfunc.C: update layout choice after an lfun
8242
8243         * text3.C: remove extra updateLayoutChoice()s
8244
8245 2003-03-18  John Levon  <levon@movementarian.org>
8246
8247         * text.C: top_y change means full repaint, fix
8248         a drawing bug with cursor movement
8249
8250 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8251
8252         * lyxtext.h:
8253         * text.C:
8254         * text2.C: anchor row on setCursor
8255
8256 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8257
8258         * lyxtext.h: remove almost all mutable keywords
8259         * text.C:
8260         * text2.C:
8261         * text3.C: remove const keywords accordingly
8262
8263 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8266         anon namespace
8267         (TeXEnvironment): ditto
8268         (TeXOnePar): ditto
8269
8270 2003-03-17  John Levon  <levon@movementarian.org>
8271
8272         * text.C (rowBreakPoint): remove attempt to fix displayed
8273         math insets inside a manual label
8274
8275 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * lyxtext.h: remove BufferView* as first arg from almost all class
8278         functions.
8279         * other files: adjust.
8280
8281 2003-03-17  John Levon  <levon@movementarian.org>
8282
8283         * lyxtext.h:
8284         * undo_funcs.C:
8285         * text2.C: more paint cleanups
8286
8287         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8288
8289         * rowpainter.h:
8290         * rowpainter.C: remove "smart" background painting code
8291
8292 2003-03-16  John Levon  <levon@movementarian.org>
8293
8294         * lyxtext.h:
8295         * text.C:
8296         * text2.C:
8297         * text3.C: add helper functions for setting refresh_row/y
8298
8299 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8300
8301         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8302         newline inset which *can* get inserted in the pass_thru layouts.
8303         This is primarily for literate documents.
8304
8305 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8306
8307         * buffer.C: increment LYX_FORMAT to 223
8308
8309 2003-03-14 André Pönitz <poenitz@gmx.net>
8310
8311         * textclass.h: prepare for environment handling, ws changes
8312         * lyxlayout.C: read latexheader and latexfooter tags
8313
8314 2003-03-14  John Levon  <levon@movementarian.org>
8315
8316         * text2.C: rewrite ::status() a bit
8317
8318 2003-03-13  John Levon  <levon@movementarian.org>
8319
8320         * lyxtext.h: add some docs
8321
8322 2003-03-13  John Levon  <levon@movementarian.org>
8323
8324         * lyxtext.h:
8325         * text.C:
8326         * text2.C:
8327         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8328
8329 2003-03-13  John Levon  <levon@movementarian.org>
8330
8331         * text3.C: fix appendix redrawing
8332
8333 2003-03-13  John Levon  <levon@movementarian.org>
8334
8335         * text.C (setHeightOfRow):
8336         * rowpainter.h:
8337         * rowpainter.C: make appendix mark have the text
8338           "Appendix" so the user knows what it is
8339
8340         * LColor.h:
8341         * LColor.C: s/appendixline/appendix/ from above
8342
8343 2003-03-13  John Levon  <levon@movementarian.org>
8344
8345         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8346
8347         * text.C: fix a getChar(pos) bug properly
8348
8349 2003-03-13  Angus Leeming  <leeming@lyx.org>
8350
8351         * commandtags.h:
8352         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8353         Probably only temporary. Let's see how things pan out.
8354
8355         * BufferView.C (unlockInset):
8356         * BufferView_pimpl.C (fitCursor):
8357         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8358
8359         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8360         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8361
8362         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8363         new functions that convert ParagraphParameters to and from a string.
8364
8365         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8366         BufferView::Pimpl's dispatch.
8367         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8368
8369 2003-03-13 André Pönitz <poenitz@gmx.net>
8370
8371         * lyxfunc.C:
8372         * text3.C:
8373         * factory.C: make it aware of InsetEnv
8374
8375 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * text2.C (setCursor): never ask for one past last
8378         (setCursor): add some debugging messages.
8379
8380         * text.C (singleWidth): never ask for one past last
8381         (singleWidth): ditto
8382         (leftMargin): ditto
8383         (rightMargin): ditto
8384         (rowBreakPoint): ditto
8385         (setHeightOfRow): ditto
8386         (prepareToPrint): ditto
8387
8388         * rowpainter.C (paintBackground): never ask for one past last
8389         (paintText): never ask for one past last
8390
8391         * paragraph_pimpl.C (getChar): make the assert stricter, never
8392         allow the one past last pos to be taken
8393
8394         * paragraph.C (getChar): ws changes only
8395
8396         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8397         (numberOfSeparators): ditto
8398         (numberOfHfills): ditto
8399
8400 2003-03-12  John Levon  <levon@movementarian.org>
8401
8402         * author.h:
8403         * author.C:
8404         * bufferparams.h:
8405         * bufferparams.C:
8406         * paragraph_funcs.C: fix per-buffer authorlists
8407
8408 2003-03-12  John Levon  <levon@movementarian.org>
8409
8410         * text.C: fix newline in right address
8411
8412 2003-03-12  Angus Leeming  <leeming@lyx.org>
8413
8414         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8415         duplicate those in LyXFunc::dispatch.
8416
8417         * commandtags.h:
8418         * LyXAction.C:
8419         * ToolbarDefaults.C:
8420         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8421         Add LFUN_FONTFREE_UPDATE.
8422
8423         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8424         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8425
8426         * bufferview_func.[Ch]: several new functions to facilliate
8427         transfer of data to and from the character dialog.
8428
8429 2003-03-12  John Levon  <levon@movementarian.org>
8430
8431         * buffer.C:
8432         * paragraph.h:
8433         * paragraph.C:
8434         * paragraph_funcs.C:
8435         * paragraph_pimpl.C:
8436         * sgml.C:
8437         * tabular.C:
8438         * text.C:
8439         * text3.C: remove META_NEWLINE in favour of an inset
8440
8441         * rowpainter.h:
8442         * rowpainter.C: remove paintNewline (done by inset)
8443
8444 2003-03-12  John Levon  <levon@movementarian.org>
8445
8446         * paragraph_pimpl.C: complain about bad getChar()s
8447         for a while at least
8448
8449 2003-03-12  John Levon  <levon@movementarian.org>
8450
8451         * buffer.h:
8452         * buffer.C: move paragraph read into a separate function,
8453         a little renaming to reflect that.
8454
8455         * bufferparams.h:
8456         * bufferparams.C: remove the author_ids map, not necessary now
8457
8458         * factory.h:
8459         * factory.C: moved Buffer::readInset to here
8460
8461         * paragraph_funcs.h:
8462         * paragraph_funcs.C: readParagraph free function moved from
8463         buffer.C
8464
8465         * tabular.C: name change
8466
8467 2003-03-12  John Levon  <levon@movementarian.org>
8468
8469         * buffer.C:
8470         * ParagraphParameters.C: move par params input to
8471         a read() method
8472
8473         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8474         behave like a normal read from the stream wrt reading
8475         a line vs. a \\token
8476
8477 2003-03-12  John Levon  <levon@movementarian.org>
8478
8479         * paragraph.C:
8480         * ParagraphParameters.h:
8481         * ParagraphParameters.C: move output code to a
8482         ::write() method
8483
8484 2003-03-12  John Levon  <levon@movementarian.org>
8485
8486         * BufferView.C (insertLyXFile):
8487         * buffer.h:
8488         * buffer.C:
8489         * tabular.C: use a parlist iterator for creating the
8490           document.
8491
8492 2003-03-12  John Levon  <levon@movementarian.org>
8493
8494         * buffer.C: make current_change static local not
8495           static file-scope
8496
8497 2003-03-12  John Levon  <levon@movementarian.org>
8498
8499         * buffer.C: fix insertStringAsLines for change tracking
8500
8501 2003-03-12  John Levon  <levon@movementarian.org>
8502
8503         * BufferView.C:
8504         * tabular.C:
8505         * buffer.h:
8506         * buffer.C:
8507         * bufferparams.h:
8508         * bufferparams.C: move author list into params. Rename some
8509           functions. Move the header reading into a separate token
8510           loop. Move the header token reading into BufferParams.
8511
8512 2003-03-12  John Levon  <levon@movementarian.org>
8513
8514         * changes.C: put debug inside lyxerr.debugging() checks
8515
8516 2003-03-11 André Pönitz <poenitz@gmx.net>
8517
8518         * factory.C: make it aware of InsetHFill
8519
8520 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8521
8522         * buffer.C (latexParagraphs): move function from here...
8523         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8524         args.
8525
8526 2003-03-10  Angus Leeming  <leeming@lyx.org>
8527
8528         * LyXAction.C (init): fix bug in poplating array with multiple entries
8529         with the same LFUN (spotted by JMarc).
8530
8531 2003-03-10  John Levon  <levon@movementarian.org>
8532
8533         * text.C:
8534         * text2.C: move getColumnNearX() near its
8535         only call site
8536
8537 2003-03-10  John Levon  <levon@movementarian.org>
8538
8539         * text.C: fix break before a minipage
8540
8541 2003-03-10  John Levon  <levon@movementarian.org>
8542
8543         * text.C: fix the last commit
8544
8545 2003-03-09  John Levon  <levon@movementarian.org>
8546
8547         * lyxtext.h:
8548         * text.C:
8549         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8550         bug 365 (don't break before insets unless needed). Don't
8551         return a value > last under any circumstances.
8552
8553 2003-03-09  Angus Leeming  <leeming@lyx.org>
8554
8555         * BufferView_pimpl.C (trackChanges, dispatch): call
8556         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8557
8558 2003-03-09  Angus Leeming  <leeming@lyx.org>
8559
8560         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8561         than Dialogs::showAboutlyx().
8562
8563 2003-03-09  Angus Leeming  <leeming@lyx.org>
8564
8565         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8566         than Dialogs::showTabularCreate().
8567
8568 2003-03-09  John Levon  <levon@movementarian.org>
8569
8570         * lyxtext.h:
8571         * text.C:
8572         * text2.C: 3rd arg to nextBreakPoint was always the same.
8573           Use references.
8574
8575 2003-03-08  John Levon  <levon@movementarian.org>
8576
8577         * lyxrow.C:
8578         * paragraph.C:
8579         * paragraph.h:
8580         * rowpainter.C:
8581         * text.C:
8582         * text2.C: Remove the "main" bit from the "main body"
8583           notion.
8584
8585 2003-03-08  John Levon  <levon@movementarian.org>
8586
8587         * text.C (leftMargin): The left margin of an empty
8588         manual label paragraph should not include the label width
8589         string length.
8590
8591         * text.C (prepareToPrint): don't attempt to measure hfills
8592         for empty manual label paragraphs - the answer should be 0
8593
8594 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8595
8596         * CutAndPaste.C: remove commented code and reindent.
8597
8598 2003-03-08  John Levon  <levon@movementarian.org>
8599
8600         * lyxfunc.h:
8601         * lyxfunc.C: move reloadBuffer()
8602
8603         * BufferView.h:
8604         * BufferView.C: to here
8605
8606         * lyxvc.C: add comment
8607
8608         * vc-backend.h:
8609         * vc-backend.C: call bv->reload() to avoid
8610           getStatus() check on MENURELOAD
8611
8612 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8613
8614         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8615         to an old format .dep file.
8616
8617 2003-03-07  Angus Leeming  <leeming@lyx.org>
8618
8619         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8620         when the LFUN_MOUSE_RELEASE should have been handled by
8621         inset->localDispatch.
8622
8623 2003-03-07  Angus Leeming  <leeming@lyx.org>
8624
8625         * BufferView_pimpl.C (dispatch):
8626         * LyXAction.C (init):
8627         * ToolbarDefaults.C (init):
8628         * commandtags.h:
8629         * lyxfunc.C (getStatus):
8630         remove LFUN_INSET_GRAPHICS.
8631
8632         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8633
8634 2003-03-07  Angus Leeming  <leeming@lyx.org>
8635
8636         * commandtags.h:
8637         * LyXAction.C (init):
8638         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8639
8640         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8641
8642         * commandtags.h:
8643         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8644
8645         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8646         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8647
8648 2003-03-07  Angus Leeming  <leeming@lyx.org>
8649
8650         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8651         remove "ert".
8652
8653 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * ParagraphList.C (front): new function
8656         (back): implement
8657
8658 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8659
8660         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8661         and top_row_offset_. removed var first_y.
8662         * text.C (top_y):
8663         * text2.C (LyXText, removeRow):
8664         * text3.C:
8665         * BufferView_pimpl.C:
8666         use these methods instead of using first_y
8667
8668 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8669
8670         * text2.C (pasteSelection): adjust for checkPastePossible
8671
8672         * CutAndPaste.C: remove Paragraph * buf and replace with
8673         ParagraphList paragraphs.
8674         (DeleteBuffer): delete
8675         (cutSelection): change the tc type to textclass_type
8676         (copySelection): change the tc type to textclass_type
8677         (copySelection): adjust for ParagraphList
8678         (pasteSelection): change the tc type to textclass_type
8679         (pasteSelection): adjust for Paragraphlist
8680         (nrOfParagraphs): simplify for ParagraphList
8681         (checkPastePossible): simplify for ParagraphList
8682         (checkPastePossible): remove unused arg
8683
8684         * ParagraphList.C (insert): handle the case where there are no
8685         paragraphs yet.
8686
8687         * CutAndPaste.h: make CutAndPaste a namespace.
8688
8689         * text3.C (dispatch): adjust
8690
8691         * text.C (breakParagraph): add a ParagraphList as arg
8692
8693         * paragraph_funcs.C (breakParagraph): change to take a
8694         BufferParams and a ParagraphList as args.
8695         (breakParagraphConservative): ditto
8696         (mergeParagraph): ditto
8697         (TeXDeeper): add a ParagraphList arg
8698         (TeXEnvironment): ditto
8699         (TeXOnePar): ditto
8700
8701         * buffer.C (readLyXformat2): adjust
8702         (insertStringAsLines): adjust
8703         (latexParagraphs): adjust
8704
8705         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8706         (cutSelection): adjust
8707         (pasteSelection): adjust
8708
8709         * BufferView_pimpl.C (insertInset): adjust
8710
8711 2003-03-05  Angus Leeming  <leeming@lyx.org>
8712
8713         * commandtags.h:
8714         * LyXAction.C (init):
8715         * BufferView_pimpl.C (dispatch):
8716         * lyxfunc.C (getStatus):
8717         remove LFUN_CHILD_INSERT.
8718
8719         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8720
8721 2003-03-05  Angus Leeming  <leeming@lyx.org>
8722
8723         * commandtags.h:
8724         * LyXAction.C (init):
8725         * src/factory.C (createInset):
8726         * lyxfunc.C (getStatus):
8727         * text3.C (dispatch):
8728         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8729
8730         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8731
8732 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * ParagraphList.C (insert): handle insert right before end()
8735         (erase): fix cases where it can be first or last paragraph.
8736
8737 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8740         Paragraph::next and Paragraph::previous
8741         (TeXOnePar): ditto
8742
8743         * text.C (breakParagraph): adjust
8744
8745         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8746         BufferParams& as arg.
8747         (breakParagraph): use ParagraphList::insert
8748         (breakParagraphConservative): take a Buffer* instead of a
8749         BufferParams& as arg.
8750         (breakParagraphConservative): use ParagraphList::insert.
8751
8752         * buffer.C (insertStringAsLines): un-const it
8753         (insertStringAsLines): adjust
8754
8755         * ParagraphList.C (insert): new function
8756
8757         * CutAndPaste.C (pasteSelection): adjust
8758
8759         * text.C (backspace): adjust
8760
8761         * tabular.C (SetMultiColumn): adjust
8762
8763         * CutAndPaste.C (cutSelection): adjust
8764         (pasteSelection): adjust
8765
8766         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8767         Buffer const * as arg
8768
8769         * ParagraphList.C (erase): new function
8770         * paragraph_funcs.C (mergeParagraph): use it
8771         (mergeParagraph): make it take a Buffer* instead of a
8772         BufferParams* as arg
8773
8774         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8775         as arg
8776         (breakParagraphConservative): ditto
8777
8778         * paragraph.h: remove the breakParagraph friend
8779
8780         * paragraph.C (eraseIntern): new function
8781         (setChange): new function
8782
8783         * paragraph_funcs.C (mergeParagraph): make it take a
8784         ParagraphList::iterator instead of a Paragraph *, adjust
8785         accordingly.
8786
8787         * paragraph.h: move an #endif so that the change tracking stuff
8788         also works in the NO_NEXT case.
8789
8790 2003-03-04  Angus Leeming  <leeming@lyx.org>
8791
8792         * commandtags.h:
8793         * LyXAction.C: new LFUN_INSET_MODIFY.
8794
8795         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8796         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8797
8798 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * several files: ws changes only
8801
8802         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8803         (TeXEnvironment): ditto
8804         (TeXDeeper): ditto
8805
8806         * buffer.C (makeLaTeXFile): adjust
8807         (latexParagraphs): make it take ParagraphList::iterator as args
8808
8809 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8810
8811         * buffer.C (latexParagraphs): adjust
8812
8813         * paragraph.C (TeXOnePar): move function...
8814         (optArgInset): move function...
8815         (TeXEnvironment): move function...
8816         * paragraph_pimpl.C (TeXDeeper): move function...
8817         * paragraph_funcs.C: ...here
8818
8819         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8820
8821 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8822
8823         * buffer.C (readInset): remove compability code for old Figure and
8824         InsetInfo insets
8825
8826 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8827
8828         * buffer.C: ws changes
8829         (readInset):
8830
8831         * BufferView_pimpl.C: ditto
8832         * author.C: ditto
8833         * buffer.h: ditto
8834         * bufferlist.h: ditto
8835         * changes.h: ditto
8836         * lyxfunc.C: ditto
8837
8838 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8839
8840         * converter.[Ch]: split into itself +
8841         * graph.[Ch]
8842         * format.[Ch]
8843         * Makefile.am: += graph.[Ch] + format.[Ch]
8844         * MenuBackend.C
8845         * buffer.C
8846         * exporter.C
8847         * importer.C
8848         * lyx_main.C
8849         * lyxfunc.C
8850         * lyxrc.C: added #include "format.h"
8851
8852 2003-02-27  Angus Leeming  <leeming@lyx.org>
8853
8854         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8855           a label.
8856
8857         * factory.C (createInset): add "label" to the factory.
8858
8859         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8860           string and do no more.
8861
8862 2003-02-27  Angus Leeming  <leeming@lyx.org>
8863
8864         * commandtags.h:
8865         * LyXAction.C (init):
8866         * factory.C (createInset):
8867         * BufferView_pimpl.C (dispatch):
8868           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8869
8870         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8871
8872         * lyxfunc.C (dispatch):
8873         * text3.C (dispatch): pass name to params2string.
8874
8875 2003-02-26  Angus Leeming  <leeming@lyx.org>
8876
8877         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8878           blocks together.
8879           Rearrange the ~includes. Strip out the unnecessary ones.
8880
8881         * factory.C (createInset): reformat.
8882           create new insets for the various LFUN_XYZ_APPLY lfuns.
8883
8884 2003-02-26  John Levon  <levon@movementarian.org>
8885
8886         * lyxrow.h:
8887         * lyxrow.C: add isParStart,isParEnd helpers
8888
8889         * paragraph.h: make isInserted/DeletedText take refs
8890
8891         * paragraph_funcs.h:
8892         * paragraph_funcs.C: remove #if 0'd code
8893
8894         * lyxtext.h:
8895         * text3.C:
8896         * text2.C:
8897         * text.C: use lyxrow helpers above.
8898           Move draw and paint routines to RowPainter.
8899           Make several methods use refs not pointers.
8900           Make backgroundColor() const.
8901           Add markChangeInDraw(), isInInset().
8902           Merge changeRegionCase into changeCase.
8903           Make workWidth() shouldn't-happen code into an Assert.
8904
8905         * rowpainter.h:
8906         * rowpainter.C: new class for painting a row.
8907
8908         * vspace.h:
8909         * vspace.C: make inPixels take a ref
8910
8911 2003-02-26  Angus Leeming  <leeming@lyx.org>
8912
8913         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8914         LFUN_REF_APPLY.
8915
8916 2003-02-25  John Levon  <levon@movementarian.org>
8917
8918         * ispell.C: give the forked command a more accurate name
8919
8920 2003-02-22  John Levon  <levon@movementarian.org>
8921
8922         * toc.h:
8923         * toc.C: make TocItem store an id not a Paragraph *
8924           (bug #913)
8925
8926 2003-02-21  Angus Leeming  <leeming@lyx.org>
8927
8928         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8929           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8930           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8931           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8932           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8933           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8934
8935         * BufferView_pimpl.C (dispatch):
8936         * LyXAction.C (init):
8937         * factory.C (createInset):
8938         * lyxfunc.C (getStatus, dispatch):
8939         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8940
8941 2003-02-21  Angus Leeming  <leeming@lyx.org>
8942
8943         * BufferView_pimpl.C (MenuInsertLyXFile):
8944         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8945         * lyxfunc.C (menuNew, open, doImport):
8946           no longer pass a LyXView & to fileDlg.
8947
8948 2003-02-21  Angus Leeming  <leeming@lyx.org>
8949
8950         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8951         * LyXAction.C: change, BIBKEY to BIBITEM.
8952         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8953         Change InsetBibKey to InsetBibitem.
8954         Change BIBKEY_CODE to BIBITEM_CODE.
8955         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8956         * factory.C: replace insetbib.h with insetbibitem.h.
8957         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8958         * paragraph.C: replace insetbib.h with insetbibitem.h.
8959         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8960         Change bibkey() to bibitem().
8961         * text.C: remove insetbib.h.
8962         * text2.C: replace insetbib.h with insetbibitem.h.
8963         change bibkey() to bibitem().
8964         * text3.C: remove insetbib.h.
8965         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8966
8967 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8968
8969         * lyxrc.C (output): enclose user email in quotes (in case there are
8970         several words)
8971
8972 2003-02-18  John Levon  <levon@movementarian.org>
8973
8974         * buffer.h: add std::
8975
8976 2003-02-17  John Levon  <levon@movementarian.org>
8977
8978         * SpellBase.h:
8979         * ispell.h:
8980         * ispell.C:
8981         * pspell.h:
8982         * pspell.C: reworking. Especially in ispell, a large
8983           number of clean ups and bug fixes.
8984
8985         * lyxfunc.C: fix revert to behave sensibly
8986
8987 2003-02-17 André Pönitz <poenitz@gmx.net>
8988
8989         * LyXAction.C:
8990         * commandtags.h: new LFUN_INSERT_BIBKEY
8991
8992         * layout.h:
8993         * lyxlayout.C:
8994         * buffer.C:
8995         * factory.C:
8996         * text.C:
8997         * text2.C:
8998         * text3.C:
8999         * paragraph.[Ch]:
9000         * paragraph_func.C: remove special bibkey handling
9001
9002 2003-02-17  John Levon  <levon@movementarian.org>
9003
9004         * text.C (Delete): fix case where delete at the end of
9005           the very first paragraph would not merge the pars
9006
9007 2003-02-17  John Levon  <levon@movementarian.org>
9008
9009         * lyxrow.C: fix lastPrintablePos()
9010
9011 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * bufferparams.C (writeLaTeX): add a std:here
9014
9015         * buffer.C: and remove a using directive there
9016
9017 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9018
9019         * buffer.C (makeLaTeXFile): move the code that generates the
9020           preamble...
9021
9022         * bufferparams.C (writeLaTeX): ... in this new method
9023
9024         * LaTeXFeatures.C (getEncodingSet): make const
9025           (getLanguages): make const
9026
9027         * MenuBackend.C (binding): returns the binding associated to this
9028           action
9029           (add): sets the status of each item by calling getStatus. Adds
9030           some intelligence.
9031           (read): add support for OptSubMenu
9032           (expand): remove extra separator at the end of expanded menu
9033
9034 2003-02-15  John Levon  <levon@movementarian.org>
9035
9036         * BufferView.C:
9037         * BufferView_pimpl.C:
9038         * bufferlist.h:
9039         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9040           inset code that had no actual effect. Remove unneeded status
9041           code.
9042
9043 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9044
9045         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9046           in preamble
9047
9048 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9049
9050         * text.C (drawLengthMarker): also draw an arrow marker for
9051           symbolic lengths (medskip...)
9052
9053 2003-02-14  John Levon  <levon@movementarian.org>
9054
9055         * tabular.h:
9056         * tabular.C: better method names
9057
9058 2003-02-14  John Levon  <levon@movementarian.org>
9059
9060         * BufferView_pimpl.C:
9061         * bufferlist.C:
9062         * buffer.C:
9063         * converter.C:
9064         * lyx_cb.C:
9065         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9066           it's a more accurate name. Remove some pointless uses.
9067
9068 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9069
9070         * text2.C (LyXText): change order of initilizers to shut off
9071           warnings
9072
9073 2003-02-14  John Levon  <levon@movementarian.org>
9074
9075         * buffer.C: use ParIterator for getParFromID()
9076
9077         * paragraph.h:
9078         * paragraph.C:
9079         * paragraph_pimpl.h:
9080         * paragraph_pimpl.C: remove unused getParFromID()
9081
9082 2003-02-14  John Levon  <levon@movementarian.org>
9083
9084         * buffer.C: remove some very old #if 0'd parse code
9085
9086 2003-02-13  John Levon  <levon@movementarian.org>
9087
9088         * text.h:
9089         * text.C:
9090         * text2.C: move hfillExpansion(), numberOfSeparators(),
9091           rowLast(), rowLastPrintable(), numberofHfills(),
9092           numberOfLabelHfills() ...
9093
9094         * lyxrow.h:
9095         * lyxrow.C: ... to member functions here.
9096
9097         * paragraph.h:
9098         * paragraph.C:
9099         * lyxtext.h:
9100         * text.C: remove LyXText::beginningOfMainBody(), and call
9101           p->beginningOfMainBody() directly. Move the check for
9102           LABEL_MANUAL into the latter.
9103
9104         * text.h:
9105         * text.C:
9106         * text2.C:
9107         * vspace.C:
9108         * BufferView.h:
9109         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9110
9111         * text.h:
9112         * text.C:
9113         * text2.C:
9114         * text3.C:
9115         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9116           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9117
9118 2003-02-13  John Levon  <levon@movementarian.org>
9119
9120         * CutAndPaste.C: remove debug
9121
9122 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9123
9124         * paragraph.C (asString): remove two unused variables
9125
9126         * lyxtextclass.C (readTitleType):
9127           (Read):
9128           (LyXTextClass): handle new members titletype_ and titlename_
9129
9130         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9131
9132 2003-02-09  John Levon  <levon@movementarian.org>
9133
9134         * buffer.h:
9135         * buffer.C: replace hand-coded list with a map for the dep clean
9136
9137 2003-02-08  John Levon  <levon@movementarian.org>
9138
9139         * LaTeX.C: consolidate code into showRunMessage() helper
9140
9141 2003-02-08  John Levon  <levon@movementarian.org>
9142
9143         * lyxfind.C:
9144         * lyxtext.h:
9145         * text2.C:
9146         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9147           and pass the size in explicitly
9148
9149         * BufferView_pimpl.h:
9150         * BufferView_pimpl.C:
9151         * BufferView.h:
9152         * BufferView.C: add getCurrentChange()
9153
9154         * BufferView_pimpl.h:
9155         * BufferView_pimpl.C: handle change lfuns
9156
9157         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9158           for changes. Mark pasted paragraphs as new.
9159
9160         * support/lyxtime.h:
9161         * support/lyxtime.C:
9162         * DepTable.C: abstract time_t as lyx::time_type
9163
9164         * LColor.h:
9165         * LColor.C: add colours for new text, deleted text, changebars
9166
9167         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9168           package use "usenames" option.
9169
9170         * commandtags.h:
9171         * lyxfunc.C:
9172         * LyXAction.C: add change lfuns
9173
9174         * Makefile.am:
9175         * author.h:
9176         * author.C: author handling
9177
9178         * buffer.h:
9179         * buffer.C: add a per-buffer author list, with first entry as
9180           current author. Handle new .lyx tokens for change tracking. Output
9181           author list to .lyx file. Output dvipost stuff to .tex preamble.
9182           Bump lyx format to 222.
9183
9184         * bufferlist.h:
9185         * bufferlist.C: add setCurrentAuthor() to reset current author details
9186           in all buffers.
9187
9188         * bufferparams.h:
9189         * bufferparams.C: add param for tracking
9190
9191         * bufferview_funcs.C: output change info in minibuffer
9192
9193         * Makefile.am:
9194         * changes.h:
9195         * changes.C: add change-tracking structure
9196
9197         * debug.h:
9198         * debug.C: add CHANGES debug flag
9199
9200         * lyxfind.h:
9201         * lyxfind.C: add code for finding the next change piece
9202
9203         * lyxrc.h:
9204         * lyxrc.C: add user_name and user_email
9205
9206         * lyxrow.h:
9207         * lyxrow.C: add a metric for the top of the text line
9208
9209         * lyxtext.h:
9210         * text.C: implement accept/rejectChange()
9211
9212         * lyxtext.h:
9213         * text.C: paint changebars. Paint new/deleted text in the chosen
9214         colours. Strike through deleted text.
9215
9216         * paragraph.h:
9217         * paragraph.C:
9218         * paragraph_pimpl.h:
9219         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9220           in the current change to the insert functions. Rework erase to
9221           mark text as deleted, adding an eraseIntern() and a range-based
9222           erase(). Implement per-paragraph change lookup and
9223           accept/reject.
9224
9225         * paragraph_funcs.C: Fixup paste for change tracking.
9226
9227         * tabular.C: mark added row/columns as new.
9228
9229         * text.C: fix rowLast() to never return -1. Don't allow
9230           spellchecking of deleted text. Track transpose changes. Don't
9231           allow paragraph break or merge where appropriate.
9232
9233         * text2.C: leave cursor at end of selection after a cut.
9234
9235 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * text.C (getLengthMarkerHeight):
9238         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9239         visible on screen too.
9240
9241 2003-02-07  John Levon  <levon@movementarian.org>
9242
9243         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9244
9245 2003-02-05  Angus Leeming  <leeming@lyx.org>
9246
9247         * lyxserver.C (read_ready): revert my patch of 11 September last year
9248         as it sends PC cpu through the roof. Presumably this means that
9249         the lyxserver will no longer run on an Alpha...
9250
9251 2003-01-30  Angus Leeming  <leeming@lyx.org>
9252
9253         * factory.C (createInset): create an InsetCommandParam of type "index"
9254         and use it to 'do the right thing'.
9255
9256         * text2.C (getStringToIndex): ensure that cursor position is always
9257         reset to the reset_cursor position.
9258
9259 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9260
9261         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9262         disabled.
9263
9264 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9265
9266         * bufferview.C:
9267         * lyxcb.C:
9268         * lyxfunc.C: Output messages with identical spelling, punctuation,
9269         and spaces
9270
9271 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9272
9273         * MenuBackend.C (expandFormats): List only viewable export formats
9274         in "View" menu
9275
9276         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9277         message
9278
9279         * lyxfunc.C (getStatus): Make sure that formats other than
9280         "fax" can also be disabled
9281
9282 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9283
9284         * text3.C (dispatch): put the lfuns that insert insets in 3
9285         groups, and call doInsertInset with appropriate arguments.
9286         (doInsertInset): new function, that creates an inset and inserts
9287         it according to some boolean parameters.
9288
9289 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * buffer.C (readFile): remember to pass on 'par' when calling
9292         readFile recursively.
9293
9294 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9295
9296         * MenuBackend.C (expandFormats): add "..." to import formats.
9297
9298 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9299
9300         * paragraph.C (asString): Remove XForms RTL hacks.
9301
9302 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9303         * buffer.C: fix typo
9304
9305 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * Makefile.am (LIBS): delete var
9308         (lyx_LDADD): add @LIBS@ here instead.
9309
9310 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9311
9312         * Clarify the meaning of "wheel mouse jump"
9313
9314 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9315
9316         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9317         tabular in a float
9318
9319 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9320
9321         * importer.C (Loaders): do not preallocate 3 elements in the
9322         vector, since one ends up with 6 elements otherwise
9323
9324 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9325
9326         * DepTable.C (write): write the file name as last element of the
9327         .dep file (because it may contain spaces)
9328         (read): read info in the right order
9329
9330 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9331
9332         * paragraph_pimpl.C (simpleTeXBlanks):
9333         (simpleTeXSpecialChars):
9334         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9335
9336         * tabular.C (latex): add some missing case statements. Reindent.
9337
9338         * MenuBackend.C (expandToc): remove unused variable.
9339
9340 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9341
9342         * LColor.C:
9343         * LaTeX.C:
9344         * LyXAction.C:
9345         * MenuBackend.C:
9346         * buffer.C:
9347         * exporter.C:
9348         * lyxfunc.C:
9349         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9350         and the like.
9351
9352 2003-01-05  John Levon  <levon@movementarian.org>
9353
9354         * BufferView.h:
9355         * BufferView.C: add getEncoding()
9356
9357         * kbsequence.h:
9358         * kbsequence.C: do not store last keypress
9359
9360         * lyxfunc.h:
9361         * lyxfunc.C: store last keypress here instead. Pass encoding
9362           to getISOEncoded()
9363
9364 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9365
9366         * lyx_main.C (init): remove annoying error message when following
9367         symbolic links (bug #780)
9368
9369 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * text.C (insertChar):
9372         * lyxrc.C (getDescription): remove extra spaces
9373
9374 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9375
9376         * lyxrc.C (getDescription): remove extra spaces
9377
9378 2002-12-20  John Levon  <levon@movementarian.org>
9379
9380         * text3.C: hack fix for page up/down across tall rows
9381
9382 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9383
9384         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9385         not been invoked
9386
9387 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9388
9389         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9390         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9391         thesaurus is not compiled in
9392
9393 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9394
9395         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9396
9397 2002-12-16  Angus Leeming  <leeming@lyx.org>
9398
9399         * lyxrc.[Ch]:
9400         * lyx_main.C (init): remove override_x_deadkeys stuff.
9401
9402 2002-12-12  John Levon  <levon@movementarian.org>
9403
9404         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9405           insert. Only remove shift modifier under strict
9406           circumstances.
9407
9408 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9409
9410         * MenuBackend.C (expandToc): fix crash.
9411
9412 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9413
9414         * MenuBackend.C (expandToc): gettext on float names.
9415
9416 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9417
9418         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9419         implement bool empty() [bug 490]
9420
9421 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9422
9423         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9424
9425 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9426
9427         * several files: ws changes
9428
9429 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9430
9431         * text2.C (setCounter): clean up a bit, use boost.format.
9432         (updateCounters): initialize par upon declaration.
9433
9434         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9435         if the layout exists. We do not just store the layout any more.
9436         (SwitchLayoutsBetweenClasses): use boost.format
9437
9438 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9439
9440         * converter.C (convert): if from and to files are the same, use a
9441         temporary files as intermediary
9442
9443 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9444
9445         * commandtags.h:
9446         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9447
9448 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9449
9450         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9451
9452 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9453
9454         * tabular.C (asciiPrintCell): use string(size, char) instead of
9455         explicit loop.
9456
9457         * sgml.C (openTag): fix order of arguments to string constructor
9458         (closeTag): ditto
9459
9460         * lyxfunc.C (dispatch): use boost.format
9461
9462         * lots of files: change "c" -> 'c'
9463
9464 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9465
9466         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9467
9468 2002-11-25  Angus Leeming  <leeming@lyx.org>
9469
9470         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9471
9472         * lyx_main.C (init): compile fix.
9473
9474 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9475
9476         * lyx_cb.C (start): boost.formatify
9477         do not include <iostream>
9478
9479         * lengthcommon.C: ws only
9480
9481         * boost-inst.C,BoostFormat.h: add more explict instantations
9482
9483 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9484
9485         * lots of files: handle USE_BOOST_FORMAT
9486
9487 2002-11-21  John Levon  <levon@movementarian.org>
9488
9489         * pspell.C: fix compile
9490
9491 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * lyxfunc.C (dispatch): use boost::format
9494         (open): ditto
9495         (doImport): ditto
9496
9497         * lyxfont.C (stateText): use boost::format
9498
9499         * lyx_main.C (LyX): use boost::format
9500         (init): ditto
9501         (queryUserLyXDir): ditto
9502         (readRcFile): ditto
9503         (parse_dbg): ditto
9504         (typedef boost::function): use the recommened syntax.
9505
9506         * importer.C (Import): use boost::format
9507
9508         * debug.C (showLevel): use boost::format
9509
9510         * converter.C (view): use boost::format
9511         (convert): ditto
9512         (move): ditto
9513         (scanLog): ditto
9514
9515         * bufferview_funcs.C (currentState): use boost::format
9516
9517         * bufferlist.C (emergencyWrite): use boost::format
9518
9519         * buffer.C (readLyXformat2): use boost::format
9520         (parseSingleLyXformat2Token): ditto
9521
9522         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9523
9524         * LaTeX.C (run): use boost::format
9525
9526         * Chktex.C (scanLogFile): use boost::format
9527
9528         * BufferView_pimpl.C (savePosition): use boost::format
9529         (restorePosition): ditto
9530         (MenuInsertLyXFile): ditto
9531
9532         * BoostFormat.h: help file for explicit instation.
9533
9534 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9535
9536         * tabular.C (latex): Support for block alignment in fixed width
9537         columns.
9538
9539 2002-11-17  John Levon  <levon@movementarian.org>
9540
9541         * BufferView_pimpl.C:
9542         * lyx_cb.C:
9543         * lyxfunc.C: split filedialog into open/save
9544
9545 2002-11-08  Juergen Vigna  <jug@sad.it>
9546
9547         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9548         by my last patch (hopefully).
9549
9550 2002-11-08  John Levon  <levon@movementarian.org>
9551
9552         * iterators.h:
9553         * iterators.C:
9554         * buffer.h:
9555         * buffer.C:
9556         * paragraph.h:
9557         * paragraph.C:
9558         * toc.h:
9559         * toc.C: ParConstIterator, and use it (from Lars)
9560
9561 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9562
9563         * lyxtextclass.[Ch]: revise and add doxygen comments
9564
9565 2002-11-07  John Levon  <levon@movementarian.org>
9566
9567         * text.C: fix progress value for spellchecker
9568
9569         * toc.C: fix navigate menu for insetwrap inside minipage
9570
9571         * paragraph_funcs.C: added FIXME for suspect code
9572
9573 2002-11-07  John Levon  <levon@movementarian.org>
9574
9575         * BufferView_pimpl.C: fix redrawing of insets
9576           on buffer switch
9577
9578 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9579
9580         * text2.C (updateCounters): fix bug 668
9581
9582 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9583
9584         * text3.C (dispatch): Do not make the buffer dirty when moving the
9585         cursor.
9586
9587 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9588
9589         * vc-backend.C: STRCONV
9590         (scanMaster): ditto
9591
9592         * text2.C (setCounter): STRCONV
9593
9594         * paragraph.C (asString): STRCONV
9595
9596         * lyxlength.C (asString): STRCONV
9597         (asLatexString): ditto
9598
9599         * lyxgluelength.C (asString): STRCONV
9600         (asLatexString): ditto
9601
9602         * lyxfunc.C (dispatch): STRCONV
9603         (open): ditto
9604
9605         * lyxfont.C (stateText): STRCONV
9606
9607         * importer.C (Import): STRCONV
9608
9609         * counters.C (labelItem): STRCONV
9610         (numberLabel): ditto
9611         (numberLabel): remove unused ostringstream o
9612
9613         * chset.C: STRCONV
9614         (loadFile): ditto
9615
9616         * bufferview_funcs.C (currentState): STRCONV
9617
9618         * buffer.C (readFile): STRCONV
9619         (asciiParagraph): ditto
9620         (makeLaTeXFile): ditto
9621
9622         * Spacing.C (writeEnvirBegin): STRCONV
9623
9624         * LaTeXFeatures.C (getLanguages): STRCONV
9625         (getPackages): ditto
9626         (getMacros): ditto
9627         (getBabelOptions): ditto
9628         (getTClassPreamble): ditto
9629         (getLyXSGMLEntities): ditto
9630         (getIncludedFiles): ditto
9631
9632         * LaTeX.C: STRCONV
9633         (run): ditto
9634         (scanAuxFile): ditto
9635         (deplog): ditto
9636
9637         * LString.h: add the STRCONV macros
9638
9639         * BufferView_pimpl.C (savePosition): STRCONV
9640         (restorePosition): ditto
9641         (MenuInsertLyXFile): ditto
9642
9643         * vc-backend.C (scanMaster): change from submatch[...] to
9644         submatch.str(...)
9645
9646         * funcrequest.C: include config.h
9647
9648         * factory.C: include config.h
9649
9650         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9651
9652         * box.C: include config.h
9653
9654         * LaTeX.C (scanAuxFile): change from submatch[...] to
9655         submatch.str(...)
9656         (deplog): ditto
9657
9658 2002-10-25  Angus Leeming  <leeming@lyx.org>
9659
9660         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9661
9662         * ispell.[Ch] (setError): new method.
9663         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9664         Use setError() insetead of goto END.
9665
9666         * lyx_cb.C (AutoSave): move out child process into new class
9667         AutoSaveBuffer.
9668
9669 2002-10-30  John Levon  <levon@movementarian.org>
9670
9671         * text3.C: make start appendix undoable
9672
9673 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9674
9675         * lyxlength.C (inPixels): Fix returned value.
9676
9677         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9678         environment.
9679
9680 2002-10-24  Angus Leeming  <leeming@lyx.org>
9681
9682         * lyxgluelength.h: no need to forward declare BufferParams
9683         or BufferView, so don't.
9684
9685 2002-10-21  John Levon  <levon@movementarian.org>
9686
9687         * BufferView.C: menuUndo ->undo, redo
9688
9689         * BufferView.h: document, remove dead, make some methods private
9690
9691         * paragraph_funcs.h:
9692         * paragraph_funcs.C:
9693         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9694
9695         * buffer.h:
9696         * buffer.C:
9697         * sgml.h:
9698         * sgml.C: move sgml open/close tag into sgml.C
9699
9700         * bufferview_funcs.h: unused prototype
9701
9702         * lyxfunc.h:
9703         * lyxfunc.C: remove unused
9704
9705         * lyxtext.h:
9706         * text.C: remove unused
9707
9708 2002-10-21  John Levon  <levon@movementarian.org>
9709
9710         * BufferView.h:
9711         * BufferView.C:
9712         * BufferView_pimpl.h:
9713         * BufferView_pimpl.C: fix mouse wheel handling based on
9714           patch from Darren Freeman
9715
9716 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9717
9718         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9719
9720 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9721
9722         * lyxlength.C (inPixels): Fix hanfling of negative length.
9723         Fix LyXLength::MU case.
9724
9725 2002-10-16  John Levon  <levon@movementarian.org>
9726
9727         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9728
9729 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9730
9731         * converter.C (view): add support for $$i (file name) and $$p
9732         (file path) for the viewer command. If $$i is not specified, then
9733         it is appended to the command (for compatibility with old syntax)
9734
9735 2002-10-14  Juergen Vigna  <jug@sad.it>
9736
9737         * undo_funcs.C (textHandleUndo): alter the order in which the
9738         new undopar is added to the LyXText, as we have to set first
9739         the right prev/next and then add it as otherwise the rebuild of
9740         LyXText is not correct. Also reset the cursor to the right paragraph,
9741         with this IMO we could remove the hack in "redoParagraphs()".
9742
9743 2002-10-09  Angus Leeming  <leeming@lyx.org>
9744
9745         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9746         to turn off an optimisation if a new inset is to be inserted.
9747
9748 2002-10-11 André Pönitz <poenitz@gmx.net>
9749
9750         * lyxtext.h: make some functions public to allow access
9751         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9752
9753 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9754
9755         * text3.C (dispatch): when changing layout, avoid an infinite loop
9756         [bug #652]
9757
9758 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9759
9760         * lyxrc.C (read): treat a viewer or converter command of "none" as
9761         if it were empty.
9762
9763         * MenuBackend.C (expandFormats): for an update, also allow the
9764         formats that are not viewable
9765
9766         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9767         script if it is newer than the lyxrc.defaults in user directory
9768
9769 2002-10-07 André Pönitz <poenitz@gmx.net>
9770
9771         * text.C: Vitaly Lipatov's small i18n fix
9772
9773 2002-09-25  Angus Leeming  <leeming@lyx.org>
9774
9775         * ispell.h: doxygen fix.
9776
9777 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9778
9779         * buffer.h (readFile): Add a new argument to the method, to allow
9780         reading of old-format templates.
9781
9782 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9783
9784         * toc.C (getTocList): Get TOC from InsetWrap.
9785
9786 2002-09-16  John Levon  <levon@movementarian.org>
9787
9788         * lyxfunc.C: check tabular for cut/copy too
9789
9790 2002-09-12  John Levon  <levon@movementarian.org>
9791
9792         * LyXAction.C: tidy
9793
9794         * factory.h:
9795         * factory.C: add header
9796
9797         * paragraph_funcs.h:
9798         * paragraph_funcs.C: cleanup
9799
9800 2002-09-11  John Levon  <levon@movementarian.org>
9801
9802         * PrinterParams.h: odd/even default to true
9803
9804 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9805
9806         * PrinterParams.h: update printer parameters for new xforms dialog
9807
9808 2002-09-11  Angus Leeming  <leeming@lyx.org>
9809
9810         * lyxserver.C (read_ready): re-write to make it more transparent
9811         and to make it work in coherent fashion under Tru64 Unix.
9812
9813 2002-09-11  André Pönitz <poenitz@gmx.net>
9814
9815         * commandtags.h:
9816         * LyXAction.C:
9817         * text3.C: implement LFUN_WORDSEL
9818
9819 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9820
9821         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9822         make floatlist_ a boost::shared_ptr<FloatList>
9823
9824         * lyxtextclass.C: include FloatList.h
9825         (LyXTextClass): initialize floatlist_
9826         (TextClassTags): add TC_NOFLOAT
9827         (Read): match "nofloat" to TC_NOFLOAT and use it.
9828         (readFloat): modify call to floatlist_
9829         (floats): ditto
9830         (floats): ditto
9831
9832         * FloatList.[Ch] (FloatList): remove commented out float
9833         initialization.
9834         (erase): new function
9835
9836 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9837
9838         * MenuBackend.C (expandToc): fix crash when there is no document
9839         open
9840
9841 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9842
9843         * many files: Add insetwrap.
9844
9845 2002-09-09  John Levon  <levon@movementarian.org>
9846
9847         * text2.C: remove confusing and awkward depth wraparound
9848
9849 2002-09-09  John Levon  <levon@movementarian.org>
9850
9851         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9852
9853         * buffer.h:
9854         * buffer.C: remove getIncludeonlyList()
9855
9856         * paragraph.C:
9857         * lyxfunc.C: remove headers
9858
9859 2002-09-09  Juergen Vigna  <jug@sad.it>
9860
9861         * text.C (getColumnNearX): fix form Michael this is most
9862         probably a cut&paste bug.
9863
9864 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9867
9868         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9869         references, ws changes.
9870
9871         * text2.C (init): update counters after init
9872         (insertParagraph): no need to set counter on idividual paragraphs.
9873         (setCounter): access the counters object in the textclass object
9874         on in the buffer object.
9875         (updateCounters): ditto
9876
9877         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9878         shared_ptr<Counters> to avoid loading counters.h in all
9879         compilation units.
9880         (LyXTextClass): initialize ctrs_
9881         (TextClassTags): add TC_COUNTER, and ...
9882         (Read): use it here.
9883         (CounterTags): new tags
9884         (readCounter): new function
9885         (counters): new funtion
9886         (defaultLayoutName): return a const reference
9887
9888         * counters.C (Counters): remove contructor
9889         (newCounter): remove a couple of unneeded statements.
9890         (newCounter): simplify a bit.
9891         (numberLabel): some small formatting changes.
9892
9893         * buffer.[Ch]: remove all traces of counters, move the Counters
9894         object to the LyXTextClass.
9895
9896 2002-09-06  Alain Castera  <castera@in2p3.fr>
9897
9898         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9899         package to set the horizontal alignment on fixed width columns.
9900
9901         * lyx_sty.C:
9902         * lyx_sty.h: added tabularnewline macro def.
9903
9904         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9905
9906 2002-09-06  John Levon  <levon@movementarian.org>
9907
9908         * LyXAction.C: tooltips for sub/superscript
9909
9910         * MenuBackend.C: a bit more verbose
9911
9912         * lyxfunc.C: tiny clean
9913
9914         * undo_funcs.C: document undo_frozen
9915
9916 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9917
9918         * counters.C (Counters): add missing algorithm counter.
9919
9920         * text2.C (setCounter): lookup the counter with layouts latexname
9921         instead of by section number.
9922         (setCounter): use a hackish way to lookup the correct enum
9923         counter.
9924         a float name->type change
9925         reset enum couners with counter name directly instead of depth value.
9926
9927         * counters.C (Counters): remove the push_backs, change to use the
9928         float type not the float name.
9929         (labelItem): remove unused string, float name->type change
9930
9931         * counters.h: don't include vector, loose the enums and sects vectors
9932
9933 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9934
9935         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9936         (Read): add float->TC_FLOAT to textclassTags
9937         (Read): and handle it in the switch
9938         (readFloat): new function
9939
9940         * FloatList.C (FloatList): comment out the hardcoded float
9941         definitions.
9942
9943         * lyxlayout.h: ws change.
9944
9945 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9946
9947         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9948
9949 2002-09-03  Angus Leeming  <leeming@lyx.org>
9950
9951         * BufferView_pimpl.h: qualified name is not allowed in member
9952         declaration: WorkArea & Pimpl::workarea() const;
9953
9954         * factory.C: added using std::endl directive.
9955
9956         * text3.C: added using std::find and std::vector directives.
9957
9958 2002-08-29  André Pönitz <poenitz@gmx.net>
9959
9960         * lyxtext.h:
9961         * text2.C: remove unused member number_of_rows
9962
9963         * Makefile.am:
9964         * BufferView2.C: remove file, move contents to...
9965         * BufferView.C: ... here
9966
9967         * BufferView_pimpl.C:
9968         * factory.C: move more inset creation to factory
9969
9970         * vspace.C: avoid direct usage of LyXText, ws changes
9971
9972         * BufferView.[Ch]:
9973                 don't provide direct access to WorkArea, use two simple
9974                 acessors haveSelction() and workHeight() instead
9975
9976
9977 2002-08-29  John Levon  <levon@movementarian.org>
9978
9979         * BufferView_pimpl.C (dispatch): do not continue when
9980           no buffer
9981
9982 2002-08-28  André Pönitz <poenitz@gmx.net>
9983
9984         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9985
9986         * BufferView.h:
9987         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9988
9989 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9990
9991         * buffer.C: increment LYX_FORMAT to 221
9992
9993         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9994         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9995
9996         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9997
9998         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9999
10000 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10001
10002         * factory.C (createInset): use LyXTextClass::floats
10003
10004         * MenuBackend.C (expandFloatListInsert):
10005         (expandFloatInsert):
10006         (expandToc):
10007
10008         * text2.C (setCounter):
10009
10010         * LaTeXFeatures.C (useFloat):
10011         (getFloatDefinitions):
10012
10013         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10014
10015         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10016         floatlist_, with accessor floats().
10017
10018         * FloatList.h: remove global FloatList
10019
10020 2002-08-26  André Pönitz <poenitz@gmx.net>
10021
10022         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10023
10024         * BufferView.h:
10025         * BufferView2.C:
10026         * BufferView_pimpl.C:
10027         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10028
10029 2002-08-25  John Levon  <levon@movementarian.org>
10030
10031         * LyXAction.C: fix margin note description
10032
10033 2002-08-24  John Levon  <levon@movementarian.org>
10034
10035         * buffer.C:
10036         * bufferlist.C:
10037         * bufferview_funcs.C:
10038         * lyxfont.C:
10039         * undo_funcs.C: cleanups
10040
10041         * lyxfunc.C: disable CUT/COPY when no selection
10042
10043 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10044
10045         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10046         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10047
10048         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10049         Add backward compatibility to "mono", "gray" and "no".
10050
10051 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10052
10053         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10054         (and file_format >= 200).
10055
10056 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10059
10060 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10063
10064 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10065
10066         * BufferView_pimpl.C:
10067         * LyXAction.C:
10068         * buffer.C:
10069         * commandtags.h:
10070         * lyxfunc.C:
10071         * paragraph.[Ch]:
10072         * text2.C:
10073         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10074         inset and code to make it  work with the paragraph code. The inset
10075         can be anywhere in the paragraph, but will only do the expected
10076         thing in LaTeX if the layout file contains the parameter line
10077                         OptionalArgs    1
10078         (or more generally, a nonzero value) for that layout.
10079
10080 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10081
10082         * paragraph.h: remove the declaration of undefined counters class
10083         function.
10084
10085 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10086
10087         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10088         Dr. Richard Hawkins.
10089
10090 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * paragraph_funcs.h: remove some unneeded includes
10093
10094         * text.C (backspace): pasteParagraph now in global scipe
10095
10096         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10097         (pasteSelection): ditto
10098
10099         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10100         * paragraph_funcs.C (pasteParagraph): ... here
10101
10102 2002-08-20  André Pönitz <poenitz@gmx.net>
10103
10104         * commandtags.h: new LFUNs for swapping/copying table row/colums
10105
10106         * LyXAction.C:
10107         * lyxfunc.C: support for new lfuns
10108
10109 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10110
10111         * tabular.C:
10112         * buffer.[Ch]: remove NO_COMPABILITY stuff
10113
10114 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * boost.C (throw_exception): new file, with helper function for
10117         boost compiled without exceptions.
10118
10119         * paragraph.h:
10120         * lyxlength.C:
10121         * buffer.C:
10122         * ParameterStruct.h:
10123         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10124
10125         * bufferlist.C (emergencyWriteAll): use boost bind
10126
10127         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10128
10129         * text.C: include paragraph_funcs.h
10130         (breakParagraph): breakParagraph is now in global scope
10131
10132         * paragraph_funcs.[Ch]: new files
10133
10134         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10135         global scope
10136
10137         * buffer.C: include paragraph_funcs.h
10138         (insertStringAsLines): breakParagraph is now in global scope
10139
10140         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10141         paragraph_funcs.C
10142
10143         * CutAndPaste.C: include paragraph_funcs.h
10144         (cutSelection): breakParagraphConservative is now in global scope
10145         (pasteSelection): ditto
10146
10147         * buffer.h: declare oprator== and operator!= for
10148         Buffer::inset_iterator
10149
10150         * bufferlist.C (emergencyWrite): don't use fmt(...)
10151
10152         * text3.C: add using std::endl
10153
10154         * BufferView.C (moveCursorUpdate): remove default arg
10155
10156 2002-08-20  André Pönitz <poenitz@gmx.net>
10157
10158         * buffer.[Ch]: move inline functions to .C
10159
10160         * BufferView2.C:
10161         * BufferView_pimpl.C:
10162         * text.C:
10163         * buffer.[Ch]: use improved inset_iterator
10164
10165         * buffer.C:
10166         * paragraph.[Ch]: write one paragraph at a time
10167
10168 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10169
10170         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10171         style if style is not specified.
10172
10173 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * text2.C (setCounter): when searching for right label for a
10176         caption, make sure to recurse to parent insets (so that a caption
10177         in a minipage in a figure float works) (bug #568)
10178
10179 2002-08-20  André Pönitz <poenitz@gmx.net>
10180
10181         * text3.C: new file for LyXText::dispatch() and helpers
10182
10183         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10184
10185         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10186
10187 2002-08-19  André Pönitz <poenitz@gmx.net>
10188
10189         * lyxtext.h:
10190         * text.C: new LyXText::dispatch()
10191
10192         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10193
10194 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10195
10196         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10197
10198         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10199         Hebrew text.
10200
10201 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * Makefile.am: use $(variables) instead of @substitutions@
10204
10205 2002-08-15  André Pönitz <poenitz@gmx.net>
10206
10207         * lyxfunc.C:
10208         * BufferView_pimpl.C: streamlining mathed <-> outer world
10209         interaction
10210
10211         * commandtags.h:
10212         * LyXAction.C: remove unused LFUN_MATH
10213
10214 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10215
10216         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10217
10218 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10219
10220         * paragraph.C (Paragraph): reformat a bit
10221         (cutIntoMinibuffer): use builtin InsetList function instad of
10222         doing it manually.
10223         (getInset): ditto
10224
10225         * buffer.C: include boost/bind.hpp, add using std::for_each
10226         (writeFileAscii): use ParagraphList iterators
10227         (validate): use for_each for validate traversal of paragraphs
10228         (getBibkeyList): use ParagraphList iterators
10229         (resizeInsets): use for_each to resizeInsetsLyXText for all
10230         paragraphs.
10231         (getParFromID): use ParagraphList iterators
10232
10233         * BufferView2.C (lockInset): use paragraph list and iterators
10234
10235 2002-08-14  John Levon  <levon@movementarian.org>
10236
10237         * lyxserver.C: remove spurious xforms include
10238
10239 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10242
10243 2002-08-13  André Pönitz <poenitz@gmx.net>
10244
10245         * LyXAction.[Ch]:
10246         * lyxfunc.C: further cleaning
10247
10248 2002-08-13  André Pönitz <poenitz@gmx.net>
10249
10250         * funcrequest.h: new constructor
10251
10252         * funcrequest.C: move stuff here from .h
10253
10254         * Makefile.am:
10255         * BufferView_pimpl.C:
10256         * LyXAction.C:
10257         * toc.C:
10258         * lyxfunc.C: subsequent changes
10259
10260         * lyxfunc.h: new view() member function
10261
10262         * lyxfunc.C: subsequent changes
10263
10264 2002-08-13  Angus Leeming  <leeming@lyx.org>
10265
10266         * BufferView2.C:
10267         * BufferView_pimpl.C:
10268         * buffer.C:
10269         * converter.C:
10270         * importer.C:
10271         * lyxfunc.C:
10272         * lyxvc.C:
10273         * toc.C:
10274         * vc-backend.C:
10275         changes due to the changed LyXView interface that now returns references
10276         to member variables not pointers.
10277
10278 2002-08-13  Angus Leeming  <leeming@lyx.org>
10279
10280         * WordLangTuple (word, lang_code): return references to strings,
10281         not strings.
10282
10283         * BufferView.h:
10284         * SpellBase.h:
10285         * lyxtext.h: forward-declare WordLangTuple.
10286
10287         * BufferView2.C:
10288         * ispell.C:
10289         * pspell.C:
10290         * text.C: #include "WordLangTuple.h".
10291
10292         * lyxtext.h:
10293         * text.C: (selectNextWordToSpellcheck): constify return type.
10294
10295 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10296
10297         * buffer.C:
10298         * buffer.h:
10299         * lyxtext.h:
10300         * paragraph.C:
10301         * paragraph_pimpl.h:
10302         * text.C:
10303         * text2.C:
10304         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10305         suggested by Angus.
10306         Made updateCounter always count from start of buffer, and removed
10307         second argument (par).
10308         Reverted floats number display to '#'. Perhaps I'll try again when the
10309         code base is sanitized a bit.
10310
10311 2002-08-12  Angus Leeming  <leeming@lyx.org>
10312
10313         * buffer.[Ch] (getLabelList): constify.
10314
10315 2002-08-07  André Pönitz <poenitz@gmx.net>
10316
10317         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10318
10319         * funcrequest.h: extension to keep mouse (x,y) position
10320
10321 2002-08-12  Juergen Vigna  <jug@sad.it>
10322
10323         * BufferView2.C (insertErrors): forbid undo when inserting error
10324         insets.
10325
10326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10327
10328 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10329
10330         * ParagraphList.[Ch]: new files
10331
10332         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10333
10334         * BufferView2.C (lockInset): ParagraphList changes
10335         * toc.C: ditto
10336         * text2.C: ditto
10337         * bufferlist.C: ditto
10338         * buffer.h: ditto
10339         * buffer.C: ditto
10340
10341 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10342
10343         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10344         unused class variable counter_,
10345
10346         * paragraph.[Ch] (getFirstCounter): delete unused function
10347
10348         * counters.C: include LAssert.h
10349         (reset): add a new function with no arg, change other version to
10350         not have def. arg and to not allow empty arg.
10351
10352         * text2.C (setCounter): remove empty arg from call to Counters::reset
10353
10354 2002-08-11  John Levon  <levon@movementarian.org>
10355
10356         * Makefile.am: add WordLangTuple.h
10357
10358 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10359
10360         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10361         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10362
10363         * insets/insettext.C: InsetList changes
10364
10365         * graphics/GraphicsSupport.C (operator()): InsetList changes
10366
10367         * toc.C (getTocList): InsetList changes
10368
10369         * paragraph_pimpl.[Ch]: InsetList changes
10370
10371         * paragraph.[Ch]: InsetList changes
10372
10373         * buffer.C (inset_iterator): InsetList changes
10374         (setParagraph): ditto
10375         * buffer.h (inset_iterator): ditto
10376         * iterators.C (operator++): ditto
10377         * iterators.h: ditto
10378
10379         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10380
10381         * InsetList.[Ch]: new files, most InsetList handling moved out of
10382         paragraph.C.
10383
10384         * BufferView2.C (removeAutoInsets): InsetList changes
10385         (lockInset): ditto
10386         (ChangeInsets): ditto
10387
10388 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10389
10390         * paragraph_pimpl.h (empty): new function
10391
10392         * paragraph.[Ch] (empty): new function
10393
10394         * other files: use the new Paragraph::empty function
10395
10396 2002-08-09  John Levon  <levon@movementarian.org>
10397
10398         * lyxtext.h: remove unused refresh_height
10399
10400 2002-08-09  John Levon  <levon@movementarian.org>
10401
10402         * Makefile.am:
10403         * sgml.h:
10404         * sgml.C:
10405         * buffer.C:
10406         * paragraph.h:
10407         * paragraph.C: move sgml char escaping out of paragraph
10408
10409         * paragraph.h:
10410         * paragraph.C: remove id setter
10411
10412         * buffer.C:
10413         * paragraph.C:
10414         * paragraph_pimpl.C: remove dead tex_code_break_column
10415
10416         * bufferview_funcs.C: small cleanup
10417
10418         * lyxfunc.C: remove dead proto
10419
10420         * lyxtext.h: make some stuff private. Remove some dead stuff.
10421
10422         * lyxgluelength.C: make as[LyX]String() readable
10423
10424 2002-08-08  John Levon  <levon@movementarian.org>
10425
10426         * LyXAction.h:
10427         * LyXAction.C:
10428         * MenuBackend.C:
10429         * ToolbarDefaults.C:
10430         * lyxfunc.C:
10431         * lyxrc.C:
10432         * toc.C: lyxaction cleanup
10433
10434 2002-08-08  John Levon  <levon@movementarian.org>
10435
10436         * BufferView2.C: small cleanup
10437
10438         * lyxfind.h:
10439         * lyxfind.C: move unnecessary header into the .C
10440
10441 2002-08-08  John Levon  <levon@movementarian.org>
10442
10443         * funcrequest.h: just tedious nonsense
10444
10445         * lyx_main.h:
10446         * lyx_main.C: cleanups
10447
10448         * buffer.C:
10449         * vspace.C: remove dead header lyx_main.h
10450
10451 2002-08-07  Angus Leeming  <leeming@lyx.org>
10452
10453         * Paragraph.[Ch]:
10454         * paragraph_pimpl.h:
10455         Forward declare class Counters in paragraph.h by moving the ctrs member
10456         variable into Paragraph::Pimpl.
10457         (counters): new method, returning a reference to pimpl_->ctrs.
10458
10459         * text2.C: ensuing changes.
10460
10461 2002-08-07  John Levon  <levon@movementarian.org>
10462
10463         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10464
10465         * BufferView_pimpl.C: announce X selection on double/triple
10466           click
10467
10468         * lyx_main.C: use correct bool in batch dispatch
10469
10470         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10471
10472 2002-08-07  André Pönitz <poenitz@gmx.net>
10473
10474         * funcrequest.h: new class to wrap a kb_action and its argument
10475
10476         * BufferView.[Ch]:
10477         * BufferView_pimpl[Ch]:
10478         * LaTeX.C:
10479         * LyXAction.[Ch]:
10480         * lyxfunc.[Ch]:
10481         * lyxrc.C: subsequent changes
10482
10483
10484 2002-08-07  John Levon  <levon@movementarian.org>
10485
10486         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10487           document options change.
10488
10489 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10490
10491         * counters.[Ch]
10492         * text2.C
10493         * paragraph.[Ch]
10494         * makefile.am: move counters functionality over from
10495         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10496
10497 2002-08-06  John Levon  <levon@movementarian.org>
10498
10499         * WordLangTuple.h: new file for word + language code tuple
10500
10501         * SpellBase.h:
10502         * pspell.h:
10503         * pspell.C:
10504         * ispell.h:
10505         * ispell.C:
10506         * lyxtext.h:
10507         * text.C:
10508         * text2.C:
10509         * BufferView.h:
10510         * BufferView2.C: use WordLangTuple
10511
10512         * layout.h:
10513         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10514
10515 2002-08-06  John Levon  <levon@movementarian.org>
10516
10517         * lyx_main.C: fix cmdline batch handling
10518
10519 2002-08-06  André Pönitz <poenitz@gmx.net>
10520
10521         * lyxrc.C: set default for show_banner to true
10522
10523 2002-08-06  John Levon  <levon@movementarian.org>
10524
10525         * pspell.C: fix a crash, and allow new aspell to work
10526
10527 2002-08-06  John Levon  <levon@movementarian.org>
10528
10529         * lyxfunc.C:
10530         * kbmap.C: small cleanup
10531
10532         * vspace.h:
10533         * vspace.C: add const
10534
10535 2002-08-05  John Levon  <levon@movementarian.org>
10536
10537         * LyXAction.C: back to tabular-insert
10538
10539 2002-08-04  John Levon  <levon@movementarian.org>
10540
10541         * BufferView.h:
10542         * BufferView.C: cosmetic change
10543
10544         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10545
10546         * bufferlist.C:
10547         * buffer.h:
10548         * buffer.C:
10549         * lyxcb.h:
10550         * lyxcb.C:
10551         * lyxserver.C:
10552         * lyxvc.C:
10553         * vc-backend.C:
10554         * BufferView2.C: purge all "Lyx" not "LyX" strings
10555
10556         * lyxcursor.h:
10557         * lyxcursor.C: attempt to add some documentation
10558
10559         * lyxfunc.C:
10560         * commandtags.h:
10561         * LyXAction.C:
10562         * ToolbarDefaults.C:
10563         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10564           merge with LFUN_TABULAR_INSERT
10565
10566         * Makefile.am:
10567         * SpellBase.h:
10568         * ispell.h:
10569         * ispell.C:
10570         * pspell.h:
10571         * pspell.C: split up i/pspell implementations into separate
10572           files, many cleanups
10573
10574         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10575
10576         * text2.C: some cleanup
10577
10578         * lyxfunc.C: don't check for isp_command == "none" any more, it
10579           didn't make any sense
10580
10581 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10582
10583         * counters.[Ch]
10584         * text2.C
10585         * paragraph.[Ch]
10586         * makefile.am: move counters functionality over
10587         from text2.C/paragraph.[Ch] to counters.[Ch], and
10588         make proper C++.
10589 2002-08-02  John Levon  <levon@movementarian.org>
10590
10591         * buffer.C: s/lyxconvert/lyx2lyx/
10592
10593 2002-08-02  Angus Leeming  <leeming@lyx.org>
10594
10595         * lyxlex.C: revert John's change as it breaks reading of the user
10596         preamble.
10597
10598 2002-08-02  Angus Leeming  <leeming@lyx.org>
10599
10600         * importer.C (Import):
10601         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10602         changes due to LyXView::view() now returning a boost::shared_ptr.
10603
10604 2002-08-02  John Levon  <levon@movementarian.org>
10605
10606         * lyxlex.C: small cleanup
10607
10608 2002-08-02  John Levon  <levon@movementarian.org>
10609
10610         * text2.C (status): small cleanup, no logic change
10611
10612 2002-08-01  John Levon  <levon@movementarian.org>
10613
10614         * buffer.h:
10615         * buffer.C (writeFile): don't output alerts, caller
10616           handles this
10617
10618         * bufferlist.C:
10619         * lyx_cb.C: from above
10620
10621         * lyxfunc.C: allow to open non-existent files
10622
10623 2002-07-31  John Levon  <levon@movementarian.org>
10624
10625         * lyxserver.C: don't let incidental errors get
10626           in the way (errno)
10627
10628 2002-07-30  John Levon  <levon@movementarian.org>
10629
10630         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10631
10632 2002-07-30  John Levon  <levon@movementarian.org>
10633
10634         * lyxserver.h:
10635         * lyxserver.C: remove I/O callback too
10636
10637 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10638
10639         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10640         log.
10641
10642 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10643
10644         * many files: strip,frontStrip -> trim,ltrim,rtrim
10645
10646 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10647
10648         * PrinterParams.h: remove extern containsOnly, and include
10649         support/lstrings.h instead.
10650
10651         * LaTeX.C (scanAuxFile): modify because of strip changes
10652         (deplog): ditto
10653         * buffer.C (makeLaTeXFile): ditto
10654         * bufferparams.C (writeFile): ditt
10655         * lyxfont.C (stateText): ditto
10656         * lyxserver.C (read_ready): ditto
10657         * vc-backend.C (scanMaster): ditto
10658
10659         * BufferView_pimpl.h: ws changes
10660
10661         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10662
10663 2002-07-26  André Pönitz <poenitz@gmx.net>
10664
10665         * kb_sequence.C: remove unnedred usings
10666
10667 2002-07-26  Juergen Vigna  <jug@sad.it>
10668
10669         * lyxfind.C (LyXReplace): we have to check better if the returned
10670         text is not of theLockingInset()->getLockingInset().
10671
10672 2002-07-25  Juergen Vigna  <jug@sad.it>
10673
10674         * lyxfind.C (LyXReplace): don't replace if we don't get the
10675         right LyXText.
10676
10677         * undo_funcs.C (createUndo): remove debugging code.
10678
10679 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * buffer.C (parseSingleLyXformat2Token): Use default placement
10682         when reading old floats.
10683
10684         * FloatList.C (FloatList): Change the default placement of figure
10685         and tables to "tbp".
10686
10687 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * MenuBackend.C: using std::max
10690
10691 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * MenuBackend.C (expandToc):
10694         (expandToc2): code moved from xforms menu frontend. It is now
10695         generic and TOCs are transparent to menu frontends.
10696
10697 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * toc.C (getTocList): protect against buf=0
10700
10701         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10702         Menu as first parameter. Now, this calls itself recursively to
10703         expand a whole tree (this will be useful for TOC handling)
10704         (expandFloatInsert): remove 'wide' version of floats
10705
10706         * MenuBackend.h (submenuname): returns the name of the submenu.
10707         (submenu): returns the submenu itself, provided it has been
10708         created by MenuBackend::expand
10709
10710 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10713         insets which have noFontChange == true. (bug #172)
10714
10715 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * BufferView_pimpl.C: add connection objects and use them...
10718         (Pimpl): here.
10719
10720 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * MenuBackend.C (expandLastfiles):
10723         (expandDocuments):
10724         (expandFormats):
10725         (expandFloatListInsert):
10726         (expandFloatInsert):
10727         (expand): split expand in parts
10728
10729 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10730
10731         * lyx_gui.C: use lyx_gui::exit()
10732
10733 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * LyXAction.C: show the failing pseudo action
10736
10737 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * buffer.C (readFile): Run the lyxconvert script in order to read
10740         old files.
10741
10742 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * LyXAction.C:
10745         * commandtags.h:
10746         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10747
10748 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * LyXAction.C:
10751         * commandtags.h:
10752         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10753
10754 2002-07-22  Herbert Voss  <voss@lyx.org>
10755
10756         * lengthcommon.C:
10757         * lyxlength.[Ch]: add support for the vertical lengths
10758
10759 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * toc.[Ch]: std:: fixes
10762
10763 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * lyxrc.C: do not include lyx_main.h
10766
10767         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10768         for layouts
10769
10770         * lyxrc.C:
10771         * encoding.C:
10772         * bufferlist.C:
10773         * BufferView2.C: include "lyxlex.h"
10774
10775         * tabular.h:
10776         * bufferparams.h: do not #include "lyxlex.h"
10777
10778         * lyxtextclasslist.C (Add): remove method
10779         (classlist): renamed to classlist_
10780
10781         * paragraph_pimpl.C:
10782         * paragraph.C:
10783         * text2.C:
10784         * CutAndPaste.C:
10785         * bufferview_funcs.C:
10786         * bufferlist.C:
10787         * text.C:
10788         * LaTeXFeatures.C:
10789         * buffer.C:
10790         * toc.C (getTocList): use BufferParams::getLyXTextClass
10791
10792         * toc.C (getTocList): use InsetFloat::addToToc
10793
10794         * toc.[Ch]: new files, containing helper functions to handle table
10795         of contents
10796
10797         * lyxfunc.C (dispatch): no need to remove spaces around command
10798         given as a string
10799         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10800         first command of the sequence; it is not very clever, but I do not
10801         have a better idea, actually
10802
10803         * LyXAction.C (LookupFunc): make sure to remove space at the
10804         beginning and end of the command
10805
10806 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10807
10808         * MenuBackend.C (getMenubar): new method: return the menubar of
10809         this menu set
10810         (read): treat differently reading of menu and menubar (in
10811         particular, the menubar has no name now)
10812         (Menu::menubar): remove
10813
10814         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10815         saving is finished
10816
10817 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10818
10819         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10820         a bibitem inset in a RTL paragraph.
10821
10822 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * paragraph_pimpl.C: constify
10825
10826         * BufferView_pimpl.C:
10827         * LaTeX.C:
10828         * lyxfunc.C: fix dispatch in a nicer way
10829
10830 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * lyxfunc.C (dispatch):
10833         * BufferView_pimpl.C:
10834         * BufferView_pimpl.h:
10835         * BufferView.C:
10836         * BufferView.h: rename Dispatch() to dispatch()
10837
10838         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10839
10840         * lyxlayout.C (Read): honor DependsOn tag
10841
10842         * lyxlayout.[Ch] (depends_on): new method
10843
10844         * version.C.in: update lyx_docversion
10845
10846         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10847
10848         * paragraph.C (validate): remove from here...
10849         * paragraph_pimpl.C (validate): ... and move here
10850         (isTextAt): make it const
10851
10852         * buffer.C (getLists): ws cleanup
10853
10854 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * language.C (read): Use iso8859-1 encoding in latex_lang
10857         (this prevents LyX from crashing when using iso10646-1 encoding).
10858
10859 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * text2.C (toggleInset): if cursor is inside an inset, close the
10862         inset and leave cursor _after_ it
10863
10864 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * lyxfunc.C: move minibuffer completion handling out of here
10867
10868 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * BufferView_pimpl.C:
10871         * LaTeX.C: fix dispatch calls
10872
10873 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10874
10875         * text.C (drawChars): Fix Arabic text rendering.
10876
10877 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * LyXAction.C:
10880         * commandtags.h:
10881         * lyxfunc.C: remove message-push/pop
10882
10883         * lyxserver.C:
10884         * lyxfunc.h:
10885         * lyxfunc.C: rationalise some code by removing verboseDispatch
10886           in favour of a bool argument to dispatch()
10887
10888 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * lyx_main.C (init): make sure to read symlinks as absolute paths
10891
10892 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * lyxfunc.h:
10895         * lyxfunc.C: no need for commandshortcut to be a member
10896
10897 2002-07-15  André Pönitz <poenitz@gmx.net>
10898
10899         * converter.C: add support for $$s (scripts from lib/scripts dir)
10900         * lyx_main.C: white space
10901
10902 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * bufferlist.C:
10905         * lyxrc.h:
10906         * lyxrc.C: remove second exit confirmation
10907
10908 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * BufferView.h:
10911         * BufferView.C:
10912         * BufferView2.C:
10913         * BufferView_pimpl.h:
10914         * BufferView_pimpl.C:
10915         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10916
10917 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10918
10919         * MenuBackend.C (expand): add numeric shortcuts to document menu
10920
10921         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10922
10923 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * lyxfont.C (setLyXFamily):
10926         (setLyXSeries):
10927         (setLyXShape):
10928         (setLyXSize):
10929         (setLyXMisc):
10930         (lyxRead):
10931         * debug.C (value):
10932         * buffer.C (asciiParagraph): use ascii_lowercase
10933
10934 2002-07-15  Mike Fabian  <mfabian@suse.de>
10935
10936         * lyxlex_pimpl.C (search_kw):
10937         * lyxlex.C (getLongString):
10938         * converter.h (operator<):
10939         * converter.C (operator<):
10940         * buffer.C (parseSingleLyXformat2Token):
10941         (asciiParagraph):
10942         * ToolbarDefaults.C (read):
10943         * MenuBackend.C (checkShortcuts):
10944         (read):
10945         * LColor.C (getFromGUIName):
10946         (getFromLyXName): use the compare_ascii_no_case instead of
10947         compare_no_case, because in turkish, 'i' is not the lowercase
10948         version of 'I', and thus turkish locale breaks parsing of tags.
10949
10950 2002-07-16  Angus Leeming  <leeming@lyx.org>
10951
10952         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10953         now takes a Buffer const & argument.
10954
10955 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * BufferView.C (resize): check there's a buffer to resize
10958
10959 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * lyxfunc.C: remove dead code
10962
10963         * lyxserver.h:
10964         * lyxserver.C: use lyx_guii::set_read_callback
10965
10966 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10967
10968         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10969         an inset in a RTL paragraph.
10970
10971 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * lyxfunc.C: repaint after a font size update
10974
10975 2002-07-15  André Pönitz <poenitz@gmx.net>
10976
10977         * lyxlength.C: inBP should be able to return negative values
10978
10979 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * lyxfunc.C: use lyx_gui::update_fonts()
10982
10983 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * lyxfunc.C: use lyx_gui::update_color()
10986
10987 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * bufferlist.C:
10990         * lyxfunc.h:
10991         * lyxfunc.C:
10992         * lyxrc.h:
10993         * lyxrc.C: remove file->new asks for name option, and let
10994           buffer-new take an argument
10995
10996 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * BufferView_pimpl.C: remove unneeded extra repaint()
10999
11000 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * LyXAction.C: allow command-sequence with NoBuffer
11003
11004         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11005
11006 2002-07-10  Angus Leeming  <leeming@lyx.org>
11007
11008         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11009
11010 2002-07-09  Angus Leeming  <leeming@lyx.org>
11011
11012         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11013
11014 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * lengthcommon.h: whitespace
11017
11018         * lyxfunc.C: update scrollbar after goto paragraph
11019
11020         * lyxtext.h: factor out page break drawing, and fix it so
11021           page break/added space paints as selected nicely
11022
11023 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * BufferView_pimpl.C: add FIXMEs, clean up a little
11026
11027 2002-07-09  André Pönitz <poenitz@gmx.net>
11028
11029         * lyxfont.[Ch]: support for wasy symbols
11030
11031 2002-07-08  André Pönitz <poenitz@gmx.net>
11032
11033         * BufferView_pimpl.C: apply John's patch for #93.
11034
11035 2002-07-05  Angus Leeming  <leeming@lyx.org>
11036
11037         * BufferView_pimpl.C (buffer): generate previews if desired.
11038
11039         * LColor.h: add "preview" to the color enum.
11040
11041         * LColor.C (LColor): add a corresponding entry to the items array.
11042
11043         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11044         with this buffer.
11045
11046 2002-07-05  Angus Leeming  <leeming@lyx.org>
11047
11048         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11049         The body of the code is now in the method that is passed an ostream &
11050         rather than a file name.
11051         Pass an additional only_preamble parameter, useful for the forthcoming
11052         preview stuff.
11053
11054 2002-07-03  André Pönitz <poenitz@gmx.net>
11055
11056         * lyxfunc.C: simplify getStatus() a bit for math stuff
11057
11058 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11061
11062 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * text.C (changeRegionCase): do not change case of all the
11065         document when region ends at paragraph end (bug #461)
11066
11067 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * paragraph.C (startTeXParParams):
11070         (endTeXParParams): add \protect when necessary
11071
11072 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11073
11074         * BufferView_pimpl.C (workAreaExpose): remove warning
11075
11076 2002-06-27  Angus Leeming  <leeming@lyx.org>
11077
11078         * Makefile.am: add lyxlayout_ptr_fwd.h.
11079
11080 2002-06-26  André Pönitz <poenitz@gmx.net>
11081
11082         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11083
11084 2002-06-25  Angus Leeming  <leeming@lyx.org>
11085
11086         * lyxfunc.C (dispatch): Comment out the call to
11087         grfx::GCache::changeDisplay. The method no longer exists now that the
11088         pixmap generation part of the graphics loader has been moved into
11089         InsetGraphics.
11090
11091 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * text2.C: layout as layout
11094
11095         * text.C: layout as layout
11096
11097         * tabular.C (OldFormatRead): layout as layout
11098
11099         * paragraph_pimpl.C (TeXDeeper): layout as layout
11100         (realizeFont): layout as layout
11101
11102         * paragraph.C (writeFile): layout as layout
11103         (validate): layout as layout
11104         (getFont): layout as layout
11105         (getLabelFont): layout as layout
11106         (getLayoutFont): layout as layout
11107         (breakParagraph): layout as layout
11108         (stripLeadingSpaces): layout as layout
11109         (getEndLabel): layout as layout
11110         (getMaxDepthAfter): layout as layout
11111         (applyLayout): layout as layout
11112         (TeXOnePar): layout as layout
11113         (simpleTeXOnePar): layout as layout
11114         (TeXEnvironment): layout as layout
11115         (layout): layout as layout
11116         (layout): layout as layout
11117
11118         * lyxtextclass.C (compare_name): new functor to work with
11119         shared_ptr, layout as layout
11120         (Read): layout as layout
11121         (hasLayout): layout as layout
11122         (operator): layout as layout
11123         (delete_layout): layout as layout
11124         (defaultLayout): layout as layout
11125
11126         * lyxlayout_ptr_fwd.h: new file
11127
11128         * lyxlayout.C (Read): layout as layout
11129
11130         * lyx_cb.C (MenuInsertLabel): layout as layout
11131
11132         * bufferlist.C (newFile): layout as layout
11133
11134         * buffer.C (readLyXformat2): layout as layout
11135         (parseSingleLyXformat2Token): layout as layout
11136         (insertStringAsLines): layout as layout
11137         (asciiParagraph): layout as layout
11138         (latexParagraphs): layout as layout
11139         (makeLinuxDocFile): layout as layout
11140         (simpleLinuxDocOnePar): layout as layout
11141         (makeDocBookFile): layout as layout
11142         (simpleDocBookOnePar): layout as layout
11143         (getLists): layout as layout
11144
11145         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11146
11147         * CutAndPaste.C (cutSelection): layout as layout
11148         (pasteSelection): layout as layout
11149         (SwitchLayoutsBetweenClasses): layout as layout
11150
11151         * BufferView_pimpl.C (Dispatch): layout as layout
11152         (smartQuote): layout as layout
11153
11154         * BufferView2.C (unlockInset): layout as layout
11155
11156 2002-06-24  André Pönitz <poenitz@gmx.net>
11157
11158         * lyxfunc.C: fix #487
11159
11160 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyxrc.h:
11163         * lyxrc.C:
11164         * lyxfunc.C: remove display_shortcuts, show_banner
11165
11166 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * Buffer_pimpl.C: oops, update on resize
11169
11170 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * buffer.C:
11173         * converter.C:
11174         * exporter.C:
11175         * lyxfunc.C:
11176         * BufferView.h:
11177         * BufferView.C: use repaint()
11178
11179         * BufferView_pimpl.h:
11180         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11181           as it's a clearer description. Remove superfluous
11182           redraws.
11183
11184 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * text.C: fix bug 488. Not ideal, but getting
11187           getWord() to work properly for the insets that
11188           matter is more difficult ...
11189
11190 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * BufferView_pimpl.C:
11193         * LyXAction.C:
11194         * commandtags.h:
11195         * lyxfunc.C: remove the six million index lyxfuncs to just
11196           one, and DTRT (bug 458)
11197
11198 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * BufferView.h:
11201         * BufferView.C:
11202         * BufferView_pimpl.h:
11203         * BufferView_pimpl.C: clean up resize() stuff,
11204           and unnecessary updateScreen()s
11205
11206 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * BufferView.h:
11209         * BufferView.C:
11210         * BufferView_pimpl.h:
11211         * BufferView_pimpl.C:
11212         * lyxfind.h:
11213         * lyxfind.C:
11214         * minibuffer.C: remove focus management of workarea,
11215           not needed. Use screen's greyOut()
11216
11217 2002-06-17  Herbert Voss  <voss@lyx.org>
11218
11219         * converter.C: (convert) do not post a message, when converting
11220         fails, let the calling function decide what to do in this case
11221
11222 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * lyxfunc.C: tidy up a little
11225
11226 2002-06-16    <alstrup@diku.dk>
11227
11228         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11229         Got rid of FORMS_H_LOCATION include. Now we are
11230         GUII.
11231
11232 2002-06-15  LyX Development team  <lyx@rilke>
11233
11234         * buffer.[Ch] (sgmlOpenTag):
11235         (sgmlCloseTag): Added support for avoiding pernicious mixed
11236         content. Return number of lines written.
11237
11238         (makeLinuxDocFile):
11239         (makeDocBookFile): Fixed calls to sgml*Tag.
11240         Simple white space clean.
11241
11242         (simpleDocBookOnePar): Simple white space clean.
11243
11244         * tabular.[Ch] (docBook): Renamed to docbook and got another
11245         argument to related with the pernicious mixed content.
11246
11247         (docbookRow): Fixed calls for docbook inset method.
11248
11249 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11250
11251         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11252         so it's X11 independent.
11253
11254         * kb*.[Ch]: ditto.
11255
11256         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11257
11258 2002-06-15  Lyx Development team  <lyx@electronia>
11259
11260         * intl.h: Renamed getTrans to getTransManager.
11261
11262 2002-06-14  Angus Leeming  <leeming@lyx.org>
11263
11264         * Makefile.am: nuke forgotten stl_string_fwd.h.
11265
11266 2002-06-12  Angus Leeming  <leeming@lyx.org>
11267
11268         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11269
11270 2002-06-13  Angus Leeming  <leeming@lyx.org>
11271
11272         * LaTeX.C:
11273         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11274
11275 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11276
11277         * kbmap.C (getiso): add support for cyrillic and greek
11278
11279 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * BufferView.h:
11282         * BufferView.C:
11283         * BufferView_pimpl.h:
11284         * BufferView_pimpl.C: move bogus scrolling logic
11285           to xforms
11286
11287 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * lyxfunc.C:
11290         * BufferView_pimpl.C: view->resize() change
11291
11292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * BufferView_pimpl.C: topCursorVisible
11295           prototype change
11296
11297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * Makefile.am:
11300         * lyx_gui.h:
11301         * lyx_gui.C: move to frontends/
11302
11303         * main.C:
11304         * lyx_main.h:
11305         * lyx_main.C: changes from above
11306
11307 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * intl.C:
11310         * intl.h:
11311         * kbmap.C:
11312         * kbsequence.C:
11313         * lyx_cb.C:
11314         * lyx_main.C: minor tidy
11315
11316 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * BufferView_pimpl.h:
11319         * BufferView_pimpl.C:
11320         * BufferView.h:
11321         * BufferView.C: make painter() const,
11322           remove dead code
11323
11324         * BufferView2.C: use screen() accessor
11325
11326         * lyx_main.h:
11327         * lyx_main.C: some minor cleanup
11328
11329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * BufferView_pimpl.h:
11332         * BufferView_pimpl.C: remove enter/leaveView,
11333           use workHeight()
11334
11335 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * BufferView.h:
11338         * BufferView.C:
11339         * BufferView2.C:
11340         * BufferView_pimpl.h:
11341         * BufferView_pimpl.C: only construct screen once,
11342           rename
11343
11344         * lyxrc.C: remove pointless comment
11345
11346 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * BufferView.h:
11349         * BufferView.C: remove active() and belowMouse()
11350
11351         * BufferView_pimpl.h:
11352         * BufferView_pimpl.C: use workarea() not workarea_,
11353           and make it use a scoped_ptr instead
11354
11355 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * lyx_gui.C: add debug message on BadWindow
11358
11359 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * sp_spell.C: fdopen is not part of the C++ standard.
11362
11363         * paragraph.C (InsetIterator): use >= instead of ==
11364
11365 2002-06-07  Angus Leeming  <leeming@lyx.org>
11366
11367         Fixes needed to compile with Compaq cxx 6.5.
11368         * BufferView_pimpl.C:
11369         * DepTable.C:
11370         * buffer.C:
11371         * converter.C:
11372         * encoding.C:
11373         * lyx_gui.C:
11374         * lyx_main.C:
11375         * lyxtextclasslist.C:
11376         * minibuffer.C:
11377         * sp_spell.C:
11378         * tabular_funcs.C:
11379         * vc-backend.C:
11380         all c-library variables have been moved into namespace std. Wrap
11381         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11382
11383         * lyxlength.C:
11384         * tabular-old.C:
11385         * tabular.C:
11386         Add a using std::abs declaration.
11387
11388         * kbmap.h (modifier_pair):
11389         * paragraph.h (InsetTable, InsetList):
11390         * lyxfont.h (FontBits):
11391         type definition made public.
11392
11393         * bufferlist.C (emergencyWriteAll): the compiler complains that
11394         there is more than one possible lyx::class_fun template to choose from.
11395         I re-named the void specialisation as lyx::void_class_fun.
11396
11397         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11398
11399         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11400         the compiler is is unable to find tostr in write_attribute.
11401
11402 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * buffer.C (sgmlError): hide #warning
11405
11406 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * xtl/*: get rid of xtl, which is not in use anyway
11409
11410         * LyXAction.C (init):
11411         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11412         were unimplemented xtl experimentation
11413
11414 2002-06-04  André Pönitz <poenitz@gmx.net>
11415
11416         * lyxfunc.C: disable array operation on simple formulae
11417
11418 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * converter.C: constify a bit
11421
11422 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * lyx_gui.C: check xforms version correctly
11425
11426 2002-04-30  Herbert Voss  <voss@lyx.org>
11427
11428         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11429         "keep" option
11430
11431 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11434           attempt to register it with a VCS)
11435
11436 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * lyx_main.C (init): honor variables LYX_DIR_13x and
11439         LYX_USERDIR_13x
11440
11441 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * buffer.h:
11444         * buffer.C:
11445         * lyx_main.C: fix a crash on bad command line,
11446           and give a useful exit status on error
11447
11448         * lyxfunc.C (doImport): allow -i lyx to work
11449
11450 2002-03-30  André Pönitz <poenitz@gmx.net>
11451
11452         * lyxfunc.C: mathed font changes
11453
11454 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * LaTeX.C:
11457         * importer.h:
11458         * importer.C:
11459         * lyx_sty.h:
11460         * lyx_sty.C:
11461         * lyxlex.C:
11462         * lyxrow.h:
11463         * lyxtext.h:
11464         * paragraph.h:
11465         * paragraph.C:
11466         * texrow.h:
11467         * texrow.C:
11468         * text.C:
11469         * trans_mgr.h: srcdocs, and some minor cleanups
11470
11471 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11474         call getFont all the time)
11475
11476 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * switch from SigC signals to boost::signals
11479
11480 2002-05-29  André Pönitz <poenitz@gmx.net>
11481
11482         * paragraph_pimpl.C (getChar): don't call size() too often...
11483
11484 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * paragraph_pimpl.C (insertChar): do not try to update tables when
11487         appending (pos == size())
11488
11489         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11490         in order to reduce drastically the number of comparisons needed to
11491         parse a large document
11492
11493 2002-05-29  André Pönitz <poenitz@gmx.net>
11494
11495         * text.C:
11496         * text2.C:
11497         * lyxtextclass.C:
11498         * sp_pspell.h:
11499         * textclasslist.[Ch]:
11500         * sp_ispell.h: whitespace change
11501
11502 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11503
11504         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11505         lyxaction directly now.
11506
11507 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * trans.C:
11510         * lyxfont.C:
11511         * lyxvc.C: remove unused headers
11512
11513 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * Makefile.am:
11516         * buffer.h:
11517         * undostack.h:
11518         * undostack.C:
11519         * undo_funcs.h:
11520         * undo_funcs.C: some cleanups. Use shared_ptr
11521           and a template for the undo stacks.
11522
11523 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * BufferView_pimpl.h:
11526         * BufferView_pimpl.C:
11527         * kbmap.h:
11528         * kbmap.C:
11529         * kbsequence.h:
11530         * kbsequence.C:
11531         * lyxfunc.h:
11532         * lyxfunc.C:
11533         * text2.C: use key_state/mouse_state
11534
11535 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11536
11537         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11538         and LSubstring
11539
11540         * chset.C: change include order
11541         (loadFile): use boost regex and get rid of LRegex and LSubstring
11542
11543         * Makefile.am (BOOST_LIBS): new variable
11544         (lyx_LDADD): use it
11545
11546         * LaTeX.C: change include order.
11547         (scanAuxFile): use boost regex and get rid of LRegex and
11548         LSubstring
11549         (deplog): ditto
11550
11551 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * ColorHandler.h:
11554         * ColorHandler.C:
11555         * FontInfo.h:
11556         * FontInfo.C: moved to frontends/xforms/
11557
11558         * FontLoader.h:
11559         * FontLoader.C: moved into frontends for GUIIzation
11560
11561         * Makefile.am:
11562         * lyx_gui.C:
11563         * lyxfont.C:
11564         * lyxfunc.C: changes from above
11565
11566 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * LColor.C: remove spurious X include
11569
11570         * BufferView_pimpl.C:
11571         * Makefile.am:
11572         * font.h:
11573         * font.C:
11574         * text.C:
11575         * text2.C: move font metrics to frontends/
11576
11577 2002-05-24  Juergen Vigna  <jug@sad.it>
11578
11579         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11580         setting the undo_cursor.
11581
11582         * ParagraphParameters.h: include local includes first.
11583
11584 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView_pimpl.C:
11587         * BufferView_pimpl.h:
11588         * Makefile.am:
11589         * WorkArea.h:
11590         * WorkArea.C:
11591         * screen.C: move WorkArea into frontends/
11592
11593         * lyxscreen.h:
11594         * screen.C:
11595         * text.C:
11596         * BufferView.C:
11597         * BufferView2.C: move LyXScreen into frontends/
11598
11599         * lyxlookup.h:
11600         * lyxlookup.C:
11601         * lyx_gui.C: move lyxlookup into frontends/xforms/
11602
11603 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * BufferView2.C:
11606         * BufferView_pimpl.C:
11607         * FontLoader.C:
11608         * LyXView.h:
11609         * LyXView.C:
11610         * Makefile.am:
11611         * WorkArea.C:
11612         * XFormsView.h:
11613         * XFormsView.C:
11614         * buffer.C:
11615         * bufferlist.C:
11616         * bufferview_funcs.C:
11617         * converter.C:
11618         * importer.C:
11619         * lyx_cb.C:
11620         * lyx_gui.C:
11621         * lyx_main.C:
11622         * lyx_find.C:
11623         * lyxfunc.C:
11624         * lyxvc.C:
11625         * minibuffer.C:
11626         * text.C:
11627         * text2.C:
11628         * trans.C:
11629         * vc-backend.C: move LyX/XFormsView into frontends/
11630
11631 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * Makefile.am:
11634         * PainterBase.C:
11635         * PainterBase.h:
11636         * Painter.C:
11637         * Painter.h:
11638         * WorkArea.C:
11639         * WorkArea.h:
11640         * screen.C:
11641         * tabular.C:
11642         * text.C:
11643         * text2.C: move Painter to frontends/
11644
11645 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * buffer.C: comment out some some code that depend upon lyx_format
11648         < 220
11649
11650         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11651         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11652
11653         * buffer.h (NO_COMPABILITY): turn off compability
11654
11655         * ColorHandler.C: include scoped_array.hpp
11656
11657         * font.C: Use more specific smart_ptr header.
11658         * Painter.C: ditto
11659         * gettext.C: ditto
11660         * ShareContainer.h: ditto
11661         * lyx_main.h: ditto
11662         * kbmap.h: ditto
11663         * FontInfo.h: ditto
11664         * BufferView_pimpl.h: ditto
11665         * ColorHandler.h: ditto
11666
11667         * kbmap.C (defkey): change call to shared_ptr::reset
11668
11669 2002-05-21  Juergen Vigna  <jug@sad.it>
11670
11671         * buffer.C (insertErtContents): fix to insert ert asis if it is
11672         non empty. Skip it completely if it contains only whitespaces.
11673
11674 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * BufferView_pimpl.C:
11677         * BufferView2.C: clear selection on paste (bug 393)
11678
11679 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * DepTable.C: include ctime
11682
11683 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11686
11687 2002-05-14  Juergen Vigna  <jug@sad.it>
11688
11689         * text.C (breakParagraph): fixed function to honor the keepempty
11690         layout in the right maner and also to permit the right breaking
11691         algorithm on empty or non empyt keepempty paragraphs.
11692
11693         * paragraph.C (breakParagraph): we have to check also if the par
11694         is really empty (!size()) for isempty otherwise we do the wrong
11695         paragraph break.
11696
11697 2002-05-10  Juergen Vigna  <jug@sad.it>
11698
11699         * buffer.[Ch] : The following are only changes to the ert
11700         compatibility read reading old LaTeX layout and font stuff and
11701         convert it to ERTInsets.
11702
11703         * buffer.h: added isErtInset().
11704
11705         * buffer.C (struct ErtComp): add a fromlayout bool to check
11706         if we're inside a LaTeX layout.
11707         (isErtInset): new helper function.
11708         (insertErtContents): look for other ert insets before this one
11709         and insert the contents there, so that we don't have subsequent
11710         ERT insets with nothing between them. This way we create only one
11711         inset with multiple paragraphs. Also check if we don't insert only
11712         spaces ' ' as they are ignored anyway afterwards in the .tex file
11713         so if we have only spaces we will ignore this latex part in the
11714         new file.
11715         (parseSingleLyXformat2Token \\layout): better compatibility when
11716         reading layout-latex stuff.
11717         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11718         language tag.
11719         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11720         stuff after reading the inset only get the information back from
11721         the stack.
11722
11723 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11724
11725         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11726
11727         * LaTeXFeatures.C (getBabelOptions): New method.
11728
11729 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * BufferView_pimpl.C (Dispatch): work around missing argument for
11732         'layout'
11733
11734 2002-05-08  Juergen Vigna  <jug@sad.it>
11735
11736         * text.C (leftMargin): handle paragraph leftindent.
11737
11738         * paragraph.C (writeFile): write the new \\leftindent tag.
11739         (validate): handle leftindent code.
11740         (TeXEnvironment): handle paragraphleftindent code again.
11741
11742         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11743
11744         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11745         for paragrap_extra indent code and new token \\leftindent.
11746         (latexParagraphs): handle the leftindent as environment.
11747
11748         * ParameterStruct.h: added leftindent support.
11749
11750         * ParagraphParameters.C (leftIndent): added support functions for
11751         the paragraph left indent.
11752
11753         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11754         more appropriate.
11755
11756 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11757
11758         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11759         inside insetERT.
11760
11761         * text.C (computeBidiTables): No bidi in insetERT.
11762
11763         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11764         in RTL documents.
11765
11766 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * version.C.in: pre 5
11769
11770 2002-05-02  José Matos  <jamatos@fep.up.pt>
11771         * buffer.C (makeDocBookFile): white space changes, add newline to
11772         command styles.
11773         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11774
11775         * tabular.C (docBook): fix typo.
11776
11777 2002-05-03  Juergen Vigna  <jug@sad.it>
11778
11779         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11780         change in LyXText as we can not be sure it was not freed.
11781         (drawOneRow): remove unused code.
11782
11783         * text.C (drawInset): redo the calculation of the need_break_row as
11784         it could have a row which was already freed.
11785         (draw): look at the return value of drawInset and return false if
11786         it also returned false.
11787         (paintRowText): look at the return value of draw and return false if
11788         it also returned false.
11789
11790         * lyxtext.h: added bool return type to drawInset() and draw() so that
11791         if we have a change in the row so that the rowbreak has to be redone
11792         we abort drawing as it will be called again.
11793
11794 2002-05-02  Juergen Vigna  <jug@sad.it>
11795
11796         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11797         a change in the maintext also if we're inside an inset.
11798         (Dispatch): set the cursor again after a break line and after the
11799         screen has been updated as it could be we're in a different row.
11800
11801         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11802         to set the cursor behind the pargraph with > size().
11803         (setCursor): check also for the same paragraph when checking where
11804         to put the cursor if we have a NFR inset.
11805
11806         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11807         parts of layout read further up as it still was in the wrong
11808         position.
11809
11810 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * screen.C (drawFromTo): change sine fullRebreak always return
11813         true.
11814
11815         * buffer.C (parseSingleLyXformat2Token): reindent some
11816
11817         * BufferView_pimpl.C (update): change since fullRebreak always
11818         return true.
11819         (Dispatch): git rid of the last hardcoded "Standard"s.
11820
11821 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * text2.[Ch] (fullRebreak): make it return void now that we always
11824         returned true.
11825
11826 2002-04-30  Juergen Vigna  <jug@sad.it>
11827
11828         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11829         ert compatibility check for "latex" layout.
11830
11831 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11832
11833         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11834         minipages: use col% instead of p%, and also use the current font.
11835         (makeLaTeXFile): Fix use babel condition.
11836         (parseSingleLyXformat2Token): Correct font when reading old floats.
11837
11838 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11841         inserting list of floats.
11842
11843 2002-04-25  Herbert Voss  <voss@lyx.org>
11844
11845         * MenuBackend.C (expand): don't add the graphics extensions to the
11846         export menu
11847
11848 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11851         non-existing layout, do not complain if it was the default layout
11852         of the original class (bug #342)
11853
11854 2002-04-24  Juergen Vigna  <jug@sad.it>
11855
11856         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11857         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11858
11859 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11860
11861         * buffer.C (getBibkeyList): If using \bibliography, return the
11862         option field with the reference itself. Enables us to provide natbib
11863         support when using \bibliography.
11864
11865 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11866
11867         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11868
11869         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11870         natbib is provided by the LaTeX class.
11871
11872 2002-04-23  Juergen Vigna  <jug@sad.it>
11873
11874         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11875         Wakeup functions.
11876
11877         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11878
11879 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11882
11883         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11884         ensuremath around textordmasculine, textordfeminine and
11885         textdegree.
11886
11887 2002-04-19  Juergen Vigna  <jug@sad.it>
11888
11889         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11890         reinitializing the buffer otherwise row-dimensions may be wrong.
11891         (update): reset also the selection cursors if they do exits otherwise
11892         their x/y positions may be wrong.
11893
11894         * text2.C (cursorDown): don't enter the inset if we came from a row
11895         above and are one row over the inset.
11896
11897         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11898         really leaving an inset.
11899
11900 2002-04-18  Juergen Vigna  <jug@sad.it>
11901
11902         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11903         of the selected paragraph does not have the selected layout also if
11904         the last one had!
11905
11906         * text2.C (setLayout): fixed bug which did not change last selected
11907         paragraph.
11908
11909         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11910         changed the read and substituted \\end_float with \\end_inset!
11911
11912         * BufferView_pimpl.C (cursorPrevious):
11913         (cursorNext): fixed to make it work with rows heigher than the work
11914         area without moving the cursor only the draw of the row.
11915         (workAreaMotionNotify): fix jumping over high rows.
11916
11917 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11920         Ressler.
11921
11922 2002-04-16  Juergen Vigna  <jug@sad.it>
11923
11924         * text2.C (setCursor): set also the irow().
11925         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11926         (cursorUp):
11927         (cursorDown): support for locking an inset if the x_fix value goes
11928         inside it. That way I can transverse insets too with cursor up/down.
11929
11930         * lyxrow.h: added irow helper function same as other (i) functions.
11931
11932         * BufferView_pimpl.C (cursorPrevious):
11933         (cursorNext): fixed for insets!
11934
11935 2002-04-15  Juergen Vigna  <jug@sad.it>
11936
11937         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11938         position otherwise it is wrong in some cases.
11939
11940         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11941         inside the inset before the call.
11942
11943 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11944
11945         * buffer.[Ch] (getBibkeyList): make it const.
11946
11947 2002-04-12  Juergen Vigna  <jug@sad.it>
11948
11949         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11950
11951         * text2.C (getCursorX): new helper function
11952         (setCursor): compute also ix_
11953         (setCursorFromCoordinates): set also ix.
11954
11955         * lyxcursor.h: added ix_ and helper functions.
11956
11957         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11958
11959         * buffer.C (insertStringAsLines): dont break paragraph if the this
11960         paragraph is inside an inset which does not permit it!
11961
11962         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11963         also with no chars on this paragraph.
11964         (paintRowText): only paint stuff if it's inside the workarea!
11965
11966         * paragraph.C (breakParagraph): honor keepempty flag and break the
11967         paragraph always below not above.
11968
11969         * BufferView2.C (unlockInset): update the paragraph layout on inset
11970         unlock as we changed paragraph in such a case.
11971
11972         * lyxfind.C (LyXFind): clear the former selection if not found!
11973
11974         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11975         again called in insertChar().
11976
11977         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11978         an inset which uses the whole row!
11979         (rightMargin): ditto.
11980         (insertChar): force a rebreak if we inserted an inset!
11981
11982 2002-03-28  Herbert Voss  <voss@lyx.org>
11983
11984         * lyxlength.[Ch]: add inBP() to get the right PS-point
11985         units (BigPoint). With inPixels we have rounding errors
11986
11987 2002-04-11  Juergen Vigna  <jug@sad.it>
11988
11989         * text2.C (setCursorFromCoordinates): set iy to the right value.
11990         (setCursor): add check if row->previous exists!
11991
11992         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11993         an old float_type as this was the case in the old code!
11994
11995         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11996
11997         * BufferView2.C (showLockedInsetCursor): use iy
11998         (fitLockedInsetCursor): ditto
11999
12000         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12001         locked insets as there we have the right value now.
12002
12003         * lyxcursor.C: added iy_ variable and iy functions to set to the
12004         baseline of cursor-y of the locked inset.
12005
12006         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12007         (setCursor): fixed for insets which need a full row.
12008
12009         * text.C (rowLastPrintable): don't ignore the last space when before
12010         an inset which needs a full row.
12011         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12012         as last character of a row when before a inset which needs a full row.
12013
12014 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * version.C.in: update date
12017
12018         * text2.C (fullRebreak): try to always return true and see what
12019         happens...
12020
12021 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * MenuBackend.C (expand): use Floating::listName
12024
12025         * FloatList.C (FloatList): add listName argument to the built-in
12026         floats
12027
12028         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12029         text associated with the float.
12030
12031 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12034
12035 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * ShareContainer.h: add a couple of missing typenames.
12038
12039 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * lyxrc.C (getDescription): use _() correctly rather than N_().
12042
12043 2002-03-28  Herbert Voss  <voss@lyx.org>
12044
12045         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12046         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12047
12048 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12051         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12052
12053 2002-03-29  Juergen Vigna  <jug@sad.it>
12054
12055         * lyxfunc.C (dispatch): add a missing fitCursor call.
12056
12057         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12058         it was scrolled by a cursor move, so return the bool status.
12059
12060         * BufferView.C (fitCursor): return the bool flag also to the outside
12061         world as this is needed.
12062
12063         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12064
12065         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12066         call the edit() as it is not needed (and wrong) IMO.
12067         (workAreaButtonPress): set the screen_first variable before evt.
12068         unlock the inset as this may change screen_first and then we have
12069         a wrong y position for the click!
12070
12071 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * MenuBackend.C (expand): another translation that I missed
12074
12075 2002-03-28  Juergen Vigna  <jug@sad.it>
12076
12077         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12078
12079         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12080
12081 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12084
12085         * MenuBackend.C (expand): fix export/view/update when there is no
12086         document open.
12087
12088 2002-03-27  Herbert Voss  <voss@lyx.org>
12089
12090         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12091         and text%
12092
12093 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * bufferview_funcs.C (currentState): only show paragraph number
12096         for is DEVEL_VERSION is set.
12097
12098         * lyxfunc.C (dispatch): put warning in INFO channel
12099
12100         * MenuBackend.C (expand): translate the name of floats
12101
12102         * FloatList.C (FloatList): mark the float names for translation
12103
12104         * converter.C (convert): use LibScriptSearch
12105
12106 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * MenuBackend.C (defaults): fix default menu (we might as well get
12109         rid of it...)
12110
12111 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12114         directory.
12115
12116 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * lyxvc.C: reorder includes.
12119
12120 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12123           properly
12124
12125 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * CutAndPaste.C: change layouts earlier on paste
12128           to avoid crashing when calling getFont()
12129
12130 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12133         irritating #error.
12134
12135 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12136
12137         * WorkArea.C: remove 'Pending' debug message.
12138
12139         * most files: ws cleanup
12140
12141         * buffer.[Ch]: ws changes
12142
12143         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12144
12145 2002-03-21  Juergen Vigna  <jug@sad.it>
12146
12147         * tabular.C (SetMultiColumn): collapse also the contents of the
12148         cells and set the last border right. Added a Buffer const * param.
12149
12150 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12153         linking or not.
12154
12155 2002-03-19  Juergen Vigna  <jug@sad.it>
12156
12157         * text2.C (clearSelection): reset also xsel_cache.
12158
12159         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12160         where it needs to be called (John tells us to do so too :)
12161         (selectionLost): reset sel_cache.
12162
12163         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12164
12165 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12166
12167         * text2.C (setCursorIntern): put debuging code in INSETS channel
12168
12169 2002-03-19  André Pönitz <poenitz@gmx.net>
12170
12171         * lyxfunc.C: tiny whitespace change
12172
12173 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12174
12175         * ToolbarDefaults.C (init):
12176         * LyXAction.C (init):
12177         * commandtags.h:
12178         * BufferView_pimpl.C (Dispatch):
12179         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12180
12181 2002-03-19  Allan Rae  <rae@lyx.org>
12182
12183         * exporter.C (Export): removeAutoInsets before doing anything else.
12184         While I've just introduced a dependency on BufferView this really is
12185         the best place to clean the buffer otherwise you need to cleanup in
12186         a dozen places before calling export or cleanup in a dozen functions
12187         that export calls.
12188
12189         * converter.C (runLaTeX):
12190         (scanLog): Better handling of removeAutoInsets and screen updates.
12191
12192         * lyxfunc.C (dispatch): small whitespace changes
12193
12194 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * WorkArea.C (C_WorkAreaEvent): return a value.
12197         (event_cb): return 1 if we handled the event, 0 otherwise.
12198
12199         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12200
12201 2002-03-18  Juergen Vigna  <jug@sad.it>
12202
12203         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12204         (GetAdditionalWidth): ditto.
12205         (RightLine): ditto.
12206         (LeftLine): ditto.
12207
12208         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12209         inset if we're there actually (probably not used right now but this
12210         is the direction to go for unifying code).
12211         (paste): disable code to clear the selection.
12212
12213         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12214         inside an InsetText and move the check further up as it is in the
12215         wrong place.
12216
12217         * text2.C (pasteSelection): set a selection over the pasted text.
12218
12219 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12220
12221         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12222         and libgraphics to build on Cygwin.
12223
12224 2002-03-15  Juergen Vigna  <jug@sad.it>
12225
12226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12227         inserting an Inset into the paragraph. I know this is not the best
12228         fix but we already use current_view in CutAndPaste so we will remove
12229         all of it's using at the same time.
12230
12231         * buffer.C (sgmlError): deactivated function till it is rewritten in
12232         the right mode, now it can create problems.
12233
12234         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12235         before accessing it.
12236
12237 2002-03-14  Juergen Vigna  <jug@sad.it>
12238
12239         * undo_funcs.C (textHandleUndo): do the right thing when updating
12240         the inset after the undo/redo.
12241
12242         * text2.C (setCursor): just some testcode for #44 not ready yet.
12243
12244         * undo_funcs.C (textHandleUndo): set the next() and previous()
12245         pointers of the paragraph to 0 before deleting otherwise we have
12246         problems with the Paragraph::[destructor].
12247
12248         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12249         on a paragraph insertion.
12250
12251 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * buffer.C (asciiParagraph): use += operator for char append to
12254         string.
12255
12256         * paragraph.C (getFontSettings): compare >= not just >
12257         (highestFontInRange): ditto
12258         (setFont): ditto
12259
12260 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * paragraph.C: change several algorithm to be more appripriate for
12263         the problem domain. This is lookip in FontList and in the InsetList.
12264
12265 2002-03-13  André Pönitz <poenitz@gmx.net>
12266
12267         * commandtags.h:
12268         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12269
12270 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * commandtags.h:
12273         * LyXAction.C:
12274         * lyxfunc.C:
12275         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12276
12277 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * Painter.C (display): anon helper function, adjust code for this
12280         change.
12281         (pixmap): remove function.
12282
12283         * Painter.h: remove private display variable.
12284
12285         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12286
12287 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * WorkArea.[Ch]: remove figinset_canvas cruft.
12290
12291 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * lyxtextclass.C (operator): add one item cache optimization.
12294
12295         * bufferlist.h: doxy changes
12296
12297         * bufferlist.C: ws changes
12298
12299         * DepTable.[Ch] (ext_exist): place const in the right spot.
12300
12301         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12302         call resizeInsets.
12303         (workAreaExpose): call resizeInsets when the with BufferView changes.
12304         (Dispatch): adjust for protectedBlank removal
12305         (specialChar): call updateInset if the insert went ok.
12306
12307         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12308         specialChar instead.
12309
12310         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12311
12312         * BufferView.h: doxy change
12313
12314         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12315
12316         * lyxtextclass.C (operator[]): remove non-const version
12317         (defaultLayout): remove non-const version
12318
12319 2002-03-12  Juergen Vigna  <jug@sad.it>
12320
12321         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12322         did resize the LyXText too.
12323
12324         * buffer.C (readLyXformat2): set layout information on newly allocated
12325         paragraphs.
12326
12327         * tabular.C (OldFormatRead): set layout information on the paragraph.
12328
12329 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12330
12331         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12332
12333 2002-03-11  Juergen Vigna  <jug@sad.it>
12334
12335         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12336         plainly wrong.
12337         (resizeCurrentBuffer): force also the insets to resize themselfes.
12338         (moveCursorUpdate): fixed up for InsetText.
12339
12340 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * commandtags.h:
12343         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12344         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12345         value of Dialogs::tooltipsEnabled().
12346         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12347
12348 2002-03-08  Juergen Vigna  <jug@sad.it>
12349
12350         * BufferView_pimpl.C (updateInset): update inset inside inset also
12351         if it isn't inside theLockingInset().
12352
12353 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * buffer.C (asciiParagraph): redo some of the word and line length
12356         handling.
12357         (getLists): look for Caption instead of caption.
12358
12359 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * buffer.C (Buffer): initialize niceFile to true
12362         (makeLaTeXFile):
12363         (makeLinuxDocFile):
12364         (makeDocBookFile): make sure niceFile is true on exit
12365
12366 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12369
12370 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12371
12372         * LyXSendto.C: remove.
12373         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12374         * lyx_gui.C: remove now-redundant comment.
12375         * ColorHandler.h: remove forward declaration of class WorkArea.
12376         * lyxfunc.C: remove #include "WorkArea.h".
12377
12378 2002-03-07  Juergen Vigna  <jug@sad.it>
12379
12380         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12381         got moved away with the DEPM and also set the inset_owner always
12382         right which before could have been omitted.
12383
12384 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12387         wanted layout is not found.
12388
12389 2002-03-07  Juergen Vigna  <jug@sad.it>
12390
12391         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12392
12393 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12394
12395         * paragraph.C (breakParagraph): use default layout not layout of
12396         prev paragraph.
12397         (Paragraph): clear ParagraphParameters.
12398
12399 2002-03-06  Juergen Vigna  <jug@sad.it>
12400
12401         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12402         otherwise it would not be a valid lenght. Fixed a special case in
12403         the minipage compatibility read where we end the document with a
12404         minipage.
12405
12406         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12407         was set as it could be 0 for InsetTexts first entry.
12408
12409 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * paragraph.C (writeFile): if layout is empty write out
12412         defaultLayoutName().
12413
12414         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12415         file without named layout we set layout to defaultLayoutName().
12416
12417 2002-03-06  Juergen Vigna  <jug@sad.it>
12418
12419         * CutAndPaste.C (copySelection): set layout for new paragraph.
12420
12421         * text.C (prepareToPrint): leave ERT inset left aligned
12422         (leftMargin): don't indent paragraphs inside ERT insets
12423
12424 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * paragraph.C (breakParagraph): dont call clear do the work manually
12427
12428         * paragraph.[Ch] (clear): remove function
12429
12430 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * paragraph.C (Paragraph): dont call clear, the work has already
12433         been done.
12434
12435         * lyxtextclass.C (operator): assert if n is empty
12436
12437         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12438         work manually instead.
12439
12440 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * BufferView_pimpl.C: protect selectionLost against text == 0
12443
12444 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * text.C (breakParagraph): fix a setting layout to '0' problem.
12447
12448 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12449
12450         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12451         final location of file, for the included files, and graphics.
12452
12453 2002-03-05  Juergen Vigna  <jug@sad.it>
12454
12455         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12456
12457 2002-03-04  Juergen Vigna  <jug@sad.it>
12458
12459         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12460
12461         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12462         last column of multicolumn cells.
12463         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12464
12465 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12466
12467         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12468         file if it doesn't go to a temporary file.
12469
12470         * buffer.C (sgmlOpenTag):
12471         (sgmlCloseTag):  remove extra newline insertion.
12472
12473 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * text.C (getRowNearY): comment out debug msg
12476
12477 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * text2.C: first -> first_y
12480
12481         * text.C (getRowNearY): add some attemts at a possible
12482         optimization, not working.
12483
12484         * tabular.[Ch]: add BufferParams to several function so that newly
12485         created paragraph can be initialized to he default layotu for the
12486         buffers textclass.
12487
12488         * tabular-old.C (ReadOld): add buf->params to call of Init
12489
12490         * screen.C: rename text->first to text->first_y
12491
12492         * paragraph.C (breakParagraph): always set layout in the broken
12493         paragraph
12494
12495         * lyxtextclass.C (Read): remove lowercase
12496         (hasLayout): ditto
12497         (operator): ditto
12498         (delete_layout): ditto
12499
12500         * lyxtext.h: rename first -> first_y
12501
12502         * lyxlayout.C (Read): remove lowercase
12503         (name): ditto
12504         (setName): ditto
12505         (obsoleted_by): ditto
12506
12507         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12508
12509         * buffer.C (insertErtContents): add params are to InsetERT
12510         (parseSingleLyXformat2Token): add code to check if a paragraphs
12511         layout really exist.
12512         (parseSingleLyXformat2Token): add params to several inset
12513         constructors
12514         (asciiParagraph): remove lowercase, do the layout comparisons with
12515         no_case
12516
12517         * BufferView_pimpl.C (cursorNext): first -> first_y
12518         (resizeCurrentBuffer): first -> first_y
12519         (updateScrollbar): first -> first_y
12520         (scrollCB): first -> first_y
12521         (workAreaMotionNotify): first -> first_y
12522         (workAreaButtonPress): first -> first_y
12523         (checkInsetHit): first -> first_y
12524         (cursorPrevious): first -> first_y
12525         (cursorNext): first -> first_y
12526         (Dispatch): add buffer_->params to severl inset contructors
12527
12528 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12529
12530         * lyxlayout.C (Read): remove some debug info that I forgot.
12531
12532         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12533         clean up the code slightly.
12534         (makeLinuxDocFile): ditto
12535         (makeDocBookFile): ditto
12536
12537         * text2.C: layout as string
12538
12539         * text.C: layout as string
12540
12541         * paragraph_pimpl.C: layout as string
12542
12543         * paragraph.[Ch]: layout as string
12544
12545         * lyxtextclasslist.[Ch]: layout as string
12546
12547         * lyxtextclass.[Ch]: layout as string
12548
12549         * lyxtext.h: layout as string
12550
12551         * lyxlayout.[Ch]: layout as string
12552
12553         * lyx_cb.C: layout as string
12554
12555         * bufferview_funcs.C: layout as string
12556
12557         * bufferparams.C: layout as string
12558
12559         * buffer.C: layout as string
12560
12561         * LyXView.[Ch]: layout as string
12562
12563         * LaTeXFeatures.[Ch]: layout as string
12564
12565         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12566
12567         * BufferView_pimpl.C: change current_layout to string, remove
12568         lyx::layout_type.
12569         (Dispatch):
12570         (smartQuote):
12571         (insertInset):
12572         (workAreaButtonRelease): layout as string
12573
12574         * BufferView2.C (unlockInset): adjust
12575
12576         * vspace.C (asLatexCommand): use an explict temp variable.
12577
12578 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * Makefile.am: use FRONTEND_*
12581
12582 2002-03-01  Juergen Vigna  <jug@sad.it>
12583
12584         * tabular.C (SetWidthOfMulticolCell): changed to something better
12585         I hope but still work in progress.
12586         (recalculateMulticolumnsOfColumn): renamed function from
12587         recalculateMulticolCells as it is more appropriate now.
12588         (SetWidthOfCell): calculate multicols better.
12589
12590 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12593
12594         * lyxfunc.C (processKeySym): print sequence also if it is
12595         `deleted' (complete)
12596
12597         * kbsequence.C (print): print sequence even if it is deleted
12598         (complete would be a better word, actually).
12599
12600         * lyxfunc.C (dispatch): print complete options after a prefix key
12601
12602         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12603
12604 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12605
12606         * text2.C (setCharFont): eliminate setCharFont code duplication.
12607
12608 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12609
12610         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12611         LFUN_TABULAR_FEATURE (bug #177)
12612
12613 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * Makefile.am: remove figure.h
12616
12617 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * Bufferview_pimpl.C:
12620         * CutAndPasteC:
12621         * LaTeX.C:
12622         * LyXSendto.C:
12623         * buffer.C:
12624         * bufferlist.C:
12625         * converter.C:
12626         * language.C:
12627         * lyxfunc.C:
12628         * lyxvc.C:
12629         * paragraph.C:
12630         * text.C:
12631         * text2.C: remove #include "lyx_gui_misc.h".
12632
12633         * LaTeX.C: added #include <cstdio>
12634
12635 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12638         that the paragraph following this one can have.
12639
12640         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12641
12642         * vspace.C (asLatexCommand): fix bogus gcc warning
12643
12644         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12645
12646 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12647
12648         * text2.C (setLayout): get rid of redundant code
12649
12650 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12651
12652         * text2.C (incDepth): make sure depth cannot be increased beyond
12653         reasonable values.
12654
12655 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12656
12657         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12658         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12659
12660         * PainterBase.h (image):
12661         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12662         a LyXImage const *.
12663
12664 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * BufferView.C:
12667         * BufferView.h:
12668         * BufferView_pimpl.C:
12669         * BufferView_pimpl.h:
12670         * LaTeXFeatures.C:
12671         * LyXAction.C:
12672         * LyXView.C:
12673         * Makefile.am:
12674         * UpdateList.h:
12675         * UpdateList.C:
12676         * buffer.C:
12677         * figure.h:
12678         * figureForm.C:
12679         * figureForm.h:
12680         * figure_form.C:
12681         * figure_form.h:
12682         * lyx_cb.C:
12683         * lyx_gui.C:
12684         * lyx_gui_misc.C:
12685         * lyxfunc.C:
12686         * sp_base.h:
12687         * sp_ispell.h:
12688         * sp_pspell.h:
12689         * sp_spell.C: remove fig inset, and the crap house of
12690           cards that follows it
12691
12692 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * Makefile.am:
12695         * lyxserver.C:
12696         * os2_defines.h:
12697         * os2_errortable.h:
12698         * nt_defines.h: move .h into support/
12699
12700         * vms_defines.h: remove
12701
12702         * WorkArea.C: add space in debug output
12703
12704         * text2.C:
12705         * paragraph.C:
12706         * buffer.C: add WITH_WARNINGS
12707
12708         * vc-backend.h:
12709         * vc-backend.C:
12710         * bufferlist.C: s/retrive/retrieve/, add docs
12711
12712         * vspace.h:
12713         * vspace.C:
12714         * kbmap.h:
12715         * lyxlength.h:
12716         * lyxgluelength.h:
12717         * length_common.h:
12718         * chset.h:
12719         * chset.C: add docs
12720
12721         * lyxgui.C: add ID to X error handler
12722
12723         * lyxtestclass.c: fix typo
12724
12725 2002-02-26  Juergen Vigna  <jug@sad.it>
12726
12727         * tabular_funcs.C (write_attribute): changed so that some default
12728         attributes are not written at all.
12729         (getTokenValue): set default values before trying to read the
12730         value so we have the return value always set as default if we don't
12731         find the token we search for.
12732
12733         * tabular.C (Write): write bools as bools not as strings!
12734
12735 2002-02-22  Juergen Vigna  <jug@sad.it>
12736
12737         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12738         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12739
12740         * text.C (leftMargin): don't add an indent for paragraphs inside
12741         tabular cells (fix #208).
12742
12743 2002-02-21  José Matos  <jamatos@fep.up.pt>
12744
12745         * tabular.C (docBook): fixed support for long tables.
12746
12747 2002-02-20  Juergen Vigna  <jug@sad.it>
12748
12749         * text2.C (getFont): get the drawing font of the Inset if this
12750         paragraph is inside an inset (only important for InsetERT for now).
12751
12752         * buffer.C (insertErtContents): use new lanugage params in ERT
12753         constructor.
12754
12755         * CutAndPaste.C: commenting out seemingly uneeded code.
12756
12757 2002-02-19  Allan Rae  <rae@lyx.org>
12758
12759         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12760         Iterators might be simple to use but they also get invalidated.
12761         (removeAutoInsets): renamed saved cursor tracking variables and added
12762         some comments to clarify what everything does.
12763
12764 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * Chktex.C:
12767         * LaTeX.C:
12768         * LyXSendto.C:
12769         * converter.C:
12770         * lyx_cb.C:
12771         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12772         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12773
12774         * lyxfunc.C:
12775         * vc-backend.h: remove #include "support/syscall.h"
12776
12777         * LaTeX.C:
12778         * LyXSendto.C:
12779         * converter.C: rearrange #includes in Lars' approved fashion.
12780
12781         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12782         forward declare class Timeout in the header file.
12783
12784         * XFormsView.C: changes due to the above.
12785
12786         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12787         similar to LyXView.
12788
12789         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12790         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12791
12792 2002-02-18  José Matos  <jamatos@fep.up.pt>
12793
12794         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12795         insets contents.
12796
12797 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12798
12799         * a lot of small ws changes
12800         * add a lot of using std::XXX
12801         * use std construcs some places where approp.
12802         * use some exisint stuff from lyxfunctional where approp.
12803         * Make file changes to use partial linking (lets test this now...)
12804
12805 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12806
12807         * Chktex.C:
12808         * buffer.C:
12809         remove #include "support/syscontr.h" as it's redundant. Always has been.
12810
12811         * Chktex.C:
12812         * LaTeX.C:
12813         * LyXSendto.C:
12814         * converter.C:
12815         * lyx_cb.C:
12816         * vc-backend.C:
12817         change Systemcalls::System to Systemcalls::Wait and
12818         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12819         No change of functionality, just reflects the stripped down Systemcalls
12820         class.
12821
12822 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * debug.[Ch]: add a GRAPHICS type to the enum.
12825
12826 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12827
12828         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12829
12830         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12831         there is an inset.
12832
12833 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12836         match the changes below.
12837
12838         * text2.C (toggleInset): if there is not editable inset at cursor
12839         position, try to see if cursor is _inside_ a collapsable inset
12840         and close it.
12841
12842 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12843
12844         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12845         document menu has a nice checkbox
12846
12847 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyxlength.C (asLatexString): change PW to output as percent of
12850         \textwidth.
12851
12852         * lengthcommon.C: change '%' to 't%'
12853
12854         * lyxfunc.C (dispatch): a few comments from Martin
12855
12856 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * WorkArea.h:
12859         * WorkArea.C:
12860         * BufferView_pimpl.h:
12861         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12862           the X selection.
12863
12864 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * vspace.C (inPixels): fix compiler warning
12867
12868 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12869
12870         * lyxfunc.C (getStatus): fix status message for disabled commands.
12871
12872 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * BufferView_pimpl.C: fix crash on close buffer
12875         during selection (#227)
12876
12877 2002-01-27  Herbert Voss  <voss@lyx.org>
12878
12879         * buffer.C: link old Figure to new graphic inset
12880
12881 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * FontLoader.C (getFontinfo): Change the latex font names in order
12884         to match the names of type1inst.
12885
12886 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12889
12890         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12891         (extchanged): ditto
12892         (ext_exist): ditto
12893         (remove_files_with_extension): ditto
12894         (remove_file): ditto
12895         (write): ditto
12896
12897         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12898         document is smaller than the work area height. Do not initialize
12899         static variables to 0.
12900
12901 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12902
12903         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12904
12905         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12906         LFUN_LAYOUT_PARAGRAPHS.
12907
12908         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12909         tabular. It is possible to provide a possible cell, which will
12910         typically be the actcell from the corresponding insettabular
12911
12912         * lyxfunc.C (getStatus): small cleanup; disable
12913         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12914         true
12915
12916 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12917
12918         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12919
12920         * paragraph.C (startTeXParParams):
12921         (endTeXParParams): new methods. The LaTeX code to
12922         start/end paragraph formatting
12923         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12924         empty (fixes bug #200)
12925
12926         * vspace.C (inPixels): adapt to the change below
12927         (inPixels): [later] more cleanups (remove unused variables)
12928
12929         * lyxlength.C (inPixels): change to use a width and a height as
12930         parameter.
12931
12932 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12933
12934         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12935         Replaced with \paperwidth
12936
12937         * DepTable.C (insert): add std:: qualifier
12938
12939 2002-01-18  Allan Rae  <rae@lyx.org>
12940
12941         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12942         updated also?
12943
12944         * text.C (drawInset): Turned out I didn't know enough about how
12945         rebreaking worked.  This fixes most of the redraw problems.  I see
12946         an occasional cursor trail when a line is broken now and the cursor
12947         placement can seem out by a few pixels also after a rebreak.
12948
12949 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12950
12951         * buffer.C (parseSingleLyXformat2Token): update because minipage
12952         width is now a LyXLength
12953
12954         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12955
12956         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12957         math insets
12958
12959 2002-01-17  Juergen Vigna  <jug@sad.it>
12960
12961         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12962
12963         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12964         is set correctly and the inset is updated correctly.
12965
12966 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12967
12968         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12969         the beginning of the loop.
12970
12971 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12972
12973         * lyxrc.C: improve help for use_scalable_fonts
12974
12975 2002-01-17  Allan Rae  <rae@lyx.org>
12976
12977         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12978
12979 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12980
12981         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12982         make sure to set their inset_owner to the right value (bug #171)
12983
12984 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12985
12986         * DepTable.h
12987         * DepTable.C: Implement mtime checking to reduce time spent doing
12988         CRCs.
12989
12990 2002-01-16  Juergen Vigna  <jug@sad.it>
12991
12992         * tabular.C (GetAdditionalHeight): one of error fixed.
12993
12994         * lyxrc.C (output): small fix in writing use_pspell.
12995
12996 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12997
12998         * sp_base.h: #include LString.h
12999
13000 2002-01-16  Allan Rae  <rae@lyx.org>
13001
13002         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13003         Can someone check this please?
13004
13005         * text.C (drawInset): It was possible that p.row would be removed by
13006         breakAgainOneRow upsetting a few other settings.  There may be another
13007         small tweak possible by setting need_break_row = 0 when p.row has been
13008         removed but I don't know enough about the logic here.
13009
13010 2002-01-15  Allan Rae  <rae@lyx.org>
13011
13012         * text.C (insertChar): removed conditional truism.
13013
13014         * BufferView2.C (removeAutoInsets): More tweaks.
13015         cur_par_prev could be a stray pointer.  Check for trailing empty line
13016         in case last line was cur_par and only had an error inset on it.
13017
13018 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13021         absolute
13022
13023         * vc-backend.C (most methods):
13024         * exporter.C (Export):
13025         * converter.C (convert):
13026         (runLaTeX):
13027         * LyXSendto.C (SendtoApplyCB):
13028         * lyxfunc.C (dispatch):
13029         (menuNew):
13030         (open):
13031         (doImport):
13032         * lyx_cb.C (AutoSave):
13033         (InsertAsciiFile):
13034         * BufferView_pimpl.C (MenuInsertLyXFile):
13035         * buffer.C (runChktex): use Buffer::filePath().
13036
13037         * buffer.h: rename filename to filename_; rename filepath to
13038         filepath_ and make it private
13039         (filePath): new method
13040
13041         * buffer.C (writeFile): use fileName()
13042         (getLatexName):
13043
13044         * lyx_main.C (init): fix starting  of LyX when the binary is a
13045         link from so,ewhere else.
13046
13047         * minibuffer.C: include <cctype> for isprint
13048
13049 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13052         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13053         name clash with InsetCollapsable's width function.
13054
13055 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * lastfiles.C: include <iterator>
13058
13059 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13062         std::count.
13063
13064         * buffer.C (makeLaTeXFile): ditto.
13065         Also make loop operation more transparent.
13066
13067 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * ToolbarDefaults.C: remove trailing comma closing namespace.
13070
13071         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13072
13073         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13074         as in WorkArea.
13075
13076         * trans.C (Load): comment out unused variable, allowed.
13077
13078 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13079
13080         * minibuffer.[Ch] (append_char): new method to recieve input from the
13081         drop-down completion browser. If a key was pressed, then recieve this
13082         char and append it to the existing string.
13083         (peek_event): modify the positioning data passed to the completion
13084         browser so that it can be placed above the minibuffer rather than below.
13085 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * LyXAction.C (init): alloe error-next for readonly documents.
13088
13089         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13090         count.
13091
13092 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13093
13094         * bufferlist.C (readFile): create the buffer _after_ checking that
13095         the file exists.
13096
13097         * lyxfunc.C (verboseDispatch): fix handling of arguments
13098
13099         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13100
13101         * lyxrc.C: use string::erase() instead of initializing to "".
13102
13103
13104 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * BufferView_pimpl.h:
13107         * BufferView_pimpl.C:
13108         * WorkArea.h:
13109         * WorkArea.C:
13110         * text2.C: tell X when we have made a selection for copying
13111
13112 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13113
13114         * BufferView_pimpl.C (MenuInsertLyXFile):
13115         * lyxfunc.C (menuNew):
13116         (open):
13117         (doImport): add shortcuts to directory buttons
13118
13119         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13120         open a float)
13121
13122         * lyxfunc.C (setStatusMessage):
13123         (getStatusMessage): new methods
13124         (getStatus):use setStatusMessage instead of setErrorMessage
13125         (dispatch): when function is disabled, set error message here
13126         [instead of in getStatus previously]
13127
13128         * BufferView_pimpl.C (workAreaButtonRelease): update
13129         toolbar/menubar here too.
13130
13131 2002-01-13  Allan Rae  <rae@lyx.org>
13132
13133         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13134         Now seems indestructible.  Remaining task is to audit all other
13135         code affected by deleteEmptyParagraphMechanism.  One small quirk
13136         left is that an empty document with an error in the preamble can
13137         be made to report an error but no error box appears.  I don't know
13138         where it goes.
13139         (removeAutoInsets): Improved comments.
13140
13141 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * Thesaurus.h:
13144         * Thesaurus.C: update for Aiksaurus 0.14
13145
13146 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * text2.C (firstParagraph): removed member function, all uses
13149         replaces with ownerParagraph
13150         (redoParagraphs): here
13151         (updateInset): here
13152         (toggleAppendix): here
13153         * BufferView2.C (insertErrors): here
13154         (setCursorFromRow): here
13155
13156 2002-01-13  Allan Rae  <rae@lyx.org>
13157
13158         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13159         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13160         There is still a way to segfault this although you may have to do this
13161         multiple times: Have an InsetERT with an unknown command in it.
13162         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13163         <down-arrow>, <Enter> again, View->DVI, BANG!
13164
13165         * text2.C (setCursor):
13166         (deleteEmptyParagraphMechanism):
13167         * lyxtext.h (setCursor):
13168         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13169         Making use of the return value may help fix other bugs.
13170
13171 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13172
13173         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13174
13175         * LyXView.C (updateMenubar): call MenuBar::update here
13176         (updateToolbar): but not here
13177         (showState): do not update toolbar/menubar
13178
13179         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13180         should need to care about that.
13181
13182         * lyxfunc.C (verboseDispatch): simplify a bit
13183         (getStatus): have a version which takes a pseudoaction, and
13184         another which requires a (kb_action,string).
13185
13186         * LyXAction.C (retrieveActionArg): make it work also when action
13187         is not a pseudo-action.
13188         (getActionName): simplify a bit
13189         (helpText):
13190
13191 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13192
13193         * lyxfunc.C (verboseDispatch): new families of methods with
13194         several ways to specify a command and a bool to indicate whether
13195         the command name and shortcut should be displayed in minibuffer
13196         (eventually, we could extend that to a finer bitmask like
13197         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13198         (dispatch): the pristine dispatch command which just, well,
13199         dispatchs! Note it still sets its result to minibuffer; I'm not
13200         sure we want that.
13201
13202         * lyxfunc.h: remove setHintMessage
13203
13204         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13205
13206 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * BufferView_pimpl.C (specialChar): delete new inset if we have
13209         not been able to insert it.
13210
13211         * kbmap.C: revert to using int instead of kb_action, since all we
13212         are dealing with is pseudo-actions.
13213
13214         * LyXAction.C (searchActionArg): change to return int instead of
13215         kb_action, since the result is a pseudoaction.
13216
13217 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * buffer.C (insertErtContents): Fix (partially) the font bug.
13220
13221 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13224         as the other one is broken on my machine!
13225
13226 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13227
13228         * commandtags.h:
13229         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13230
13231 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13232
13233         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13234         reflect their actual use. Provide compatibility code for older lyxrc
13235         files.
13236
13237         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13238         FL_NORMAL_STYLE.
13239         change names of popup font variables in line with the changes to lyxrc.C
13240
13241 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13242
13243         * buffer.C (asciiParagraph): avoid outputing a word twice after
13244         an inset.
13245
13246         * lyxrc.C (getDescription): document that document_path and
13247         template_path can be empty.
13248
13249 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * LaTeXFeatures.C (getMacros):
13252         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13253
13254         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13255
13256         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13257         getPackages.
13258         (getPackages): rename feature "floats" to "float". Use an array to
13259         iterate over 'simple' features (i.e. just a \usepackage). Add
13260         handling of "amsmath" (renamed from "amsstyle").
13261
13262 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13263
13264         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13265         features list.
13266
13267 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13270         FuncStaus::FuncStatus & FuncStaus::some_method().
13271
13272 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13273
13274         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13275         of the func_satus stuff. Edited and massaged in various ways by
13276         JMarc.
13277
13278         * lyxfunc.C (getStatus): use FuncStatus
13279
13280 2002-01-08  Juergen Vigna  <jug@sad.it>
13281
13282         * text.C (nextBreakPoint): use function Inset::isChar().
13283
13284         * paragraph.C (TeXOnePar): use function
13285         Inset::forceDefaultParagraphs.
13286
13287         * buffer.C (latexParagraphs): use function
13288         Inset::forceDefaultParagraphs.
13289
13290 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * lyx_gui.C (init): set the style of the menu popups to
13293         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13294
13295 2002-01-07  Juergen Vigna  <jug@sad.it>
13296
13297         * text.C (setHeightOfRow): small fix
13298         (prepareToPrint): don't look at alignment if we don't have the place
13299         for doing it.
13300
13301 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * box.C: New file. Move the Box methods and functions out of box.h,
13304         following Lars' suggestion.
13305
13306 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * box.h: #include "support/LOstream.h", needed for inlined function.
13309
13310         * lyxtextclass.C:
13311         * lyxtextclasslist.C: added some using std declarations.
13312
13313 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13314
13315         * box.h: make signed dimensions to allow insets wider than
13316           the screen (bug #162)
13317
13318         * BufferView_pimpl.C: add some insetHit debug
13319
13320 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * vc-backend.C: add FIXME
13323
13324 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13325
13326         * lyxfunc.C (getStatus): enable code for showing math font status
13327         in toolbar/menu.
13328
13329 2002-01-07  Juergen Vigna  <jug@sad.it>
13330
13331         * text.C (nextBreakPoint): removed debug output not needed anymore.
13332
13333 2002-01-06  Juergen Vigna  <jug@sad.it>
13334
13335         * text.C (nextBreakPoint): fixed up this function we had this bug
13336         since ever but now hopefully we break row better.
13337         (insertChar): we have to check if an inset is the next char as it
13338         could now happen that a large inset is causing a break.
13339
13340 2002-01-05  Juergen Vigna  <jug@sad.it>
13341
13342         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13343         if it doesn't like to be drawed.
13344
13345 2002-01-04  Juergen Vigna  <jug@sad.it>
13346
13347         * BufferView2.C (lockInset): forgot to set a cursor.
13348
13349         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13350
13351 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13352
13353         * FormMathsPanel.C:
13354         * FormMathsPanel.h
13355         * MathsSymbols.C:
13356         * form_maths_panel.C:
13357         * form_maths_panel.h:
13358         * form_maths_panel.fd: implemented sub- and super- buttons in math
13359         panel.
13360
13361         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13362         (or ^ space) to be used as in TeX (req'd by André).
13363
13364         * lyxfunc.C: Allow ^ and _ again to be used both as
13365         super/subscript (mathed) and as themselves (in text).
13366
13367 2002-01-03  Allan Rae  <rae@lyx.org>
13368
13369         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13370         "LyX" or the filename of the current buffer if it has one.  This is a
13371         modified form of John Levon's patch.
13372
13373         * XFormsView.C (setWindowTitle): also set icon title.
13374
13375         * LyXView.h (setWindowTitle): signature changed.
13376         * XFormsView.h (setWindowTitle): ditto.
13377
13378 2002-01-02  Juergen Vigna  <jug@sad.it>
13379
13380         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13381
13382 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * screen.C (topCursorVisible): introduce a temp var for
13385         text->cursor.row(), handle the case where this row is null. (kindo
13386         hachish)
13387
13388         * text2.C (setCursor): add a couple of asserts.
13389
13390         * paragraph.h (inset_iterator): add -> operator
13391
13392         * paragraph.[Ch] (autoDeleteInsets): remove member function
13393
13394         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13395         cursor pos correctly and handle inset deletion by itself.
13396         (insertErrors): move iterator declaration out of for expression
13397
13398         * lyxtextclass.C: add <algorithm>
13399
13400         * Makefile.am: added the new files to sources, removed layout.C
13401
13402         * layout.C: removed file
13403
13404         * layout.h: remove LYX_DUMMY_LAYOUT
13405
13406         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13407         layout.
13408
13409         * lyxlayout.[Ch]:
13410         * lyxtextclass.[Ch]:
13411         * lyxtextclasslist.[Ch]: new files
13412
13413         * include order changes to a lot of files, also changes because of
13414         the six new files.
13415
13416 2001-12-27  Juergen Vigna  <jug@sad.it>
13417
13418         * buffer.C (asciiParagraph): more fixes.
13419
13420         * tabular.C (ascii): make ascii export support export of only the
13421         data separated by a column-delimiter.
13422         (ascii): better support for ascii export.
13423
13424         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13425
13426 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13427
13428         * tabular_funcs.C: use a "using std::getline" instead of the
13429         previous fix from Angus (necessary for cxx + lyxstring)
13430
13431 2001-12-24  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13434
13435         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13436         problems. First check a minipage also if we have some ert-contents
13437         (not only on par->size(), second set the right depth of the paragraph
13438         on the relink to the root-paragraph-list!
13439
13440         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13441         which then did not anymore update the main paragraphs on undo/redo!
13442
13443 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13444
13445         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13446         code. Support all font-changing funcs (even those which are not in
13447         menu currently). Support for reporting font settings in
13448         mathed (disabled until Andre provides a function on mathed's side).
13449
13450         * func_status.h (toggle): small helper function to set toggle
13451         state on a flag.
13452
13453 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13454
13455         * tabular_funcs.C: getline -> std::getline
13456
13457 2001-12-21  Juergen Vigna  <jug@sad.it>
13458
13459         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13460         accessed and could be 0 (I couldn't generate this but it seems
13461         Michael could!).
13462
13463 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13466         * tabular_funcs.h: here and include iosfwd
13467
13468 2001-12-20  Juergen Vigna  <jug@sad.it>
13469
13470         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13471         inside inset but undo_par was.
13472
13473 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * Thesaurus.C: always include <config.h> in sources.
13476
13477         * Painter.h:
13478         * lyxlookup.h:
13479         * box.h: do not include <config.h> in header files
13480
13481         * text.C (paintLastRow): remove unused variable
13482
13483         * text.C (transformChar):
13484         (insertChar):
13485         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13486
13487         * Painter.C (text):
13488         * font.C (width): rewrite to use uppercase() instead of
13489         islower/toupper.
13490
13491         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13492
13493 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * lyxfind.C: clean up of find failure position change
13496
13497 2001-12-20  Juergen Vigna  <jug@sad.it>
13498
13499         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13500
13501         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13502         (TeXRow): added to LaTeX a single tabular row.
13503         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13504         (Latex): simplified and finally good LT-h/f support.
13505         (various_functions): just small adaptions for LT-h/f support.
13506
13507         * tabular_funcs.[hC]: added and moved here all not classfunctions
13508         of LyXTabular.
13509
13510 2001-12-19  Juergen Vigna  <jug@sad.it>
13511
13512         * tabular.[Ch]: better support for longtabular options (not finished
13513         yet!)
13514
13515 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13516
13517         * text.C (paintLastRow): use the label font instead of the font of
13518         the last character to compute the size of *_BOX. This makes more
13519         sense and avoids a crash with empty paragraphs.
13520         Use Painter::rectangle to draw EMPTY_BOX.
13521
13522 2001-12-19  Juergen Vigna  <jug@sad.it>
13523
13524         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13525         the paragraphs if the replaced paragraph is not the first one!
13526         Tried to delete not used paragraphs but does not work yet so for
13527         now it's inside #ifdef's and by default off!
13528
13529 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13530
13531         * MenuBackend.C: include "lyx_main.h" instead of declaring
13532         lastfiles (actually was declared as LastFiles* instead of a
13533         scoped_ptr).
13534
13535 2001-12-17  Juergen Vigna  <jug@sad.it>
13536
13537         * tabular.C (AppendColumn): applied John's fix
13538
13539 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13540
13541         * BufferView.h:
13542         * BufferView.C:
13543         * BufferView_pimpl.h:
13544         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13545
13546         * Makefile.am:
13547         * box.h: new start of class for above
13548
13549         * lyxfunc.C: ignore space-only minibuffer dispatches.
13550           Show the command name when it doesn't exist
13551
13552         * minibuffer.C: don't add empty lines to the history
13553
13554         * minibuffer.C: add a space on dropdown completion
13555
13556 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * text.C: fix line above/below drawing in insets
13559
13560 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * lyxlength.C (LyXLength): Initialize private variables.
13563
13564 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13567         when inserting error insets.
13568
13569 2001-12-13  Juergen Vigna  <jug@sad.it>
13570
13571         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13572         actually sometimes the before-paragraph.
13573         (setUndo): don't clear the redostack if we're not actually undoing!
13574
13575 2001-12-06  Juergen Vigna  <jug@sad.it>
13576
13577         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13578         and fixed redoing of main paragraph, so we can use it now ;)
13579
13580         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13581
13582 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13583
13584         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13585         Juergen's request
13586
13587 2001-12-13  André Pönitz <poenitz@gmx.net>
13588
13589         * undostack.[Ch]:
13590         * undo_func.C: minor cleanup
13591
13592 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13593
13594         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13595         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13596         font in urw-fonts package which is marked as -urw-fontspecific and
13597         does not work (incidentally, changing the encoding in the
13598         fonts.dir of this package to -adobe-fontspecific fixes the
13599         problem).
13600
13601         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13602         is a crash when undoing first paragraph (Juergen, please take a
13603         look). THis does not mean the undo fix is wrong, just that it
13604         uncovers problems.
13605
13606         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13607         the (Paragraph*) version when needed instead of duplicating the
13608         code.
13609
13610         * text.C (workWidth): use Inset::parOwner to find out where the
13611         inset has been inserted. This is a huge performance gain for large
13612         documents with lots of insets. If Inset::parOwner is not set, fall
13613         back on the brute force method
13614
13615         * paragraph_pimpl.C (insertInset):
13616         * paragraph.C (Paragraph):
13617         (cutIntoMinibuffer): set parOwner of insets when
13618         inserting/removing them
13619
13620         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13621
13622 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13623
13624         * commandtags.h:
13625         * LyXAction.C:
13626         * lyx_main.C:
13627         * lyxfunc.C:
13628         * mathed/formulabase.C:
13629         * mathed/math_cursor.[Ch]:
13630         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13631
13632
13633 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * lyxlength.[Ch] (operator!=): new function
13636
13637 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13638
13639         * text.C (workWidth): use Inset::parOwner to find out where the
13640         inset has been inserted. This is a huge performance gain for large
13641         documents with lots of insets. If Inset::parOwner is not set, fall
13642         back on the brute force method
13643
13644         * paragraph_pimpl.C (insertInset):
13645         * paragraph.C (Paragraph):
13646         (cutIntoMinibuffer): set parOwner of insets when
13647         inserting/removing them
13648
13649         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13650
13651 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13652
13653         * tabular-old.C (getTokenValue):
13654         * tabular.C (getTokenValue):
13655         (write_attribute): new versions for LyXLength
13656         (everywhere): adjust the use of widths
13657
13658         * tabular.h: change the type of widths from string to LyXLength
13659
13660 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13661
13662         * paragraph.C: fixed missing line number count when exporting
13663         Environments to LaTeX file
13664
13665         * buffer.C: added informational message for checking line numbers.
13666
13667 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13668
13669         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13670         paragraph, do the 'double space' part, but not the 'empty
13671         paragraph' one.
13672
13673         * text.C (workWidth): small optimization
13674         (getLengthMarkerHeight): use minimal size for negative lengths.
13675
13676 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13677
13678         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13679
13680         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13681
13682 2001-12-11  André Pönitz <poenitz@gmx.net>
13683
13684         * FontLoader.C:
13685         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13686
13687 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * text2.C: keep selection on a setFont()
13690
13691 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * lyx_cb.C: another bv->text misuse, from insert label
13694
13695 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * kbsequence.h:
13698         * kbsequence.C: re-instate nmodifier mask
13699
13700 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13701
13702         * lyx_main.h: make lyxGUI private.
13703
13704 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * lyxfind.C: place the cursor correctly on failed search
13707
13708 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13709
13710         * text.C (getLengthMarkerHeight): for small heights, the arrows
13711         are not always on top/bottom of the text
13712         (drawLengthMarker): smaller arrows; take the left margin in
13713         account; draw also vfills.
13714         (paintFirstRow):
13715         (paintLastRow): remove special code for vfill and standard spaces,
13716         since everything is handled in drawLengthMarker now.
13717
13718 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * buffer.C (insertErtContents): try to handle font and language
13721         interaction a bit better.g
13722
13723         * ColorHandler.C (updateColor): change the hash to cover the whole
13724         LColor enum, ws cleanup
13725         (getGCLinepars): ditto
13726         (getGCLinepars): only lookup in the linecache once.
13727
13728 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13729
13730         * iterators.C (operator++): Make the iterator more robust
13731
13732         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13733         (John's patch)
13734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13735
13736 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * lyxtext.h:
13739         * text.C: better added space drawing
13740
13741 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13742
13743         * LyXView.C:
13744         * BufferView2.C: fix layout combo update on inset unlock
13745
13746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13747
13748         * Makefile.am: don't compile unused files
13749
13750 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * lyxfunc.C:
13753         * commandtags.h:
13754         * LyXAction.C: remove old LFUN_LAYOUTNO
13755
13756 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * paragraph_pimpl.h:
13759         * paragraph_pimpl.C: isTextAt() doesn't need font param
13760
13761 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * lyxlex.h:
13764         * lyxlex.C: little cleanup
13765
13766 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * BufferView_pimpl.C: fix insertAscii for insets
13769
13770 2001-12-05  Juergen Vigna  <jug@sad.it>
13771
13772         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13773         set the right font on the "multi" paragraph paste!
13774
13775 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13776
13777         * trans_decl.h:
13778         * trans_mgr.[Ch]:
13779         * trans.[Ch]:
13780         * lyxgluelength.C:
13781         * lyxlength.C: remove out-commented code.
13782
13783         * BufferView_pimpl:
13784         * CutAndPaste.C:
13785         * DepTable.C:
13786         * buffer.C:
13787         * chset.C:
13788         * lastfiles.C:
13789         * lyxlex.C:
13790         * lyxlex_pimpl.C:
13791         * lyxserver.C:
13792         * screen.C:
13793         * tabular-old.C:
13794         * tabular.C:
13795         * text.C:
13796         * trans_mgr.C:
13797         * vc-backend.C: change "while(" to "while ("
13798
13799         * lyxlength.[Ch]: add zero function to check if length is zero or
13800         not
13801         * lyxgluelength.C: use it
13802
13803 2001-12-05  Allan Rae  <rae@lyx.org>
13804
13805         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13806         Works for 2.95.3, from what I understand of Garst's reports this should
13807         work for other g++ versions.  We're screwed if the abs(int) definition
13808         changed between bugfix releases of gcc.
13809
13810 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * text.C: fix chapter label offset !
13813
13814 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * lyxtext.h:
13817         * text.C: fix hfill at end of line, clean up
13818
13819 2001-12-04  Juergen Vigna  <jug@sad.it>
13820
13821         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13822         that we force an update of the inset and it's owners if neccessary.
13823
13824 2001-12-03  Juergen Vigna  <jug@sad.it>
13825
13826         * text.C (rowLast): simplified code
13827
13828 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13829
13830         * lyxfunc.C: fix show options on timeout
13831
13832 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13833
13834         * screen.C (topCursorVisible): scroll half a page when the cursor
13835         reached top of bottom of screen
13836
13837 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * minibuffer.C: deactivate on loss of focus
13840
13841 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * vspace.[Ch] (operator!=): add operator.
13844
13845 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * BufferView_pimpl.C: refuse to open an inset when
13848         there's a selection.
13849
13850 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * BufferView_pimpl.C: allow to click on RHS of full row insets
13853
13854 2001-11-30  Juergen Vigna  <jug@sad.it>
13855
13856         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13857         insets for undo reasons.
13858
13859 2001-11-28  André Pönitz <poenitz@gmx.net>
13860
13861         * vspace.[Ch]: cosmetical changes
13862
13863 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * LyXAction.h:
13866         * LyXAction.C:
13867         * lyxfunc.h:
13868         * lyxfunc.C:
13869         * kbmap.h:
13870         * kbmap.C:
13871         * lyxrc.C:
13872         * kbsequence.h:
13873         * kbsequence.C: part re-write of old kb code
13874
13875         * Painter.C:
13876         * WorkArea.C: remove Lgb_bug_find_hack
13877
13878 2001-11-30  José Matos <jamatos@fep.up.pt>
13879
13880         * buffer.C (makeDocBookFile): add a comment to point a hack.
13881         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13882         Fixed a double write of labels.
13883
13884 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13885
13886         * LaTeX.C:
13887         * LaTeX.h Fixed bug in LaTeX class where it would not
13888         re-run latex if no depfiles were changed, but the .dvi was removed.
13889
13890 2001-11-28  André Pönitz <poenitz@gmx.net>
13891
13892         * all the files from the change on 2001/11/26:
13893         use lyx::layout_type instead of LyXTextClass::size_type
13894         use lyx::textclass_type instead of LyXTextClassList::size_type
13895
13896 2001-11-29  Juergen Vigna  <jug@sad.it>
13897
13898         * text.C: added support for paragraph::isFreeSpacing()
13899
13900         * buffer.C: same as above
13901
13902         * paragraph.h: inserted isFreeSpacing() function to enable
13903         FreeSpacing inside InsetERT.
13904
13905         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13906         of the paragraph's in the cut/copy buffer to 0!
13907
13908         * text2.C (removeRow): remove the assert as it can!
13909
13910         * lyxtext.h: added helper function firstRow returning firstrow and
13911         made firstrow private again.
13912
13913         * BufferView2.C (lockInset): don't relock if we're already locked!
13914
13915         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13916         the only paragraph.
13917         (removeRow): added Assert::(firstrow)
13918
13919         * debug.C: forgot to add INSETTEXT here.
13920
13921 2001-11-28  Juergen Vigna  <jug@sad.it>
13922
13923         * sp_spell.C (initialize): changed error text to more general
13924         spellchecker command use (not only ispell!)
13925
13926         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13927
13928         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13929
13930 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * vspace.C: initialise lyxgluelength on failure
13933
13934 2001-11-28  Allan Rae  <rae@lyx.org>
13935
13936         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13937         declaration & definition that looks like a function declaration.
13938
13939 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * BufferView2.C (copy):
13942         (copyEnvironment): do not clear the selection when doing a copy.
13943
13944         * text.C (paintFirstRow): compilation fix
13945
13946 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13947
13948         * tabular.C (Latex): correct line count when writing latex.
13949
13950 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * paragraph_pimpl.h:
13953         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13954           bug a bit
13955
13956 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * text.C:
13959         * LColor.h:
13960         * LColor.C: change vfillline->added_space
13961
13962         * text.C: add markers and text for added space
13963
13964         * vspace.C: fix comment
13965
13966 2001-11-28  André Pönitz <poenitz@gmx.net>
13967
13968         * paragraph.C: whitespace changes
13969         * all the other files from the change on 2001/11/26:
13970         change *::pos_type into lyx::pos_type
13971
13972 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13973
13974         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13975         language of the document when inserting error insets.
13976
13977 2001-11-26  André Pönitz <poenitz@gmx.net>
13978
13979         * BufferView_pimpl.[Ch]:
13980         *       CutAndPaste.C:
13981         * buffer.[Ch]:
13982         * lyxcursor.[Ch]:
13983         * lyxfind.C:
13984         * lyxfunc.C:
13985         * lyxrow.[Ch]:
13986         * paragraph.[Ch]:
13987         * paragraph_pimpl.[Ch]:
13988         * sp_spell.C:
13989         * text.C:
13990         * text2.C: reduce header dependencies, introduce type for positions
13991
13992 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * <various>: change to use Alert.h
13995
13996 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13999         when encountering an unknown token.
14000         (readLyXformat2): Show an error message if there were unknown tokens.
14001
14002 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * BufferView2.C:
14005         * BufferView_pimpl.C:
14006         * buffer.C:
14007         * paragraph.h:
14008         * text.C:
14009         * text2.C: use par->isInset()
14010
14011 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * paragraph_pimpl.h:
14014         * paragraph_pimpl.C: cleanup
14015
14016 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14017
14018         * text2.C (removeRow):
14019         * text.C (setHeightOfRow): remove useless (and costly) call to
14020         getRow.
14021
14022 2001-11-20  Allan Rae  <rae@lyx.org>
14023
14024         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14025         Now need Inset*::checkInsertChar() to return true for appropriate
14026         cases so that the characters in the minibuffer will actually be
14027         inserted.
14028
14029 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * text.C: change the order of the includes.
14032         (workWidth): initialize it at once.
14033         (workWidth): make maxw unsigned
14034         (setHeightOfRow): remove unused variable (inset)
14035         (selectSelectedWord): remove unused variable (inset)
14036         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14037
14038 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14039
14040         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14041         server is not running.
14042         (openConnection):
14043         (closeConnection): add debug info when server is disabled.
14044
14045         * ColorHandler.C (getGCForeground): send debug message to GUI
14046         channel.
14047
14048         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14049
14050         * kbmap.C (bind): modify because return conventions of
14051         kb_sequence::parse have changed.
14052
14053         * kbsequence.C (parse): only ignore spaces and not any stupid
14054         control character. This avoids tests like s[i] <= ' ', which are
14055         guaranteed to fail with 8bit characters and signed chars.
14056         Change return code to string::npos when there have been no error
14057         (0 was a bad idea when error is at first character)
14058
14059 2001-11-14  José Matos  <jamatos@fep.up.pt>
14060
14061         * buffer.h:
14062         * buffer.C (simpleDocBookOnePar): removed unused argument.
14063
14064 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14067         insets which are part of a word. Paragraph::isLetter takes care of
14068         that now. Use Paragraph::isInset to identify insets.
14069         (selectSelectedWord): do not test for hyphenation break.
14070
14071         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14072         that protected spaces are considered as spaces.
14073
14074         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14075         Inset::isLetter.
14076
14077 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * lyxserver.h:
14080         * lyxserver.C: fix it. and small cleanup.
14081
14082 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * BufferView_pimpl.C: use inline helpers
14085
14086         * LaTeXFeatures.h:
14087         * LaTeXFeatures.C: fix typos
14088
14089         * Spacing.h:
14090         * Spacing.C: move spacing_string into class
14091
14092         * ToolbarDefaults.C: move stuff into namespace anon
14093
14094         * layout.h: update enum
14095
14096         * lyxfunc.C: use better debug
14097
14098         * minibuffer.h: fix typo
14099
14100         * debug.h:
14101         * debug.C:
14102         * WorkArea.C: add and use Debug::WORKAREA
14103
14104         * lyxtext.h:
14105         * text.C:
14106         * text2.C: code re-organisation, inline helpers
14107
14108 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14109
14110         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14111         std::vector.empty().
14112
14113 2001-11-09  Allan Rae  <rae@lyx.org>
14114
14115         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14116         '\n's after tables.  Tabular and ERT inset work now makes this no
14117         longer necessary.
14118
14119 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14120
14121         * minibuffer.h:
14122         * minibuffer.C: fix crash, improve drop-down completion
14123
14124 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * lyxserver.h:
14127         * lyxserver.C: invalidate fd's when doing endPipe()
14128
14129 2001-11-08  José Matos  <jamatos@fep.up.pt>
14130
14131         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14132         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14133
14134         * paragraph.h:
14135         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14136
14137 2001-11-07  José Matos  <jamatos@fep.up.pt>
14138
14139         * buffer.h:
14140         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14141         const qualifier.
14142
14143         * buffer.C (sgmlOpenTag):
14144         * buffer.C (sgmlCloseTag): removed debug info.
14145
14146         * buffer.h (sgmlOpenTag):
14147         * buffer.h (sgmlCloseTag): made public.
14148
14149 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14150
14151         * buffer.C (saveParamsAsDefaults):
14152         * lyx_cb.C (MenuLayoutSave): remove
14153
14154         * LyXAction.C (init):
14155         * commandtags.h:
14156         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14157
14158 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * buffer.C (setPaperStuff): removed from here...
14161
14162         * bufferparams.C (setPaperStuff): ... and moved there.
14163
14164 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14165
14166         * minibuffer.h:
14167         * minibuffer.C:
14168         * XFormsView.C: add support for drop-down completion
14169
14170 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14173         commands.
14174
14175 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14178         disabled.
14179
14180 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * lyx_main.C: change ref to known bugs
14183
14184 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14185
14186         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14187         to work around older babel problems.
14188
14189 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14190
14191         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14192
14193 2001-10-24  Juergen Vigna  <jug@sad.it>
14194
14195         * tabular-old.C (ReadOld): below variable changes reflected.
14196
14197         * tabular.[Ch]: added ltType struct for longtable header/footer
14198         defines and changed all instances where they are used. Added
14199         future support for double top/bottom rows.
14200
14201 2001-10-24  José Matos  <jamatos@fep.up.pt>
14202
14203         * buffer.h (docbookHandleCaption):
14204         * buffer.C (docbookHandleCaption): removed unused function.
14205         (makeDocBookFile): moved docbook supported version to v4.1.
14206
14207 2001-10-24  José Matos  <jamatos@fep.up.pt>
14208
14209         * tabular.h:
14210         * tabular.C (docbookRow): new function to export docbook code of a row.
14211         (DocBook): now honors the longtable flags.
14212
14213 2001-10-23  José Matos  <jamatos@fep.up.pt>
14214
14215         * LaTeXFeatures.h:
14216         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14217         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14218
14219         * buffer.C (makeLinuxDocFile):
14220         (makeDocBookFile): reworked the preamble, more clean, and with
14221         support for lyx defined entities. Changed the document declaration
14222         to be more XML friendly.
14223
14224         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14225         if we need to output XML that should be done with a filter.
14226
14227 2001-10-22  Juergen Vigna  <jug@sad.it>
14228
14229         * sp_pspell.h (class PSpell): add alive function needed in the
14230         controller to see if the spellchecker could be started.
14231
14232 2001-10-22  Juergen Vigna  <jug@sad.it>
14233
14234         * buffer.C (insertStringAsLines): modify the font for inserting
14235         chars in certain conditions by calling checkInsertChar(font).
14236
14237 2001-10-19  Juergen Vigna  <jug@sad.it>
14238
14239         * text.C (workWidth): use getRow instead of wrong algorithm.
14240         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14241
14242 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * lyxserver.h:
14245         * lyxserver.C:
14246         * lyx_main.h:
14247         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14248
14249 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * text.C (workWidth): do not search for the exact row when
14252         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14253         optimization for big documents.
14254
14255 2001-10-18  Juergen Vigna  <jug@sad.it>
14256
14257         * text.C (workWidth): new function with added Inset * parameter.
14258
14259 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14262
14263         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14264         change return type of getColumnNearX.
14265
14266
14267         * text.C (changeRegionCase): use uppercase/lowercase instead of
14268         toupper/tolower.
14269         (leftMargin):
14270         (rightMargin): simplify code by factoring out the uses of
14271         textclasslist.
14272         (labelFill):
14273         (numberOfHfills):
14274         (setHeightOfRow):
14275         (appendParagraph): use Paragraph::size_type
14276
14277 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14278
14279         * vspace.C (asLatexString): add a missing break
14280
14281 2001-10-15  Herbert Voss  <voss@perce.de>
14282
14283         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14284
14285 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14288         is not available.
14289
14290 2001-10-10  André Pönitz <poenitz@gmx.net>
14291
14292         * lyxfunc.C: removed greek_kb_flag.
14293
14294 2001-10-10  Herbert Voss  <voss@perce.de>
14295
14296         * lyx_main.C: delete global string help_lyxdir.
14297
14298 2001-10-09  Herbert Voss  <voss@perce.de>
14299
14300         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14301
14302         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14303
14304         * lyx_main.C: added global string help_lyxdir.
14305
14306         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14307
14308 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14309
14310         * lyxrc.C (set_font_norm_type): support iso8859-4
14311
14312 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14313
14314         * LaTeX.C (deplog): add another regex for MikTeX
14315
14316 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14317
14318         * lyxrc.C (set_font_norm_type): support iso8859-3
14319
14320 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14323
14324         * LaTeXFeatures.C: remove special case of french and index
14325
14326         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14327         before \begin{document}). This solves several incompatibilities.
14328
14329 2001-10-03  Garst Reese  <reese@isn.net>
14330
14331         * lyx_cb.C: change CheckTex error msg.
14332
14333 2001-10-03  José Matos  <jamatos@fep.up.pt>
14334
14335         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14336
14337 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * .cvsignore: update
14340
14341         * lyx_main.C (commandLineVersionInfo): use new style version info.
14342
14343         * buffer.C (writeFile):
14344         (makeLaTeXFile):
14345         (makeLinuxDocFile):
14346         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14347
14348         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14349
14350         * version.h: update to use stuff in version.C
14351
14352         * version.C.in: new file. Contains version information determined
14353         at compile time. This is a merging of version.h and
14354         version_info.h.in.
14355
14356 2001-10-03  Juergen Vigna  <jug@sad.it>
14357
14358         * BufferView_pimpl.C (update): don't change "dirty" status in
14359         updateInset call.
14360
14361 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14362
14363         * WorkArea.C (c-tor): re-position version string slightly.
14364
14365 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14366
14367         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14368         revert to previous code.
14369
14370         WorkArea.[Ch]: (show, destroySplash): methods removed.
14371
14372         WorkArea.C: rework code so that it's an amalgam of the codes before and
14373         after the splash screen was moved to WorkArea.
14374
14375 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14376
14377         * lyxrc.C (read):
14378         * vspace.C (inPixels):
14379         (lyx_advance):
14380         * kbmap.C (bind):
14381         * buffer.C (insertStringAsLines):
14382         (asciiParagraph): fix types to be large enough
14383
14384         * lyxlex_pimpl.h: change member status from short to int
14385
14386         * layout.h: fix type of endlabeltype
14387
14388         * kbmap.C (bind):
14389         * kbsequence.C (parse): change return type to string::size_type
14390
14391         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14392         variable
14393
14394         * Bullet.C (bulletSize):
14395         (bulletEntry): do not use short ints as parameters
14396
14397         * BufferView2.C (insertLyXFile): change a char to an int.
14398
14399         * WorkArea.C (WorkArea): remove unneeded floats in computation
14400
14401 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14402
14403         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14404
14405         * paragraph.C (asString): Do not ignore newline/hfill chars when
14406         copying to the clipboard.
14407
14408 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14409
14410         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14411         after a multi-line inset.
14412
14413 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * paragraph.C (validate): Set NeedLyXFootnoteCode
14416
14417 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14420         and decrease-error to decrease.
14421
14422 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14425         it more readable (should be equivalent)
14426
14427 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14428
14429         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14430
14431 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14434         of a cursor (row, etc.) after a character has been deleted
14435         (deleteEmptyParagraphMechanism): call the method above on _all_
14436         cursors held by the LyXText when a double space has been
14437         detected/deleted.
14438
14439 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14442         pixmap.
14443         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14444
14445         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14446         background. Use greyOut() and the new show() methods to toggle between
14447         the foreground and background. Add code to remove the splash after
14448         its initial showing.
14449
14450         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14451         (create_forms): no longer call Dialogs::showSplash.
14452
14453 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14454
14455         * .cvsignore: add version_info.h
14456
14457 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * version_info.h.in: new file
14460
14461         * Makefile.am: add version_info.h.in
14462
14463         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14464         version_info.h instead of VERSION_INFO
14465
14466 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14467
14468         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14469         The ERT inset now returns string().
14470
14471 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * lyxtext.h, text.C (selectNextWord): renamed as
14474         selectNextWordToSpellcheck.
14475
14476         * text.C (selectNextWordToSpellcheck): Modified to not select
14477         words inside an ERT inset.
14478
14479 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14480
14481         * lyx_cb.C (MenuLayoutSave): change a bit the question
14482
14483         * sp_base.h: include <sys/types.h>
14484
14485 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14488
14489 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14490
14491         * several files: fix typos in user-visible strings
14492
14493 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14494
14495         * text2.C (pasteSelection): do not set the selection, since it
14496         will be cleared later. Actually, the intent was to fix the way the
14497         selection was set, but I figured rmoving the code was just as good.
14498
14499 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14500
14501         * FontLoader.C (available): Check if font is available without
14502         loading the font.
14503
14504 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14505
14506         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14507
14508 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14509
14510         * lyxrc.[Ch]: added display_graphics variable and associated code.
14511
14512 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * bufferparams.C (hasClassDefaults): new method. Returns true if
14515         the buffer parameters correspond to known class defaults
14516
14517 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14518
14519         * XFormsView.C (show): set minimum size to the main window.
14520
14521 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14522
14523         * text2.C (copySelection):
14524         (cutSelection):
14525         * lyxfind.C (LyXReplace):
14526         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14527         LyXText::selectionAsString.
14528
14529         * paragraph.C (asString): add "label" argument to the second form
14530
14531         * text2.C (selectionAsString): add "label" argument and pass it to
14532         Paragraph::asString.
14533
14534 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * lyx_main.C (commandLineHelp): remove version information
14537
14538 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14539
14540         * lyx_main.C: add -version commandline option
14541
14542 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * paragraph.h: make the optional constructor arg required instead.
14545         some modifications to other files because of this.
14546
14547         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14548
14549         * lyxserver.C (C_LyXComm_callback): make it static
14550
14551         * lyx_main.C (error_handler): make it static
14552
14553         * lyx_gui.C (LyX_XErrHandler): make it static
14554
14555         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14556
14557         * WorkArea.C: make the extern "C" methods static.
14558
14559         * Makefile.am (lyx_LDADD): simplify
14560
14561 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14564         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14565
14566         * LyXAction.C (init):
14567         * lyxfunc.C (dispatch): associated code removal.
14568
14569 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * lyxfont.h (isSymbolFont): shut off warning
14572
14573         * text.C (setHeightOfRow):
14574         (getVisibleRow): fix crash with empty paragraphs which have a
14575         bottom line
14576
14577 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14578
14579         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14580         code.
14581
14582 2001-09-04  José Matos  <jamatos@fep.up.pt>
14583         * buffer.C
14584         * buffer.h
14585         * tabular.C (docbook): rename docBook method to docbook.
14586
14587 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * Makefile.am: add dependencies to main.o.
14590
14591 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14592
14593         * FontLoader.C (available): Return false if !lyxrc.use_gui
14594
14595 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14596
14597         * FontInfo.C (query):
14598         * converter.C (view):
14599         * importer.C (Import):
14600         * exporter.C (Export): Can not -> cannot.
14601
14602 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * BufferView_pimpl.C: allow to create index inset even if
14605           string is empty
14606
14607 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * buffer.C (getLists): replace boost::tie code with an explicit pair
14610         as boost::tie can break some compilers.
14611
14612         * iterators.h: Added a std:: declaration to the return type of
14613         ParIterator::size.
14614
14615 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14618           case.
14619
14620 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * iterators.[Ch]: New files. Provide paragraph iterators.
14623
14624         * buffer.C (changeLanguage): Use paragraph iterators.
14625         (isMultiLingual): ditto
14626
14627         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14628
14629 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * FontLoader.C: Support for cmr font.
14632
14633 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14636         (available): New method.
14637
14638         * FontInfo.C (getFontname): Use scalable fonts even when
14639         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14640         found.
14641
14642 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14643
14644         * converter.C (Formats::view): reverted! Incorrect fix.
14645
14646 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14647
14648         * converter.C (Formats::view): only output the -paper option
14649         if the dvi viewer is xdvi, thereby fixing bug #233429.
14650
14651 2001-08-23  Herbert Voss  <voss@perce>
14652
14653         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14654
14655 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14656
14657         * Spacing.h (Spacing): Set space to Default on in the default
14658         constructor.
14659
14660 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14661
14662         * vc-backend.h (RCS::versionString): add RCS to version
14663         (CVS::versionString): add CVS to version
14664
14665         * vc-backend.C (scanMaster): do not add CVS to version.
14666         (scanMaster): do not add RCS to version
14667
14668         * lyxvc.C (versionString): new method
14669
14670         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14671
14672 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14673
14674         * Spacing.C (set): initialize fval
14675
14676 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14677
14678         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14679         " or \.
14680
14681 2001-08-16  Juergen Vigna  <jug@sad.it>
14682
14683         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14684
14685 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14686
14687         * BufferView_pimpl.C:
14688         * figureForm.C:
14689         * lyxtext.h:
14690         * text2.C: setParagraph takes linespacing now
14691
14692 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * LyxAction.C: add internal LFUN_CITATION_INSERT
14695
14696         * LyXView.C: actually apply fix
14697
14698         * bufferlist.C: fix open non-existent file
14699
14700         * lyxfind.C: fix indentation
14701
14702         * lyxfunc.C: remove unneeded assert, fix typo
14703
14704 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14705
14706         * MenuBackend.C: use "Floatname List"
14707
14708 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14709
14710         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14711         when converting LaTeX layout to insetERT.
14712         Generate a non-collapsed float when reading old float
14713
14714 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14717         ERT insets.
14718
14719 2001-08-13  Juergen Vigna  <jug@sad.it>
14720
14721         * text.C (fill): return 0 instead of 20 as this seems to be the more
14722         correct value.
14723
14724 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14725
14726         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14727         lyxrc.font_norm.
14728
14729 2001-08-13  Juergen Vigna  <jug@sad.it>
14730
14731         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14732         casesensitive off.
14733         (SearchBackward): comment out the unlocking of the inset_owner this
14734         should not be needed!
14735
14736 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * Many files: Remove inherit_language, and add latex_language
14739
14740         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14741         collapsible insets.
14742
14743 2001-08-10  Juergen Vigna  <jug@sad.it>
14744
14745         * text.C (prepareToPrint): fixed hfill-width in draw!
14746
14747         * BufferView2.C (selectLastWord): save the selection cursor as this
14748         now is cleared in the function LyXText::clearSelection!
14749
14750 2001-08-08  Juergen Vigna  <jug@sad.it>
14751
14752         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14753         BACKSPACE type functions.
14754
14755         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14756         is only cutted from the document but not put in the cut-buffer, where
14757         still the old stuff should be.
14758
14759         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14760
14761         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14762
14763         * tabular.C (SetWidthOfCell): fixed special case where the width
14764         was not updated!
14765         (LeftLine): handle '|' in align_special.
14766         (RightLine): ditto
14767         (LeftAlreadyDrawed): ditto
14768         (SetWidthOfCell): ditto
14769
14770 2001-08-07  Juergen Vigna  <jug@sad.it>
14771
14772         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14773
14774 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14775
14776         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14777         * lyxlex.[hC]: ditto
14778
14779 2001-08-06  Juergen Vigna  <jug@sad.it>
14780
14781         * text.C (getVisibleRow): fix up row clearing a bit.
14782
14783 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * minibuffer.C: make sure the X server sees the changes in the input.
14786
14787 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14788
14789         * paragraph.C (getFont): split into...
14790         (getLabelFont): this
14791         (getLayoutFont): and this
14792         * paragraph_pimpl.C (realizeFont): calling this
14793
14794         * text2.C (getFont): split into...
14795         (getLayoutFont): this
14796         (getLabelFont): and this
14797         (realizeFont): all three calling this
14798
14799         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14800         files where used.
14801
14802 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14805
14806 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14807
14808         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14809         layouts from the Quote inset insertion.
14810
14811 2001-08-03  Juergen Vigna  <jug@sad.it>
14812
14813         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14814
14815         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14816         only if status not is already CHANGED_IN_DRAW (second level).
14817
14818         * text.C (draw): don't set the need_break_row when inside an
14819         InsetText LyXText.
14820
14821 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * buffer.C (parseSingleLyXformat2Token): handle more latex
14824         conversion cases.
14825
14826         * bufferview_funcs.[hC]: change function names to
14827         begin with small char, adjust other files.
14828
14829 2001-08-02  André Pönitz <poenitz@gmx.net>
14830
14831         * lyxfunc.C:
14832         BufferView_pimpl.C: remove broken special code for math-greek
14833
14834 2001-08-02  Juergen Vigna  <jug@sad.it>
14835
14836         * BufferView_pimpl.C (update): redone this function so that we
14837         update the text again if there was a CHANGE_IN_DRAW.
14838
14839         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14840         (drawFromTo): added a new internal bool which is used by draw() and
14841         redraw() function.
14842         (general): some cursor drawing problems fixed.
14843
14844 2001-08-01  Juergen Vigna  <jug@sad.it>
14845
14846         * lyxfind.C (LyXFind): fixed
14847         (SearchForward): ditto
14848         (SearchBackward): ditto
14849
14850         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14851         spurius drawing of the cursor in the main area.
14852
14853         * text2.C (status): small fix which could lead to a segfault!
14854         (clearSelection): remove unneeded BufferView param.
14855
14856 2001-08-01  André Pönitz <poenitz@gmx.net>
14857
14858         * lyxfunc.C: small change due to changed mathed interface
14859
14860 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14861
14862         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14863
14864 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * lyxfunc.c: fail gracefully if file doesn't exist
14867
14868         * LyXSendto.C:
14869         * buffer.C:
14870         * lyxfunc.C:
14871         * BufferView_pimpl.C: IsDirWriteable() proto changed
14872
14873         * LyXView.C: fix updateWindowTitle() to store the last title
14874
14875 2001-07-31  Juergen Vigna  <jug@sad.it>
14876
14877         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14878         the font (wrong since using of Paragraph::highestFontInRange).
14879
14880         * paragraph.C (highestFontInRange): added a default_size parameter.
14881
14882         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14883         (setHeightOfRow): reformat
14884
14885 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * converter.[hC] + affected files: move to (inital-char)lowercase
14888         function names.
14889
14890         * ParagraphParameters.C (ParagraphParameters): remove commented code
14891
14892         * PainterBase.[Ch]: remove commented code
14893
14894         * LaTeXFeatures.h: add "bool floats" for float.sty
14895
14896         * LaTeXFeatures.C (LaTeXFeatures): init floats
14897         (require): handle float
14898         (getPackages): do it with floats
14899
14900 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * BufferView_pimpl.C (Dispatch): improve handling of
14903         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14904
14905         * commandtags.h: #include lyxfont.h here temporarily to avoid
14906         keybinding bug.
14907
14908         * bufferlist.h: include LString.h here.
14909
14910 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * text2.C (getStringToIndex): new method.
14913
14914 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14915
14916         * *: Reduced header file dependencies all over.
14917
14918 2001-07-30  Baruch Even  <baruch@lyx.org>
14919
14920         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14921
14922 2001-07-29  Baruch Even  <baruch@lyx.org>
14923
14924         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14925
14926 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14927
14928         * ParameterStruct.h (endif): add a default constructor to make
14929         sure that all variables is initialized.
14930
14931         * ParagraphParameters.C (ParagraphParameters): adjust
14932
14933 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14934
14935         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14936         index; also, check that there is something to index, and that it
14937         does not span over several paragraphs.
14938         (doubleClick): use WHOLE_WORD_STRICT for double click.
14939
14940         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14941
14942         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14943         scheme.
14944
14945 2001-07-26  Baruch Even  <baruch@lyx.org>
14946
14947         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14948         an InsetFig figure, backwards compatible reading of old figure code.
14949
14950 2001-07-27  Juergen Vigna  <jug@sad.it>
14951
14952         * text2.C: font.realize function adaption.
14953
14954         * text.C (draw): add a warnings lyxerr text if needed.
14955
14956         * layout.C: font.realize function adaption.
14957
14958         * language.C: add inherit_language and implement it's handlings
14959
14960         * bufferview_funcs.C (StyleReset): remove language parameter from
14961         font creation (should be language_inherit now).
14962
14963         * bufferparams.C (writeFile): handle ignore_language.
14964
14965         * paragraph.C (getFontSettings): the language has to be resolved
14966         otherwise we have problems in LyXFont!
14967
14968         * lyxfont.C (lyxWriteChanges): added document_language parameter
14969         (update): removed unneeded language parameter
14970
14971         * paragraph.C (validate): fixed wrong output of color-package when
14972         using interface colors for certain fonts in certain environments,
14973         which should not seen as that on the final output.
14974
14975 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * BufferView_pimpl.C:
14978         * Thesaurus.h:
14979         * Thesaurus.C:
14980         * Makefile.am:
14981         * commandtags.h:
14982         * LyXAction.C: add thesaurus support
14983
14984         * lyxfind.h:
14985         * lyxfind.C: add "once" parameter, for thesaurus, to not
14986           move to the next match
14987
14988 2001-07-26  Juergen Vigna  <jug@sad.it>
14989
14990         * lyxfont.C (realize): honor ignore_language too!
14991         (resolved): ditto.
14992
14993         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14994
14995         * text.C (draw): one place more for ignore_language to not draw
14996         itself!
14997
14998 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14999
15000         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15001
15002 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15005         the minipage conversion problem.
15006
15007 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15010         insert an inset.
15011
15012 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * BufferView.h: don't forward declare WorkArea
15015
15016         * BufferView.C: don't include WorkArea.h
15017
15018 2001-07-25  André Pönitz <poenitz@gmx.net>
15019
15020         * commandtags.h:
15021         * LyXAction.C:
15022         * lyxfunc.C:  new LFUN 'math-space'
15023
15024         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15025
15026 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * text2.C (toggleInset): call open/close
15029
15030 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * lyxfunc.C (dispatch): add debug for the disabled case
15033
15034         * font.C (buttonText): make similar to rectText
15035
15036         * buffer.C (readInset): comment out parsing of insetlist and
15037         insttheorem
15038
15039         * PainterBase.C (rectText): small correction
15040
15041         * BufferView_pimpl.C: comment out insettheorem and insetlist
15042         * LyXAction.C: ditto
15043         * commandtags.h: ditto
15044
15045 2001-07-24  Juergen Vigna  <jug@sad.it>
15046
15047         * text.C (draw): honor the ignore_language.
15048
15049         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15050
15051 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15054         char inset.
15055
15056 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15057
15058         * lyxtext.h: remove unused (and unimplemented) methods
15059
15060 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15061
15062         * text.C (getVisibleRow): honor background color
15063
15064         * PainterBase.h:
15065         * Painter.h: remove default color argument for fillRectangle
15066
15067         * text.C (backgroundColor): new method
15068
15069 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15070
15071         * text.C (getVisibleRow): adjust
15072
15073         * font.[Ch] (rectText): new method, metrics
15074         (buttonText): new method, metrics
15075
15076         * PainterBase.[hC]: make rectText and buttonText always draw and take
15077         fewer paramteres.
15078
15079 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15080
15081         * ToolbarDefaults.C (read):
15082         * MenuBackend.C (read): allow escaping in all strings
15083
15084         * BufferView_pimpl.C (insertAndEditInset): new method.
15085         (Dispatch): use insertAndEditInset whenever appropriate.
15086
15087         * BufferView_pimpl.C (insertNote): removed
15088
15089         * BufferView_pimpl.C (smartQuote): new method, moved from
15090         BufferView; if an insetquote cannot be inserted, insert a '"'
15091         character instead.
15092
15093         * BufferView2.C: remove insertCorrectQuote();
15094
15095         * lyxfunc.C (getStatus): Add support for all remaingin
15096         inset-insert lfuns.
15097
15098         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15099
15100         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15101         command (necessary to pass " as parameter of self-insert.
15102
15103         * text.C (selectWordWhenUnderCursor):
15104         (selectWord): add word_location parameter
15105         (selectWordWhenUnderCursor): same + remove special code for word
15106         boundary.
15107         (selectNextWord): use kind() to guess type of insetspecialchar,
15108         not latex().
15109
15110         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15111         (insertErtContents): create ert insets as collapsed.
15112         (readInset): better compatibility code for Info inset.
15113
15114 2001-07-20  Juergen Vigna  <jug@sad.it>
15115
15116         * lyxfunc.C (dispatch): use always LyXFind now!
15117
15118         * text2.C (init): add a reinit flag so that the LyXText can be
15119         reinited instead of deleted and reallocated (used in InsetText).
15120
15121         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15122
15123         * text.C: ditto
15124
15125         * text2.C: ditto
15126
15127 2001-07-18  Juergen Vigna  <jug@sad.it>
15128
15129         * text.C (selectNextWord): handle insets inside inset by calling
15130         always the bv->text functions so that we can go up the_locking_inset!
15131
15132         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15133         in strange locations when inside an inset!
15134
15135         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15136         handling to include insets.
15137
15138         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15139
15140 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * LyXAction.C (init):
15143         * commandtags.h:
15144         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15145         LIGATURE_BREAK, since the name is so stupid.
15146
15147 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15148
15149         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15150         InsetInfos.
15151
15152         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15153
15154         * sp_form.[Ch]: remove.
15155
15156         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15157
15158         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15159         InsetInfo.
15160
15161         * src/buffer.C (readInset): ditto.
15162
15163 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15164
15165         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15166         menuSeparator(), endOfSentenceDot(), ldots() and
15167         hyphenationPoint(), which are therefore removed.
15168         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15169
15170         * LyXAction.C (init):
15171         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15172
15173         * paragraph.C (getWord): removed.
15174
15175         * BufferView_pimpl.C (Dispatch): use last word or selection for
15176         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15177
15178         * lyx_main.C (queryUserLyXDir): do not ask before creating
15179         user_dir, except if it has been named explicitely.
15180
15181 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15182
15183         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15184         a document of zero size.
15185
15186 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15187
15188         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15189         approriately in the c-tor and in require().
15190         (getPackages): output the appropriate LaTeX for natbib support.
15191
15192         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15193         variables "use_natbib" and "use_numerical_citations" when reading the
15194         LyX file.
15195         (readInset): read the various natbib cite commands.
15196         (validate): white-space change.
15197
15198         * bufferparams.[Ch]: new variables "bool use_natbib" and
15199         "bool use_numerical_citations".
15200         (writeFile): output them in the LyX file.
15201
15202 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15203
15204         * lyxfunc.C (getStatus): add support for all the inset insertion
15205         commands.
15206
15207         * text2.C (insertInset):
15208         * paragraph.C (insetAllowed):
15209         * BufferView_pimpl.C (insertInset): update to take in account the
15210         renaming of insertInsetAllowed
15211
15212         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15213
15214         * text2.C (getInset): new method. returns inset at cursor position.
15215
15216         * BufferView_pimpl.C (Dispatch): changes because of this.
15217
15218         * LyXAction.C (init): rename open-stuff to inset-toggle.
15219
15220         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15221
15222         * text2.C (toggleInset): renamed from openStuff; use
15223         Inset::open().
15224
15225 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15226
15227         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15228
15229         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15230
15231 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * buffer.C (readLyXformat2): Add filename to the error dialog
15234
15235 2001-07-18  Juergen Vigna  <jug@sad.it>
15236
15237         * tabular.C (GetCellNumber): put an assert here instead of the check!
15238
15239 2001-07-17  Juergen Vigna  <jug@sad.it>
15240
15241         * BufferView_pimpl.C (toggleSelection): adapted too.
15242
15243         * text.C (selectNextWord): adapted for use with insets.
15244         (selectSelectedWord): ditto
15245
15246 2001-07-17  Juergen Vigna  <jug@sad.it>
15247
15248         * sp_spell.C (PSpell): fix initialitation order.
15249
15250 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15251
15252         * paragraph.C: spacing
15253
15254 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15255
15256         * sp_spell.C: repair language selection for pspell
15257
15258 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * lyxfunc.h: change more methods to begin with lower char.
15261
15262 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15263
15264         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15265         for unknown layouts.
15266
15267 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15268
15269         * buffer.C (readLyXformat2): Generate an error dialog if there are
15270         unknown layouts.
15271
15272 2001-07-16  Juergen Vigna  <jug@sad.it>
15273
15274         * sp_spell.C: always compile ISpell part.
15275
15276         * lyxrc.C: added use_pspell entry and it's handling.
15277
15278 2001-07-13  Juergen Vigna  <jug@sad.it>
15279
15280         * sp_spell.C: removed double includes.
15281
15282 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15283
15284         Consistent use of Lsstream.h:
15285         * Lsstream.h: added using std::stringstream for consistencies sake.
15286
15287         * buffer.C: removed using std::stringstream
15288
15289         * lyxfont.C (stateText):
15290         * paragraph.C (asString):
15291         * text.C (selectNextWord, selectSelectedWord):
15292         * text2.C (setCounter):
15293         * vspace.C (asString, asLatexString):
15294         std::ostringstream -> ostringstream.
15295
15296 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15297
15298         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15299         * commandtags.h: add LFUN_HELP_ABOUTLYX
15300         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15301
15302 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15303
15304         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15305         cursorToggle()
15306         * lyx_gui_misc.C: remove spellchecker
15307         * lyxfunc.C: showSpellchecker
15308         * sp_base.h: added
15309         * sp_ispell.h: added
15310         * sp_pspell.h: added
15311         * sp_spell.C: added
15312         * sp_form.[Ch]: removed
15313         * spellchecker.[Ch]: removed
15314
15315 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15316
15317         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15318         is set.
15319         (simpleTeXSpecialChars): Simply print the input character without
15320         any special translation if pass_thru is set.
15321
15322         * layout.h: Added bool pass_thru to layout class for being able to
15323         implement pass through of a paragraph for Literate Programming.
15324
15325         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15326         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15327         * layout.C (Read): add "passthru" to list of layout tags and add
15328         code to set the pass_thru boolean when it is read.
15329
15330 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * trans_decl.h: remove allowed from KmodInfo
15333
15334         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15335         remove allowed code
15336         (Load): adjust
15337
15338         * paragraph_pimpl.C (erase): use boost::prior
15339
15340         * Painter.C (text): use data() instead of c_str() when length is
15341         also provided.
15342         * WorkArea.C (putClipboard): ditto
15343         * font.h (width): ditto
15344
15345         * BufferView2.C: use it-> instead of (*it). for iterators
15346         * texrow.C: ditto
15347         * paragraph_pimpl.C: ditto
15348         * paragraph.C: ditto
15349         * minibuffer.C: ditto
15350         * language.C: ditto
15351         * kbmap.C: ditto
15352         * encoding.C: ditto
15353         * counters.C: ditto
15354         * converter.C: ditto
15355         * chset.C: ditto
15356         * Variables.C: ditto
15357         * TextCache.C: ditto
15358         * MenuBackend.C: ditto
15359         * LyXAction.C: ditto
15360         * LColor.C: ditto
15361         * FloatList.C: ditto
15362         * DepTable.C: ditto
15363         * ColorHandler.C (LyXColorHandler): ditto
15364
15365 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15368
15369         * text2.C (openStuff): reintroduce this method (which had been
15370         nuked in NEW_INSETS frenzy).
15371
15372         * lyxfunc.C (Dispatch): when an action has not been handled, use
15373         its name in the error message, not its number.
15374
15375         * paragraph.C (inInset): change method name to begin with lowercase.
15376
15377         * undo_funcs.C:
15378         * text2.C: updates because of this.
15379
15380 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * ToolbarDefaults.C (add): add spaces in error message
15383
15384 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15387         (readLyXformat2): rename return_par to first_par, use lyxlex's
15388         pushToken and remove the manual push handling.
15389         (parseSingleLyXformat2Token): add another ert comp. variable:
15390         in_tabular, rename return_par to first_par. handle newlines better
15391
15392 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15395
15396 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * text2.C (getParFromID): removed
15399
15400         * buffer.C (getParFromID): new method moved form lyxtext.
15401         * BufferView2.C (insertErrors): adjust
15402         (setCursorFromRow): adjust
15403         * BufferView_pimpl.C (restorePosition): adjust
15404         * lyxfunc.C (Dispatch): adjust
15405         * undo_funcs.C (textUndo): adjust
15406         (textRedo): adjust
15407         (textHandleUndo): adjust
15408         (textHandleUndo): adjust
15409
15410 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * buffer.C: up' the LYX_FORMAT
15413
15414         * lyxfont.h: turn NO_LATEX on as default
15415
15416         * buffer.C (insertErtContents): new methods of tex style compability.
15417         (parseSingleLyXformat2Token): use it several places.
15418         * tabular.C (OldFormatRead): and here
15419
15420 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * text2.C: remove some commented code.
15423         reindent file.
15424
15425         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15426         * trans.C: changes because of the above.
15427
15428 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15429
15430         * text2.C (setCounter): Fix counters bug with bibliography layout.
15431
15432 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15433
15434         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15435         own member functions
15436         (simpleTeXSpecialChars): ditto
15437
15438 2001-07-06  Juergen Vigna  <jug@sad.it>
15439
15440         * a lot of files: changed the access to LyXText::status and the
15441         call of undo-functions.
15442
15443         * undo.[Ch]: added a inset_id to the undo informations.
15444
15445         * undo_funcs.[Ch]: added and moved here all undo functions.
15446
15447         * lyxtext.h: give the status enum a weight, made status_ a private
15448         variable and made accessor functions for it, removed the whole bunch
15449         of undo-functions as they are now in their own file, make some
15450         functions publically available. Added function ownerParagraph with
15451         int parameter.
15452
15453         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15454         made InInset() a const function, added getParFromID() function.
15455
15456         * buffer.[Ch]: added const version for inset_iterator functions,
15457         added getInsetFromID() function.
15458
15459         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15460         changed undo functions for new version.
15461
15462 2001-07-05  Juergen Vigna  <jug@sad.it>
15463
15464         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15465         unknow mechanism does not call the proper constructor but only this
15466         one also if I request the other!?
15467
15468 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15469
15470         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15471
15472         * text2.C (LyXText): use initialization lists.
15473
15474         * lyxtext.h (Selection): initialize set_ and mark_
15475         (init): remove method
15476
15477 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15478
15479         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15480
15481 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15482
15483         * screen.[Ch]: change method names to begin with lowercase
15484
15485         * BufferView_pimpl.C (updateScrollbar): simplify further and
15486         hopefully make it a bit faster.
15487
15488 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15491         calling directly xforms functions.
15492
15493         * Painter.C (Painter):
15494         * lyx_cb.C (MenuWrite):
15495         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15496         fl_display.
15497
15498         * lyx_gui.C: remove bogus guiruntime extern declaration.
15499
15500 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15503         in NEW_INSETS
15504         (redoDrawingOfParagraph): ditto
15505         (redoParagraphs): ditto
15506         (cutSelection): don't create a object for CutAndPaste use the
15507         static method directly
15508         (pasteSelection): ditto
15509
15510         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15511         LyXview (+ rename)
15512
15513 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15514
15515         * modifications to some other files because of this.
15516
15517         * Makefile.am (lyx_SOURCES): add XFormsView
15518
15519         * XFormsView.[Ch]: new files
15520
15521         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15522         the main window. Move the gui dependent stuff to XFormsView
15523
15524 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * tabular.C (GetCellInset): update cur_cell also in the row/col
15527         version of this function.
15528
15529         * lyxfunc.C: no need to include figure_form.h here.
15530
15531         * FontLoader.h:
15532         * lyxfunc.h:
15533         * lyxscreen.h:
15534         * text2.C:
15535         * lyxvc.C: no need to include forms.h here.
15536
15537 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15540
15541         * lyxfunc.C (Dispatch):
15542         * Spacing.C (set):
15543         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15544         constructor argument.
15545
15546 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * paragraph.C (Paragraph): dont't clear, and just set layout.
15549         (makeSameLayout): use params's copy contructor.
15550
15551         * ParagraphParameters.[Ch] (makeSame): delete method
15552
15553 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * Variables.[Ch]: fix indentation, rename set to isSet
15556
15557 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15558
15559         * lyxfunc.C (Dispatch): fix typo
15560
15561 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15564         upper_bound.
15565
15566         * bufferlist.C: include assert.h for emergencyWrite().
15567
15568 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15569
15570         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15571           give up at last (bug #425202) !
15572
15573 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15574
15575         * lyx_gui_misc.C:
15576         * sp_form.h:
15577         * sp_form.C:
15578         * spellchecker.h:
15579         * spellchecker.C: strip spellchecker options and bring up
15580           preferences tab instead
15581
15582 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15585         the istringstream constructor
15586
15587 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * paragraph.C (getLayout): fix return value
15590
15591         * paragraph.h: do not declare getLayout as inline.
15592
15593         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15594
15595 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15596
15597         * lyxcursor.h (operator<): new func
15598         (operator>): new func
15599         (operator>=): new func
15600         (operator<=): new func
15601
15602         * text.C (changeCase): use selection.start and selection.end
15603         (changeRegionCase): require from to be <= to. Require par to be a
15604         valid paragraph.
15605
15606         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15607
15608 2001-06-27  Juergen Vigna  <jug@sad.it>
15609
15610         * text.C (cursorLeftOneWord): changed to return the cursor and added
15611         overlay with BufferView * parameter which calls this one.
15612         (getWord): added
15613         (selectWord): use new getWord function.
15614         (changeCase): renamed from changeWordCase as and extended to work
15615         also on selections.
15616
15617         * lyxtext.h: added enum word_location
15618
15619         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15620         changeCase as this operates now also on selections.
15621
15622 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15623
15624         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15625
15626         * many files: send debug output to Debug::INFO instead of
15627         Debug::ANY.
15628
15629         * converter.C (View):
15630         (Convert):
15631         (Move): send debug output to Debug::FILES instead of console.
15632
15633 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15634
15635         * lyxfunc.C (getStatus): use func_status
15636
15637         * func_status.h: new header, describing the results of
15638         LyXFunc::getStatus;
15639
15640         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15641         LFUN_MATH_HALIGN.
15642
15643 2001-06-25  The LyX Project  <jug@sad.it>
15644
15645         * buffer.C (sgmlOpenTag):
15646         (sgmlCloseTag):
15647         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15648
15649 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * text2.C: remove some dead code
15652
15653         * tabular.C (GetCellInset): store the last cell checked (gotten)
15654
15655         * tabular.h: add the helper for the speedup
15656
15657         * lyxtext.h: remove some dead code
15658
15659 2001-06-26  The LyX Project  <Asger>
15660
15661         * paragraph.C: Change export to LaTeX of alignment to
15662         \begin{center} and family for better roundtrip work with reLyX.
15663
15664         * Tune the math drawing a bit.
15665
15666 2001-06-25  The LyX Project  <Asger>
15667
15668         * LColor.C (LColor): New color for math background. New color
15669         for buttons.
15670
15671 2001-06-25  The LyX Project  <jug@sad.it>
15672
15673         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15674
15675         * lyxfunc.C (Open):
15676         * bufferlist.C (newFile): do not restrict to files ending with
15677         .lyx
15678
15679         * BufferView_pimpl.C (MenuInsertLyXFile):
15680
15681 2001-06-24  The LyX Project  <jug@sad.it>
15682
15683         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15684         of compare_no_case
15685
15686 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15687
15688         * lyxtext.h: rename most methods to begin with a small char.
15689         Lots of changes because of this.
15690
15691         * paragraph.C (Paragraph): do not call fitToSize
15692         (erase): call Pimpl::erase
15693         (insertChar): call Pimpl::insertChar
15694         (insertInset): call Pipl::insertInset
15695         (breakParagraph): do not call fitToSize
15696         (breakParagraphConservative): do not call fitToSize
15697         (fitToSize): remove method
15698
15699         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15700
15701 2001-06-24  The LyX Project  <Asger>
15702
15703         * Fix Qt compilation^2
15704
15705 2001-06-24  The LyX Project  <jug@sad.it>
15706
15707         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15708         depthHook(getDepth()-1).
15709
15710         * paragraph.h:
15711         * ParagraphParameters.h:
15712         * ParameterStruct.h: change type of depth to unsigned int ==
15713         depth_type. Many adaptations to other files before of that.
15714
15715 2001-06-24  The LyX Project  <Asger>
15716
15717         * Fix Qt compilation.
15718
15719 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * paragraph.h: renamed several methods to begin with small letter.
15722         several changes to many parts of the code because of this.
15723
15724 2001-06-23  The LyX Project  <jug@sad.it>
15725
15726         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15727         rewritten to discard all double spaces when KeepEmpty is off
15728         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15729         to only handle newlines but not fiddle with spaces and friends.
15730
15731         * lyxfunc.C (MenuNew): when doing 'new from template', use
15732         template_path as default directory
15733
15734 2001-06-23  The LyX Project  <Asger>
15735
15736         * Clean-up of header file includes all over
15737         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15738
15739 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * paragraph.h: renamed from lyxparagraph.h
15742
15743 2001-06-23  Asger  <lyx@violet.home.sad.it>
15744
15745         * Buffer.h: Removed Buffer::resize
15746         * BufferList.h: Removed BufferList::resize
15747         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15748         the document lazily when we change the width, or the font settings.
15749
15750 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15751
15752         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15753
15754 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * buffer.h: remove out of date comment
15757
15758 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15759
15760         * lyxscreen.h:
15761         * screen.C: fix "theoretical" GC leak
15762
15763 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15764
15765         * LaTeX.C (scanAuxFile):
15766         (deplog): remove trailing \r when reading stream (useful under
15767         win32)
15768
15769 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15770
15771         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15772         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15773         and BufferView::theLockingInset(Inset*), so should use them and not
15774         access bv_->text->the_locking_inset directly.
15775
15776         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15777
15778 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * Makefile.am:
15781         * tex-defs.h: remove old unused file
15782
15783 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15784
15785         * BufferView_pimpl.C: fix typo, remove minibuffer message
15786           when buffer has loaded
15787
15788 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15789
15790         * lyxfunc.C (Dispatch): use stringstream
15791         (MenuNew): use stringstream
15792         (Open): use stringstream
15793
15794         * importer.C (Import): use stringstream
15795
15796         * bufferview_funcs.C (CurrentState): use stringstream
15797
15798         * LaTeX.C (run): use stringstream
15799
15800         * BufferView_pimpl.C (savePosition): use stringstream
15801         (restorePosition): use stringstream
15802         (MenuInsertLyXFile): use stringstream
15803
15804 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * BufferView.C:
15807         * Bullet.C:
15808         * ColorHandler.C:
15809         * FontInfo.C:
15810         * FontLoader.C:
15811         * LColor.C:
15812         * LaTeXFeatures.C:
15813         * Painter.C:
15814         * gettext.C:
15815         * lyx_gui_misc.C:
15816         * lyxserver.C:
15817         * vspace.C: removed // -*- C++ -*- as first line.
15818
15819         * lyxfind.h:
15820         * version.h: added // -*- C++ -*- as first line.
15821
15822 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15823
15824         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15825
15826         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15827         of string
15828
15829 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15830
15831         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15832         of floats.
15833
15834 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * gettext.C: include LString.h even when --disable-nls is on.
15837
15838 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15839
15840         * converter.h (Get): changed argument type from int to
15841         FormatList::size_type to avoid unnecessary conversion.
15842
15843         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15844         before using it.
15845
15846 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15847
15848         * gettext.h: include LString.h even when --disable-nls is on.
15849
15850 2001-06-07  Juergen Vigna  <jug@sad.it>
15851
15852         * text.C (BreakAgain): subst spaces with tabs.
15853
15854         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15855         (resizeInsetsLyXText): set force on resizeLyXText.
15856
15857 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * gettext.h (gettext_init):
15860         (locale_init): use a real definition instead of a macro
15861
15862 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15863
15864         * Bufferview_pimpl.C:
15865         * LColor.h:
15866         * LColor.C: further lcolor tidies
15867
15868 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * BufferView_pimpl.C (updateScrollbar): simplify.
15871
15872         * BufferView2.C: don't include insets/insetinfo.h, change
15873         prototype for insertInset and call the Pimpl version. let
15874         updateInset call Pimpl version.
15875
15876         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15877         gotoInset to BufferView::Pimpl
15878
15879 2001-06-01  Juergen Vigna  <jug@sad.it>
15880
15881         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15882         inside a LockingInset (is the update needed at all?).
15883
15884 2001-05-31  Juergen Vigna  <jug@sad.it>
15885
15886         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15887         here not the old one otherwise how should we compare it afterwards
15888         if it's the same!
15889
15890 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * lyxfont.C:
15893         * tabular.C:
15894         * tabular-old.C:
15895         * FontInfo.C: bring C functions into global namespace when
15896         necessary
15897
15898 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * LString.h: make sure config.h has been loaded before LString.h.
15901
15902         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15903         (one for each char read by EatLine!).
15904
15905         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15906         variables.
15907
15908 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15909
15910         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15911         to the same as the par we break from
15912
15913 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15916
15917         * MenuBackend.C (expand): also create menu entries for wide
15918         versions of the floats.
15919
15920         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15921
15922         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15923
15924         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15925         frontends/Makefile.am
15926
15927         * text2.C: adjust
15928         * text.C: adjust
15929
15930
15931         * tabular.C (getTokenValue): add std::
15932
15933         * tabular-old.C (getTokenValue): add std::
15934         (getTokenValue): ditto
15935         (getTokenValue): ditto
15936
15937         * screen.C (ToggleSelection): adjust
15938
15939         * lyxtext.h: put selection cursors inside a Selection struct.
15940
15941         * lyxfunc.C (moveCursorUpdate): adjust
15942
15943         * lyxfont.C (latexWriteStartChanges): add std::
15944
15945         * lyxfind.C: adjust
15946
15947         * font.h: delete with(char const *, LyXFont const &)
15948
15949         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15950
15951         * FontInfo.C (getFontname): add std::
15952
15953         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15954         (workAreaButtonPress): adjust
15955         (tripleClick): adjust
15956         (update): adjust
15957         (moveCursorUpdate): adjust
15958         (Dispatch): adjust
15959
15960         * BufferView2.C (gotoInset): adjust
15961
15962 2001-05-30  Juergen Vigna  <jug@sad.it>
15963
15964         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15965         to check pspell I add this as default as I now have new pspell
15966         libraries and they seem to use this.
15967
15968 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15969
15970         * text2.C (CutSelection): make the cursor valid before the call to
15971         ClearSelection.
15972
15973 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15974
15975         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15976         relied on 0 terminated strings and other horrors. Bug found due to
15977         the new assert in lyxstring!
15978
15979         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15980         KP_ keys.
15981
15982 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15983
15984         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15985         to latinkeys.bind.
15986
15987         * lyxfunc.C (processKeySym): change method of getting to the
15988         self-insert char.
15989
15990         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15991         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15992         * BufferView_pimpl.[Ch]: here as private methods.
15993
15994 2001-05-28  Juergen Vigna  <jug@sad.it>
15995
15996         * text.C (SetHeightOfRow): added the update() call again as it is
15997         needed to initialize inset dimensions!
15998
15999 2001-05-16  Juergen Vigna  <jug@sad.it>
16000
16001         * text2.C (SetCharFont): Add new function with BufferView * and
16002         bool toggleall parameters for setting insets internal fonts.
16003         (SetFont): Freeze the undo as we may change fonts in Insets and
16004         all this change should be inside only one Undo!
16005
16006         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16007         setting font's in insets as for them we have the SetFont function!
16008
16009 2001-05-15  Juergen Vigna  <jug@sad.it>
16010
16011         * text2.C (ClearSelection): to be sure we REALLY don't have any
16012         selection anymore!
16013
16014         * tabular.C (TeXCellPreamble): fixed the left border problem for
16015         multicolumn cells.
16016
16017 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16020         dependancy file
16021
16022 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16023
16024         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16025         LFUN_BREAKPARAGRAPH.
16026
16027         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16028         help test to "internal only", similar for LFUN_INSERT_URL
16029
16030         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16031         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16032         auto_region_delete and deadkeys.
16033
16034 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16035
16036         * LColor.h:
16037         * LColor.C: remove some dead entries, tidy a little
16038
16039 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16042         commented code.
16043         (Dispatch): implement LFUN_ESCAPE
16044
16045         * commandtags.h: add LFUN_ESCAPE
16046
16047         * LyXAction.C (init): add entry for LFUN_ESCAPE
16048
16049         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16050         Remove commented code.
16051         (insertNote): moved here
16052         (open_new_inset): moved here
16053
16054         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16055         BufferView_pimpl
16056
16057 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16058
16059         * kbmap.C (findbinding): clean it up and make it work correctly.
16060
16061         * lyx_main.C (init): do not pass argc and argv as parameters
16062
16063 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16064
16065         * buffer.C: fix path for OS/2 & Win32
16066
16067         * lyx_gui.C:
16068         * lyx_main:
16069         * lyx_main.C: Added os:: class.
16070
16071         * os2_defines.h: update
16072
16073 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16076         better by trying again with reduced state.
16077
16078 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16079
16080         * lyxrc.C (read): print error about invalid key sequence only when
16081         debugging (because not all latinX keysyms are known to some X
16082         servers)
16083
16084         * kbsequence.C (getiso): add a few std:: qualifiers
16085         (getiso): comment out extra return statement.
16086
16087 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16090         handling.
16091         (Dispatch): enhance the accent inset a bit. (not perfect)
16092
16093 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16096
16097 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * bufferlist.C (emergencyWrite): fix assert() call
16100
16101 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16102
16103         * text.C (InsertChar): Added trivial patch to only send the "you
16104         can not do multiple spaces this way" message once during a
16105         session.
16106
16107 2001-05-08  Baruch Even  <baruch@lyx.org>
16108
16109         * Makefile.am: Changed order of libraries to get LyX to link properly
16110         with the gnome frontend.
16111
16112 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * LaTeXFeatures.h: add a std:: qualifier
16115
16116 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * paragraph.C (String): use stringstream
16119
16120 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * paragraph.C (writeFile): remove footflag arg
16123
16124         * buffer.C (makeLaTeXFile): use stringstream
16125         (latexParagraphs): remove footnot gurba
16126
16127         * LaTeXFeatures.C (getPackages): use stringstream
16128         (getMacros): likewise
16129         (getTClassPreamble): likewise
16130         (getFloatDefinitions): new method
16131
16132         * paragraph.C (writeFile): reindent
16133         (Erase): reindent
16134
16135         * WorkArea.h: revert the xpos + etc changes.
16136
16137         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16138
16139         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16140
16141         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16142         (pasteSelection): likewise
16143         * text2.C (CreateUndo): likewise
16144
16145 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16146
16147         * minibuffer.C (peek_event): temporarily reduce the functionality
16148         of the minibuffer (to allow args on lfuns)
16149
16150         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16151         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16152
16153         * buffer.C (readInset): add compability reading of old float
16154         lists, add reading of new style float list.
16155         (readInset): avoid reevaluation of inscmd.getCmdName()
16156         (getLists): reindent
16157
16158         * MenuBackend.C (MenuItem): implement parsing of
16159         md_floatlistinsert and md_floatinsert.
16160         (expand::LastFiles): move initalizaton of iterators out of loop,
16161         avoid reevaluation.
16162         (expand::Documents): introduce typdedef vector<string> Strings,
16163         and use it.
16164         (expand::ExportFormats): introduce typedef vector<Format const *>
16165         Formats, and use it.
16166         (expand): implement FloatListInsert and FloatInsert.
16167
16168         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16169         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16170         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16171
16172         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16173         handling.
16174         (Dispatch::LFUN_FLOAT_LIST): implement
16175
16176 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16177
16178         * LaTeX.C (run): Fix problem with --export code.
16179
16180 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16181
16182         * BufferView.[Ch] (workarea): removed.
16183         (getClipboard) new method; wrapper for workarea()->getClipboard()
16184
16185         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16186         bug.
16187
16188         * WorkArea.h (width, height, xpos, ypos): These methods all
16189         returned the dimensions of the work_area sub-area of WorkArea,
16190         resulting in a position error if the WorkArea were resized. Now
16191         return the dimensions of the entire WorkArea.
16192
16193         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16194
16195 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16196
16197         * LaTeX.C (deplog): correct the syntax of regex reg1
16198
16199 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16200
16201         * undo.C: remove !NEW_INSETS cruft
16202
16203 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16204
16205         * text2.C: remove !NEW_INSETS cruft
16206
16207         * text.C: remove !NEW_INSETS cruft
16208
16209         * tabular.C: remove !NEW_INSETS cruft
16210
16211         * spellchecker.C: remove !NEW_INSETS cruft
16212
16213         * lyxtext.h: remove !NEW_INSETS cruft
16214
16215         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16216
16217         * lyxfunc.C: remove !NEW_INSETS cruft
16218
16219         * lyxfind.C: remove !NEW_INSETS cruft
16220
16221         * lyx_cb.C: remove !NEW_INSETS cruft
16222
16223         * figureForm.C: remove  !NEW_INSETS cruft
16224
16225         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16226
16227         * buffer.[Ch]: remove !NEW_INSETS cruft
16228
16229         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16230
16231         * CutAndPaste.C: remove !NEW_INSETS cruft
16232
16233         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16234
16235         * BufferView2.C: remove !NEW_INSETS cruft
16236
16237         * BufferView.h: remove !NEW_INSETS cruft
16238
16239 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16240
16241         * Lsstream.h: include LString.h before the sstream headers to
16242         fix problem with gcc 2.95.3 and lyxstring
16243
16244 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * lyx_main.C: add using directives when needed for C functions
16247         declared in std:: namespace.
16248
16249 2001-04-27  Juergen Vigna  <jug@sad.it>
16250
16251         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16252         (SetHeightOfRow): comment out the update call should not be needed!
16253
16254 2001-04-13  Juergen Vigna  <jug@sad.it>
16255
16256         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16257         (LyXTabular): tried to minimize operator= operations (and realized
16258         hopfully Lars wish).
16259
16260 2001-04-27  Juergen Vigna  <jug@sad.it>
16261
16262         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16263
16264 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16267
16268         * buffer.C (readInset): hack to make listof algorithm work
16269
16270         * BufferView_pimpl.C: hack to make listof algorithm work
16271
16272 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * LyXAction.C: removed all !NEW_INSETS cruft
16275         (init): moved lfun_item in method
16276
16277         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16278
16279 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16280
16281         * BufferView2.C (theLockingInset): white space.
16282
16283 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16284
16285         * minibuffer.C: include <iostream>
16286
16287         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16288
16289         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16290
16291         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16292
16293         * text.[Ch] (TransposeChars): new method
16294
16295 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16296
16297         * call message directly through LyXView instead of through LyXFunc
16298         * BufferView2.C: adjust
16299         * BufferView_pimpl.C: adjust
16300         * FontLoader.C: adjust
16301         * buffer.C: adjust
16302         * bufferview_funcs.C: adjust
16303         * converter.C: adjust
16304         * figureForm.C: adjust
16305         * importer.C: adjust
16306         * lyx_cb.C: adjust
16307         * lyx_gui_misc.C: adjust
16308         * lyxfunc.C: adjust
16309         * lyxvc.C: adjust
16310         * text2.C: adjust
16311         + more files in subdirs
16312
16313         * lyxparagraph.h (size): move up int file
16314         (GetLayout): ditto
16315
16316         * adjust all uses of Assert to lyx::Assert.
16317
16318         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16319         lyxfunctional in namespace lyx
16320         * layout.C (hasLayout): ditto
16321         (GetLayout): ditto
16322         (GetLayout): ditto
16323         (delete_layout): ditto
16324         (NumberOfClass): ditto
16325         * converter.C (GetFormat): ditto
16326         (GetNumber): ditto
16327         (Add): ditto
16328         (Delete): ditto
16329         (SetViewer): ditto
16330         * bufferlist.C (getFileNames): ditto
16331         (emergencyWriteAll): ditto
16332         (exists): ditto
16333         (getBuffer): ditto
16334         * MenuBackend.C (hasSubmenu): ditto
16335         (hasMenu): ditto
16336         (getMenu): ditto
16337         * BufferView_pimpl.C (getInsetByCode): ditto
16338
16339 2001-04-18  Juergen Vigna  <jug@sad.it>
16340
16341         * vspace.C (asLatexString): fixed the 100% problem.
16342
16343 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16344
16345         * lyxfunc.C (Dispatch):
16346         * minibuffer.C:
16347         * minibuffer.h: add a few std:: qualifiers
16348
16349 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * minibuffer.[Ch]: reimplement so that commands is initiated and
16352         run from lyxfunc, simplified som handling, and made the completion
16353         and history code for complete. wip.
16354
16355         * lyxfunc.C (processKeySym): call message
16356         (miniDispatch): new temporary method
16357         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16358         (LFUN_MESSAGE): implement
16359         (LFUN_MESSAGE_PUSH): implement
16360         (LFUN_MESSAGE_POP): implement
16361         (initMiniBuffer): the initial/defualt minibuffer message.
16362
16363         * lyxfont.[Ch]: inline some more getters
16364
16365         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16366
16367         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16368
16369         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16370         (AutoSave): use LFUN_MESSAGE
16371         (Reconfigure): ditto
16372
16373         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16374
16375         * figureForm.C: use LFUN_MESSAGE
16376
16377         * converter.C (runLaTeX): use LFUN_MESSAGE
16378
16379         * bufferview_funcs.C: use LFUN_MESSAGE
16380         (Melt): ditto
16381         (changeDepth): ditto
16382
16383         * bufferparams.h: use boost::
16384
16385         * bufferlist.h: inherit privately from noncopyable
16386
16387         * bufferlist.C (loadLyXFile): remove some commented code.
16388
16389         * buffer.C (runChktex): use LFUN_MESSAGE
16390
16391         * ShareContainer.h: inherit privately from noncopyable
16392
16393         * ParagraphParameters.[hC] (depth): inline it.
16394
16395         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16396         methods.
16397         (message): new method
16398         (messagePush): ditto
16399         (messagePop): ditto
16400         (show): init minibuffer
16401         (showState): direct call
16402
16403         * LaTeX.[Ch]: inherit privately from noncopyable
16404         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16405         instead of WriteStatus.
16406
16407         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16408
16409         * BufferView_pimpl.C (buffer): don't init minibuffer
16410         (workAreaButtonPress): use LFUN_MESSAGE
16411         (workAreaButtonRelease): ditto
16412         (savePosition): ditto
16413         (restorePosition): ditto
16414         (MenuInsertLyXFile): ditto
16415         (workAreaExpose): don't init minibuffer
16416         (update): remove commented code, simplify
16417
16418         * BufferView2.C (openStuff): use LFUN_MESSAGE
16419         (toggleFloat): ditto
16420         (menuUndo): ditto
16421         (menuRedo): ditto
16422         (copyEnvironment): ditto
16423         (pasteEnvironment): ditto
16424         (copy): ditto
16425         (cut): ditto
16426         (paste): ditto
16427         (gotoInset): ditto
16428         (updateInset): remove some commented code
16429
16430         * lastfiles.h: inherit privately from noncopyable
16431         * layout.h: ditto
16432         * lyx_gui.h: ditto
16433         * lyx_main.h: ditto
16434         * lyxlex.h: ditto
16435         * lyxlex_pimpl.h: ditto
16436
16437         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16438         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16439         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16440
16441         * LyXAction.h: inherit privately from noncopyable, add methods
16442         func_begin, func_end, returning iterators to the func map.
16443
16444         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16445         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16446         (func_begin): new method
16447         (func_end): new method
16448
16449         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16450         and not)
16451         (copySelection): ditto
16452         (pasteSelection): ditto
16453
16454         * BufferView.C: whitespace change
16455         * BufferView.h: inherit privately from noncopyable
16456
16457 2001-04-16  Allan Rae  <rae@lyx.org>
16458
16459         * tabular-old.C (l_getline):
16460         * spellchecker.C (sc_check_word):
16461         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16462         an unrecognised preprocessor directive.  So ensure they're wrapped.
16463
16464 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16465
16466         * src/exporter.C (Export): Give an error message when path to file
16467         contains spaces.
16468
16469 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * LaTeX.C (deplog): Always check that foundfile exists.
16472
16473 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16474
16475         * lyx_main.h:
16476         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16477
16478 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * tabular.[Ch] (getLabelList): implement new method
16481
16482         * minibuffer.h: comment ouf setTiimer
16483
16484         * minibuffer.C (ExecutingCB): constify res
16485         (peek_event): constify s
16486         (Set): constify ntext
16487         (Init): constify nicename
16488
16489         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16490
16491         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16492         (savePosition): use two params to Minibuffer::Set
16493         (restorePosition): ditto
16494
16495 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16496
16497         * lyx_main.C: include language.h
16498
16499         * Makefile.am (lyx_main.o): add language.h
16500
16501 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * exporter.C:
16504         * paragraph.C:
16505         * screen.C:
16506         * tabular.C:
16507         * CutAndPaste.C: include gettext.h
16508
16509         * lyxfont.h: remove old hack with ON and OFF.
16510
16511         * lyxparagraph.h:
16512         * lyxfont.h: do not include language.h...
16513
16514         * BufferView2.C:
16515         * LaTeXFeatures.C:
16516         * Painter.C:
16517         * bufferview_funcs.C:
16518         * font.C:
16519         * lyxfont.C:
16520         * text.C:
16521         * text2.C:
16522         * trans_mgr.C:
16523         * paragraph.C: ... but do it here instead
16524
16525 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16526
16527         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16528
16529         * tabular.C: small reformat
16530
16531         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16532         NEW_INSETS version
16533         (GetChar): ditto
16534         (BreakParagraph): ditto
16535         (SetOnlyLayout): ditto
16536         (SetLayout): ditto
16537
16538         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16539         with one arg less.
16540
16541         * lastfiles.C: removed most using decl, add std:: where needed
16542
16543         * buffer.C: ws changes
16544
16545         * MenuBackend.C (class compare_format): put into anon namespace
16546         (expand): constify label, names, action, action2
16547         (expand):
16548
16549         * text.C (SingleWidth): constify font
16550         (IsBoundary): constify rtl2
16551         (GetVisibleRow): constify ww
16552
16553         * LaTeX.C (deplog): constify logfile
16554
16555         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16556         start_x, end_x
16557         (workAreaExpose): constify widthChange, heightChange
16558
16559         * lyxrow.C (par): moved
16560         (height): moved
16561         (next): moved
16562         * lyxrow.h: as inlines here
16563
16564         * lyxfont.h (shape): moved from lyxfont.C
16565         (emph): moved from lyxfont.C
16566
16567         * lyxfont.C (LyXFont): use initialization list for all
16568         constructors
16569         (shape): move to lyxfont.h as inline
16570         (emph): move to lyxfont.h as inline
16571
16572
16573 2001-04-04  Juergen Vigna  <jug@sad.it>
16574
16575         * vspace.C: had to include stdio.h for use of sscanf
16576
16577 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16578
16579         * BufferView.h:
16580         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16581         independent of xforms.
16582
16583 2001-04-02  Juergen Vigna  <jug@sad.it>
16584
16585         * spellchecker.C: fixed namespace placing!
16586
16587 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16588
16589         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16590         the LyXParagraph * is 0.
16591
16592 2001-03-29  Juergen Vigna  <jug@sad.it>
16593
16594         * vspace.C: added support for %, c%, p%, l%.
16595         (stringFromUnit): added helper function.
16596         (asLatexString): changed to give right results for the %-values.
16597
16598         * buffer.C: convert the widthp in a width%.
16599
16600 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16601
16602         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16603         figureForm.[Ch].
16604
16605         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16606         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16607
16608         * lyx_cb.[Ch]: see above.
16609
16610         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16611         form1.[Ch].
16612
16613         * form1.[Ch]:
16614         * lyx.[Ch]: replaced by figure_form.[Ch].
16615
16616         * lyx_gui.C:
16617         * lyx_gui_misc.C:
16618         * lyxfunc.C: changed headers associated with above changes.
16619
16620 2001-03-27  Juergen Vigna  <jug@sad.it>
16621
16622         * BufferView_pimpl.C: set the temporary cursor right!
16623
16624 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16625
16626         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16627
16628 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16629
16630         * LString.h: removed "using std::getline"!
16631
16632         * BufferView_pimpl.C (Dispatch): changes due to changes in
16633         InsetInclude::Params.
16634
16635         * buffer.C (tag_name): removed redundant break statements as they were
16636         producing lots of warnings with my compiler.
16637
16638 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16639
16640         * LString.h: add "using std::getline" when using the real <string>.
16641
16642 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16643
16644         * buffer.C: removed bitset usage.
16645         PAR_TAG moved to an anonymous name space.
16646         (tag_name): new funtion, also in the anonymous namespace.
16647         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16648         (makeDocBookFile): clean code. Completed transition from string arrays
16649         to string vectors.
16650         (SimpleDocBookOnePar): code clean.
16651
16652 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16653
16654         * tabular.C: add some comments.
16655
16656 2001-03-22  Juergen Vigna  <jug@sad.it>
16657
16658         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16659         compatibility read a bit and fixed bug with minipage in different
16660         depth.
16661
16662 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16663
16664         * buffer.C (pop_tag): removed.
16665         (push_tag): removed.
16666         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16667         array replaced with vector. Added support for CDATA sections.
16668         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16669         at any nest level.
16670         (makeDocBookFile): XML conformant declaration of CDATA section,
16671         fixed bug related to <emphasis> in the first paragraph char.
16672         (sgmlOpenTag): exclude empty tags.
16673         (sgmlCloseTag): ditto.
16674
16675         * buffer.h (pop_tag): removed.
16676         (push_tag): removed.
16677
16678 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * language.h (Languages): added size_type and size().
16681
16682 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16683
16684         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16685         response on compability reading of minipages. One probliem is that
16686         the old usage of minipages was «flertydig»
16687
16688         * several files here and in subdirs: don't use static at file
16689         scope use anon namespaces instead.
16690
16691 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16692
16693         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16694         LaTeX output. This is necessary for Literate document
16695         processing.
16696
16697 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16698
16699         * buffer.C: insert hfill when needed.
16700
16701         * tabular.C (l_getline): use string::erase, small whitespace change.
16702
16703         * BufferView_pimpl.C: try the anon namespace.
16704         * WorkArea.C: ditto
16705
16706 2001-03-16  Juergen Vigna  <jug@sad.it>
16707
16708         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16709         otherwise it won't open options-dialogs.
16710
16711         * buffer.C: honor pextraWidth(p) on converting minipages.
16712
16713         * tabular.C (l_getline): changed the functions to strip trailing \r.
16714
16715 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16716
16717         * BufferView_pimpl.C:
16718         * minibuffer..C: added "using SigC::slot" declaration.
16719
16720 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16721
16722         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16723
16724         * text2.C: ditto
16725
16726         * text.C: ditto
16727
16728         * paragraph.C: ditto
16729
16730         * lyxtext.h: NO_PEXTRA
16731
16732         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16733
16734         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16735         * ParameterStruct.h: ditto
16736         * ParagraphParameters.h: ditto
16737         * lyxparagraph.h: ditto
16738
16739 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16740
16741         * buffer.C: add compability for minipage alignment.
16742         (latexParagraphs): remove unwanted pextra check.
16743
16744         * several files: remove CXX_WORKING_NAMESPACES
16745
16746         * buffer.C (pop_tag): tie is in namespace boost
16747
16748         * BufferView.h: noncopyable is in namespace boost
16749         * lyxlex.h: ditto
16750         * lyx_main.h: ditto
16751         * lyx_gui.h: ditto
16752         * layout.h: ditto
16753         * lastfiles.h: ditto
16754         * bufferlist.h: ditto
16755         * ShareContainer.h: ditto
16756         * LyXView.h: ditto
16757         * LyXAction.h: ditto
16758         * LaTeX.h: ditto
16759
16760 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16761
16762         * Merging changes from BRANCH_MVC back into HEAD.
16763
16764         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16765
16766 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16767
16768         * BufferView_pimpl.C: change from intl.C
16769
16770         * combox.h:
16771         * combox.C:
16772         * Makefile.am: move combox.*
16773
16774         * form1.h:
16775         * form1.C:
16776         * lyx_gui.C:
16777         * intl.h:
16778         * intl.C: remove dialog (covered by prefs)
16779
16780 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16781
16782         * lyxfunc.C (Dispatch): removed redundant break statement.
16783
16784 2001-03-14  Juergen Vigna  <jug@sad.it>
16785
16786         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16787
16788 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16789
16790         * buffer.C: add hack to fix compability reading of minipages.
16791
16792 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16793
16794         * buffer.C (getLists): Cleanup.
16795
16796 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * lyxfont.C (update): don't honor toggleall on font size.
16799
16800 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16801
16802         * bmtable.c:
16803         * bmtable.h:
16804         * Makefile.am: moved to frontends/xforms/
16805
16806         * lyx_gui_misc.C:
16807         * lyxfunc.C:
16808         * BufferView_pimpl.C: changes for moved mathpanel
16809
16810 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16811
16812         * gettext.h: fix gettext_init() in --disable-nls
16813
16814 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16817
16818 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16819
16820         * lyx.C:
16821         * lyx.h: strip external form
16822
16823 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16824
16825         * BufferView_pimpl.C: add comment, destroySplash()
16826
16827 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16828
16829         * BufferView_pimpl.C:
16830         * LyXAction.C:
16831         * buffer.C:
16832         * commandtags.h:
16833         * lyxfunc.C: use re-worked insetinclude
16834
16835 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16836
16837         * buffer.C: add using std::stringstream.
16838
16839         * lyx_cb.C: readd using std::ios.
16840
16841         * buffer.C: add using std::map.
16842
16843         * BufferView_pimpl.C: add using std::vector.
16844
16845         * ShareContainer.h: add std:: to swap.
16846
16847         * buffer.h: add some typedefs
16848         * buffer.C (getLists): use them
16849         (getLists): renamed from getTocList.
16850         add a counter for the different float types and use it in the
16851         generated string.
16852         (getLists): use the same counter for the NEW_INSETS and the "non"
16853         NEW_INSETS
16854
16855         * lyx_cb.h: remove unused items, includes, using etc.
16856
16857         * ShareContainer.h: remove some commented code, add more comments
16858         and "documentation".
16859
16860 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16861
16862         * buffer.C (getTocList): make the list also when NEW_INSETS is
16863         defined.
16864
16865         * buffer.h: remove TocType
16866
16867         * buffer.C (getTocList): change to return a map<string,
16868         vector<TocItem> >, implement for dynamic number of list.
16869
16870         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16871         * text2.C (PasteSelection): adjust
16872         * CutAndPaste.C (pasteSelection): adjust
16873
16874         * FloatList.C (FloatList): update from the new_insets branch.
16875         * Floating.[Ch]: ditto
16876         * LaTeXFeatures.C: ditto
16877         * buffer.C: ditto
16878         * lyxlex_pimpl.C: ditto
16879
16880         * paragraph.C (Last): remove when NEW_INSETS is defined.
16881
16882         * other file: changes because of the above.
16883
16884 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16885
16886         * lyxparagraph.h: rename next to next_, previous to previous_,
16887         make them private for NEW_INSETS. Rename Next() to next(),
16888         Previous() to previous().
16889
16890         * other files: changes because of the above.
16891
16892 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16893
16894         * BufferView.h:
16895         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16896         problem.
16897
16898 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16899
16900         * main.C (main): pass lyx_localedir to gettext_init().
16901
16902         * gettext.h: remove locale_init and gettext_init macros
16903
16904         * gettext.C (locale_init): new function
16905         (gettext_init): new function
16906
16907         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16908         setlocale().
16909
16910 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16911
16912         * Moved credits to frontends:
16913         * credits.[Ch]: removed
16914         * credits_form.[Ch]: removed
16915         * lyx_gui_misc.C: remove credits stuff
16916         * Makefile.am:
16917
16918 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16919
16920         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16921
16922         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16923         unneeded destructor.
16924
16925         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16926         a standalone pointer again.
16927
16928         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16929
16930 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16931
16932         * Makefile.am:
16933         * filedlg.h:
16934         * filedlg.C:
16935         * LyXAction.C:
16936         * ToolbarDefaults.C:
16937         * bufferlist.C:
16938         * commandtags.h:
16939         * form1.C:
16940         * form1.h:
16941         * lyx_cb.C:
16942         * lyx_cb.h:
16943         * lyxfunc.h:
16944         * lyxfunc.C:
16945         * BufferView_pimpl.C: use new file dialog in GUII
16946
16947         * lyx_cb.h:
16948         * lyx_cb.C: remove LayoutsCB to Toolbar
16949
16950 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * ShareContainer.h (get): add std:: qualifier
16953
16954 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16955
16956         * ShareContainer.h: define a proper ShareContainer::value_type
16957         type (and use typename to please compaq cxx)
16958
16959 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16960
16961         * lyxparagraph.h: move serveral local vars to
16962         ParameterStruct/ParagraphParameters., use ShareContainer in
16963         FontTable., make vars in FontTable private and add getter and
16964         setter.
16965
16966         * paragraph.C: changes because of the above.
16967
16968         * lyxfont.h: remove copy constructor and copy assignment. (the
16969         default ones is ok), move number inside FontBits. move inlines to
16970         lyxfont.C
16971
16972         * lyxfont.C: add number to initializaton of statics, move several
16973         inlines here. constify several local vars. some whitespace
16974         cleanup. Dont hide outerscope variables.
16975
16976         * Spacing.h: add two new constructors to match the set methods.
16977
16978         * ShareContainer.h: new file, will perhaps be moved to support
16979
16980         * ParameterStruct.h: new file
16981
16982         * ParagraphParameters.h: new file
16983
16984         * ParagraphParameters.C: new file
16985
16986         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16987         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16988
16989         * BufferView_pimpl.C: ParagraphParameter changes.
16990         * buffer.C: Likewise.
16991         * bufferview_funcs.C: Likewise.
16992         * text.C: Likewise.
16993         * text2.C: Likewise.
16994
16995 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16996
16997         * lyxfind.C (LyXReplace): do not redefine default argument in
16998         implementation.
16999         (IsStringInText): ditto
17000         (SearchForward): ditto
17001         (SearchBackward): ditto
17002
17003 2001-03-06  Juergen Vigna  <jug@sad.it>
17004
17005         * lyxfind.C (IsStringInText): put parentes around expressions.
17006
17007 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17008
17009         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17010
17011 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17012
17013         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17014
17015         * stl_string_fwd.h: add comment
17016
17017         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17018
17019         * tabular.h:
17020         * tabular.C: remove unused DocBook methods
17021
17022         * intl.C:
17023         * language.C:
17024         * paragraph.C:
17025         * buffer.C:
17026         killed DO_USE_DEFAULT_LANGUAGE
17027
17028 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17029
17030         * lyx_gui.C: do not include language.h.
17031
17032         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17033         arguments in function implementation.
17034
17035 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17036
17037         * BufferView_pimpl.C: add <ctime>
17038
17039 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17040
17041         * BufferView_pimpl.C: add using std::find_if
17042
17043 2001-02-27  José Matos  <jamatos@fep.up.pt>
17044
17045         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17046         by OnlyPath.
17047
17048 2001-02-11  José Matos  <jamatos@fep.up.pt>
17049
17050         * buffer.C (makeDocBookFile): command styles now have a parameter as
17051         "title" by default.
17052
17053 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17054
17055         * layout_forms.[Ch]: removed
17056         * lyx_cb.[Ch]: out character
17057         * lyx_gui.C: out character
17058         * lyx_gui_misc.C: out character
17059         * bufferview_funcs.C: : out character,
17060         added toggleall as parameter in ToggleAndShow
17061
17062 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17063
17064         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17065
17066         * text2.C (SetCurrentFont): Disable number property at boundary.
17067
17068 2001-02-26  Juergen Vigna  <jug@sad.it>
17069
17070         * lyxfunc.C (getStatus): added a string argument override function so
17071         that this is correctly called from LyXFunc::Dispatch if it contains a
17072         do_not_use_argument which is used!
17073         (Dispatch): added check for "custom" export and call appropriate func.
17074
17075 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17076
17077         * lyxrc.C: Add language_command_local, language_use_babel and
17078         language_global_options.
17079
17080         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17081
17082         * buffer.C (makeLaTeXFile): Use language_use_babel and
17083         language_global_options.
17084
17085 2001-02-23  Juergen Vigna  <jug@sad.it>
17086
17087         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17088         which works with LyXText and putted it inside BufferView. Here now we
17089         only call for that part the BufferView::Dispatch() function.
17090
17091         * BufferView.C (Dispatch): added.
17092
17093         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17094         functions which needs to use a LyXText over from LyXFunc.
17095         (MenuInsertLyXFile): added
17096         (getInsetByCode): added
17097         (moveCursorUpdate): added
17098         (static TEXT): added
17099
17100 2001-02-22  Juergen Vigna  <jug@sad.it>
17101
17102         * BufferView_pimpl.C (update): call a status update to see if LyXText
17103         needs it.
17104
17105 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17106
17107         * vc-backend.C (revert): implement for CVS
17108         (getLog): implement for CVS
17109
17110 2001-02-20  Juergen Vigna  <jug@sad.it>
17111
17112         * text2.C (ClearSelection): added BufferView param for inset_owner call
17113
17114         * lyxfunc.C (TEXT): added this function and use it instead of
17115         directly owner->view()-text of getLyXText().
17116
17117 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17118
17119         * src/layout_forms.C: out preamble
17120         * src/layout_forms.h: out preamble
17121         * src/lyx_cb.C: out preamble
17122         * src/lyx_cb.h: out preamble
17123         * src/lyx_gui.C: out preamble
17124         * src/lyx_gui_misc.C: out preamble
17125         * src/lyxfunc.C: connect with guii preamble
17126
17127 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17128
17129         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17130
17131 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17134         whether to run bibtex.
17135
17136 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17137
17138         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17139
17140 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17141
17142         * Makefile.am (lyx_SOURCES): removed bibforms.h
17143
17144         * vspace.h: doxygen
17145
17146         * text.C (GetVisibleRow): make several local vars const
17147
17148         * tabular.C: small cleanup.
17149
17150         * lyxserver.C (callback): use compare instead of strncmp
17151
17152         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17153         inlines to after class or to paragraph.C
17154
17155         * lyxfont.h: remove friend operator!=
17156
17157         * converter.h: move friend bool operator< to non friend and after
17158         class def.
17159
17160         * combox.h: small cleanup
17161
17162         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17163         to inlines after class def.
17164
17165         * buffer.C (pop_tag): use string operations instead of strcmp
17166
17167         * bmtable.c: doxygen, small cleanup
17168
17169         * LaTeX.h: remove friend operator==
17170
17171 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17172
17173         * screen.C:
17174         * lyxrc.[Ch]:
17175         * lyxfunc.C:
17176         * lyxfont.[Ch]:
17177         * lyx_cb.C:
17178         * intl.[Ch]:
17179         * commandtags.h:
17180         * buffer.C:
17181         * WorkArea.[Ch]:
17182         * LyXAction.C:
17183         * BufferView_pimpl.C:
17184         * BufferView.[Ch]: remove cruft
17185
17186 2001-02-14  Juergen Vigna  <jug@sad.it>
17187
17188         * lyxfunc.C: removed #if 0 unused code
17189
17190         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17191
17192         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17193
17194         * text2.C (SetSelection): added a BufferView * parameter
17195
17196 2001-02-13  Juergen Vigna  <jug@sad.it>
17197
17198         * lyxfunc.C (Dispatch): fixed protected blank problem.
17199         * BufferView2.C (protectedBlank): added LyxText * parameter.
17200
17201         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17202         (AppendColumn): same as above for column_info.
17203
17204         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17205         (moveCursorUpdate): use a LyXText param for support of InsetText.
17206
17207         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17208         (tripleClick): ditto
17209
17210         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17211
17212         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17213
17214         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17215
17216         * text2.C (SetSelection): set correct update status if inset_owner
17217         (ToggleFree): ditto
17218
17219 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17220
17221         * tabular.C: remove some commented code.
17222
17223 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17224
17225         * BufferView_pimpl.C: call hideSplash()
17226
17227         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17228
17229         * include_form.h:
17230         * bibforms.h: remove
17231
17232         * lyxfunc.C:
17233         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17234           add LFUN_CHILD_CREATE
17235
17236         * counters.h: fix tiny typo
17237
17238         * lyx_cb.C:
17239         * lyx.h:
17240         * lyx_gui.C:
17241         * lyx.C: move splash to frontends/xforms/
17242
17243         * lyx_gui_misc.C: move Include and Bibform to frontends
17244
17245         * lyxvc.h: clarify comment
17246
17247         * vspace.C: tiny housekeeping
17248
17249 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * text.C (PrepareToPrint): RTL Fix.
17252
17253         * paragraph.C (GetUChar): New method.
17254         (String):  Use GetUChar.
17255
17256         * buffer.C (asciiParagraph): Use GetUChar.
17257
17258 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17259
17260         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17261
17262 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17263
17264         * buffer.h:
17265         * buffer.C: rename to getLogName(), handle
17266           build log / latex log nicely
17267
17268 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * MenuBackend.C:
17271         * MenuBackend.h: remove support for reference menuitem type.
17272
17273 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17274
17275         * BufferView_pimpl.C: housekeeping
17276         * BufferView_pimpl.h:
17277         * LyXView.h:
17278         * Makefile.am:
17279         * Timeout.C:
17280         * Timeout.h:
17281         * minibuffer.h: move Timeout GUI-I
17282
17283 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17284
17285         * lyxrc.C (read): Update converters data-structures.
17286
17287 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17288
17289         * LaTeX.h (operator!=): add operator != for Aux_Info
17290
17291 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17292
17293         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17294
17295         * LaTeXLog.C: deleted, useful code moved to Buffer
17296
17297         * buffer.h:
17298         * buffer.C: new function getLatexLogName()
17299
17300         * lyx_gui_misc.C:
17301         * lyx_gui.C:
17302         * lyxvc.C:
17303         * lyxvc.h:
17304         * lyxfunc.C: use frontends for LaTeX and VC logs
17305
17306 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17307
17308         * LaTeX.h: yet another std:: that Allan forgot.
17309
17310         * Variables.C (set): renamed from isset(), because this clashes
17311         with some HP-UX macros (grr).
17312
17313 2001-02-06  Allan Rae  <rae@lyx.org>
17314
17315         * LaTeX.h: Another bug fix.  Missing std:: this time.
17316
17317 2001-02-04  Allan Rae  <rae@lyx.org>
17318
17319         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17320         floats problem. I've left it commented out because it's not quite
17321         correct.  It should also test that the current object is a table or
17322         figure inset.  But I haven't gotten around to figuring out how to do
17323         that.  I *think* it'll be something like: "table" == inset.type()
17324
17325         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17326         bool.
17327
17328 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17329
17330         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17331         all the citation/databases/styles in the auxilary file.
17332         (run): Rerun latex if there was a babel language error.
17333
17334 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17335
17336         * text.C (Backspace): Preserve the font when changing newline char
17337         with a space.
17338         (BreakParagraph): If the cursor is before a space, delete the space.
17339
17340         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17341
17342 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17343
17344         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17345         new argument (code).
17346         (ChangeCitationsIfUnique): New method.
17347
17348         * paragraph.C (GetPositionOfInset): Handle bibkey.
17349
17350 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17351
17352         * BufferView_pimpl.h: change type of Position::par_pos to
17353         LyXParagraph::size_type.
17354
17355 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17356
17357         * BufferView_pimpl.C (savePosition, restorePosition): Write
17358         messages to minibuffer.
17359
17360 2001-01-28  José Matos  <jamatos@fep.up.pt>
17361
17362         * buffer.C (makeDocBookFile): adds support for document language.
17363         A silly restriction on the name of LatexCommand types where removed.
17364         Added support for CDATA sections, allows to chars unescaped, used
17365         among others in code, to avoid escape < and >.
17366
17367 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17368
17369         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17370         saved positions instrad of a stack. Furthermore, a position is
17371         stored using paragraph id/paragraph position.
17372
17373         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17374         Remove LFUN_REF_BACK.
17375
17376 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17377
17378         * converter.C (dvipdfm_options): New method.
17379
17380 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17381
17382         * vspace.C (isValidLength): Fix for empty input string.
17383
17384 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17385
17386         * LyXAction.C (init): change description of LFUN_FIGURE to
17387         "Insert Graphics"
17388
17389 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17390
17391         * LaTeX.C: add using directive
17392
17393 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17394
17395         * MenuBackend.C (expand): Fix the sorting of the formats.
17396
17397 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17398
17399         * lyx_main.C: tiny error message fix
17400
17401 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17402
17403         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17404         calling fl_initialize(). This fixes the problem with ',' as
17405         decimal separator in text files.
17406
17407 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17408
17409         * trans.C (process): Fix the keymap bug.
17410
17411 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17412
17413         * LaTeX.C (scanAuxFiles): New method. Provides support for
17414         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17415         (scanLogFile) Scan for "run BibTeX" messages.
17416
17417         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17418         OT1 font encoding. Also, load the aecompl package if the ae
17419         package is loaded.
17420
17421         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17422
17423 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17424
17425         * texrow.C (increasePos): turn two error messages into debug
17426         messages.
17427
17428 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * LaTeX.C (scanAux): Handle the \@input macro.
17431         (runBibTeX): Use scanAux().
17432
17433         * language.C (latex_options_): New field.
17434
17435         * LaTeXFeatures.C (getMacros): Add language macros.
17436
17437         * buffer.C (makeLaTeXFile): Small fix.
17438
17439 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17440
17441         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17442
17443         * text2.C: add a using directive.
17444
17445 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17446
17447         * BufferView2.C:
17448         * lyx_gui_misc.h:
17449         * lyxfr1.C:
17450         * lyxfunc.C: kill LyXBell.
17451
17452 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17453
17454         * text.C (IsBoundary): Remove the error message
17455
17456         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17457
17458         * lyxrc.C (setDefaults): Correct initialization value for
17459         font_norm_type.
17460
17461 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17462
17463         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17464         gotoError().
17465
17466         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17467         and GotoNextNote().
17468
17469         * src/LyXAction.C: Added reference-next.
17470
17471         * text.C (InsertChar): Use contains instead of strchr.
17472
17473         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17474
17475 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17476
17477         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17478         alignment commands (when needed).
17479
17480         * text.C (InsertChar): Add ':' to number separator chars.