]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
62176aace1353c4d255ca91632268ab4e8341db1
[lyx.git] / src / ChangeLog
1 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text3.C (dispatch): fix language problem in newly created
4         textinsets (and main text) in non-english docs
5
6 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
9         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
10         * text3.C (getStatus): disable LFUN_INSET_MODIFY
11
12 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
13
14         * lyxtext.h:
15         * text.C (metrics): 
16         * text2.C (getFont):
17         * rowpainter.C (getFont): Fix metrics bug introduced by inset
18         fonts fix
19
20 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
23         output of \item arguments without trailing text.
24
25 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * FontIterator.C (operator*): avoid a copy of the font.
28
29 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
30
31         * rowpainter.C (getFont): fix language bug from previous fix
32
33 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * rowpainter.C (RowPainter, getFont): fix font inside inset 
36         (bugs 1766, 1809)
37
38 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
41         preventing inserted font, deco, delim insets jumping to start of
42         surrounding inset.
43
44 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * lyxfunc.C (dispatch): translate message before sending it to the
47         minibuffer. 
48
49 2005-03-29  Angus Leeming  <leeming@lyx.org>
50
51         * lyx_main.C (priv_exec): call os::internal_path on each file passed
52         to LyX on the command line.
53
54 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
55
56         * vc-backend.C: use QuoteName to protect file names wherever
57         necessary. 
58
59 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * buffer.[Ch]:
62         * BranchList.h: fix bugs 1844,1845: document settings don't
63         stick
64
65 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * lyxrc.C (setDefaults, read, output, getDescription): add support
68         for tex_allows_spaces.
69
70         * exporter.C (Export): allows files in directory containing spaces
71         if tex_allows_spaces is true.
72
73         * buffer.C (makeLaTeXFile): if the document path contains spaces,
74         output it in double quotes.
75
76 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
77
78         * rowpainter.C: use default text height for drawing change tracker
79         strikeout lines.
80
81 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
84
85 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
88         directory is missing.
89
90 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * text2.C: fixed the fix, extended to other case.
93
94 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * text2.C: fix for cursor up/down stuck in math [bug 1792]
97
98 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
99
100         * text2.C (cursorUp): get rid of a crash
101         * text.C (x2pos): add an assert
102
103 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * lyxfunc.C (getStatus): fix warning when assertions are disabled
106
107         * text3.C: 
108         * lyxfunc.C: 
109         * dociterator.C: include <boost/current_function.hpp>, which is
110         needed when assertions are disabled.
111
112 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
113
114         * text2.C: fix for stuck cursor when traversing two 
115         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
116
117 2005-02-25  Andreas Vox  <avox@arcor.de>
118
119         * output_docbook.C (makeParagraph): suppress trailing newline
120         after a run of paragraphs
121
122 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
123
124         * paragraph.C: fix for confused change tracker when pasting
125         text that begins with a lineseparator. [bug 1827]
126         (setChange(0, Change::INSERTED);)
127
128         * paragraph_funcs.C: fix for lost changes on triple-paste
129         in change tracking mode [bug 1827] (par.setChange()).
130
131 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * text2.C (updateCounters, setCounter, expandLabel): move to
134         buffer_funcs.
135
136         * buffer_funcs.C (updateCounters): turn into a free standing
137         function and add a buffer parameter. Remove dead code for tracking
138         labelstring change.
139         (setCounter): change into a free-standing function which gets a
140         dociterator as argument. Use this iterator to fix captions in a
141         simple way. When no float is found above the caption, use the
142         labelstring of the caption layout as default.
143
144         * text.C (breakParagraph, backspace): 
145         * text2.C (init, setLayout, changeDepth):
146         * text3.C (dispatch): 
147         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
148         updateCounters.
149
150         * dociterator.C (forwardPar): make it much faster by calling
151         forwardPos() only when really necessary.
152
153         * output_docbook.C (makeCommand): adapt to expandLabel move.
154
155         * cursor.C: remove unused variable
156
157 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
158
159         * paragraph_funcs.C: fix crash when pasting insets in change 
160         tracking mode [bug 1277] (honour change type in moveItem).
161
162 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
163
164         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
165
166 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * BufferView.C (setCursor): change to use a DocIterator.
169         (gotoLabel): use BufferView::setCursor (other part of bug 781).
170         (putSelectionAt): adapt to BufferView::setCursor change.
171
172         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
173         moved here from LyXText and rewritten to use proper cursor
174         methods. Fixes bug 1787, 616 and 835.
175
176         * BufferView_pimpl.C (restorePosition): set the cursor correctly
177         when inside an inset (part of bug 781).
178         (dispatch): adapt to change of BufferView::setCursor.
179         (getStatus, dispatch): handle LFUN_GOTOERROR,
180         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
181
182         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
183         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
184         * text3.C (gotoNextInset, gotoInset): removed.
185
186 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
189
190 2005-02-15  Angus Leeming  <leeming@lyx.org>
191
192         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
193         can be used meaningfully in a comparison.
194
195 2005-02-13  André Pönitz  <poenitz@gmx.net>
196
197         * bufferview_funcs.C (coordOffset): improve cursor drawing
198
199 2005-02-13  André Pönitz  <poenitz@gmx.net>
200
201         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
202         * Cursor.C (dispatch): use fixIfBroken
203         * lyxfunc.C (getStatus): use fixIfBroken
204
205 2005-02-15  Angus Leeming  <leeming@lyx.org>
206
207         * lyx_main.C (error_handler):
208         * lyxfunc.C:
209         * lyxrc.C (setDefaults):
210         s/GetEnv/getEnv/.
211         #include "environment.h".
212
213         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
214
215 2005-02-15  Angus Leeming  <leeming@lyx.org>
216
217         * lyxserver.C (startPipe): squash MSVC warning "local variable
218         'fd' used without having been initialized".
219
220 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * BufferView_pimpl.C: revert accidental commit.
223
224 2005-02-14  André Pönitz  <poenitz@gmx.net>
225
226         * dociterator.[Ch]: new member forwardPosNoDescent(),
227         which doesn't enter nested insets.
228         * text2.C (setFont): use forwardPosNoDescent() instead
229         of ForwardPos() (fixes crash on font change).
230
231 2005-02-13  Angus Leeming  <leeming@lyx.org>
232
233         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
234         only if lyxrc.path_prefix is not empty.
235
236 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * bufferparams.C (readGraphicsDriver): prevent crash
239
240 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
241
242         * text2.C (setCounter): check for inInset() == 0
243
244 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
247         but use update() to get correct screen display; use convert
248         instead of istringstream. 
249         (getStatus): handle LFUN_GOTO_PARAGRAPH 
250
251         * lyxfunc.C (dispatch, getStatus): do not handle
252         LFUN_GOTO_PARAGRAPH here.
253
254 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * text3.C (dispatch): size() -> depth()
257
258         * text2.C: remove some debug output
259
260         * paragraph.C: ws changes only
261
262         * lyxfunc.C (getStatus): size() -> depth()
263
264         * dociterator.h (clear, push_back, pop_back, internalData,
265         operator[], resize, empty): new functions
266         Make StableDocIterator and operator== be friends. Don't inherit
267         from std::vector use a privat class variable slices_ instead.
268         Modify to fit.
269
270         * dociterator.C: update because of not inheriting from std::vector
271         anymore. Call explictly to slices_ instead. Use depth() instead of
272         size() and top() instead of back()
273
274         * cursor.C: chagne size() -> depth and back() -> top(). Also
275         remove some direct operator[](i) calls in favour of foo[i]
276         (getFont): remove some dead code
277
278         * bufferview_funcs.C (coordOffset): size() -> depth()
279
280         * buffer.C: ws changes only
281
282         * CutAndPaste.C (eraseSelection): back() -> top()
283
284         * BufferView_pimpl.C (selectionRequested): back() -> top()
285
286         * BufferView.C (setCursor): size() -> depth()
287
288 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
289
290         * text3.C (cursorPrevious): return true if depm changed something
291         (cursorNext): ditto
292         (dispatch): rename sl to oldTopSlice, remove moving use the new
293         NoUpdate func attrib instead. Make sure that needsUpdate is set
294         for function that have NoUpdate, but where depm might have changed
295         the buffer anyway.
296
297         * text2.C (cursorLeft): make us return true if depm changed
298         something
299         (cursorRight): ditto
300         (cursorUpParagraph): ditto
301         (curosrDownParagraph): ditto
302         (cursorUp, cursorDown): ditto, make sure to read comments in code
303         (deleteEmptyParagraphMechanism): remove an assert, also return
304         true if just a single char was deleted.
305
306         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
307         cursor that we modify, to avoid modifying an active cursor before
308         we call setCursor. This allows depm to run. Also return true if
309         depm deleted something.
310
311         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
312         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
313         cursorDownParagraph, cursorPrevious and cursorNext, return true if
314         something was changed in the buffer because of them (ie. depm run)
315
316         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
317         debug messages. Make update by default be false. Make sure that
318         the result of update is retained throught several calls down to
319         dispatch.
320
321         * LyXAction.h: add a new func_attrib: NoUpdate
322
323         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
324         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
325         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
326         and LFUN_WORDLEFT
327         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
328
329 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
332         bv_->owner(), bv_->buffer() by direct references to the private
333         members.
334         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
335         (getStatus): isSavedPosition() is in BufferView::Pimpl.
336         (fitCursor): center() is in BufferView::Pimpl.
337         (getStatus, trackChanges, dispatch): no need for a temporary buf
338         variable
339         (fitCursor, workAreaDispatch): use workarea().workheight()
340
341 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * CutAndPaste.C (pasteSelectionHelper): fix a crash
344
345 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
346
347         * buffer.C: format up to 241.
348         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
349         break if pasting into ERT
350         * lyxfunc.C (getStatus): suppress mathpanel and
351         LFUN_DIALOG_SHOW_NEW_INSET in ERT
352
353 2005-02-01  Angus Leeming  <leeming@lyx.org>
354
355         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
356
357 2005-02-01  Angus Leeming  <leeming@lyx.org>
358
359         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
360         calling fs::is_directory().
361
362 2005-01-31  Angus Leeming  <leeming@lyx.org>
363
364         * lyx_main.C (priv_exec): specify explicitly the relative location
365         of the top level build directory when run in-place.
366
367 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
370         LyXText containing the cursor, not the top-level one.
371
372         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
373         true.
374         (insertStringAsLines): rename par to pit; use temporary variable
375         par to hold a Paragraph; do not store par.layout() in a variable,
376         since the pointer may die when breaking paragraphs; pass pars to
377         breakParagraph() instead of Buffer::paragraphs().
378
379 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
380
381         * lyxlex_pimpl.h: #include <fstream>.
382
383         * BufferView.[Ch] (getLyXText): add a const version.
384
385         * BufferView_pimpl.C: add debug aids.
386
387         * RowList_fwd.h:
388         * buffer.h:
389         * lyxrow.h:
390         * paragraph_funcs.h: add commentary explaining what the class does.
391
392
393         * coordcache.[Ch]: add lots of commentary.
394         (startUpdating, doneUpdating): debug aids.
395         (arrays, insets, parPos, getParPos): accessors to private data.
396
397         * cursor_slice.[Ch] (text): add a const version.
398         * dociterator.[Ch] (text, innerText): add const versions.
399
400         * lyxtext.h (breakParagraph): change the keep_layout arg to a
401         bool.
402
403         * paragraph.C (getRow, pos2ros): add asserts.
404
405         * paragraph.h: add commentary. Lots of.
406
407         * paragraph.[Ch] (metrucs, draw): removed.
408
409         * cursor.C:
410         * rowpainter.[Ch]: const-correct changes.
411
412         * text.C: various obvious clean-ups. Removal of ancient cruft.
413         Bug fixes, even.
414
415 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
416
417         * vc-backend.C (find_file): rewrite to use boost.filesystem
418         (scanMaster): ditto
419
420         * main.C (main): set default name check for boost.filesystem to
421         no check
422
423         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
424         (open): ditto
425         (doImport): ditto
426         (actOnUpdatedPrefs): ditto
427
428         * lyx_main.C (init): rewrite to use boost.filesystem
429         (queryUserLyXDir): ditto
430
431         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
432         (getContentsOfAsciiFile): ditto
433
434         * lastfiles.C (readFile): rewrite to use boost.filesystem
435
436         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
437
438         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
439         (loadLyXFile): ditto
440
441         * buffer.C (Buffer): adjust for destroydir
442         (getLogName): rewrite to use boost.filesystem
443         (setFileName): ditto
444         (save): use fs::copy_file (from fs_extras)
445
446         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
447
448         * LaTeX.C (run): rewrite to use boost.filesystem
449         (scanAuxFiles): ditto
450         (handleFoundFile): ditto
451
452 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
455
456         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
457
458 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
459
460         * lyxlayout.[Ch]: change some vars from float to double
461
462         * buffer.C (readFile): make a local var const
463
464         * Several files: use convert<> instead of atoi,strToXXX and friends
465
466 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * LaTeXFeatures.[Ch]: Add a static list packages_ that
469         holds the contents of packages.lst. New functions getAvailable
470         and isAvailable to parse and check that list, resp.
471
472         * LyXAction.C:
473         * lfuns.h:
474         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
475
476         * bufferparams.[Ch]: new param output_changes.
477
478         * Buffer.C: increase file format to 240.
479         Use output_changes and isVailable.
480
481         * changes.[Ch]:
482         * paragraph.C:
483         * paragraph_pimpl.C: Use output_changes and isVailable.
484
485 2005-01-23  Angus Leeming  <leeming@lyx.org>
486
487         * output_latex.C: #include "insetbibitem.h", rather than
488         forward declare function bibitemWidest.
489
490 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
491
492         * lyx_main.C (init): make it compile on the Mac.
493
494 2005-01-20  Angus Leeming  <leeming@lyx.org>
495
496         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
497         (setLyXMisc): (char string literal) != (char string literal) is
498         performing a comparison on the addresses. Convert one operand
499         explicitly to string to guarantee expected behaviour.
500         From MSVC warning.
501
502 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
503
504         * buffer.C:
505         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
506
507         * output_plaintext.C: remove unneeded #include gzstream.h.
508
509 2005-01-20  Angus Leeming  <leeming@lyx.org>
510
511         * SpellBase.h: rename some of the elements of the Result enum.
512
513         * aspell_local.h:
514         * ispell.h:
515         * pspell.h:
516         * aspell.C (check):
517         * ispell.C (check):
518         * pspell.C (check): ditto
519
520 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
521
522         * buffer.C: add #include <fstream>.
523
524         * lyx_main.C (init): Compile fix.
525
526         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
527
528 2005-01-20  Angus Leeming  <leeming@lyx.org>
529
530         * mover.h: change commentary to reflect the changed meaning of
531         the $$s placeholder.
532
533 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * output_linuxdoc.C (linuxdocParagraphs): silence warning
536
537         * lyxfind.C (MatchString::operator()): remove bogus semicolon
538
539 2005-01-20  Angus Leeming  <leeming@lyx.org>
540
541         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
542         printing diagnostic data by not dereferecing an iterator past the
543         end.
544
545 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
546
547         * buffer.C (readHeader): use "&&" rather than "and".
548
549         * lyxserver.h (inPipeName, outPipeName): make these const.
550
551 2005-01-19  Angus Leeming  <leeming@lyx.org>
552
553         * lyx_main.C (error_handler, init): protect SIGHUP with
554         #ifdef SIGHUP guards.
555
556 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
559
560 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * text.C (setHeightOfRow): add a margin at the top and bottom of
563         the document (bug 1761)
564
565 2005-01-17  Angus Leeming  <leeming@lyx.org>
566
567         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
568         with "python ". Workaround for a brain-dead Windows.
569
570 2005-01-16  Angus Leeming  <leeming@lyx.org>
571
572         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
573         for MacOSX and Windows to use prependEnvPath.
574         Strip out the hard-coded block to add elements to the PATH for
575         MacOSX and replace it with a call to prependEnvPath using the
576         contents of LyXRC::path_prefix.
577         (queryUserLyXDir): strip out the code to run reconfigure, instead
578         returning a boolean indicating the necessity to do so.
579         (reconfigureUserLyXDir): contains the code to reconfigure the
580         user support directory. Is now called after the various LyXRC data
581         files have been read.
582
583         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
584
585 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
586
587         * converter.[Ch] (convert): take a new parameter try_default. Use
588         a default converter (imagemagick) if try_default is true.
589
590 2005-01-13  Angus Leeming  <leeming@lyx.org>
591
592         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
593         os::cygwin_path_fix.
594         (write): output LyXRC::cygwin_path_fix as necessary.
595
596 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
597
598         * lyxrc.h:
599         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
600
601 2005-01-12  Angus Leeming  <leeming@lyx.org>
602
603         * lyx_main.C (init): set the PATH variable to include the
604         directory containing the LyX binary when running on Mac or Windows.
605
606 2005-01-12  Angus Leeming  <leeming@lyx.org>
607
608         * lyx_main.C (init): remove cruft that purports to set the locale
609         dir. It doesn't and is not needed anyway.
610
611 2005-01-10  Angus Leeming  <leeming@lyx.org>
612
613         * Makefile.am: remove the lyx_main.C special casing.
614
615         * BufferView_pimpl.C:
616         * bufferlist.C:
617         * exporter.C:
618         * lyx_cb.C:
619         * lyx_main.C:
620         * lyxfunc.C:
621         * messages.C: use support/package.h to provide the paths to the
622         various directories used by LyX.
623
624 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
625
626         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
627         layout if pasting into an empty paragraph)
628
629 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
630
631         * tex-accent.C: add <string>
632
633 2005-01-06  José Matos  <jamatos@lyx.org>
634
635         * ParagraphParameters.C (write): put every parameter in its own line.
636         * paragraph.C (write): reduce number of consecutive empty lines exported.
637         * buffer.C (LYX_FORMAT): increase file format to 239.
638
639 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * everywhere: change support/tostr.h -> support/convert.h
642
643         * tabular.C: make all write_attributes templates, tostr -> convert
644
645         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
646         (emptyTag): and -> &&, and fix type for ret from getChar
647         (getFirstWord): fix type for ret from getChar
648         (onlyText): and -> &&
649         (simpleDocBookOnePar): and not -> && !, fix type for ret from
650         getChar
651
652         * toc.C (goTo, action):
653         * text3.C (dispatch):
654         * text.C (currentState):
655         * tex-accent.C (DoAccent):
656         * sgml.C:
657         * lyxrc.C:
658         * lyxfunc.C (menuNew):
659         * lyxfinc.C (replace):
660         * counters.C (laberItem):
661         * bufferview_funcs.C (font2string):
662         * bufferparams.C (writeFile):
663         * buffer.C (readFile):
664         * Spacing.C (set):
665         * MenuBackend.C: tostr -> convert
666
667         * LaTeX.C (runMessage): fix format
668         (scanAuxFiles): tostr -> convert
669
670         * BufferView_pimpl.C (savePosition): fix format
671         (restorePosition): ditto
672         (dispatch): ditto
673
674 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * Spacing.[Ch]: New method getValueAsString().
677
678         * Spacing.[Ch]:
679         * bufferparams.C:
680         * ParagraphParameters.C:
681         * lyxlayout.C:
682         * text.C:
683         * text3.C: store/read spacing value as string.
684
685         * rowpainter.C: change float value (spacing_val) to double.
686
687         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
688         broken custom document spacing).
689
690 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
691
692         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
693         namespace, also more use of temp references and const
694
695         * cursor.[Ch] (getStatus): move to lyxfunc.C
696
697         * bufferparams.C: reformat slightly
698
699         * bufferview_funcs.C (font2string): constify arg
700
701         * changes.C:
702         * converter.C:
703         * counters.C:
704         * bufferlist.C:
705         * buffer_funcs.C: (many funcs): constify arg on function
706         definitions, also make more local vars const, also add ASSERTS on
707         pointer args.
708
709         * buffer.C (LYX_FORMAT): put const in correct place
710         (many funcs): constify arg on function definitions, also make
711         more local vars const
712
713         * aspell_local.h: remove "struct" from typdef setup
714
715         * aspell.C (check): make word_ok const
716         (nextMiss): simplify slightly
717         (error): ditto
718
719 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
720
721         * lyxrc.[Ch]: store all float values as strings.
722         use int (not float) for lyxrc.dpi.
723
724 2005-01-04  Angus Leeming  <leeming@lyx.org>
725
726         * lyx_cb.C (Reconfigure):
727         * lyx_main.C (queryUserLyXDir):
728         to run the <system_lyxdir>/configure correctly on Windows, prefix
729         the path to the script with "sh " when generating the string that
730         is passed to system().
731
732 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
733
734         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
735
736 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * lyxlength.C (asLatexString): get rid of setprecision
739
740 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * text2.C (setLayout): remove unused variable endpit.
743         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
744
745         * paragraph.C (onlyText): remove unused variable style.
746
747         * cursor.C (bruteFind): remove unused variables beg and end.
748
749         * Makefile.am (dist_noinset_DATA): not needed anymore
750
751         * cheaders/*: remove.
752
753 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
754
755         * text3.C: fix LFUN_MATH_MODE.
756
757 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * buffer_funcs.C (countWords): new function. Counts words between
760         two iterators.
761
762         * BufferView_pimpl.C (getStatus, dispatch): handle
763         LFUN_WORDS_COUNT.
764
765         * LyXAction.C (init):
766         * lfuns.h: add LFUN_WORDS_COUNT.
767
768 2004-12-19  Angus Leeming  <leeming@lyx.org>
769
770         * buffer.C (save): s/slashify_path/internal_path/.
771
772 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
773
774         * lyxfind.C (findChange): do not search for end of pars, because
775         the change tracker cannot handle this (fixes bug 1719).
776
777 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
778
779         * paragraph.[Ch] (autoBreakRows): remove
780
781         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
782
783         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
784         avoid using the paragraph one
785
786         * text2.C (LyXText, insertStringAsLines): adjust
787
788 2004-12-16  Angus Leeming  <leeming@lyx.org>
789
790         * bufferlist.C:
791         * lyx_main.C:
792         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
793
794 2004-12-14  Angus Leeming  <leeming@lyx.org>
795
796         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
797
798         * bufferlist.C (emergencyWrite):
799         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
800         GetEnvPath("HOME").
801
802 2004-12-14  Angus Leeming  <leeming@lyx.org>
803
804         * main.C: (main): no longer pass pointers to os::init.
805
806 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * undo.C (textUndoOrRedo): simplify logic, fix a crash
809         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
810
811 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
812
813         * lyxfunc.C:
814         * text3.C: remove selection_possible global flag
815
816 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * text2.C (getSelectionSpan): remove
819         (changeDepth, changeDepthAllowed): adjust
820
821 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
822
823         * Makefile.am (BOOST_LIBS): use boost variables
824
825 2004-12-03  José Matos  <jamatos@lyx.org>
826
827         * buffer.C: format up to 238.
828
829 2004-12-03  José Matos  <jamatos@lyx.org>
830
831         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
832
833 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
834
835         * cursor.C (goUpDown): remove call to idxUpDown2
836
837 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
838
839         * tabular.[Ch]: use size_t-like types for cell, row and column
840         indices
841
842 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * lyxfunc.C (getStatus): do not lose previous information when
845         calling BufferView::getStatus; do not set a default "Command
846         disabled" message at the beginning, but just before returning.
847
848 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
849
850         * cursor.h (getStatus): add better comment from src/cursor.C
851
852 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * text3.C (getStatus): return false when the lfun is not handled
855
856 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         * broken_headers.h: remove
859
860         * Makefile.am (lyx_SOURCES): remove broken_headers.h
861
862 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
865         offset_ref accessors
866
867         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
868         top_y_, merge fitcursor with update
869         (updateScrollbar, scrollDocView, fitCursor, center, update): new
870         coord scheme
871         (metrics): introduce
872         (workAreaDispatch): adapt to new coord scheme
873         (redoCurrentBuffer): remove
874
875         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
876
877         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
878         CurStatus enum.
879
880         * coordcache.[Ch]: add paragraph cache and helpers
881
882         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
883         adjust everywhere
884
885         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
886         (targetX, setTargetX): introduce
887
888         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
889         baseline -> ascent, as the rest of lyx
890
891         * lyxtext.h: remove redoParagraphs, updateParPositions,
892         fullRebreak, redoParagraphInternal. move dist to anon namespace in
893         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
894         have ascent/descent (ascent is ascent of first par)
895
896         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
897         step of BufferView
898
899         * paragraph.[Ch]: unify dimension handling with the rest of lyx
900
901         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
902
903         * pariterator.C: fix infinite loop introduced in par->pit renaming
904
905         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
906         in insets and LyXText, draw two off-screen paragraphs using
907         NullPainter, and adapt to new coord scheme
908
909         * text.C:
910         * text2.C:
911         * text3.C: adapt lfun handlers to the new coord scheme, which
912         means: there's only guaranteed coord information for onscreen pars
913         plus one above and one below. This implies that one can do search
914         from y coordinates in the range [-1,workHeight]
915
916 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
917
918         * rename a lot of InsetOld to InsetBase
919
920 2004-11-25  Angus Leeming  <leeming@lyx.org>
921
922         * BufferView_pimpl.C:
923         * lyx_cb.C:
924         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
925
926 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
929         call BufferView::getStatus if LCursor::getStatus did nothing
930         (setStatusMessage, getStatusMessage): removed.
931
932         * FuncStatus.C (message): new methods. Used to provide an error
933         message indicating why a command is disabled.
934         (clear, |=, FuncStatus): update for message.
935
936 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
937
938         * lyxfunc.C (dispatch): always call sendDispatchMessage
939
940 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * BufferView.C:
943         * BufferView_pimpl.C:
944         * CutAndPaste.C:
945         * FontIterator.C:
946         * buffer.C:
947         * cursor.C:
948         * cursor_slice.[Ch]:
949         * dociterator.[Ch]:
950         * lyxfind.C:
951         * paragraph_funcs.C:
952         * pariterator.C:
953         * rowpainter.C:
954         * text.C:
955         * text2.C:
956         * text3.C:
957         * undo.C: par->pit renaming
958
959 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
960
961         * tabular.C (cellstruct): use initialization, store a shared_ptr
962         to insettext instead of the insettext directly, adjust to fit.
963         (operator=):  new function
964         (swap): new function
965         (rowstruct): use initialization
966         (columnstruct): use initialization
967         (ltType): use initialization
968
969
970         * lyxlength.h (swap): new function
971
972         * LColor.[Ch] (operator=): use the common semantics
973
974 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * lyxfind.C (findNextChange): update the bufferview after setting
977         the selection.
978
979 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
982         number of InsetOptArgs has already been inserted.
983
984         * output_latex.C (latexOptArgInsets): new method. This outputs all
985         the optarg insets, up to the limit defined in the layout file.
986         (optArgInset): removed
987         (TeXOnePar): call latexOptArgInsets; correctly update texrow
988
989 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * paragraph.C (isLetter): remove special spellchecker-related
992         code; return true also for digits
993         (isWord, isKomma): remove
994
995         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
996         * lyxfind.C (MatchString()): use isLetter instead of isWord
997
998 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
999
1000         * pariterator.h (operatir=): comment out un-implemented member
1001         function.
1002
1003         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1004         static cast.
1005
1006 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1007
1008         * lyxfont.h: include LColor.h to satisfy concept checks.
1009
1010 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1011
1012         * pariterator.h: add typdefs for value_type, difference_type,
1013         pointer and reference to satisfy concept checks. Also add default
1014         constructor for same reason.
1015
1016         * pariterator.C (operator++): add post-increment operator to
1017         satisfy concept checks.
1018
1019         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1020         checks.
1021
1022         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1023
1024         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1025         checks. Also rename base_type to BaseType to follow naming
1026         standard better.
1027
1028         * FloatList.h: include Floating.h to satisfy concept checks.
1029
1030 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * lyxfunc.C (getStatus): when the origin of the request is menu or
1033         toolbar, and the LyXView does not have focus, do as if there was
1034         no buffer (bug 1720)
1035
1036         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1037         FuncRequest to individual entries of LFUN_SEQUENCE
1038
1039 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * output_latex.C (TeXOnePar): override runparams.moving_arg
1042         according to the needprotect value of the current paragraph (bug
1043         1739)
1044
1045         * paragraph.C (simpleTeXOnePar): no need to override
1046         runparams.moving_args here
1047
1048 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1049
1050         * vspace.C: fix off-by-one-error, related to fix #1682
1051
1052 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * lengthcommon.C: a more general fix for bug 1682
1055
1056 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1057
1058         * text.C (backspace): fix crash
1059
1060 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1061
1062         * format.[Ch] (getFormatFromFile): new method
1063         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1064
1065 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1066
1067         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1068
1069 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * lyxfunc.C (dispatch): remove the verbose argument
1072         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1073         instead
1074
1075         * kbmap.C (defkey): set the origin of func to KEYBOARD
1076
1077         * MenuBackend.C (MenuItem):
1078         * ToolbarBackend.C (add): set the origin of func to UI
1079
1080         * funcrequest.[Ch]: add origin member, which indicates which part
1081         of LyX requests an action
1082
1083 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1084
1085         * converter.C (move): don't lie in the error message
1086         * converter.h (isReachable, move): document
1087
1088 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1089
1090         * buffer.C: remove unused using lyx::support::atoi
1091         * paragraph_funcs.C: ditto
1092
1093 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1094
1095         * bufferlist.C (exists): use bind and equal_to instead of
1096         compare_memfun
1097         (getBuffer): ditto
1098         * lyxtextclasslist.C (NumberOfClass): ditto
1099
1100         * cursor.C (insert): use for_each instead of explicit for loop
1101
1102         * bufferlist.C (getFileNames): use std::transform and
1103         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1104
1105         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1106         for loop
1107
1108         * buffer.C (changeLanguage): use for_each instead of explicit for
1109         loop
1110         (hasParWithID): implement using getParFromID
1111
1112         * LaTeXFeatures.C: ws change only
1113
1114         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1115         to cleanup a bit.
1116
1117         * BufferView_pimpl.C (trackChanges): use for_each instead of
1118         expilicit for loop
1119
1120 2004-11-04  André Pönitz  <poenitz@gmx.net>
1121
1122         * undo.h:
1123         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1124
1125         * dociterator.C (asDocIterator): use hard assert again.
1126
1127 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * lyxlength.C (asLatexString): rewrite so that it does not use
1130         snprintf anymore
1131
1132 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * text3.C (specialChar, dispatch): make sure cursor moves to the
1135         right after inserting an inset
1136
1137 2004-11-02  José Matos  <jamatos@lyx.org>
1138
1139         * output_docbook.C (docbook):
1140         * paragraph.C (getID):
1141         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1142         garantee that the output is always legal.
1143
1144         * tabular.C (docbook):
1145         * outputprams.[Ch]: remove mixed contents.
1146
1147 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1148
1149         * text2.C (setCounter): prevent endless loop
1150
1151 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1152
1153         * exporter.C (copyFile): use the mover instead of support::copy()
1154         * exporter.C (Export): pass format and latex name to copyFile()
1155         * exporter.h (addExternalFile): document
1156         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1157
1158 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1159
1160         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1161
1162 2004-10-30  José Matos  <jamatos@lyx.org>
1163
1164         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1165         text and no inset or font change. This allows to use CDATA
1166         sections just for the whole paragraph.
1167
1168 2004-10-30  José Matos  <jamatos@lyx.org>
1169
1170         * paragraph.C (getFirstWord): remove unused variable.
1171
1172 2004-10-30  José Matos  <jamatos@lyx.org>
1173
1174         * paragraph.C (getFirstWord): the content should always be escaped
1175         there.
1176         (simpleDocBookOnePar):
1177         * output_docbook.C (makeEnvironment): replace reference to CDATA
1178         to style pass_thru.
1179
1180 2004-10-30  José Matos  <jamatos@lyx.org>
1181
1182         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1183
1184 2004-10-30  José Matos  <jamatos@lyx.org>
1185
1186         * output_docbook.C (makeParagraphs):
1187         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1188         standard paragraph has only a given type of content drop the wrapper.
1189
1190 2004-10-29  José Matos  <jamatos@lyx.org>
1191
1192         * output_docbook.C (makeEnvironment):
1193         * sgml.C (openTag):
1194         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1195
1196 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1197
1198         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1199         (cleanID): sanitize any id.
1200
1201 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1202
1203         * buffer.C, lyxlex_pimpl.C:
1204         * lyxlex_pimpl.C (setFile):
1205         s/getExtFromContents/getFormatFromContents/
1206
1207 2004-10-28  José Matos  <jamatos@lyx.org>
1208
1209         * output_docbook.C (makeEnvironment): move id to broadest possible
1210         scope.
1211
1212         * sgml.C (openTag): apply substitution of <> for all attributes.
1213
1214 2004-10-28  José Matos  <jamatos@lyx.org>
1215
1216         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1217         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1218         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1219
1220         * sgml.[Ch]: new version for open and closeTag for paragraph and
1221         for strings. Now they handle the ids of paragraphs.
1222
1223 2004-10-26  Angus Leeming  <leeming@lyx.org>
1224
1225         * Makefile.am: add mover.[Ch].
1226
1227         * converter.C (convert, move): use the new Movers to move external
1228         files to the temp directory.
1229
1230         * lyx_main.C (init): ensure that the global system_movers data
1231         is initialised.
1232
1233         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1234         preferences file.
1235
1236         * mover.[Ch]: new files, defining a Mover as a utility to move an
1237         external file between directories and, if necessary, manipulate this
1238         file using a helper script.
1239
1240 2004-10-25  José Matos  <jamatos@lyx.org>
1241
1242         * output_docbook.C (makeCommand): merge two if's that tested the
1243         same condition.
1244
1245 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * sgml.C (escapeString): fix warning in a better way
1248
1249 2004-10-25  José Matos  <jamatos@lyx.org>
1250
1251         * sgml.C (escapeString): import the require boosts header file for
1252         tie, and avoid a signed unsigned comparison.
1253
1254 2004-10-25  José Matos  <jamatos@lyx.org>
1255
1256         * sgml.h: add #include <string>
1257
1258 2004-10-25  José Matos  <jamatos@lyx.org>
1259
1260         * sgml.[Ch] (escapeString): new function to escape all the string.
1261
1262 2004-10-24  José Matos  <jamatos@lyx.org>
1263
1264         * paragraph.[Ch] (getFirstWord): new function to get the first
1265         word. Useful for description.
1266         (simpleDocBookOnePar): remove depth argument, add another that
1267         says where to start the paragraph.
1268
1269         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1270         use the new functions to fix cleanly the support for descriptions.
1271
1272 2004-10-24  José Matos  <jamatos@lyx.org>
1273
1274         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1275         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1276         * output_linuxdoc.C (linuxdocParagraphs):
1277         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1278         add buffer as argument.
1279
1280 2004-10-24  José Matos  <jamatos@lyx.org>
1281
1282         * output_docbook.C (makeEnvironment, searchEnvironment): place
1283         CDATA inside paragraphs and fix scope for listitems.
1284
1285 2004-10-24  José Matos  <jamatos@lyx.org>
1286
1287         * output_docbook.C: remove using statement for stack.
1288
1289 2004-10-23  José Matos  <jamatos@lyx.org>
1290
1291         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1292         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1293         docbook. The new scheme is recursive and makes use of iterators, the
1294         same as latex export works.
1295         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1296         directly with the paragraph contents. This code was moved up to
1297         output_docbook.C (docbookParagraphs).
1298         * sgml.C (openTag, closeTag): removed unneeded newlines.
1299         (closeEnvTags) removed.
1300
1301 2004-10-23  André Pönitz  <poenitz@gmx.net>
1302
1303         * undo.C (textUndoOrRedo):
1304         * dociterator.C (asDocIterator): work around crash
1305
1306         * cursor.C (getStatus): replace ASSERT by more verbose error message
1307           and manual correction of the problem. Should increase stability
1308           while providing more sensible information.
1309
1310 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1313
1314         * bufferlist.C (previous, next): new methods
1315
1316         * lfuns.h:
1317         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1318
1319 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1320
1321         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1322         entities to preamble.
1323
1324 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1325
1326         * messages.C (Pimpl): strip off translation context information
1327
1328 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1331         the cursor is correct (bug 1694)
1332
1333 2004-10-13  José Matos  <jamatos@lyx.org>
1334
1335         * output_docbook.C (docbookParagraphs): fix closing tags in the
1336         end of the document.
1337
1338 2004-10-09  José Matos  <jamatos@lyx.org>
1339
1340         * buffer.C: format up to 237.
1341         * bufferparams.C (write): use tostr to convert booleans to strings.
1342
1343 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1344
1345         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1346
1347 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * LaTeX.C: implement use of babel language in xindy.
1350
1351 2004-10-05  José Matos  <jamatos@lyx.org>
1352
1353         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1354         Add new translators to help reading and writing the lyx file.
1355
1356 2004-10-05  José Matos  <jamatos@lyx.org>
1357
1358         * ParagraphParameters.C (read):
1359         * text.C (readParToken): replace nexToken by more appropriate lex
1360         methods.
1361
1362 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1363
1364         * LaTeX.C (runMakeIndex):
1365         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1366         (usually 'makeindex') configurable.
1367
1368         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1369         with a variable rather than with a number.
1370
1371 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * output_latex.C (TeXOnePar): make sure font setting is the first
1374         thing that gets output (and the last at the end). Should fix bug
1375         1404.
1376
1377 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1378
1379         * pch.h: use proper signal include
1380
1381         * LaTeX.h: Use preferred calling of Boost.Signal
1382         * buffer.h: ditto
1383
1384 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1385
1386         * pch.h: dont include <boost/function/function0.hpp>
1387
1388         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1389
1390         * paragraph_pimpl.h: remove usage of ShareContainer
1391
1392         * paragraph_pimpl.C: remove initialization of ShareContainer.
1393
1394 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         Fix bug #1666
1397
1398         * BufferView.C (putSelectionAt): change the semantics when
1399         backwards == true: now, this just swaps cursor and anchor wrt the
1400         forward case
1401
1402         * BufferView.h (putSelectionAt): add some documentation
1403
1404         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1405         make sure backwardChar is done at least once (to avoid getting
1406         stuck)
1407         (findNextChange): use putSelectionAt in the forward direction
1408         (operator()): use Paragraph::isWord
1409
1410 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1411
1412         * Spacing.C (set): c_str fix
1413
1414 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * lyx_cb.C (Reconfigure): quote the name of configure script in
1417         case it contains spaces
1418
1419 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1420
1421         * client: new dir
1422
1423         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1424         (BOOST_LIBS): use top_buildir when looking for the file
1425
1426 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1427
1428         * pch.h: do not use include boost/format.hpp, multiple symbols
1429                 will result (gcc bug)
1430
1431
1432 2004-08-23  José Matos  <jamatos@lyx.org>
1433
1434         * bufferparams.C (readToken): fix reading of the author field.
1435
1436 2004-08-20  José Matos  <jamatos@lyx.org>
1437
1438         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1439
1440 2004-08-20  José Matos  <jamatos@lyx.org>
1441
1442         * lyxlex.[Ch] (findToken): remove function.
1443
1444         * ParagraphParameters.C (findToken):
1445         * bufferparams.C (findToken): replace call for previous function
1446         with local copy. This local function has one more argument, the
1447         read string argument.
1448
1449 2004-08-16  José Matos  <jamatos@lyx.org>
1450
1451         * ParagraphParameters.C (write):
1452         * Spacing.C (writeFile):
1453         * bufferparams.C (writeLaTeX):
1454         * lyx_cb.C (Reconfigure):
1455         * paragraph.C (write):
1456         * tabular.C (write): remove unnecessary space at end of line.
1457
1458
1459 2004-08-16  José Matos  <jamatos@lyx.org>
1460
1461         * text.C (readParagraph): remove debug message.
1462
1463 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1466         crash
1467
1468         * output_plaintext.C (asciiParagraph): set depth correctly
1469
1470         * outputparams.h: add member depth
1471
1472         * paragraph_funcs.C (ownerPar): remove.
1473
1474         * text2.C (setCounter): remove first_pit; comment out some
1475         non-working code that uses ownerPar
1476
1477         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1478         uses ownerPar
1479
1480 2004-08-16  José Matos  <jamatos@lyx.org>
1481
1482         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1483         For the same level of importance use the same chanel to report problems.
1484         (read): add code to deal with \begin_body and \end_body.
1485
1486
1487 2004-08-15  José Matos  <jamatos@lyx.org>
1488
1489         * lyxlex.C (getString): fix comment, buffer::readBody is now
1490         buffer:readDocument.
1491
1492         * tex-strings.C (string_papersize): Default -> default,
1493         Custom -> custom, for consistency with other options.
1494
1495 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1496
1497         * pch.h: new file
1498
1499         * Makefile.am: support pch
1500
1501 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1502
1503         * text.C (readParToken): remove the static LyXFont variable and
1504         pass it as a parameter instead. This fixes a nasty bug where an
1505         inset will be inserted with a bad font in some situations
1506         (readParagraph): adapt
1507
1508         * text2.C (setCounter): reduce number of calls to pars_[pit]
1509
1510         * text.C (singleWidth): add an assert, fix a test
1511
1512         * rowpainter.C (paintText): reduce number of calls to singleWidth
1513
1514         * paragraph.C (isHfill):
1515         (isNewline): ws only
1516
1517 2004-08-14  André Pönitz  <poenitz@gmx.net>
1518
1519         * text.C:
1520         * text2.C:
1521         * rowpainter.C:
1522         * lyxtext.h (several functions): use a Paragraph & argument
1523         instead of par_type
1524
1525 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1528
1529         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1530
1531         * text.C (singleWidth): remove useless test
1532
1533 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * tabular.h: remove bogus comments
1536
1537         * tabular.C (getDescentOfRow):
1538         (isPartOfMultiColumn): add assertions
1539
1540         * lyxlength.C (inPixels): remove #warning
1541
1542 2004-08-14  André Pönitz  <poenitz@gmx.net>
1543
1544         * paragraph.h: inline getChar()
1545
1546         * BufferView.h: remove unused declarations
1547
1548 2004-08-14  José Matos  <jamatos@lyx.org>
1549
1550         * Buffer.[Ch] (readDocument): new name for old readBody.
1551         * Buffer.C: new file format, new keywords: \begin_document,
1552         \begin_header, \begin_body, \end_body.
1553
1554         * bufferparams.C (readToken): replace all calls to lex.nextToken
1555         by lex.next(). Do the same to eatLine except where really needed.
1556
1557         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1558         line when writing to the lyx file.
1559
1560         * output_plaintext.C (asciiParagraph): fix Bibliography style
1561         handling.
1562
1563         * text.C (read): fix end of file handling.
1564
1565 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * MenuBackend.C (Menu::operator[]): new method to access
1568         individual menu items
1569         (Menu::hasFunc): new method. search for an item that corresponds
1570         to a given func
1571         (MenuBackend::specialMenu): new method
1572         (MenuBackend::expand): if a special menu has been set, skip
1573         entries whose func() appears in this menu
1574
1575 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1576
1577         * text3.C: use Debug::DEBUG a bit more
1578
1579         * text.C (leftMargin): try to simplify a tiny bit change var x to
1580         l_margin. Dont output the wide margins always.
1581         (rightMargin): no margin in inner texts
1582
1583         * rowpainter.h (nestMargin): new func
1584         (changebarMargin): new func
1585         (rightMargin): new func
1586
1587         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1588         now functions.
1589         (paintLast): ditto
1590
1591         * factory.C (createInset): modify setDrawFrame
1592
1593         * cursor.C: use Debug::DEBUG a bit more
1594
1595 2004-08-14  André Pönitz  <poenitz@gmx.net>
1596
1597         * coordcache.[Ch]:
1598         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1599         cache for all insets in (at least partially) visible (top-level)
1600         paragraphs.
1601
1602         * BufferView_pimpl.C: reset external coord cache before every update.
1603         This means the coord cache only contains valid entries.
1604
1605 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1606
1607         bug 1096
1608         * BufferView_pimpl.C (getInsetByCode): move function out of class
1609         and change in to a template in anon namespace. Also fix to do what
1610         suits us better.
1611
1612 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1613
1614         bug 1305
1615         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1616         of char
1617         (breakParagraph): rename par to par_offset and use a local
1618         reference. Add code to keep the language over a rebreak.
1619         (breakParagraphConservative): rename par to par_offset, use a
1620         local reference
1621         (mergeParagraph): ditto
1622         (outerHook): ditto
1623         (isFirstInSequence): ditto
1624         (outerFont): rename pit to par_offset
1625
1626         * paragraph.C: ws change
1627         * paragraph.h: ditto
1628         * text3.C: ditto
1629         * text.C: ditto
1630
1631 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1632
1633         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1634         treatment for ']'
1635
1636         * paragraph.C (simpleTeXOnePar): when we have a \item with
1637         optional argument, enclose the argument with curly brackets (in
1638         case it contains a closing square bracket)
1639
1640         * text2.C (editXY):
1641         * text2.C (editXY):
1642         * text3.C (checkInsetHit): constify
1643
1644 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1647         documents (bug 1629)
1648
1649 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1650
1651         Fix toggling of collapsable insets with the mouse (bug 1558)
1652
1653         * lyxfunc.C (dispatch): adapt to LCursor changes
1654
1655         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1656         make sure that dispatch is not invoked twice
1657
1658         * cursor.C (needsUpdate): new method
1659         (dispatch): return void
1660         (result): new method, to access the DispatchResult of the cursor.
1661
1662 2004-08-13  José Matos  <jamatos@lyx.org>
1663
1664         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1665
1666 2004-08-13  André Pönitz  <poenitz@gmx.net>
1667
1668         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1669
1670         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1671           multiple cells
1672
1673 2004-08-12  André Pönitz  <poenitz@gmx.net>
1674
1675         * text3.C: take out the 'cursor right' form insertInset and only
1676         do it in those places when it is really needed. Fixes crash on
1677         C-m...
1678
1679 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1680
1681         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1682
1683         * BufferView_pimpl.C (setBuffer): initialize the current font of
1684         the underlying LyXText
1685
1686 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * kbsequence.C (print): use UI native formatting for menu
1689         shortcuts
1690
1691         * text.C (insertChar): call Paragraph::insertChar with a font
1692         argument (cosmetic)
1693
1694         * paragraph.C (insertInset, insertChar): the version that takes a
1695         LyXFont argument is now a wrapper around the other one (the
1696         opposite used to be true).
1697
1698         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1699         argument. Font setting is done in Paragraph now.
1700
1701 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * outputparams.h: add new members intitle and lang.
1704
1705         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1706         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1707
1708 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1709
1710         * text3.C (dispatch): remove special handling of button 4 and 5,
1711         it is now taken care of in the frontend code.
1712
1713 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1714
1715         * Spacing.h: add <string> (STLPort compile fix)
1716
1717 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1718
1719         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1720
1721 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1722
1723         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1724         to bool.
1725
1726         * converter.C (showMessage): inherit from unary_function, make
1727         operator() const.
1728
1729         * buffer.C (writeFile): initialize retval
1730
1731         * InsetList.h: rename private variable list to list_
1732         * InsetList.[Ch]: adjust accordingly.
1733
1734 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1737         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1738         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1739         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1740         * ParagraphParameters.C, LaTeXFeatures.C: replace
1741         "support/std_sstream.h" with <sstream>
1742
1743 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1744
1745         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1746         * lyxsocket.C (LyXServerSocket): ditto
1747         (serverCallback): ditto
1748
1749 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1750
1751         * LaTeXFeatures.C: check release date when loading jurabib.
1752
1753 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1754
1755         * lyxserver.C (startPipe): call register_socket_callback
1756         (endPipe): call unregister_socket_callback
1757
1758 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1759
1760         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1761         (LyXServerSocket): register the callback
1762         (LyXServerSocket): unregister the callback
1763         (fd): delete function
1764         (serverCallback): improve error checking and setup the callbacks.
1765         (dataCallback): change arg to fd.
1766         (writeln): new func (copied fro the client socket) used for server
1767         write to client.
1768         (LyXDataSocket): simplify
1769         (~LyXDataSocket): close ann unregiser callback
1770         (server): delete function
1771         (fd): delete function
1772         (readln): small changes, improve some std::string usage
1773         (writeln): constify a bit
1774
1775 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1778         Qt frontend
1779
1780 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1783         after it has been populated
1784
1785 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * text2.C (insertInset): move cursor when inserting inset.
1788
1789 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         * kbmap.C (findbindings): a couple of new methods. returns a
1792         container of kb_sequence objects. The real work is done by the
1793         private recursive version
1794         (printbindings): uses findbindings to print out a bracketed list
1795         of bindings (renamed from findbinding).
1796
1797         * MenuBackend.C (binding): use kb_keymap::findbindings
1798
1799         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1800
1801 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1802
1803         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1804
1805 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * paragraph.C (isWord): return true on insets that report
1808         isLetter().
1809
1810         * text.C (getWord): use Paragraph::isWord to decide what is in a
1811         word and what is not; fix bug 1609.
1812
1813 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1814
1815         * tex-strings.C: add "none" to string_paperpackages[], fixes
1816         off-by-one-error in the paperpackage selection.
1817
1818         * lyxlex.[Ch]:
1819         * tex-strings.[Ch]: char const * string[n]
1820         -> char const * const string[]
1821
1822 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1823
1824         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1825         command, return early.
1826
1827 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1828
1829         * debug.h: add DEBUG to enum and fix size of ANY.
1830
1831         * debug.C: add support for Debug::DEBUG
1832         (showTags): cast errorTags.level to unsigned int
1833
1834         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1835         (redoCurrentBuffer): ditto
1836         (updateScrollbar): ditto
1837         * cursor.C (dispatch): ditto
1838         * text2.C (setLayout): ditto
1839         (setFont): ditto
1840         (updateCounters): ditto
1841         (editXY): ditto
1842         (deleteEmptyParagraphMechanism): ditto
1843
1844 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1847         annotations to cleanup the Makefile slightly.
1848
1849 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * lyxrc.C: do not set user_email to a default value but use empty
1852         instead. The entry used to be translated, which does not work
1853         since at the point where lyxrc is constructed there is no
1854         translation service available
1855
1856         * messages.C (getLocaleDir): remove and use directly
1857         lyx_localedir() instead
1858
1859 2004-06-02  Angus Leeming  <leeming@lyx.org>
1860
1861         Fix crash caused by dereferencing null pointer 'exportdata' in
1862         OutputParams by creating a new ExportData variable on the heap,
1863         storing it in a boost::shared_ptr.
1864         The crash was triggered when generating an Instant Preview
1865         of an external inset.
1866
1867         * Makefile.am: add outputparams.C
1868
1869         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1870         (c-tor): allocate memory to it.
1871
1872         * exporter.C (c-tor): associated changes.
1873
1874 2004-06-01  Angus Leeming  <leeming@lyx.org>
1875
1876         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1877         contains data before calling isInset(0). (Bug 1513.)
1878
1879 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1880
1881         * exporter.C (checkOverwrite): new method
1882         * exporter.C (copyFile): new method
1883         * exporter.C (Export): copy referenced files to the document dir
1884         * exporter.[Ch]: new class ExportedFile
1885         * exporter.[Ch]: new class ExportData. Contains currently the
1886         names of referenced external files
1887         * outputparams.h: add exportdata member.
1888
1889 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1892         version.C-tmp
1893
1894 2004-05-19  Angus Leeming  <leeming@lyx.org>
1895
1896         * LaTeXFeatures.C:
1897         * ToolbarBackend.C:
1898         * bufferparams.C:
1899         * lyxfunc.C: small changes due to the introduction of namespace
1900         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1901
1902 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * text3.C (dispatch): supress update when only moving the cursor
1905         * cursor.C (selHandle): remove commented code
1906
1907 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1908
1909         * paragraph.C (startTeXParParams): correct column count
1910         * CutAndPaste.C (pasteSelection): remove const_cast
1911         * output_docbook.C (docbookParagraphs): remove const_cast
1912         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1913         const_cast and return ParagraphList::const_iterator
1914         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1915         * output_plaintext.C (writeFileAscii): remove const_cast
1916         * paragraph.[Ch] (simpleTeXOnePar): make const
1917         * paragraph_funcs.C (outerPar): use const iterators
1918         * paragraph_pimpl.C (validate): use const iterators
1919         * text.C (setHeightOfRow): use const iterators
1920
1921 2004-05-17  Angus Leeming  <leeming@lyx.org>
1922
1923         * lfuns.h:
1924         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1925
1926         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1927         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1928         if the citation engine has changed.
1929
1930 2004-05-14  José Matos  <jamatos@lyx.org>
1931
1932         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1933         if the textclass does not provide it. Have it different for sgml and
1934         xml.
1935         support the language of document.
1936         * output_docbook.C (docbookParagraphs):
1937         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1938         first anchor as the id of the paragraph, remove special case code.
1939         * sgml.C (escapeChar): escape only < & >.
1940
1941 2004-05-14  Angus Leeming  <leeming@lyx.org>
1942
1943         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1944         dependencies on src/frontends/controllers/biblio.h. Define a
1945         CiteEngine_enum wrapper class to enable the enum to be forward
1946         declared.
1947
1948 2004-05-12  Angus Leeming  <leeming@lyx.org>
1949
1950         * buffer.C: up LYX_FORMAT to 234.
1951         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1952         use_numerical_citations with a single biblio::CiteEngine cite_engine
1953         variable.
1954         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1955
1956 2004-05-13  José Matos  <jamatos@lyx.org>
1957
1958         * converter.h:
1959         * converter.C (Converter, readFlags): add xml member.
1960         * outputparams.h: add XML flavor.
1961         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1962
1963 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * lyxfunc.C (dispatch):
1966         (getStatus): fix handling of LFUN_SEQUENCE
1967
1968 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * debug.C (showLevel): do not forget the end-of-line marker
1971
1972 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * kbmap.C (read): do not stop parsing a bind file when an error
1975         occurs (bug 1575)
1976
1977 2004-04-29  Angus Leeming  <leeming@lyx.org>
1978
1979         * cursor.C:
1980         * factory.C:
1981         * pariterator.C:
1982         * text2.C: wrap a bunch of #warning statements
1983         inside #ifdef WITH_WARNINGS blocks.
1984
1985 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1986
1987         * buffer.C: increment format to 233.
1988
1989 2004-04-28  Angus Leeming  <leeming@lyx.org>
1990
1991         * BufferView_pimpl.C:
1992         * lyxfunc.C:
1993         * text3.C:
1994         s/updateToolbar()/updateToolbars()/
1995         s/Toolbar.h/Toolbars.h/
1996
1997 2004-04-28  Angus Leeming  <leeming@lyx.org>
1998
1999         * BufferView.[Ch] (c-tor):
2000         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2001         No longer passes these data to the WorkArea generator.
2002
2003 2004-04-28  Angus Leeming  <leeming@lyx.org>
2004
2005         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2006
2007 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2008
2009         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2010
2011 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * output_latex.C (TeXEnvironment): make sure that there is a line
2014         break before \end{foo} for the last paragraph of a document
2015         (TeXOnePar): if the paragraph is at the end of the document (or
2016         inset) and the language has to be reset, then make sure that the
2017         line break is _before_ the language command, not after (fixes bug
2018         1225); also make sure that the language reset command is the first
2019         thing after the paragraph (to ensure proper nesting of
2020         environments and thus fix bug 1404)
2021
2022 2004-04-21  John Levon  <levon@movementarian.org>
2023
2024         * ToolbarBackend.h:
2025         * ToolbarBackend.C: make "name" be a programmatic name
2026         and a gui_name field.
2027
2028         * lyxfunc.C: display the minibuffer on M-x
2029
2030 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2031
2032         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2033         (bug 1526)
2034
2035 2004-04-19  Angus Leeming  <leeming@lyx.org>
2036
2037         * BufferView_pimpl.C (setBuffer): changed preview interface.
2038
2039         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2040         possible values.
2041
2042 2004-04-19  John Levon  <levon@movementarian.org>
2043
2044         * BufferView_pimpl.C:
2045         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2046
2047 2004-04-05  Angus Leeming  <leeming@lyx.org>
2048
2049         * text.C (redoParagraphs): add call to updateCounters(), thereby
2050         fixing the missing "Figure #:" label from the caption of a
2051         figure float.
2052
2053 2004-04-13  Angus Leeming  <leeming@lyx.org>
2054
2055         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2056         cursor is clicked out of an inset.
2057
2058 2004-04-13  Angus Leeming  <leeming@lyx.org>
2059
2060         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2061         than an InsetOld one.
2062
2063 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2064
2065         * format.[Ch]: add editor to Format
2066         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2067         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2068
2069 2004-04-08  André Pönitz  <poenitz@gmx.net>
2070
2071         * metricsinfo.h: remove PainterInfo::width member
2072
2073 2004-04-08  Angus Leeming  <leeming@lyx.org>
2074
2075         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2076         "\providecommand" rather than "\newcommand", thereby preventing
2077         clashes with packages that define "\boldsymbol" themselves.
2078         Eg, beamer.
2079
2080 2004-04-08  Angus Leeming  <leeming@lyx.org>
2081
2082         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2083         thereby squashing an unnecessary warning.
2084
2085 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2086
2087         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2088         setBuffer()
2089
2090 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * BufferView.C (setCursor): call redoParagraph (some insets could
2093         have been opened)
2094         (putSelectionAt): remove the 'double update' trick
2095
2096         * BufferView_pimpl.C (fitCursor): call refreshPar
2097         (workAreaDispatch): remove an uneeded update call
2098         (dispatch): remove some manual update calls
2099
2100         * cursor.[Ch]: remove cached_y_, updatePos
2101         (selHandle): set noUpdate when appropriate
2102
2103         * lyxfunc.C (dispatch): track if we need an update
2104
2105         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2106
2107         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2108         (paintSelection): cheap optimization, do not call cursorX when not
2109         needed
2110         (paintPars): change signature
2111         (refreshPar): add
2112         (paintText): adjust
2113         (paintTextInset): adjust
2114
2115         * text.C: adjust
2116
2117 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * lengthcommon.C: compilation fix: remove explicit array size from
2120         unit_name[] and friends
2121
2122 2004-04-05  Angus Leeming  <leeming@lyx.org>
2123
2124         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2125
2126         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2127         present only for the preferences dialog.
2128         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2129
2130 2004-04-05  Angus Leeming  <leeming@lyx.org>
2131
2132         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2133         to enable the frontends to export changes to lyxrc correctly.
2134
2135         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2136
2137 2004-04-07  André Pönitz  <poenitz@gmx.net>
2138
2139         * cursor.[Ch] (selClear, adjust): remove math
2140
2141         * cursor_slice.C: more agressive assert
2142
2143         * lyxfunc.C:
2144         * BufferView_pimpl.C: rework mouse event dispatch
2145
2146         * dociterator.C:
2147         * paragraph.C:
2148         * text2.C:
2149         * text3.C: adjust
2150
2151 2004-04-05  André Pönitz  <poenitz@gmx.net>
2152
2153         * cursor.[Ch] (valign, halign...): remove unneeded functions
2154
2155 2004-04-05  Angus Leeming  <leeming@lyx.org>
2156
2157         * lyxlength.[Ch] (unit_name et al.): const-correct.
2158
2159 2004-04-05  Angus Leeming  <leeming@lyx.org>
2160
2161         * BufferView_pimpl.C:
2162         * buffer.C:
2163         * counters.C:
2164         * cursor.C:
2165         * lyxfunc.C
2166         * paragraph.C:
2167         * pariterator.C:
2168         * text.C:
2169         * text2.C:
2170         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2171
2172 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2175
2176 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2179         * BufferView_pimpl.[Ch] (getStatus)
2180         * BufferView.[Ch] (getStatus): add
2181         * lyxfunc.C (getStatus): move lfuns handled in
2182         BufferView::dispatch to te function above
2183         * Cursor.C (setSelection): set selection() = true
2184
2185 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2188
2189 2004-03-31  Angus Leeming  <leeming@lyx.org>
2190
2191         * lyxfunc.C (dispatch): Fall through to the generic
2192         Dialogs::show("preamble").
2193
2194 2004-03-31  Angus Leeming  <leeming@lyx.org>
2195
2196         * lyxfunc.C (dispatch): Fall through to the generic
2197         Dialogs::show("spellchecker").
2198
2199 2004-03-31  Angus Leeming  <leeming@lyx.org>
2200
2201         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2202         preferences dialog.
2203
2204 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * BufferView.C
2207         * cursor.[Ch]
2208         * dociterator.[Ch]:
2209         * insetiterator.[Ch]:
2210         * lyxfind.C:
2211         * lyxfunc.C:
2212         * pariterator.[Ch]:
2213         * text2.C:
2214         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2215
2216 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2217
2218         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2219         insets where we are putting the cursor.
2220
2221 2004-03-31  Angus Leeming  <leeming@lyx.org>
2222
2223         * lfuns.h:
2224         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2225
2226         * lyxrc.[Ch] (read, write): overloaded member functions taking
2227         a std::[io]stream arguments.
2228
2229         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2230
2231 2004-03-31  Angus Leeming  <leeming@lyx.org>
2232
2233         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2234         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2235
2236         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2237         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2238
2239 2004-03-31  Angus Leeming  <leeming@lyx.org>
2240
2241         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2242         the LFUN_ALL_INSETS_TOGGLE code.
2243
2244 2004-03-30  Angus Leeming  <leeming@lyx.org>
2245
2246         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2247         has died. Fall through to the generic Dialogs::show("document").
2248
2249 2004-03-30  Angus Leeming  <leeming@lyx.org>
2250
2251         * lfuns.h:
2252         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2253         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2254
2255         * lyxfunc.C (getStatus, dispatch): define the actions for these
2256         lfuns. Little more than a cut and pste job from ControlDocument.C
2257
2258         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2259
2260 2004-03-30  Angus Leeming  <leeming@lyx.org>
2261
2262         * lfuns.h:
2263         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2264         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2265
2266         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2267         open/closed state of ollapsable insets. Usage:
2268
2269         all-inset-toggle <state> <name>, where
2270         <state> == "open" || "closed" || "toggle" and
2271         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2272
2273         * lyxtext.h, text2.C (toggleInset): removed.
2274
2275         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2276         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2277         now passes LFUN_INSET_TOGGLE to the found inset.
2278
2279         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2280         is now invoked as "all-insets-toggle toggle branch".
2281
2282 2004-03-30  Angus Leeming  <leeming@lyx.org>
2283
2284         * dociterator.C:
2285         * insetiterator.C:
2286         * pariterator.[Ch]: added/corrected header blurb.
2287
2288 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * dociterator.[Ch]: add an inset_ member
2291         (backwardPos): implemented
2292         (backwardPos, forwardPos): use inset_ when the stack is empty.
2293         (doc_iterator_begin, doc_iterator_end): implemented
2294         * pariterator.[Ch]: adjust, add begin, end
2295         * insetiterator.[Ch]: adjust, add begin, end
2296         * cursor.C:
2297         * document.C:
2298         * BufferView.C:
2299         * BufferView_pimpl.C:
2300         * CutAndPaste.C: adjust
2301
2302 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2303
2304         * buffer.C: increment file format to 232.
2305         * LaTeXFeatures.C: add bibtopic package.
2306         * bufferparams.[Ch]: param \use_bibtopic.
2307
2308         * lyxrc.[Ch]: add lyxrc bibtex_command
2309         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2310
2311         * buffer.C: increment file format to 231.
2312
2313 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2314
2315         * dociterator.C: implement forwardPar
2316         * iterators.[Ch]: remove, replaced by
2317         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2318         * BufferView.C:
2319         * BufferView_pimpl.C:
2320         * CutAndPaste.C:
2321         * buffer.C:
2322         * bufferview_funcs.C:
2323         * cursor.C:
2324         * lyxfind.C
2325         * lyxfunc.C
2326         * paragraph_funcs.C
2327         * toc.C:
2328         * Makefile.am: adjust
2329
2330 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * CutAndPaste.C (pasteSelection): fix 2 crashes
2333         (eraseSelection): fix a crash
2334         * paragraph_funcs.C: remove a warning
2335
2336 2004-03-28  Angus Leeming  <leeming@lyx.org>
2337
2338         * lfuns.h:
2339         * LyXAction.C (init): new LFUN_PRINT.
2340
2341         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2342
2343 2004-03-27  Angus Leeming  <leeming@lyx.org>
2344
2345         * lfuns.h:
2346         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2347
2348         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2349
2350 2004-03-27  Angus Leeming  <leeming@lyx.org>
2351
2352         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2353         insetlist always contains non-null pointers to insets.
2354
2355 2004-03-26  Angus Leeming  <leeming@lyx.org>
2356
2357         * src/BufferView_pimpl.C:
2358         * src/CutAndPaste.C:
2359         * src/buffer.C:
2360         * src/iterators.C:
2361         * src/output_plaintext.C:
2362         * src/outputparams.h:
2363         * src/paragraph_funcs.C:
2364         * src/rowpainter.C:
2365         * src/text.C:
2366         * src/text2.C:
2367         * src/frontends/controllers/ControlErrorList.C:
2368         * src/frontends/gtk/FileDialogPrivate.C:
2369         * src/frontends/gtk/GPainter.C:
2370         * src/frontends/gtk/GToolbar.C:
2371         * src/frontends/qt2/QRef.C:
2372         * src/mathed/math_scriptinset.C: squash compiler warnings.
2373
2374 2004-03-26  Angus Leeming  <leeming@lyx.org>
2375
2376         * ispell.C (LaunchIspell::start):
2377         * lyx_cb.C (AutoSaveBuffer::start):
2378         invoke run(DontWait) rather than runNonBlocking().
2379
2380 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2383
2384 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * kbsequence.C (print): adjust
2387
2388         * kbmap.C (printKeySym): rename and change signature
2389         (printKey): use LyXKeySym::print()
2390
2391 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2392
2393         * undo.C: add using std::advance to compile for stlport
2394
2395 2004-03-24  Angus Leeming  <leeming@lyx.org>
2396
2397         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2398         it leads to a crash when no buffer is present.
2399
2400 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401             Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * lyxfunc.C (dispatch):
2404         * bufferparams.C (readToken): use the new LColor::setColor
2405
2406         * LColor.[Ch] (setColor): new version that takes two strings as
2407         argument and creates a new color entry if necessary
2408
2409 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2410
2411         * buffer.C (makeLaTeXFile): if the main latex file that is
2412         processed is usually a subdocument of some master, then pretend
2413         for a while that it is actually the master
2414
2415 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2416
2417         * buffer.C (getLabelList):
2418         (getBibkeyList): use getMasterBuffer()
2419         (getMasterBuffer): new method. Returns the main document in the
2420         case where one is using included documents.
2421
2422 2004-03-25  André Pönitz  <poenitz@gmx.net>
2423
2424         * Makefile.am:
2425         * iterators.[Ch]:
2426         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2427
2428         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2429
2430         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2431         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2432
2433         * ParameterStruct.h: merge with ParagraphParameters
2434
2435         * lyxtext.h: remove LyXText::parOffset() and getPar()
2436
2437         * text3.C: Remove all 'manual' update calls. We do now one per user
2438         interaction which is completely sufficient.
2439
2440         * Bidi.C:
2441         * BufferView.[Ch]:
2442         * BufferView_pimpl.C:
2443         * FontIterator.[Ch]:
2444         * MenuBackend.C:
2445         * ParagraphParameters.[Ch]:
2446         * buffer.C:
2447         * buffer.h:
2448         * bufferlist.C:
2449         * cursor.[Ch]:
2450         * cursor_slice.[Ch]:
2451         * dociterator.[Ch]:
2452         * errorlist.[Ch]:
2453         * factory.C:
2454         * lfuns.h:
2455         * lyxfind.C:
2456         * lyxfunc.C:
2457         * output_docbook.[Ch]:
2458         * output_latex.[Ch]:
2459         * output_linuxdoc.[Ch]:
2460         * output_plaintext.[Ch]:
2461         * paragraph.[Ch]:
2462         * paragraph_funcs.[Ch]:
2463         * paragraph_pimpl.[Ch]:
2464         * rowpainter.C:
2465         * tabular.[Ch]:
2466         * text.C:
2467         * text2.C:
2468         * toc.C:
2469         * undo.[Ch]: adjust
2470
2471         * frontends/controllers/ControlDocument.C:
2472         * frontends/controllers/ControlErrorList.C:
2473         * frontends/controllers/ControlSpellchecker.C:
2474         * insets/inset.C:
2475         * insets/inset.h:
2476         * insets/insetbase.h:
2477         * insets/insetbibitem.C:
2478         * insets/insetbox.C:
2479         * insets/insetbranch.C:
2480         * insets/insetcaption.C:
2481         * insets/insetcharstyle.C:
2482         * insets/insetcharstyle.h:
2483         * insets/insetcollapsable.C:
2484         * insets/insetcollapsable.h:
2485         * insets/insetert.C:
2486         * insets/insetfloat.C:
2487         * insets/insetfoot.C:
2488         * insets/insetmarginal.C:
2489         * insets/insetnote.C:
2490         * insets/insetoptarg.C:
2491         * insets/insettabular.C:
2492         * insets/insettext.C:
2493         * insets/insettext.h:
2494         * insets/insetwrap.C:
2495         * mathed/math_mboxinset.C:
2496         * mathed/math_nestinset.C:
2497         * mathed/math_scriptinset.C:
2498         * mathed/math_scriptinset.h:
2499         * support/types.h:
2500
2501 2004-03-24  Angus Leeming  <leeming@lyx.org>
2502
2503         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2504         deal with any child processes that have finished but are waiting to
2505         communicate this fact to the rest of LyX.
2506
2507 2004-03-24  Angus Leeming  <leeming@lyx.org>
2508
2509         64-bit compile fixes.
2510
2511         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2512         (c-tor): pass lyx::pos_types rather than ints.
2513
2514         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2515         lyx::pos_type.
2516
2517         * text.C (Delete): compile fix.
2518         (getPar): ensure that function declaration is the same as that in
2519         the header file.
2520
2521 2004-03-23  Angus Leeming  <leeming@lyx.org>
2522
2523         * ispell.C (LaunchIspell):
2524         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2525         a boost::shred_ptr rather than a std::auto_ptr.
2526
2527 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2530         handle LFUN_FILE_INSERT_*
2531
2532         * lyxrc.C (setDefaults, getDescription, output, read):
2533         * lyxrc.h: remove ps_command
2534
2535 2004-03-22  Angus Leeming  <leeming@lyx.org>
2536
2537         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2538         Ensure that error_handler is processed once only and that all data
2539         is saved before attempting to output any warning messages.
2540
2541         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2542
2543 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2546
2547 2004-03-19  André Pönitz  <poenitz@gmx.net>
2548
2549         * cursor.[Ch] (reset): take main text inset as argument
2550
2551         * BufferView: adjust
2552         * BufferView_pimpl.C: adjust
2553
2554         * paragraph.[Ch]: fix completely broken operator=()
2555
2556 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2557
2558         * LColor.C (getFromLyXName): make sure that the color name is used
2559         as lowercase.
2560
2561 2004-03-17  Angus Leeming  <leeming@lyx.org>
2562
2563         * lfuns.h:
2564         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2565
2566         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2567         dialog and to kill a forked process.
2568
2569 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * text2.C (setCursorFromCoordinates): fix font problem
2572
2573 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2576         bogus "rebuild cursor" code
2577
2578 2004-03-11  André Pönitz  <poenitz@gmx.net>
2579
2580         * buffer.[Ch]: use InsetText instead of LyXText as container for
2581         the main lyx text.
2582
2583         * dociterator.[Ch]: drop the BufferView * member which is not needed
2584         anymore after the change to buffer.C
2585
2586         * paragraph_funcs.C:
2587         * text.C:
2588         * text2.C:
2589         * BufferView.[Ch]:
2590         * BufferView_pimpl.[Ch]:
2591         * cursor.[Ch]:
2592         * cursor_slice.[Ch]: adjust
2593
2594         * text3.C: fix bug in mathDispatch
2595
2596 2004-03-08  André Pönitz  <poenitz@gmx.net>
2597
2598         * undo.[Ch]: use 'StableDocumentIterator' as base for
2599         the Undo struct.
2600
2601 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2602
2603         * LaTeXFeatures.C:
2604         * bufferparams.[Ch]: add jurabib support and param.
2605
2606         * LaTeX.C: add FIXME/comment.
2607
2608 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2609
2610         * buffer.C: increment file format to 230.
2611
2612 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * cursor.C (dispatch): avoid infinite loops
2615
2616 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * rowpainter.C (paintSelection): fix x coordinates
2619
2620 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2621
2622         * text.C (rowBreakPoint): fix breaking before displayed insets
2623
2624 2004-03-01  André Pönitz  <poenitz@gmx.net>
2625
2626         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2627
2628         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2629
2630         * Makefile.am:
2631         * BufferView.C:
2632         * BufferView_pimpl.C:
2633         * buffer.C:
2634         * lyxfind.C:
2635         * lyxfunc.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C: adjust
2639
2640 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2641
2642         * lyxtext.h:
2643         * text.C:
2644         * text2.C:
2645         * rowpainter.C:
2646         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2647         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2648
2649 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * Bidi.[Ch] (computeTables): const correctness
2652         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2653         fill_hfill, fill_label_hfill and x from Row
2654         * lyxtext.h: prepareToPrint returns a RowMetrics
2655         * rowPainter.C: adjust
2656         * text.C (prepareToPrint): use width, not textWidth. adjust
2657         (redoParagraphInternal, cursorX): adjust
2658         * text2.C (getColumnNearX): adjust
2659         (init): put a default value to the top LyXText::width
2660
2661 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2664
2665 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2666
2667         * lyxtext.h: add FontIterator class
2668
2669         * text.C (FontIterator, operator*, operator->, operator++): add
2670         (rowBreakPoint, setRowWidth): adjust (fixing a
2671         rebreaking bug)
2672
2673 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * BufferView_pimpl.C (workAreaDispatch): allow also
2676         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2677
2678 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2679
2680         * text.C (rowBreakPoint): fix a bug showing with very large insets
2681
2682 2004-02-25  André Pönitz  <poenitz@gmx.net>
2683
2684         * text3.C:
2685         * cursor.[Ch]: move some mathed specific code to mathed
2686
2687 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2688
2689         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2690         use_tempdir in preferences
2691         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2692         tempfile creation
2693         * lyx_main.C: ensure that tempdir is valid
2694         * lyxlex.h: correct typo
2695         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2696         * paragraph.[Ch] (isMultiLingual): make const
2697         * cursor.[Ch] (openable): make const
2698
2699 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2700
2701         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2702
2703 2004-02-20  André Pönitz  <poenitz@gmx.net>
2704
2705         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2706
2707         * cursor.[Ch]: prepare for localized getStatus()
2708
2709         * lyxtext.h:
2710         * tabular.C:
2711         * text.C:
2712         * text2.C:
2713         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2714
2715 2004-02-20  André Pönitz  <poenitz@gmx.net>
2716
2717         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2718
2719 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2720
2721         * text2.C (setCursorFromCoordinates): switch to absolute coords
2722         (cursorUp): adjust
2723         (cursorDown): adjust
2724         * text3.C (dispatch): adjust
2725
2726 2004-02-16  André Pönitz  <poenitz@gmx.net>
2727
2728         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2729           insets/ChangeLog)
2730
2731         * cursor_slice.[Ch]: remove unneeded acessor function
2732
2733         * lyxtext.h: rename rtl() to isRTL()
2734
2735         * rowpainter.C:
2736         * tabular.C:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: adjust
2740
2741 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * rowpainter.C (paintSelection): coord fix
2744
2745 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2746
2747         * Spacing.C: compile fix
2748
2749 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * cursor.C (dispatch): restore current_ before returning
2752
2753 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * text2.C (cursorUp, cursorDown): fix coords
2756         (moveUp): fix crash
2757
2758 2004-02-12  André Pönitz  <poenitz@gmx.net>
2759
2760         * lyxtext.h:
2761         * text.C:
2762         * text2.C:
2763         * text3.C: add LCursor & parameter to most cursor movement functions
2764           remove usage of LyXText::cursorRow() and cursorPar()
2765
2766         * cursor.[Ch]: add textRow() needed members
2767
2768         * BufferView.C:
2769         * BufferView_pimpl.C:
2770         * paragraph.[Ch]:
2771         * BufferView.C:
2772         * BufferView_pimpl.C: adjust
2773
2774 2004-02-11  André Pönitz  <poenitz@gmx.net>
2775
2776         * lyxfunc.C:
2777         * BufferView.[Ch]:
2778         * BufferView_pimpl.C: shift undo/redo handling
2779
2780         * cursor.[Ch]: fix mathed crash
2781
2782         * lyxfind.C:
2783         * lyxtext.h: move selectionAsText to LCursor
2784
2785         * output_latex.C:
2786         * paragraph.C:
2787         * text.C:
2788         * text2.C:
2789         * text3.C: adjust
2790
2791         * rowpainter.C: fix excessive drawing
2792
2793 2004-02-06  André Pönitz  <poenitz@gmx.net>
2794
2795         * BufferView.[Ch]:
2796         * BufferView_pimpl.[Ch]:
2797         * text3.C: move some text specific LFUN handling
2798
2799 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * text3.C (checkInsetHit): adjust coords
2802         * text2.C (getColumnNearX): adjust coords
2803         (edit): adjust coords
2804         * text.C (getRowNearY): add two asserts
2805
2806 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * converter.C:
2809         * format.C: add using std::distance to compile on gcc 2.95/stlport
2810
2811 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2814
2815 2004-02-04  André Pönitz  <poenitz@gmx.net>
2816
2817         * BufferView.[Ch] (insertInset):
2818         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2819
2820         * text2.C:
2821         * text3.C: adjust
2822
2823 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2826         on the default clause of the switch
2827         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2828         wasn't catched by LCursor::dispatch
2829
2830 2004-02-03  André Pönitz  <poenitz@gmx.net>
2831
2832         * BufferView.C:
2833         * cursor.[Ch]: some additional asserts
2834
2835         * undo.[Ch]: remove LyXText dependency in interface
2836
2837         * lyxfunc.C: adjust
2838
2839         * lyxtext.h (firstPar, lastPar): remove dead functions
2840
2841         * text.C:
2842         * text2.C:
2843         * text3.C:
2844         * paragraph.[Ch]: adjust
2845
2846 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * lyxfind.C (find): fix argument order in call to ::find
2849
2850 2004-02-02  André Pönitz  <poenitz@gmx.net>
2851
2852         * cursor.[Ch]: remove direct access to anchor
2853
2854         * text.C: remove findText() hack
2855
2856 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * iterators.[Ch] (lockPath): remove in favour of...
2859         * BufferView.[Ch] (setCursor): this addition
2860         * BufferView.C (putSelectionAt): adjust
2861         * undo.C (performUndoOrRedo): adjust
2862         * lyxfunc.C (dispatch): adjust
2863
2864 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * iterators.C (lockPath): add a missing slice
2867         * undo.C (performUndoOrRedo): remove redundant positioning code
2868
2869 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2870
2871         * vc-backend.C (scanMaster): ";" -> ';'
2872
2873 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2874
2875         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2876         std::binary_function
2877
2878         * lyxtextclass.C (compare_name): rename to...
2879         (LayoutNamesEqual): ...this
2880
2881         * lyxlex_pimpl.C (compare_tags): inherit from
2882         std::binary_function, put back into anon namespace
2883
2884         * lyxfind.C (MatchString): inherig from std::binary_function
2885         (findChange): use empty() istead of !size()
2886
2887         * format.C (FormatNamesEqual): new functor
2888         (getFormat): use it
2889         (getNumber): use it
2890         (add): use it
2891         (erase): use it
2892         (setViewer): use it
2893
2894         * converter.C (compare_Converter): rename to...
2895         (ConverterEqual): ...this, and fixup a bit.
2896         (getConverter): use it, and make function const
2897         (getNumber): use it, and make function const
2898         (add): use it
2899         (erase): use it:
2900
2901         * bufferlist.C: add using boost::bind
2902
2903         * MenuBackend.C (MenuNamesEqual): new functor
2904         (hasMenu): use it, and make function const
2905         (hasSubmenu): use nested bind to get rid of compare_memfun.
2906
2907 2004-01-30  André Pönitz  <poenitz@gmx.net>
2908
2909         * BufferView_pimpl.C:
2910         * cursor.C:
2911         * cursor.h:
2912         * cursor_slice.[Ch]:
2913         * lyxfunc.C:
2914         * lyxtext.h:
2915         * paragraph_funcs.C:
2916         * paragraph_funcs.h:
2917         * rowpainter.C:
2918         * text.C:
2919         * text2.C:
2920         * text3.C: move some of the edit(x,y) handling to the insets
2921         some coordinate changes.
2922
2923 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2924
2925         * text.C: add using statements for std::advance and std::distance
2926
2927         * paragraph.C: add using statement for std::distance
2928
2929         * lyxfind.C: add using statement for std::advance
2930
2931         * cursor.C (region): remove std:: from swap
2932         (openable): use nucleus in stead of operator->
2933
2934         * BufferView.C: add using statements for std::distance and std::swap
2935
2936 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2937
2938         * iterators.C: Remove the pimple, move the needed structures to
2939         the header file. Create accessor for the positions stack.
2940         (asPosIterator): remove function
2941
2942         * PosIterator.C (PosIterator): move constructors to top of file
2943         (PosIterator): reimplement the constructor taking a ParIterator in
2944         terms of setFrom.
2945         (setFrom): new function
2946         (operator!=): inline it
2947
2948 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2949
2950         * lyxfind.C (replaceAll): use std::advance
2951
2952         * iterators.h: inherit from std::iterator.
2953
2954         * PosIterator.C (advance, distance): remove
2955         * PosIterator.h: interit from std::iterator.
2956
2957 2004-01-26  André Pönitz  <poenitz@gmx.net>
2958
2959         * BufferView.[Ch]:
2960         * BufferView_pimpl.[Ch]:
2961         * InsetList.[Ch]:
2962         * PosIterator.[Ch]:
2963         * buffer.h:
2964         * bufferview_funcs.C:
2965         * cursor.[Ch]:
2966         * cursor_slice.h:
2967         * factory.[Ch]:
2968         * iterators.[Ch]:
2969         * lyxfind.C:
2970         * lyxfunc.C:
2971         * lyxtext.h:
2972         * output_docbook.C:
2973         * output_latex.C:
2974         * output_linuxdoc.C:
2975         * output_plaintext.C:
2976         * paragraph.[Ch]:
2977         * paragraph_funcs.[Ch]:
2978         * paragraph_pimpl.[Ch]:
2979         * rowpainter.C:
2980         * tabular.C:
2981         * tabular.h:
2982         * text.C:
2983         * text2.C:
2984         * text3.C: more IU:  dumps most of the rest of the mathcursor
2985     implementation into cursor.[Ch]; "globalize" a bit of it.
2986
2987 2004-01-25  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2990
2991 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2992
2993         * LaTeXFeatures.h: add nice_ and nice() const
2994         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2995
2996 2004-01-20  André Pönitz  <poenitz@gmx.net>
2997
2998         * BufferView.[Ch]:
2999         * BufferView_pimpl.C:
3000         * PosIterator.C:
3001         * bufferview_funcs.C:
3002         * cursor.[Ch]:
3003         * cursor_slice.[Ch]:
3004         * factory.C:
3005         * iterators.C:
3006         * lyx_cb.C:
3007         * lyxfind.C:
3008         * lyxfunc.C:
3009         * lyxtext.h:
3010         * rowpainter.C:
3011         * text.C:
3012         * text2.C:
3013         * text3.C:
3014         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3015           LCursor and mathcursor parts to LCursor and InsetBase.
3016
3017 2004-01-15  André Pönitz  <poenitz@gmx.net>
3018
3019         * cursor_slice.[Ch]: add a few covienience functions
3020
3021         * funcrequest.[Ch]: remove BufferView * member
3022
3023         * BufferView_pimpl.C:
3024         * cursor.C:
3025         * factory.[Ch]:
3026         * lyxfind.[Ch]:
3027         * lyxfunc.C:
3028         * lyxtext.h:
3029         * text3.C:
3030         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3031
3032 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3035         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3036
3037 2004-01-13  André Pönitz  <poenitz@gmx.net>
3038
3039         * textcursor.[Ch]:
3040         * lyxtext.h: hide cursor and selection anchor behind accessor function
3041
3042         * BufferView.C:
3043         * BufferView_pimpl.[Ch]:
3044         * PosIterator.C:
3045         * bufferview_funcs.C:
3046         * cursor.h:
3047         * lyxfind.C:
3048         * lyxfunc.C:
3049         * text.C:
3050         * text2.C:
3051         * text3.C:
3052         * undo.C: adjust
3053
3054         * cursor.h:
3055         * cursor_slice.[Ch]: some integer type changes for inset unification
3056
3057         * lyxcursor.[hC]: remove, it's CursorSlice now.
3058
3059         * Makefile.am:
3060         * BufferView_pimpl.[Ch]:
3061         * bufferview_funcs.C:
3062         * cursor_slice.C:
3063         * lyxtext.h:
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * textcursor.[Ch]: adjust
3068
3069 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * text2.C (undoSpan): add and use
3072         * text.C (breakParagraph): use undoSpan (fix bug 578)
3073         * lyxtext.h: adjust
3074
3075 2004-01-08  Angus Leeming  <leeming@lyx.org>
3076
3077         * BufferView_pimpl.C (MenuInsertLyXFile):
3078         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3079         * lyxfunc.C (menuNew, open, doImport):
3080         FileFilterList change to the FileDialog open and save functions.
3081
3082 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3083
3084         * ShareContainer.h: make isEqual and isUnique adaptable
3085
3086         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3087
3088 2004-01-07  Angus Leeming  <leeming@lyx.org>
3089
3090         * LyXAction.C:
3091         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3092
3093         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3094
3095         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3096         functions replacing find, replace and replaceAll.
3097
3098         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3099         LFUN_WORDFIND(FORWARD|BACKWARD).
3100
3101 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3102
3103         * text.C (breakParagraph): remove an outdated #warning
3104
3105 2004-01-07  André Pönitz  <poenitz@gmx.net>
3106
3107         * lyxfind.C: somewhat clearer logic
3108
3109         * text.C: prevent crash in cursorX on unitialized row cache
3110
3111 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * lyxcursor.[Ch] (operator>): add
3114         * textcursor.C (selStart, selEnd): use std::min and std::max
3115
3116 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3117
3118         * Chktex.C: include boost/format.hpp
3119
3120 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3121
3122         * InsetList.C: replace functor MathcIt with adaptable functor
3123         InsetTablePosLess
3124         (insetIterator): modify accordingly
3125
3126         * BranchList.h: move the BranchNamesEqual functor here from...
3127         * BranchList.C: ... to here
3128
3129         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3130         SameName and match.
3131         (add): replace a finding loop with std::find_if.
3132
3133 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3134
3135         * output_docbook.C: moving LatexParam functionality into
3136         .layout files
3137
3138 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3139
3140         * buffer.C: increment format to 229.
3141
3142 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3143
3144         * LaTeXFeatures.C:
3145         * lyx_sty.[Ch]: remove minipageindent_def
3146
3147         * LyXAction.C:
3148         * factory.C:
3149         * lfuns.h:
3150         * lyxfunc.C:
3151         * text3.C: remove LFUN_INSET_MINIPAGE
3152
3153 2003-12-28  Angus Leeming  <leeming@lyx.org>
3154
3155         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3156
3157 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * text2.C (setParagraph): fix off-by-one crash
3160
3161 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3162
3163         * output_docbook.C: header stuff for AGU
3164
3165 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3166
3167         * text2.C (redoCursor): remove
3168         * text.C:
3169         * text3.C:
3170         * BufferView_pimpl.C: remove calls to redoCursor and
3171         setCursor(cursor.par(), cursor.pos()) all around
3172
3173 2003-12-15  Angus Leeming  <leeming@lyx.org>
3174
3175         * buffer.C: up the format to 228.
3176
3177 2003-12-15  André Pönitz  <poenitz@gmx.net>
3178
3179         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3180         slices
3181
3182         * Makefile.am:
3183
3184         * BufferView_pimpl.C:
3185         * cursor.[Ch]:
3186         * lyxcursor.[Ch]:
3187         * rowpainter.[Ch]:
3188         * lyxtext.h:
3189         * text.C:
3190         * text2.C:
3191         * text3.C: adjust
3192
3193 2003-12-15  Angus Leeming  <leeming@lyx.org>
3194
3195         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3196         than getFromGUIName to manipulate the color.
3197
3198 2003-12-14  Angus Leeming  <leeming@lyx.org>
3199
3200         * BranchList.[Ch]: minimize the API.
3201         (Branch::getBranch, getColor): now return a 'const &'.
3202         (Branch::setSelected) now returns a bool set to true if the
3203         selection status changes.
3204         (BranchList::clear, size, getColor, setColor, setSelected,
3205         allBranches, allSelected, separator): removed.
3206         (BranchList::find): new functions, returning the Branch with
3207         the given name.
3208         (BranchList::add, remove): return a bool indicating that
3209         the operation was successful.
3210
3211         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3212         new InsetBranch::isBranchSlected member function.
3213
3214         * LColor.[Ch]: mimimize the API.
3215         (fill): renamed as addColor and made private.
3216         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3217         versions of these functions taking a string arg have been removed.
3218
3219         * bufferparams.C (readToken):
3220         * lyxfunc.C (dispatch):
3221         * lyxrc.C (read): changes due to the altered BranchList and
3222         LColor APIs.
3223
3224         * factory.C (createInset, readInset): changes due to altered
3225         InsetBranch c-tor.
3226
3227 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3228
3229         * factory.C:
3230         * lyxfunc.C: remove insetminipage. "minipage-insert"
3231         now produces a frameless minipage box inset.
3232
3233 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3234
3235         * textcursor.[Ch] (selStart,selEnd): add new methods
3236         remove selection::start, end, use LyXCursor::operator<
3237         * lyxcursor.[Ch] (operator<): add
3238         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3239         * BufferView.[Ch] (unsetXSel): add
3240         * text2.C (clearSelection): use unsetXSel,adjust
3241         * text.C: adjust
3242         * text3.C: adjust
3243         * rowpainter.C: adjust
3244         * bufferview_funcs.C (put_selection_at): adjust
3245
3246 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * BufferView_pimpl.C: small coord. correction
3249
3250 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3253         dragging over the splash screen.
3254
3255 2003-12-11  Angus Leeming  <leeming@lyx.org>
3256
3257         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3258         as it is now handled in LyXText::dispatch.
3259
3260         * text3.C (doInsertInset): remove a level of nesting.
3261
3262 2003-12-11  Angus Leeming  <leeming@lyx.org>
3263
3264         * factory.C (createInset): changes due to the changed interface to
3265         InsetCommandMailer::string2params.
3266
3267 2003-12-10  Angus Leeming  <leeming@lyx.org>
3268
3269         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3270         'dialog-show-new-inset <inset name>'
3271
3272 2003-12-10  Angus Leeming  <leeming@lyx.org>
3273
3274         * buffer.C: up the format to 227.
3275
3276         * factory.C: the box inset is now identified simply by 'Box'.
3277
3278 2003-12-10  Angus Leeming  <leeming@lyx.org>
3279
3280         * buffer.C: up the format to 226.
3281
3282         * factory.C: the note inset is now identified simply by 'Note'.
3283
3284 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3285
3286         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3287         when a pit is enough. Standarize a couple of loops.
3288
3289 2003-12-05  Angus Leeming  <leeming@lyx.org>
3290
3291         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3292         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3293         data to the re-worked "log" dialog.
3294
3295 2003-12-03  André Pönitz  <poenitz@gmx.net>
3296
3297         * PosIterator.C:
3298         * iterators.C:
3299         * lyxtext.h:
3300         * output_latex.C:
3301         * paragraph_funcs.C:
3302         * text.C:
3303         * text2.C: use Inset::getText instead of Inset::getParagraph
3304
3305 2003-12-03  André Pönitz  <poenitz@gmx.net>
3306
3307         * buffer.[Ch]:
3308         * lyxtext.h:
3309         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3310         InsetText::read() as LyXText::read()
3311
3312 2003-12-02  Angus Leeming  <leeming@lyx.org>
3313
3314         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3315         type. Add a comment in the implementation that the function uses
3316         the stream's bad() function rather than fail() as the std::streams
3317         would do.
3318
3319 2003-12-02  André Pönitz  <poenitz@gmx.net>
3320
3321         * lyxlex.[Ch]: make interface more similar to std::stream
3322
3323         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3324
3325 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3328
3329 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3330
3331         * vspace.[Ch]: remove VSpace::NONE
3332
3333 2003-12-01  André Pönitz  <poenitz@gmx.net>
3334
3335         * buffer.[Ch]:
3336         * lyxtext.h: move ParagraphList member to LyXText
3337         rename LyXText::ownerParagraphs to LyXText::paragraph
3338
3339         * CutAndPaste.C:
3340         * bufferview_funcs.C:
3341         * iterators.[Ch]:
3342         * lyx_cb.C:
3343         * paragraph.C:
3344         * rowpainter.C:
3345         * tabular.C:
3346         * text.C:
3347         * text2.C:
3348         * text3.C: adjust
3349
3350         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3351
3352         * undo.C: fix cursor positioning
3353
3354 2003-12-01  John Levon  <levon@movementarian.org>
3355
3356         * BufferView_pimpl.C: fix a crash on exit with
3357         a buffer open
3358
3359 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * BranchList.C: fix setSelected() method.
3362
3363 2003-11-28  André Pönitz  <poenitz@gmx.net>
3364
3365         * ParagraphParameters.[Ch]:
3366         * ParameterStruct.h: remove space above/below from Paragraph to
3367          InsetVSpace
3368
3369         * BufferView_pimpl.C:
3370         * factory.C:
3371         * lyxfunc.C:
3372         * lyxtext.h:
3373         * output_latex.C:
3374         * paragraph.C:
3375         * paragraph_funcs.C:
3376         * rowpainter.[Ch]:
3377         * text.C:
3378         * text2.C:
3379         * text3.C: adjust
3380
3381 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3382
3383         * factory.C: Syntax change for CharStyles
3384
3385 2003-11-28  André Pönitz  <poenitz@gmx.net>
3386
3387         * BufferView.[Ch]:
3388         * BufferView.[Ch]:
3389         * buffer.[Ch]:
3390         * buffer.[Ch]: move LyXText member
3391
3392 2003-11-28  André Pönitz  <poenitz@gmx.net>
3393
3394         * BufferView.[Ch]: make LyXText * text a private member
3395
3396         * BufferView_pimpl.C:
3397         * cursor.C:
3398         * iterators.C:
3399         * lyx_cb.C:
3400         * lyxfind.C:
3401         * lyxtext.h:
3402         * rowpainter.[Ch]:
3403         * text.C:
3404         * text2.C:
3405         * undo.C: adjust
3406
3407         * output_plaintext.C: cleanup
3408
3409 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3410
3411         * buffer.C:
3412         * lyxtextclass.[Ch]: parametrize SGML document header
3413
3414 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * converter.[Ch]:
3417         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3418         getFlavor().
3419
3420 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3421
3422         * text2.C (setFont): rework using PosIterator (no more recursive)
3423         (setCharFont): no more needed
3424         (setLayout): no more selection cursors fiddling (done by redoCursor)
3425         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3426         destroy remaining ones)
3427
3428 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3429
3430         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3431         * lyxtext.h: ditto
3432         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3433         selection cursors
3434         * lyxfunc.C: adjust
3435         * text3.C: adjust + re-allow multi par depth changes
3436         * textcursor.C: simplify a bit
3437
3438 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3439
3440         * src/buffer.C:
3441         * src/lyxlayout.C:
3442         * src/lyxlayout.h:
3443         * src/lyxtext.h:
3444         * src/output_docbook.C:
3445         * src/output_latex.C:
3446         * src/paragraph.C:
3447         * src/paragraph.h:
3448         * src/sgml.C:
3449         * src/sgml.h:
3450         * src/text2.C: Introducing a number of tags parametrizing various
3451         XML formats that we may want to support
3452
3453 2003-11-25  André Pönitz  <poenitz@gmx.net>
3454
3455         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3456
3457         * lyxtext.h (leftMargin/rightMargin): simplify interface
3458
3459         * rowpainter.C:
3460         * text.C:
3461         * text2.C:
3462         * text3.C: adjust
3463
3464 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3465
3466         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3467         master file to any child files. Fixes bug 546.
3468
3469 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3472
3473 2003-11-24  André Pönitz  <poenitz@gmx.net>
3474
3475         * rowpainter.C: simplification
3476
3477         * text2.C (updateCounters): remove call to redoParagraph on
3478         changed labels as this is far too expensive.
3479
3480 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * converter.C (convert): fix a crash: this function gets
3483         called with buffer == 0 from importer code.
3484
3485 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3486
3487         * text3.C (cursorPrevious): make sure that we do not compare
3488         iterators form different containers.
3489         (cursorNext): ditto
3490
3491         * rowpainter.C (paintSelection): make sure that we do not compare
3492         iterators from different containers.
3493
3494         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3495         iterators from different ParagraphList containers.
3496         [NEXT] ditto
3497
3498         * text2.C (LyXText): change order of initialization slightly
3499         (operator=): new function. copy all variables except cache_par_
3500         (moveUp): make sure that we do not compare iterators from
3501         different ParagraphList constainers.
3502         (moveDown): ditto
3503
3504         * text.C (firstPar): new function
3505         (lastPar): new function
3506         (endPar): new function
3507
3508         * lyxtext.h: move things around and group public functions, public
3509         variables, private functions, private variables
3510
3511 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3512
3513         * factory.C: change call to InsetERT constructor to avoid
3514         additional invocation of method status
3515         * text2.C (toggleInset): remove redundant update() call
3516         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3517         instead of a Bufferview pointer
3518
3519 2003-11-21  André Pönitz  <poenitz@gmx.net>
3520
3521         * rowpainter.C: simplification
3522
3523 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3524
3525         * text3.C (dispatch): make possible to extend a word/row selection
3526         with the mouse
3527
3528 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3529
3530         * lyxtext.h: x0_,y0_ -> xo_,yo_
3531         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3532         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3533         * rowpainter.C (paintRows): paint full paragraphs
3534
3535 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3536
3537         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3538         screen coordinates)
3539
3540 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * lyxtext.h: add x0_, y0_
3543         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3544         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3545
3546 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3547
3548         * text2.C (setCursorIntern): move the x_target update here *
3549         * text3.C: change some bv() to true/false in calls to
3550         cursorUp/Down/Right/Left
3551         * cursor.C: use helper function.
3552
3553 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3554
3555         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3556         * paragraph_funcs.[Ch]: correct comment
3557         * rowpainter.C: do not paint selections away from bv->cursor()
3558         Fix a long standing selection painting bug.
3559         * text3.C: generalize mouse-selection code to LyXTexts other that
3560         top one
3561         * textcursor.C: do not use y coords if we can use par offsets
3562
3563 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3566         cursor position after e.g. inset insert)
3567
3568 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3569
3570         * lyxfind.C (replace): adjust to locking removal + some
3571         code simplification
3572
3573 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3574
3575         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3576         of the path
3577
3578 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3579
3580         * lyxlayout.[Ch]:
3581         * output_docbook.C: XML sanitation: new layout
3582         parameters InnerTag and CommandDepth
3583
3584 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3585
3586         * BufferView_pimpl.C:
3587         * factory.C:
3588         * text3.C: Fix the insertion and modification of button-style
3589         insets
3590
3591 2003-11-13  André Pönitz  <poenitz@gmx.net>
3592
3593         * InsetList.[Ch]: remove deleteLyXText
3594
3595         * paragraph.[Ch]: cache beginOfBody position
3596
3597         * Bidi.C:
3598         * text.C:
3599         * text2.C:
3600         * text3.C: remove superfluous update() calls
3601
3602         * vspace.C: cleanup
3603
3604 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3605
3606         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3607         * BufferView.C (fitLockedInsetCursor): remove
3608         * cursor.[Ch] (getDim): add
3609         * text.C (getRowNearY): add faster version
3610         * text3.C: remove some update calls
3611
3612 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3613
3614         * LaTeXFeatures.C:
3615         * LyXAction.C:
3616         * MenuBackend.C:
3617         * MenuBackend.h:
3618         * dispatchresult.h:
3619         * factory.C:
3620         * lfuns.h:
3621         * lyxfunc.C:
3622         * lyxtextclass.C:
3623         * lyxtextclass.h:
3624         * text3.C: The Character Style /XML short element patch.
3625
3626 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3627
3628         * text3.C:
3629         * factory.C: Small step to solving 'unable to insert some insets'
3630         problem
3631
3632 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3633
3634         * cursor.[Ch] (updatePos): new function for updating the y
3635         position of the tip inset
3636         * bufferview_funcs.C (put_selection_at):
3637         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3638
3639 2003-11-11  André Pönitz  <poenitz@gmx.net>
3640
3641         * text.C: remove big comment on invalid Paragraph pointers as it is
3642         not valid anymore
3643
3644 2003-11-11  André Pönitz  <poenitz@gmx.net>
3645
3646         * text_funcs.[Ch]: merge with ...
3647
3648         * text.C: ... this
3649
3650         * lyxtext.h:
3651         * text2.C:
3652         * text3.C: adjust
3653
3654         * Makefile.am: remove text_funcs.[Ch]
3655
3656 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * cursor.C (getPos): return absolute cached y coord
3659
3660         * BufferView_pimpl.C (fitCursor): new simplistic code
3661         (workAreaDispatch): add a fitCursor call
3662
3663 2003-11-10  André Pönitz  <poenitz@gmx.net>
3664
3665         * BufferView.[Ch]:
3666         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3667
3668 2003-11-10  André Pönitz  <poenitz@gmx.net>
3669
3670         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3671         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3672         indicate that the cursor needs to leave an inset
3673
3674         * lyxtext.h: remove inset locking
3675
3676         * cursor.[Ch]: re-implement functionality provided by inset locking
3677
3678         * BufferView.[Ch]:
3679         * BufferView_pimpl.[Ch]:
3680         * LyXAction.C:
3681         * bufferview_funcs.[Ch]:
3682         * factory.C:
3683         * funcrequest.[Ch]:
3684         * iterators.C:
3685         * lyx_cb.C:
3686         * lyxfind.C:
3687         * lyxfunc.C:
3688         * text.C:
3689         * text2.C:
3690         * text3.C:
3691         * undo.C: adjust
3692
3693 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * PosIterator.[Ch]: replace the stack with a vector, add inset
3696         accesor
3697         * iterators.[C]: adjust
3698
3699 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3702         replaced
3703         * paragraph_funcs.C (readParToken): put the correct id in the
3704         error item, not the id of the top paragraph
3705
3706 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3709         * bufferview_funcs.C (put_selection_at): use the above
3710
3711 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3714
3715 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3716
3717         * output_linuxdoc.h:
3718         * output_plaintext.h:
3719         * output.h:
3720         * output_docbook.h: add #include statements
3721
3722 2003-11-05  José Matos  <jamatos@lyx.org>
3723
3724         * output_docbook.[Ch]:
3725         * output_latex.[Ch]:
3726         * output_linuxdoc.[Ch]:
3727         * output_plaintext.[Ch]: New files for output formats.
3728         * output.[Ch]: New file for helper functions.
3729
3730         * buffer.[Ch]:
3731         * paragraph_funcs.[Ch]: output functions moved to new files.
3732
3733         * outputparams.h: rename of latexrunparams.h
3734
3735         * LaTeX.[Ch]:
3736         * buffer.[Ch]:
3737         * bufferlist.[Ch]:
3738         * converter.[Ch]:
3739         * exporter.C:
3740         * paragraph.[Ch]:
3741         * paragraph_funcs.[Ch]:
3742         * paragraph_pimpl.[Ch]:
3743         * tabular.[Ch]: rename ascii to plaintext
3744         and LatexRunParams to OutputParams.
3745
3746 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * iterators.[Ch] (text): require bv argument
3749         * undo.C (recordUndo):
3750         * lyxfunc.C (dispatch):
3751         * bufferview_funcs.C (put_selection_at): adjust
3752
3753 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3754
3755         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3756
3757 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3760         nestings
3761
3762 2003-11-04  André Pönitz  <poenitz@gmx.net>
3763
3764         * cursor.[Ch]: restructure
3765
3766         * BufferView.[Ch]:
3767         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3768
3769         * iterators.[Ch] (asCursor): remove
3770
3771         * lfuns.h: remove LFUN_INSET_EDIT
3772
3773         * lyxfunc.C:
3774         * tabular.C:
3775         * text.C:
3776         * text2.C:
3777         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3778
3779 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3780
3781         * lyxfind.[Ch]: complete overhaul
3782         * BufferView_pimpl.C:
3783         * lyxfunc.C: adjust
3784         * paragraph.[Ch] (insert): add
3785
3786 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * BufferView.[Ch]:
3789         * lyxtext.h:
3790         * text.C: remove dead spellcheck code
3791
3792 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * dispatchresult.h: add a val setter
3795
3796         * cursor.C (dispatch): use a tempvar for data_[i]
3797
3798 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3799
3800         * PosIterator.[Ch]: compile fix
3801
3802 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3803
3804         * text.C (cursorPar): deactivate the cursor cache
3805
3806 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3809
3810 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * text3.C (dispatch): adjust for new DisptchResult semantics.
3813
3814         * lyxfunc.C (dispatch): handle update when return from
3815         Cursor::dispatch, adjust for new DispatchResult semantics.
3816
3817         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3818         DispatchResult(true) mean to not update. Add class functions for
3819         setting dispatched and update, as well as reading.
3820
3821         * cursor.C (dispatch): don't handle update here
3822
3823 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3826         * trans_mgr.C: adjust
3827
3828         * paragraph_funcs.C (readParToken): exception safety
3829
3830         * lyxvc.h: store the vcs pointer in a scoped_ptr
3831         * lyxvc.C: adjust
3832
3833         * lyxsocket.C (serverCallback): exception safety
3834
3835         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3836
3837         * ispell.C (clone): make it return a auto_ptr
3838
3839         * factory.C (createInset): exception safety
3840         (readInset): exception safety
3841
3842         * bufferlist.C (newBuffer): exception safety
3843
3844         * Thesaurus.C (Thesaurus): use initialization for aik_
3845
3846         * MenuBackend.C (expandToc): exception safety.
3847
3848 2003-11-03  André Pönitz  <poenitz@gmx.net>
3849
3850         * buffer.C:
3851         * buffer.h:
3852         * bufferview_funcs.C: remove getInsetFromId()
3853
3854         * lyxcursor.[Ch]:
3855         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3856
3857         * lyxfunc.C:
3858         * text2.C:
3859         * text3.C: adjust
3860
3861 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * PosIterator.C (distance, advance): new
3864         * bufferview_funcs.[Ch] (put_selection_at): new
3865         * iterators.[Ch] (lockPath): new
3866
3867 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * iterators.[Ch] (asPosIterator): added
3870         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3871         * PosIterator.[Ch]: added
3872
3873 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * text3.C:
3876         * lyxfunc.C:
3877         * cursor.C (dispatch):
3878         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3879
3880         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3881         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3882         contructor, add a class function dispatched. Remove operator>=
3883
3884 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * debug.C: only use the default constructor for debugstream
3887         (lyxerr) here.
3888
3889         * main.C (main): include debug.h and setup the lyxerr streambuf
3890         here.
3891
3892 2003-10-31  José Matos  <jamatos@lyx.org>
3893
3894         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3895
3896         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3897         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3898         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3899         * paragraph_pimpl.C (simpleTeXSpecialC):
3900         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3901         add LatexRunParams argument.
3902
3903         * exporter.C (Export): change call accordingly.
3904
3905         * latexrunparams.h: add new member to take care of the other backends.
3906 2003-10-30  José Matos  <jamatos@lyx.org>
3907
3908         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3909         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3910         factorise code for paragraph output.
3911         * buffer.[Ch]:
3912         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3913         move functions.
3914
3915 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * text3.C (dispatch):
3918         * lyxfunc.C (dispatch):
3919         * cursor.C (dispatch):
3920         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3921
3922         * dispatchresult.h: make the dispatch_result_t ctor explicit
3923
3924 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3925
3926         * sgml.[Ch]:
3927         * buffer.C: small refactoring of docbook stuff
3928
3929 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3932         meaning.
3933
3934 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3937         operator dispatch_result_t, and operators for == != and >=
3938
3939         * cursor.C (dispatch): adjust for operator dispatch_result_t
3940         removal. comment out call to update
3941
3942         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3943
3944 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * text3.C:
3947         * text2.C:
3948         * text.C:
3949         * lyxtext.h:
3950         * lyxfunc.C:
3951         * cursor.C:
3952         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3953         (dispatch):
3954
3955         * dispatchresult.h: new file, DispatchResult broken out of
3956         insets/insetbase.h
3957
3958         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3959
3960 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3961
3962         * text.C (rowBreakPoint): put a hack inside #if 0
3963
3964 2003-10-28  André Pönitz  <poenitz@gmx.net>
3965
3966         * lyxtext.h:
3967         * metricsinfo.C:
3968         * paragraph_funcs.C:
3969         * rowpainter.C:
3970         * text.C:
3971         * text2.C: general cleanup (lots of small stuff)
3972
3973 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3974
3975         * text2.C (cursorEnd): simple fix to the "end key goes to one
3976         before the end on last row" bug
3977
3978 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * text.C (backspace): fix the "zombie characters"
3981
3982 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3983
3984         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3985
3986 2003-10-27  André Pönitz  <poenitz@gmx.net>
3987
3988         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3989
3990         * factory.C: handle new InsetPagebreak, InsetLine
3991
3992         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3993         and move handling into new InsetPagebreak, InsetLine
3994
3995         * BufferView_pimpl.C:
3996         * LyXAction.C:
3997         * ParagraphParameters.C:
3998         * ParameterStruct.h:
3999         * lyxfunc.C:
4000         * lyxtext.h:
4001         * paragraph.C:
4002         * paragraph.h:
4003         * paragraph_funcs.C:
4004         * paragraph_pimpl.C:
4005         * rowpainter.C:
4006         * text.C:
4007         * text2.C:
4008         * text3.C: adjust
4009
4010 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4011
4012         * text.C:
4013         * lyxrow_funcs.[Ch]:
4014         * Bidi.C:
4015         * paragraph.C:
4016         * lyxtext.h:
4017         * rowpainter.C:
4018         * text2.C:
4019         * text3.C: remove lastPos uses in favour of Row::endpos
4020
4021 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * undo.C (performUndoOrRedo): fix two crashes by setting a
4024         cursor by hand and reordering some calls. Use bv->lockInset instead
4025         of inset->edit because the latter loses cursor information
4026
4027 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4030         by Martin
4031         (rowBreakPoint): fix width. change point to point + 1.
4032         Add a missing check.
4033
4034 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4035
4036         * MenuBackend.C:
4037         * lyxfunc.C: fix (at least partly) the problems
4038         with the Nav menu and headers inside branch insets
4039         reported by Kayvan
4040
4041 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4042
4043         * paragraph.C (getChar): add strong asserts
4044
4045         * lyxrow_funcs.C (lastPos): remove hideous hack
4046
4047         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4048         (fill): adjust to that (avoid an infinite loop)
4049
4050 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4051
4052         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4053
4054 2003-10-23  André Pönitz  <poenitz@gmx.net>
4055
4056         * RowList_fwd.h: change list<> to vector<> to gain speed
4057         after suggestion from Alfredo
4058
4059 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * lyxtext.h: move the bidi stuff from here...
4062         * text.C: and here
4063         * text2.C: and here
4064         * Bidi.[Ch]: ... to here
4065
4066 2003-10-23  André Pönitz  <poenitz@gmx.net>
4067
4068         * lyxtext.h:
4069         * text.C (isLastRow, isFirstRow): new functions
4070
4071         * paragraph.h: new width cache member
4072
4073         * rowpainter.C: replace RowList::iterator with Row & where possible
4074
4075         * lyxfunc.C: replace several view()->text with a single call
4076
4077         * toc.C: fix 'unused' warning
4078
4079 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4082         when woring with stream::pos_type
4083         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4084
4085 2003-10-22  André Pönitz  <poenitz@gmx.net>
4086
4087         * lyxtext.h:
4088         * text.C: use Row & instead of RowList::iterator
4089
4090         * lyxrow.h: rename end() to endpos()
4091
4092         * rowpainter.C:
4093         * text.C:
4094         * text2.C: adjust
4095
4096 2003-10-22  Angus Leeming  <leeming@lyx.org>
4097
4098         * buffer.[Ch] (fully_loaded): new member function, returning true
4099         only when the file has been loaded fully.
4100         Used to prevent the premature generation of previews and by the
4101         citation inset to prevent computation of the natbib-style label.
4102
4103         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4104         templates are all set up.
4105
4106         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4107
4108 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * text.C: fixed an "oops" in the "is a bit silly"
4111         bug fix
4112
4113 2003-10-21  André Pönitz  <poenitz@gmx.net>
4114
4115         * FuncStatus.[Ch]: small stuff, whitespace
4116
4117         * lyxfont.[Ch]: operator<<() for debug reasons
4118
4119         * lyxfunc.C:
4120         * lyxrow_funcs.C:
4121         * lyxtext.h: whitespace, spelling
4122
4123         * paragraph.C: naming of variables
4124
4125         * text.C:
4126         * text2.C: small stuff
4127
4128
4129 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4130
4131         * text.C: (1) finish off the inset display() work;
4132         (2) fix the "is a bit silly" bug (accessing char
4133         past end of par).
4134
4135 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * text.C: re-introduce display() for insets, fixing the
4138         various bugs (stretch of line above, math inset
4139         positioning, ...)
4140
4141 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4142
4143         * text.C (rightMargin): remove spurious semicolon
4144
4145         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4146         1415)
4147
4148 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4149
4150         * text3.C: fix one crash due to wrong cursor def
4151
4152 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * vc-backend.C (scanMaster): make the regex static
4155
4156         * LaTeX.C (scanAuxFile): make the regexs static
4157
4158         * text3.C (doInsertInset, dispatch, dispatch):
4159         * text2.C (cursorUp, cursorDown):
4160         * text.C (selectNextWordToSpellcheck):
4161         * BufferView_pimpl.C (dispatch):
4162         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4163
4164 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4165
4166         * lyxsocket.C: include <cerrno>
4167
4168 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * lyxfunc.C (dispatch): remove textcache stuff
4171
4172         * bufferlist.C (release): remove textcache stuff
4173         (closeAll): ditto
4174
4175         * TextCache.C: delete file
4176         * TextCache.h: delete file
4177
4178         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4179
4180         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4181         delete of the bv_->text.
4182         (resizeCurrentBuffer): remove texcache stuff
4183         (workAreaResize): ditto
4184
4185 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4188         action.
4189
4190 2003-10-16  André Pönitz  <poenitz@gmx.net>
4191
4192         * lyxrow.[Ch]:
4193         * paragraph.h:
4194         * rowpainter.C:
4195         * text.C:
4196         * text2.C:
4197         * text3.C: speed up by storing y positions per paragraph plus per-row
4198         offset instead of having a 'full' y position in the row.
4199
4200 2003-10-15  André Pönitz  <poenitz@gmx.net>
4201
4202         * iterators.[Ch]:
4203         * iterators.[Ch]:
4204         * undo.[Ch]: make undo aware of inner insets
4205
4206 2003-10-14  Angus Leeming  <leeming@lyx.org>
4207
4208         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4209         static member functions LyX::ref() and LyX::cref.
4210         (lastfiles): new accessor functions for the new lastfiles_ member var.
4211         (addLyXView, views_): add a new LyXView to the list of views_.
4212         (updateInset): loop over all LyXViews to call their own updateInset
4213         member function, returning a pointer to the Buffer owning the inset.
4214
4215         * BufferView_pimpl.C (loadLyXFile):
4216         * MenuBackend.C (expandLastfiles):
4217         * bufferlist.C (MenuWrite, QuitLyX):
4218         lastfiles is no longer a global variable.
4219         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4220
4221         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4222         static function. Access through LyX::cref().emergencyCleanup().
4223
4224 2003-10-14  André Pönitz  <poenitz@gmx.net>
4225
4226         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4227
4228         * undo.[Ch]: restoring part of 'undo in insets'
4229
4230         * Makefile.am:
4231         * undo_funcs.[Ch]: merge with undo.[Ch]
4232
4233         * tabular.C: small cleansing stuff
4234
4235 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * paragraph_funcs.C (readParToken): report unknown insets as error
4238         boxes. Use the outer paragraph as location (also for unknown
4239         tokens).
4240
4241         * factory.C (readInset): do not abort on reading an unknown inset.
4242         Eat it and return 0.
4243
4244 2003-10-13  Angus Leeming  <leeming@lyx.org>
4245
4246         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4247
4248         * lyxrc.C: displayTranslator is now a function,
4249         declared in GraphicsTypes.h.
4250
4251 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4252
4253         * format.C: new placeholder $$a to pass the socket address.
4254
4255         * bufferlist.[Ch]: new function getBufferFromTmp.
4256
4257         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4258           files in the temporary dir.
4259
4260 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4261
4262         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4263
4264         * Makefile.am: add lyxsocket.[Ch].
4265
4266         * lyx_main.C (error_handler): handle SIGPIPE.
4267
4268 2003-10-13  André Pönitz  <poenitz@gmx.net>
4269
4270         * BufferView_pimpl.C:
4271         * lyxtext.h:
4272         * text.C:
4273         * text2.C:
4274         * text3.C:
4275         * undo_funcs.[Ch]: use paroffset_type instead of
4276           ParagraphList::iterators to prevent multiple conversion
4277           (and get a more robust interface)
4278
4279 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4282         * lyxtext.h: ditto
4283         * text3.C (dispatch): ditto
4284
4285 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4288         move the onlyfile, use onlyfile instead of foundfile in a couple
4289         of places.
4290
4291         * DepTable.C (update): flush the error stream a bit more
4292
4293 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * lyxserver.C (callback): adjust
4296
4297         * lyxfunc.C (getStatus): add a missing brace in commented code
4298         (ensureBufferClean): reindent
4299         (dispatch): delete version taking a string
4300
4301 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * LaTeX.C (deplog): move found file handlig from here...
4304         (handleFoundFile): .. to new function here.
4305         (deplog): make sure to discover several files mentioned on the
4306         same log line.
4307
4308 2003-10-10  André Pönitz  <poenitz@gmx.net>
4309
4310         * lyxfunc.C:
4311         * lyxtext.h:
4312         * tabular.C:
4313         * text.C:
4314         * text2.C:
4315         * text3.C: fix some of the tabular crashes
4316
4317 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4318
4319         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4320
4321         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4322
4323 2003-10-09  André Pönitz  <poenitz@gmx.net>
4324
4325         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4326
4327         * BufferView.C:
4328         * BufferView_pimpl.C:
4329         * bufferview_funcs.C:
4330         * lyx_cb.C:
4331         * lyxcursor.C:
4332         * lyxfind.C:
4333         * lyxfunc.C:
4334         * lyxtext.h:
4335         * text.C:
4336         * text2.C:
4337         * text3.C:
4338         * text_funcs.[Ch]:
4339         * textcursor.[Ch]:
4340         * undo_funcs.C: adjust
4341
4342 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * text2.C (incrementItemDepth): new function, use a backtracking
4345         algorithm to discover the correct item depth.
4346         (resetEnumCounterIfNeeded): new function, use a backtracking
4347         algorithm to discover if counter reset is needed.
4348         (setCounter): use them. Simplify a bit. Add different labels for
4349         different item depths for itemize.
4350
4351         * paragraph.C (Paragraph): remove initialization of enumdepth
4352         (operator=): ditto
4353
4354         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4355         enumerate and itemize. Change the type of itemdepth to signed char.
4356
4357 2003-10-08  André Pönitz  <poenitz@gmx.net>
4358
4359         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4360           thing assignable.
4361         * text.C:
4362         * text2.C: adjust
4363
4364         * tabular.[Ch]: fix crash after 'row-insert'
4365
4366 2003-10-08  Angus Leeming  <leeming@lyx.org>
4367
4368         Fix doxygen warnings.
4369
4370         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4371         Remove CutAndPaste:: prefix from header file declaration.
4372
4373         * LColor.h (fill): remove LColor:: prefix from declaration.
4374
4375         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4376         use lyx::depth_type rather than Paragraph::depth_type so that
4377         header file and .C file match.
4378
4379         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4380
4381         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4382         * aspell.C: \file aspell_local.C -> \file aspell.C
4383         * gettext.C: \file gettext.C -> \file src/gettext.C
4384         * gettext.h: \file gettext.h -> \file src/gettext.h
4385         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4386         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4387         * text.C: \file text.C -> \file src/text.C
4388
4389         * toc.C: move comment so that doxygen is not confused.
4390
4391 2003-10-07  Angus Leeming  <leeming@lyx.org>
4392
4393         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4394
4395 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4396
4397         * aspell.C:
4398         * aspell_local.h: add forgotten std::string's.
4399
4400 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4401
4402         * LaTeXFeatures.C:
4403         * LyXAction.C:
4404         * factory.C:
4405         * lfuns.h:
4406         * lyxfunc.C:
4407         * text3.C: The Box patch. Fancybox support, minipage, parbox
4408
4409 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4410
4411         * CutAndPaste.h:
4412         * DepTable.h:
4413         * FloatList.h:
4414         * LaTeXFeatures.h:
4415         * ParagraphParameters.h:
4416         * TextCache.h:
4417         * Thesaurus.h:
4418         * bufferlist.h:
4419         * exporter.h:
4420         * importer.h:
4421         * lastfiles.h:
4422         * lyxfind.h:
4423         * lyxfont.h:
4424         * lyxlex.h:
4425         * lyxtextclasslist.h:
4426         * messages.h:
4427         * paragraph.h:
4428         * paragraph_pimpl.C:
4429         * textcursor.h: add <string> and other small fixes to make Lars'
4430         std::string patch compile with STLport.
4431
4432 2003-10-06  Angus Leeming  <leeming@lyx.org>
4433
4434         * LColor.h: Add missing #include <string>.
4435
4436 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4437
4438         * All most all file in all subdirs: Make <string> be the prefered
4439         way of getting to std::string, add using declarations.
4440
4441 2003-10-06  André Pönitz  <poenitz@gmx.net>
4442
4443         * metricsinfo.C: initialize LyXFont before changing attribute.
4444         (fixes the 'math in \emph is upright' bug)
4445
4446 2003-10-06  André Pönitz  <poenitz@gmx.net>
4447
4448         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4449
4450 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4451
4452         * graph.C:
4453         * paragraph_pimpl.C: Small fixes to build using STLport
4454
4455 2003-10-02  André Pönitz  <poenitz@gmx.net>
4456
4457         * lyxfunc.C:
4458         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4459
4460 2003-10-01  André Pönitz  <poenitz@gmx.net>
4461
4462         * factory.C: assert early
4463
4464 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * lyx_main.C: remove the global debug object
4467
4468         * debug.h: adjust for new debugstream
4469
4470         * debug.C: adjust for new debugstream and keep the global debug
4471         object here.
4472
4473 2003-09-22  Angus Leeming  <leeming@lyx.org>
4474
4475         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4476         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4477         an incomplete class LyXFont.
4478
4479 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4480
4481         * factory.C: bug fix in branches
4482
4483 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * lyxfunc.C (processKeySym): adjust
4486         (dispatch): adjust
4487         (dispatch): change arg name from ev to func, adjust
4488         (sendDispatchMessage): ditto
4489
4490         * lyx_main.C (defaultKeyBindings): adjust keybindings
4491         (deadKeyBindings): ditto
4492
4493         * kbsequence.C (addkey): return a FuncRequest
4494
4495         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4496
4497         * kbmap.C (bind): take a FuncRequest as arg, adjust
4498         (read): adjust
4499         (lookup): adjust
4500         (defkey): change to take a FuncRequest as arg, adjust
4501         (findbinding): take a FuncRequest as arg, adjust.
4502
4503         * funcrequest.h (operator=): added
4504
4505         * funcrequest.C (FuncRequest): default kb_action changed from
4506         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4507
4508         * buffer.C (dispatch): simplify
4509         (dispatch): adjust to take a FuncRequest as arg, adjust
4510
4511         * boost.C (assertion_failed): change assertion message slightly
4512
4513         * ToolbarBackend.C (read): simplify
4514
4515         * MenuBackend.C (binding): adjust call to findbinding, add a
4516         message if no binding is found.
4517         (read): simplify
4518         (expandToc): correct by adding a empty FuncRequest
4519
4520         * LyXAction.C: include <boost/assert.hpp>
4521         (isPseudoAction): delete function
4522         (LookupFunc): change name to...
4523         (lookupFunc): this. change return type to FuncRequest.
4524         (getActionName): take kb_action as arg, simplify
4525         (funcHasFlag): add an assert, simplify.
4526
4527 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * toc.C (action): return a FuncRequest, simplify
4530
4531         * lyxfunc.C (processKeySym): adjust
4532         (getStatus): delete version that takes an int.
4533         (getStatus): adjust
4534         (dispatch): delete version that takes action as int
4535         (dispatch): adjust
4536         (sendDispatchMessage): simplify and adjust
4537
4538         * funcrequest.C (getArg): take unsigned int as arg
4539
4540         * ToolbarBackend.C (read): adjust
4541         (add): delete version that takes func as a string.
4542         (getIton): take a FuncRequest as arg
4543
4544         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4545         action.
4546
4547         * MenuBackend.C (MenuItem): add a new construct that only takes a
4548         Kind, simplify the constructor use for submenus.
4549         (add): adjust
4550         (expandLastfiles): adjust
4551         (expandDocuments): adjust
4552         (expandFormats): adjust
4553         (expandFloatListInsert): adjust
4554         (expandFloatInsert): adjust
4555         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4556
4557         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4558         Remove class variables lyx_pseudo_map and lyx_arg_map
4559
4560         * LyXAction.C (searchActionArg): delete function
4561         (getPseudoAction): delete function
4562         (retrieveActionArg): delete function
4563         (LookupFunc): make it return kb_action, simplify.
4564         (getActionName): simplify
4565
4566         * factory.C (createInset): fix new bug
4567
4568 2003-09-19  Angus Leeming  <leeming@lyx.org>
4569
4570         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4571         masterFilename_ parameter in the include inset.
4572
4573         * factory.C (createInset): changes due to the changes to InsetInclude.
4574
4575 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4576
4577         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4578
4579 2003-09-18  Angus Leeming  <leeming@lyx.org>
4580
4581         * buffer.C:
4582         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4583         Inset::fillWithBibKeys.
4584         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4585
4586 2003-09-18  Angus Leeming  <leeming@lyx.org>
4587
4588         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4589         variables.
4590         (ctor): pass and store a 'Buffer const &'
4591         (buffer): new member function.
4592
4593         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4594         '*this' to the LaTeXFeatures ctor.
4595
4596 2003-09-18  Angus Leeming  <leeming@lyx.org>
4597
4598         * LColor.h:
4599         * lyxfont.C:
4600         * lyxfont.h:
4601         * lyxtext.h:
4602         * text.C: rename EnumLColor as LColor_color.
4603
4604 2003-09-18  Angus Leeming  <leeming@lyx.org>
4605
4606         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4607         remove #include "insets/insetbase.h" from cursor.h.
4608
4609 2003-09-18  Angus Leeming  <leeming@lyx.org>
4610
4611         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4612         InsetOld_code to remove #include "inset.h".
4613
4614         * iterators.C: add #include "insets/inset.h"
4615
4616 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4617
4618         * BufferView.C: remove more locking stuff that apparently doesn't
4619         do anything sensible.
4620
4621 2003-09-16  André Pönitz  <poenitz@gmx.net>
4622
4623         * paragraph.[Ch]:
4624         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4625           performance boost.
4626
4627 2003-09-16  Angus Leeming  <leeming@lyx.org>
4628
4629         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4630
4631         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4632         arg/return type.
4633
4634         * paragraph.h: remove #include "lyxfont.h". Forward declare
4635         LyXFont_size.
4636
4637 2003-09-16  Angus Leeming  <leeming@lyx.org>
4638
4639         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4640         of support/textutils.h.
4641         (isWord): move the contents of support/textutils.h's IsWordChar here.
4642
4643         * buffer.C:
4644         * lyxfind.C:
4645         * rowpainter.C:
4646         * text.C:
4647         * text2.C: add #include "paragraph.h".
4648
4649         * rowpainter.C:
4650         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4651
4652 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * main.C:
4655         * lyx_main.C:
4656         * lyx_cb.C:
4657         * buffer.C:
4658         * LaTeX.C: use namespace alias for lyx::support::os
4659
4660 2003-09-16  Angus Leeming  <leeming@lyx.org>
4661
4662         * bufferparams.C:
4663         * bufferview_funcs.C:
4664         * factory.C:
4665         * lyxfunc.C:
4666         * paragraph_pimpl.C:
4667         * rowpainter.C:
4668         * text.C: add #include "LColor.h".
4669
4670 2003-09-16  Angus Leeming  <leeming@lyx.org>
4671
4672         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4673         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4674         return LyXFont &.
4675         Store the FontBits::color variable as an int rather than as an
4676         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4677         file.
4678
4679         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4680         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4681         string calls together.
4682
4683         * lyxrc.C: add #include "LColor.h".
4684
4685 2003-09-15  Angus Leeming  <leeming@lyx.org>
4686
4687         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4688         a cow_ptr.
4689
4690 2003-09-15  Angus Leeming  <leeming@lyx.org>
4691
4692         * LColor.h: add an EnumLColor wrapper for LColor::color.
4693
4694         * lyxfont.[Ch] (color, setColor, realColor):
4695         * lyxtext.h, text.C (backgroundColor):
4696         pass EnumLColor args to/from the functions, rather than LColor::color
4697         ones.
4698
4699         * lyxfont.h:
4700         * lyxtext.h: forward declare EnumLColor.
4701
4702         * lyx_main.C: add #include "LColor.h".
4703
4704 2003-09-15  Angus Leeming  <leeming@lyx.org>
4705
4706         * .cvsignore: add lyx-gtk.
4707
4708 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * Chktex.C
4711         * LaTeX.C
4712         * LaTeXFeatures.C
4713         * ParagraphParameters.C
4714         * Spacing.C
4715         * buffer.C
4716         * bufferparams.C
4717         * bufferview_funcs.C
4718         * chset.C
4719         * counters.C
4720         * funcrequest.C
4721         * lyxfont.C
4722         * lyxgluelength.C
4723         * lyxlength.C
4724         * paragraph.C
4725         * paragraph_funcs.C
4726         * text3.C
4727         * vc-backend.C: remove usage of STRCONV
4728
4729 2003-09-15  Angus Leeming  <leeming@lyx.org>
4730
4731         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4732         explicitly define the color passed to the painter.
4733
4734 2003-09-15  Angus Leeming  <leeming@lyx.org>
4735
4736         * bufferparams.C (BufferParams): reorder member initializers to avoid
4737         compiler warning.
4738
4739 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4742         * text.C (updateRowPositions): remove an unusual nop
4743
4744 2003-09-12  André Pönitz  <poenitz@gmx.net>
4745
4746         * BufferView_pimpl.C:
4747         * Bullet.C:
4748         * layout.h:
4749         * lyxfunc.C:
4750         * lyxlayout.[Ch]:
4751         * lyxtextclass.C:
4752         * rowpainter.C:
4753         * text.C:
4754         * text2.C:
4755         * Counters.[Ch]: finish the 'automatic counters' job
4756
4757 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4758
4759         * aspell.C: include <boost/assert.cpp> (compile fix)
4760
4761 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4762
4763         * boost.C (assertion_failed): use lyx::support::abort instead of
4764         assert.
4765
4766 2003-09-10  Angus Leeming  <leeming@lyx.org>
4767
4768         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4769         with their _fwd progeny.
4770
4771 2003-09-09  Angus Leeming  <leeming@lyx.org>
4772
4773         134 files throughtout the source tree: replace 'using namespace abc;'
4774         directives with the appropriate 'using abc::xyz;' declarations.
4775
4776 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4777
4778         * boost.C (emergencyCleanup): moved here from LAssert.c
4779         (assertion_failed): new function, called by BOOST_ASSERT
4780
4781         * several files: change Assert to BOOST_ASSERT
4782
4783 2003-09-09  Angus Leeming  <leeming@lyx.org>
4784
4785         * buffer.[Ch]: Add an Impl class and move Buffer's member
4786         variables into it. As a result move several header files out of
4787         buffer.h.
4788
4789         Add header files to lots of .C files all over the tree as a result.
4790
4791 2003-09-09  Angus Leeming  <leeming@lyx.org>
4792
4793         * buffer.[Ch]: make Buffer's member variables private. Add
4794         accessor functions.
4795
4796         Lots of changes all over the tree as a result.
4797
4798 2003-09-08  Angus Leeming  <leeming@lyx.org>
4799
4800         * graph.C: #include <config.h>.
4801
4802 2003-09-08  Angus Leeming  <leeming@lyx.org>
4803
4804         * BranchList.C:
4805         * BufferView.C:
4806         * BufferView_pimpl.C:
4807         * CutAndPaste.C:
4808         * DepTable.C:
4809         * LaTeX.C:
4810         * LaTeXFeatures.C:
4811         * LyXAction.C:
4812         * MenuBackend.C:
4813         * TextCache.C:
4814         * aspell.C:
4815         * buffer.C:
4816         * bufferlist.C:
4817         * changes.C:
4818         * chset.C:
4819         * converter.C:
4820         * counters.C:
4821         * debug.C:
4822         * graph.C:
4823         * ispell.C:
4824         * lyx_cb.C:
4825         * lyxfind.C:
4826         * lyxfunc.C:
4827         * lyxlex_pimpl.C:
4828         * lyxrc.C:
4829         * lyxrow.C:
4830         * paragraph.C:
4831         * rowpainter.C:
4832         * texrow.C:
4833         * text.C:
4834         * text2.C:
4835         * toc.C: remove redundant using directives.
4836
4837 2003-09-07  Angus Leeming  <leeming@lyx.org>
4838
4839         * LaTeXFeatures.h: remove #include "support/types.h".
4840         * ToolbarBackend.h: remove #include <algorithm>.
4841         * changes.h: remove #include <ctime>.
4842         * debug.h: remove #include <iosfwd>.
4843         * graph.h: remove #include "support/std_string.h".
4844         * lyx_main.h: remove #include <csignal>.
4845         * lyxlex_pimpl.h: remove #include <fstream>.
4846         * sgml.h: remove #include <algorithm>, <utility>.
4847         * toc.h: remove #include "support/std_ostream.h".
4848         Add #include <iosfwd>.
4849
4850 2003-09-07  Angus Leeming  <leeming@lyx.org>
4851
4852         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4853
4854         * converter.h: forward declare LatexRunParams.
4855         * encoding.h: remove #include "lyxrc.h".
4856         * lyxtext.h: remove #include "LColor.h".
4857         * lyxtextclass.h: remove #include "support/types.h".
4858         * trans.h: remove #include "tex-accent.h".
4859         * trans_mgr.h: remove #include "tex-accent.h".
4860         * insets/inset.h: remove #include "support/types.h", <vector>.
4861         * insets/insetcollapsable.h: remove #include "LColor.h".
4862         * insets/insetinclude.h: remove #include "dimension.h".
4863         * insets/insetlatexaccent.h: remove #include "dimension.h".
4864         * insets/insetoptarg.h:: remove #include "insettext.h".
4865         * insets/insettext.h: remove #include "dimension.h",
4866         <boost/shared_ptr.hpp>
4867
4868         * insets/renderers.h: add #include "dimension.h".
4869         * insets/updatableinset.h: add #include "support/types.h".
4870
4871         * many .C files: Associated changes.
4872
4873 2003-09-06  Angus Leeming  <leeming@lyx.org>
4874
4875         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4876         one, inside testInvariant.
4877
4878         * PrinterParams.C: new file.
4879         * PrinterParams.[Ch]: move the function bodies out of line.
4880
4881 2003-09-06  Angus Leeming  <leeming@lyx.org>
4882
4883         * ParagraphParameters.h: forward declare ParameterStruct rather than
4884         including its header file.
4885         (depth): moved out-of-line.
4886
4887 2003-09-06  Angus Leeming  <leeming@lyx.org>
4888
4889         * BufferView_pimpl.h:
4890         * kbmap.h:
4891         * kbsequence.h:
4892         * lyxfunc.h: forward declare LyXKeySym rather than
4893         #include "frontends/LyXKeySym.h".
4894
4895         * BufferView_pimpl.C:
4896         * kbmap.C:
4897         * kbsequence.C:
4898         * lyxfunc.C: associated changes.
4899
4900 2003-09-06  Angus Leeming  <leeming@lyx.org>
4901
4902         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4903         As a result, can remove the #include "insets/inset.h" from BufferView.h
4904
4905 2003-09-06  Angus Leeming  <leeming@lyx.org>
4906
4907         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4908         As a result, can remove the #include "insets/inset.h" from BufferView.h
4909
4910 2003-09-06  Angus Leeming  <leeming@lyx.org>
4911
4912         * buffer_funcs.C:
4913         * buffer.h:
4914         * bufferlist.C:
4915         * BufferView.C:
4916         * bufferview_funcs.C:
4917         * BufferView_pimpl.C:
4918         * CutAndPaste.C:
4919         * lyx_cb.C:
4920         * lyxfunc.C:
4921         * paragraph.h:
4922         * ParagraphParameters.C:
4923         * tabular.C:
4924         * text3.C:
4925         * toc.C:
4926         * undo_funcs.C:
4927         * frontends/controllers/ControlDocument.C:
4928         * insets/insetcaption.C: rearrange the #includes into some sort of
4929         coherent order.
4930
4931         * buffer.h: remove #includes ErrorList.h, undo.h
4932
4933 2003-09-06  Angus Leeming  <leeming@lyx.org>
4934
4935         * support/types.h: add a 'depth_type' typedef, used to store the
4936         nesting depth of a paragraph.
4937
4938         * paragraph.h:
4939         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4940         defining explicitly.
4941
4942         * buffer.h:
4943         * paragraph_funcs.h:
4944         * ParagraphParameters.h:
4945         * sgml.h: use lyx::depth_type rather than Paragraph or
4946         ParameterStruct's depth_type.
4947
4948         * buffer.h
4949         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4950
4951         * BufferView.C:
4952         * BufferView_pimpl.C:
4953         * CutAndPaste.C:
4954         * ParagraphParameters.C:
4955         * buffer_funcs.C:
4956         * bufferlist.C:
4957         * bufferview_funcs.C:
4958         * lyx_cb.C:
4959         * lyxfunc.C:
4960         * tabular.C:
4961         * text3.C:
4962         * toc.C:
4963         * undo_funcs.C:
4964         * frontends/LyXView.C:
4965         * frontends/controllers/ControlDocument.C:
4966         * frontends/controllers/ControlErrorList.C:
4967         * insets/insetbibitem.C:
4968         * insets/insetbranch.C:
4969         * insets/insetcaption.C:
4970         * insets/insetcollapsable.C:
4971         * insets/insetenv.C:
4972         * insets/insetert.C:
4973         * insets/insetfloat.C:
4974         * insets/insetfoot.C:
4975         * insets/insetfootlike.C:
4976         * insets/insetnewline.C:
4977         * insets/insetquotes.C:
4978         * insets/insettabular.C:
4979         * insets/insettext.C:
4980         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4981
4982         * frontends/controllers/ControlChanges.C: #include "changes.h".
4983
4984 2003-09-06  Angus Leeming  <leeming@lyx.org>
4985
4986         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4987         than #including paragraph.h.
4988
4989         * ParagraphList.h:
4990         * RowList.h: deleted. Superfluous.
4991
4992         * CutAndPaste.h:
4993         * iterators.h:
4994         * lyxcursor.h:
4995         * lyxtext.h:
4996         * text_funcs.h:
4997         * undo.h:
4998         * undo_funcs.h:
4999         * insets/inset.h:
5000         * insets/insettext.h: use ParagraphList_fwd.h rather than
5001         ParagraphList.h.
5002
5003         * paragraph.h: don't forward declare ParagraphList.
5004
5005         * buffer.h:
5006         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5007         rather than ParagraphList.h. paragraph.h is still needed for the
5008         Paragraph::depth_type parameters.
5009
5010         * textcursor.h: enable it to compile stand-alone in light of the
5011         above changes.
5012
5013         * bufferview_funcs.C:
5014         * iterators.C:
5015         * lyxfunc.C:
5016         * lyxrow_funcs.C:
5017         * paragraph.C:
5018         * rowpainter.C:
5019         * text.C:
5020         * text2.C:
5021         * text3.C:
5022         * text_funcs.C:
5023         * textcursor.C:
5024         * undo.C:
5025         * frontends/controllers/ControlParagraph.C:
5026         * frontends/controllers/ControlTabular.C:
5027         * insets/insetmarginal.C:
5028         * insets/insetminipage.C:
5029         * insets/insetnote.C:
5030         * insets/insetoptarg.C: add header files needed to compile again.
5031
5032 2003-09-06  Angus Leeming  <leeming@lyx.org>
5033
5034         * RowList_fwd.h: new file, forward-declaring Row rather than
5035         #including lyxrow.h.
5036
5037         * lyxrow_funcs.h:
5038         * lyxtext.h:
5039         * paragraph.h:
5040         * insets/insettext.h: use it instead of RowList.h
5041
5042         * bufferview_funcs.C:
5043         * lyxfunc.C:
5044         * lyxrow_funcs.C:
5045         * paragraph.C:
5046         * rowpainter.C:
5047         * text.C:
5048         * text2.C:
5049         * text3.C: #include "RowList.h".
5050
5051 2003-09-05  Angus Leeming  <leeming@lyx.org>
5052
5053         * factory.C (createInset):
5054         * vspace.C (c-tor): replace sscanf call with an istringstream.
5055         * ispell.C: re-add missing HP/UX headers.
5056         * lyxserver.C: re-add missing  os2 headers.
5057
5058 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * BranchList.C:
5061         * graph.C:
5062         * ispell.C:
5063         * lastfiles.C:
5064         * lyx_cb.C:
5065         * lyxserver.C:
5066         * texrow.C:
5067         * text3.C: re-add missing system headers, needed for 2.95.2.
5068
5069 2003-09-05  Angus Leeming  <leeming@lyx.org>
5070
5071         Changes most place everywhere due to the removal of using directives
5072         from support/std_sstream.h.
5073
5074 2003-09-05  Angus Leeming  <leeming@lyx.org>
5075
5076         Replace LString.h with support/std_string.h,
5077         Lsstream.h with support/std_sstream.h,
5078         support/LIstream.h with support/std_istream.h,
5079         support/LOstream.h with support/std_ostream.h.
5080
5081         Changes resulting throughout the tree.
5082
5083 2003-09-05  Angus Leeming  <leeming@lyx.org>
5084
5085         * sgml.h: ensure that the header file can be compiled stand-alone.
5086         * *.C: strip out redundant #includes. (320 in total.)
5087
5088 2003-09-04  Angus Leeming  <leeming@lyx.org>
5089
5090         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5091         here (from getPackages).
5092
5093         * debug.[Ch]: add a new EXTERNAL tag.
5094
5095 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5096
5097         * text2.C (cursorEnd): simplify
5098         (setCursor): adjust
5099         (getColumnNearX): adjust
5100
5101         * text.C (computeBidiTables): adjust
5102         (fill): adjust
5103
5104         * rowpainter.C (paintChars): adjust
5105         (paintSelection): adjust
5106         (paintChangeBar): adjust
5107         (paintText): adjust
5108
5109         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5110         lastPos instead.
5111         (numberOfSeparators): adjust
5112
5113 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5114
5115         * LyXAction.C:
5116         * box.[Ch]:
5117         * lfuns.h:
5118         * lyxfunc.C:
5119         * text3.C: Restricts the mouse click functionality
5120         of insets like bibtex, include, toc and floatlist to the visible
5121         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5122         up the dialogs. Cursor has to be in front of the inset (i.e.
5123         start of row) for this to function.
5124
5125 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5126
5127         * bufferview_funcs.C (currentState): output row information
5128
5129 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5130
5131         * bufferview_funcs.C (currentState): output paragraph position
5132
5133 2003-09-04  Angus Leeming  <leeming@lyx.org>
5134
5135         * FloatList.h: move out #include "Floating.h".
5136         * LaTeX.h: move out #include "DepTable.h".
5137         * LyXAction.h: move out #include "funcrequest.h".
5138         * buffer.h: move out #include "author.h", "iterators.h".
5139         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5140         * lyx_main.h: move out #include "errorlist.h".
5141         * lyxfunc.h: move out #include "FuncStatus.h".
5142         * lyxtext: move out #include "lyxcursor.h".
5143         * paragraph_pimpl.h: move out #include "counters.h".
5144
5145 2003-09-03  Angus Leeming  <leeming@lyx.org>
5146
5147         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5148         preamble_snippets list, enabling us to add snippets to the preamble
5149         only if the snippet was not there already.
5150
5151 2003-09-04  Angus Leeming  <leeming@lyx.org>
5152
5153         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5154
5155 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5158         update
5159
5160 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5161
5162         * BranchList.C: point fix, earlier forgotten
5163
5164 2003-09-02  Angus Leeming  <leeming@lyx.org>
5165
5166         * box.C (contains): renamed from 'contained' after a fantastic
5167         amount of hot air.
5168
5169 2003-09-02  John Levon  <levon@movementarian.org>
5170
5171         * BufferView.C:
5172         * lyxcursor.h:
5173         * lyxcursor.C:
5174         * lyxfunc.C:
5175         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5176
5177 2003-09-02  John Levon  <levon@movementarian.org>
5178
5179         * text2.C: simplification of cursorEnd(), including partial
5180         fix for bug 1376
5181
5182 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * buffer.C (readFile): add a space
5185
5186 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5187
5188         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5189
5190 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5191
5192         * buffer.C (readFile): new function, take a filename and a
5193         ParagraphList::iterator
5194         (readFile): adjust
5195         (readFile): adjust, make it private. don't use setStream, make
5196         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5197         always contain the filename.
5198
5199         * BufferView.C (insertLyXFile): simplify and make it work for
5200         gzipped files.
5201
5202 2003-08-30  John Levon  <levon@movementarian.org>
5203
5204         * Makefile.am: fix dist (from Kayvan)
5205
5206 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * most files: change to use const Buffer refs
5209
5210 2003-08-27  André Pönitz  <poenitz@gmx.net>
5211
5212         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5213         on top of ownerPar().
5214
5215 2003-08-27  John Levon  <levon@movementarian.org>
5216
5217         * funcrequest.C: properly initialise POD members
5218
5219 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * lyxtext.h (top_y): move top_y from here
5222         * text.C:
5223         * text2.C:
5224         * text3.C:
5225         * BufferView.[Ch]:
5226         * BufferView_pimpl.[Ch]: to here
5227         * frontends/screen.C:
5228         * insets/insettabular.C:
5229         * insets/insettext.C: adjust
5230         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5231
5232 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5233
5234         * BufferView.[Ch]:
5235         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5236
5237 2003-08-26  André Pönitz  <poenitz@gmx.net>
5238
5239         * paragraph_func.[Ch] (outerPar): new function
5240
5241         * paragraph.C:
5242         * paragraph_funcs.C:
5243         * paragraph_funcs.h:
5244         * paragraph_pimpl.C:
5245         * text2.C: remove Inset::par_owner
5246
5247 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5248
5249         * lyxrow_funcs.C:
5250         * lyxtext.h:
5251         * text.C:
5252         * text2.C: eliminates the needFullRow/display() stuff
5253         altogether, putting the logic in metrics/draw in the insets.
5254
5255 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * text2.C (redoParagraphInternal, redoParagraphs):
5258         * text.C (redoParagraph): add a call to updateRowPositions at the
5259         end of each 'metrics-like' call. Remove all others.
5260         (getRow): remove the 'y-computing' version.
5261         (getRowNearY): do not compute nor return the real y. Solve the
5262         'y < 0' problem and simplify.
5263
5264 2003-08-22  Angus Leeming  <leeming@lyx.org>
5265
5266         * *.[Ch]: clean-up of licence and author blurbs.
5267         Also move config.h out of a few .h files and into a few .C files.
5268
5269 2003-08-22  André Pönitz  <poenitz@gmx.net>
5270
5271         * lyxrow.[Ch]: add x_ and *fill_ members
5272
5273         * lyxtext.h:
5274         * text.C:
5275         * rowpainter.C:
5276         * text2.C: adjust/remove prepareToPrint() calls
5277
5278 2003-08-22  André Pönitz  <poenitz@gmx.net>
5279
5280         * lyxrow.[Ch]: add  end_ member
5281
5282         * lyxrow_funcs.C: use LyXRow::end_
5283
5284         * lyxtext.h (singleWidth): add LyXFont parameter
5285
5286         * rowpainter.C:
5287         * text2.C: adjust LyXText::singleWidth() calls
5288
5289         * text.C (redoParagraph): simplify row breaking logic
5290
5291
5292 2003-08-19  André Pönitz  <poenitz@gmx.net>
5293
5294         * funcrequest.C: initialize button_ member
5295
5296         * text3.C:
5297         * rowpainter.[Ch]: interface consolidation
5298
5299 2003-08-18  André Pönitz  <poenitz@gmx.net>
5300
5301         * BufferView.C:
5302         * BufferView_pimpl.C:
5303         * lyxfind.C:
5304         * paragraph_funcs.C:
5305         * rowpainter.C:
5306         * text3.C: remove LyXScreen::draw() and fitCursor calls
5307
5308         * BranchList.h: remove spurious semicolons
5309
5310         * MenuBackend.C: fix branchlist related crash
5311
5312 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5313
5314         * BranchList.[Ch]:
5315         * InsetList.[Ch]:
5316         * LColor.[Ch]:
5317         * LyXAction.C:
5318         * Makefile.am:
5319         * MenuBackend.[Ch]:
5320         * bufferparams.[Ch]:
5321         * factory.C:
5322         * lfuns.h:
5323         * lyxfunc.C:
5324         * text3.C: implements the 'branch inset'
5325         idea. This allows the output of various versions of a document
5326         from a single source version, selectively outputing or suppressing
5327         output of parts of the text.
5328         This implementation contains a 'branch list editor' in a separate
5329         tab of the document settings dialog. Branches are user definable
5330         and have a "display colour" to distinguish them on-screen.
5331
5332         ColorHandler was somewhat cleaned up.
5333         (1) make possible a dynamically growing LColor list by allowing
5334         the graphic context cache to grow along (vector);
5335         (2) eliminate an IMHO unnecessary step in colour allocation.
5336
5337 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5338
5339         * BufferView_pimpl.C: compile fix
5340
5341 2003-08-15  André Pönitz  <poenitz@gmx.net>
5342
5343         * rowpainter.C: remove extra metrics calls
5344
5345         * lyxtext.h: merge the two constructors into a single one,
5346           pass reference to owner's par list
5347
5348         * BufferView_pimpl.C:
5349         * text.C:
5350         * text2.C: adjust
5351
5352 2003-08-15  André Pönitz  <poenitz@gmx.net>
5353
5354         * lyxrow_funcs.[Ch]:
5355         * lyxtext.h:
5356         * paragraph.h:
5357         * paragraph_funcs.C:
5358         * rowpainter.C:
5359         * text.C:
5360         * text2.C:
5361         * text3.C:
5362         * text_funcs.C: split LyXText::rowlist_ into individual
5363         Paragraph::rows_ chunks
5364
5365         * BufferView.[Ch]:
5366         * BufferView_pimpl.[Ch]:
5367         * lyxfind.C:
5368         * lyxtext.h:
5369         * text3.C: remove toggleSelection()
5370
5371 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5372
5373         * bufferlist.C: beautify two alerts (shorter text of buttons)
5374         * buffer.C: Remove redundant ' ' from message
5375         * tabular.h:
5376         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5377         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5378         rename VALIGN_CENTER to VALIGN_MIDDLE
5379
5380 2003-08-11  André Pönitz  <poenitz@gmx.net>
5381
5382         * lyxtext.h (getPar):
5383         * text.C: new function
5384
5385 2003-08-11  André Pönitz  <poenitz@gmx.net>
5386
5387         * Makefile.am:
5388         * tracer.[Ch]: remove unneeded files
5389
5390         * InsetList.[Ch]: remove resizeInsetsLyXText()
5391
5392         * lyxtext.h:
5393         * text.C:
5394         * text2.C:
5395         * text3.C: merge insertParagraphs() and appendParagraph()
5396         remove breakAgain(), update()
5397
5398         * BufferView_pimpl.[Ch]:
5399         * bufferview_funcs.[Ch]:
5400         * lyxfunc.C:
5401         * paragraph.[Ch]:
5402         * rowpainter.C:
5403         * tabular.C: adjust after text & InsetList changes.
5404
5405 2003-08-08  André Pönitz  <poenitz@gmx.net>
5406
5407         * text.C (insertChar, backspace): replace rowlist fiddling
5408         with rebreak of full par
5409
5410         * lyxtext.h:
5411         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5412         checkParagraph, updateInset): removed
5413
5414 2003-08-07  André Pönitz  <poenitz@gmx.net>
5415
5416         * paragraph.C:
5417         * text3.C: merge some LFUN handlers, remove dead code
5418
5419 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5420
5421         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5422
5423 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5424
5425         * text2.C (DEPM): fix part of bug 1255 and 1256
5426
5427 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5428
5429         * BufferView_pimpl.C (workAreaDispatch): change to use
5430         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5431         that are no mouse related.
5432
5433 2003-08-05  André Pönitz  <poenitz@gmx.net>
5434
5435         * BufferView.[Ch]:
5436         * BufferView_pimpl.[Ch]:
5437         * bufferview_funcs.C:
5438         * text2.C:
5439         * text3.C: rip out "deep update"
5440
5441         * textcursor.[Ch] (last_sel_cursor): remove unused member
5442
5443 2003-08-04  André Pönitz  <poenitz@gmx.net>
5444
5445         * BufferView.[Ch]:
5446         * BufferView_pimpl.[Ch]:
5447         * ParagraphParameters.C:
5448         * bufferview_funcs.C:
5449         * lyx_cb.C:
5450         * lyxfind.C:
5451         * lyxfunc.C:
5452         * text.C:
5453         * text2.C:
5454         * text3.C: replace "complicated" BufferView::update(...) calls with
5455         simpler ones.
5456
5457         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5458
5459 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5460
5461         * Makefile.am (lyx_SOURCES): add paper.h
5462
5463 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5464
5465         * Makefile.am: move things around so that both lyx-qt and
5466         lyx-xforms can be built (according to --with-frontend). Then lyx
5467         is a symbolic link to lyx-[firstfrontend]
5468
5469 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5470
5471         * Always use std::endl with lyxerr
5472
5473 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5474
5475         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5476
5477 2003-08-01  André Pönitz  <poenitz@gmx.net>
5478
5479         * BufferView.[Ch]:
5480         * BufferView_pimpl.[Ch]:
5481         * lyxfunc.C:
5482         * text3.C: merge BufferView::repaint() and BufferView::update()
5483
5484 2003-08-01  José Matos  <jamatos@lyx.org>
5485
5486         * buffer.[Ch]: file_format is no longer a buffer data element.
5487
5488 2003-08-01  André Pönitz  <poenitz@gmx.net>
5489
5490         * BufferView.C:
5491         * lyxtext.h:
5492         * text.C:
5493         * text2.C: make redoParagraph more independent of current cursor
5494
5495         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5496         * text.C:
5497         * text2.C: remove unneeded members
5498
5499 2003-07-30  André Pönitz  <poenitz@gmx.net>
5500
5501         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5502
5503         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5504           create a single function...
5505
5506         * paragraph_funcs.C (moveItem): ... here.
5507
5508         * text.C:
5509           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5510
5511 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5512
5513         * LColor.[Ch]: Add comment and greyedout logical colors.
5514
5515 2003-07-30  André Pönitz  <poenitz@gmx.net>
5516
5517         * tabular.C: don't use Assert too heavily. This crashes where it
5518           shouldn't
5519
5520 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5523         is disabled (bug 1232)
5524
5525 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5526
5527         * factory.C: limited 'arg' scope
5528
5529 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5530
5531         * factory.C: fixed Note submenu issues
5532
5533 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5534
5535         * factory.C: submenu for Note/Comment/Greyedout
5536
5537 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5538
5539         * lyx_main.C (LyX):
5540         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5541
5542 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5543
5544         * LaTeXFeatures.C:
5545         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5546         greyedout. Patch provided by Jürgen Spitzmüller.
5547
5548 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5549
5550         * kbmap.C (read): fix error message when reading bind files
5551
5552 2003-07-29  Angus Leeming  <leeming@lyx.org>
5553
5554         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5555         certainly does not do what it purports to do. I am doing it, and
5556         us, a favour by killing it.
5557
5558 2003-07-28  José Matos  <jamatos@lyx.org>
5559
5560         * buffer.C (readBody, do_writeFile):
5561         * paragraph.C(readParagraph): \end_document replaces \the_end.
5562
5563 2003-07-29  André Pönitz  <poenitz@gmx.net>
5564
5565         * BufferView.[Ch]:
5566         * BufferView_pimpl.[Ch]:
5567         * lyxfunc.C:
5568         * text2.C:
5569         * text3.C:
5570         * textcursor.[Ch]: remove toggleToggle & Co
5571
5572 2003-07-28  José Matos  <jamatos@fep.up.pt>
5573
5574         * buffer.C (readParagraph):
5575         * params_func (readParToken, readParagraph):
5576         * paragraph.C (write): \layout -> \begin_layout.
5577
5578 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * lyxlex_pimpl.C (setFile): clean up slightly.
5581
5582         * bufferparams.h: add compressed var
5583
5584         * buffer_funcs.C (readFile): adjust for LyXLex change
5585         (newFile): ditto + simplify
5586
5587         * buffer.C (writeFile): handle writing of compressed files
5588
5589         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5590         Check if the file is compressed and set a bufferparm if so.
5591
5592         * Makefile.am (lyx_LDADD): remove explicit -lz
5593
5594 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5595
5596         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5597         makeDocBookFile): put the real LyX version in the first line of
5598         the file
5599
5600         * version.h:
5601         * version.C.in: remove lyx_docversion
5602
5603         * tabular.C (write_attribute): add a template-based version to
5604         write enums properly
5605
5606 2003-07-28  André Pönitz  <poenitz@gmx.net>
5607
5608         * lyxtext.h:
5609         * text.C:
5610         * text2.C:
5611         * text3.C: use doubles again for x-coordinates. They are needed.
5612
5613 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * messages.C (getLocaleDir): use lyx_localedir()
5616
5617         * lyxlex_pimpl.C (setFile): compress stuff
5618
5619         * buffer.C (writeFile): add some compression stuff
5620         (do_writeFile): new func, dont call expliti close... will this
5621         breake anything?
5622
5623         * Makefile.am (lyx_LDADD): add -lz
5624
5625 2003-07-28  José Matos  <jamatos@fep.up.pt>
5626
5627         * buffer.C: increment file format.
5628         * paragraph_funcs (readParagraph, readParToken):
5629         * paragraph.C (readParagraph): add \end_layout.
5630
5631 2003-07-27  Angus Leeming  <leeming@lyx.org>
5632
5633         * Makefile.am: remove special casing for configure-time setting of
5634         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5635
5636         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5637         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5638
5639 2003-07-26  André Pönitz  <poenitz@gmx.net>
5640
5641         * paragraph_func.[Ch]:
5642         * paragraph.C (realizeFont): inline it whereever it is used
5643
5644         * rowpainter.C:
5645         * text.C:
5646         * text2.C:
5647         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5648
5649
5650 2003-07-26  André Pönitz  <poenitz@gmx.net>
5651
5652         *       lyxtext.h:
5653         * text.C:
5654         * text2.C: get rid of LyXText::need_break_row
5655
5656 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * toc.[Ch]: put namespace toc inside namespace lyx
5659
5660         * MenuBackend.C (expandToc2): adjust for lyx::toc
5661         (expandToc): ditto
5662
5663         * lyxfunc.C (dispatch): adjust for lyx::find
5664
5665         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5666         lyx::find instead. Reorganize a bit.
5667         (LyXReplace): rename to replace
5668         (LyXFind): rename to find
5669
5670         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5671         (dispatch): ditto
5672
5673 2003-07-26  André Pönitz  <poenitz@gmx.net>
5674
5675         * text.C (setHeightOfRow): restrict scope of temporary variable
5676
5677         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5678           code (never has been used?)
5679
5680 2003-07-27  Asger Alstrup  <alstrup@local>
5681
5682         * text.C (fill): Optimise algorithm to exploit that we can reuse
5683         the LyXFont for many characters.
5684         (setHeightOfRow): Same thing.
5685         (rowBreakPoint): Same thing.
5686
5687 2003-07-26  Asger Alstrup  <alstrup@local>
5688
5689         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5690
5691         * text.C (singleWidth): Spurious font copying in hot-spot
5692         singleWidth avoided. Reorder tests for arabic for efficiency.
5693
5694         * text.C (fill): handle empty paragraphs better.
5695
5696 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5697
5698         * ispell.C:
5699         * encoding.h: add includes
5700
5701         * lyxrc.C: remove reading of bind files
5702
5703         * lyx_main.C (init): setup bindings and menus only if we have a
5704         gui.
5705
5706         * kbmap.C (read): new method. Do the actual reading of bind
5707         files.
5708
5709         * converter.C (dvipdfm_options):
5710         * bufferparams.C:
5711         * lyxrc.C (read):
5712         (output): adapt PAPER_* enums.
5713
5714         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5715
5716         * bufferparams.h: remove paper-related enums from there
5717
5718         * paper.h: New file. A trivial header file to hold paper-related
5719         enums. It should later expand to contain many paper-related
5720         horrors access.
5721
5722         * lyxrc.C: declare extern displayTranslator
5723
5724 2003-07-27  José Matos  <jamatos@fep.up.pt>
5725
5726         * tabular.[Ch] (linuxdoc): add support for tables and figures
5727         (linuxdoc).
5728
5729 2003-07-27  José Matos  <jamatos@fep.up.pt>
5730
5731         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5732         consistency in both functions.
5733         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5734
5735 2003-07-26  Asger Alstrup  <alstrup@local>
5736
5737         * rowpainter.C (paintRows): Change algorithm to work directly on
5738         the insets rather than asking every character in the document
5739         whether its an inset.
5740
5741 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5742
5743         * buffer.C (openFileWrite): factorize some code
5744
5745 2003-07-26  Angus Leeming  <leeming@lyx.org>
5746
5747         * lyx_cb.C:
5748         * lyx_main.[Ch]: replace occurances of system_tempdir with
5749         os::getTmpDir().
5750
5751 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * rename Inset to InsetOld
5754
5755 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5756
5757         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5758         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5759         which I think is a bit clearer. EDIT is gone, since it was
5760         premature optimisation, and broken for mathed anyway.
5761         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5762         with cursor positioning in insets as well (math insets still do not
5763         work, but that's a different story anyway.) It mysteriously
5764         crashes sometimes with undo in the first paragraph, but I'm fairly
5765         confident that this is a compiler bug.
5766
5767 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5768
5769         * paragraph.C (Paragraph): adjust for new clone return type
5770         (operator==): ditto
5771         (copyIntoMinibuffer): ditto
5772
5773 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5774
5775         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5776         by not having a special case, and always doing a full rebreak of
5777         the document after undo.
5778
5779 2003-07-23  Angus Leeming  <leeming@lyx.org>
5780
5781         * factory.C (createInset): InsetExternal::setParams now takes a
5782         Buffer const * arg.
5783
5784 2003-07-23  Angus Leeming  <leeming@lyx.org>
5785
5786         * factory.C (createInset): changed interface to the external and
5787         graphics mailers' string2params functions.
5788
5789 2003-07-23  Angus Leeming  <leeming@lyx.org>
5790
5791         * factory.C (createInset): pass a
5792         Buffer const * parameter to InsetExternalMailer's string2params.
5793
5794 2003-07-22  John Levon  <levon@movementarian.org>
5795
5796         * Thesaurus.h: include the right aiksaurus header
5797
5798 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5799
5800         * MenuBackend.C (expand): check menu shortcuts unconditionally
5801
5802 2003-07-21  Angus Leeming  <leeming@lyx.org>
5803
5804         * factory.C (createInset): pass a
5805         buffer_path parameter to InsetGraphicsMailer's string2params.
5806
5807 2003-07-21  Angus Leeming  <leeming@lyx.org>
5808
5809         * BufferView_pimpl.C (buffer):
5810         * buffer.C (d-tor):
5811         * lyx_main.C (LyX):
5812         * lyxfunc.C (dispatch):
5813         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5814         rather than the grfx shortcut.
5815
5816 2003-07-21  André Pönitz  <poenitz@gmx.net>
5817
5818         * rowpainter.C: remove unused variables
5819
5820         * tabular_funcs.C:
5821         * tabular_funcs.h: move to tabular.C
5822         * Makefile.am: adjust
5823
5824         * tabular.[Ch]: basic optical cleaning
5825
5826         * author.h: pass references, not values
5827
5828 2003-07-18  André Pönitz  <poenitz@gmx.net>
5829
5830         * lyxtext.h:
5831         * metricsinfo.C:
5832         * metricsinfo.h:
5833         * rowpainter.C:
5834         * text.C:
5835         * text2.C:
5836         * text3.C: two-phase drawing for InsetText and InsetTabular
5837         some float -> int changes.
5838
5839 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5840
5841         * lyx_main.C: fix the fix
5842
5843 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5844
5845         * lyx_main.C: fix a crash in batch mode if no files specified
5846         * converter.C: ws
5847
5848 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * format.[Ch] (papersize): moved to BufferParams
5851         * converter.[Ch] (dvips_options): moved to BufferParams
5852         (dvipdfm_options): moved to anon namespace
5853         * bufferparams.[Ch]: added above functions.
5854
5855 2003-07-17  André Pönitz  <poenitz@gmx.net>
5856
5857         * lyxtext.h:
5858         * rowpainter.C:
5859         * text2.C: don't call inset->update() anymore
5860
5861         * metricsinfo.[Ch]: add convenience constructor
5862
5863 2003-07-16  André Pönitz  <poenitz@gmx.net>
5864
5865         * lyxcursor.[Ch]:
5866         * lyxfunc.[Ch]:
5867         * text.C:
5868         * text2.C: replace the LyXCursor::irow_ member with
5869          on-demand computation of the value
5870
5871 2003-07-16  John Levon  <levon@movementarian.org>
5872
5873         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5874
5875 2003-07-15  André Pönitz  <poenitz@gmx.net>
5876
5877         * text.C:
5878         * text2.C: remove no more needed refresh_row
5879
5880 2003-07-15  André Pönitz  <poenitz@gmx.net>
5881
5882         * lyxtext.h:
5883         * rowpainter.C:
5884         * text2.C:
5885         * text3.C: refresh_status tristate -> need_update bool
5886
5887 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * lyxtext.h (init): remove reinit argument (act as if always true)
5890         * text2.C: adjust to that
5891
5892 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5893
5894         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5895         * text3.C: use it to delete selections in some cases
5896         (bugs 441, 673, 702, 954).
5897
5898 2003-07-14  André Pönitz  <poenitz@gmx.net>
5899
5900         * rowpainter.[Ch]: reduce interface
5901
5902 2003-07-14  André Pönitz  <poenitz@gmx.net>
5903
5904         * BufferView_pimpl.C:
5905         * text2.C: adjust after removing unused BufferView * argument
5906
5907 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * text2.C (init): fix a crash fired on resize
5910
5911 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5912
5913         * buffer.[Ch]: added new closing signal
5914         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5915         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5916         BufferView::Pimpl via the closing the signal
5917
5918 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * buffer.[Ch]: take out all bv-related from buffer
5921         * BufferView.C:
5922         * BufferView_pimpl.[Ch]: connect to new signals
5923         * CutAndPaste.C: removed useless asserts
5924         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5925         * lyxvc.[Ch]:
5926         * vc-backend.[Ch]:
5927         * lyxfunc.C: moved view-related funciontality from vc here
5928         * paragraph.C: removed outdated comments
5929         * text.C: ws
5930
5931 2003-07-10  André Pönitz  <poenitz@gmx.net>
5932
5933         * BufferView_pimpl.C:
5934         * tabular.h:
5935         * tabular_funcs.C:
5936         * text.C:
5937         * text2.C: remove InsetText::InnerCache, clean up consequences
5938
5939 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5940
5941         * ispell.C: fix two typos in error messages
5942
5943 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5944
5945         * Extend Note inset to other forms of annotation like Comment
5946         and Greyedout. Right button click gives dialog.
5947
5948         Files modified or added (+):
5949
5950         * insetnote.[Ch]
5951         * FormNote.[Ch]      +
5952         * ControlNote.[Ch]   +
5953         * form_note.fd       +
5954         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5955         frontends/controllers
5956         * xforms/Dialogs.C
5957         * factory.C
5958
5959 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5960
5961         * aspell.C: add missing namespace lyx::support
5962
5963 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5964
5965         * BufferView.[Ch] (newFile): Add
5966         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5967         * LaTeX.[Ch] (message): added this signal and use it
5968         * buffer.[Ch] (busy, message): added these signals and use them
5969         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5970         * converter.C:
5971         * exporter.C:
5972         * format.C:
5973         * importer.C: use buffer signals instead of direct bv calling
5974         * lyx_cb.[Ch] (ShowMessage): removed
5975         * lyx_main.C:
5976         * lyxfunc.C:
5977         * paragraph_funcs.C:
5978         * text2.C: use buffer signals
5979
5980 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * introduce namespace lyx::graphics
5983
5984 2003-07-02  André Pönitz  <poenitz@gmx.net>
5985
5986         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5987
5988 2003-07-01  André Pönitz  <poenitz@gmx.net>
5989
5990         * text.C:
5991         * text2.C:
5992         * text3.C:
5993         * text_funcs.[Ch]:
5994         * textcursor.h:
5995         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5996           text*.C to text_func.C
5997
5998 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * introduce namespace lyx::support
6001
6002 2003-06-30  André Pönitz  <poenitz@gmx.net>
6003
6004         * Chktex.C:
6005         * funcrequest.C:
6006         * lyxtext.h:
6007         * text.C: re-enable --with-included-string
6008
6009 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * textcursor.C: add <config.h>
6012
6013         * text.C (getWord): remove const from word_location arg
6014
6015         * lyxvc.C (getLogFile): fix const type order
6016
6017         * lyxtext.h: remove const from word_location arg, add arg name
6018
6019         * lyxlayout.h: currect type on labeltype.
6020
6021         * importer.C: correct \file
6022
6023         * converter.C (intToFormat): use std:: on ret val, ws changes
6024
6025         * bufferlist.h: correct \file
6026
6027         * buffer.C (makeLinuxDocFile): fix const type order
6028         (makeDocBookFile): ditto
6029         (fillWithBibKeys): use std:: on stdlib args.
6030
6031         * CutAndPaste.C: fix authors.
6032         (availableSelections): use std:: on return vector
6033
6034 2003-06-27  André Pönitz  <poenitz@gmx.net>
6035
6036         * BufferView_pimpl.C:
6037         * bufferview_funcs.C:
6038         * lyxcursor.C:
6039         * lyxcursor.h:
6040         * lyxfunc.C:
6041         * lyxtext.h:
6042         * rowpainter.C:
6043         * text.C:
6044         * text2.C:
6045         * text3.C: remove LyXCursor::row_ member
6046
6047         * lyxtext.h:
6048         * text.C: rename fullRebreak() to partialRebreak() and implement
6049           a fullRebreak() that really bereks fully
6050
6051         * textcursor.h: new struct for cursor-related data
6052
6053 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6054
6055         * lyx_main.C (LyX): get full path of document loaded on the
6056         command line
6057
6058 2003-06-26  André Pönitz  <poenitz@gmx.net>
6059
6060         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6061           remove unused/broken operator>,<,>=.
6062
6063         *       text.C: remove only use of broken operator<= in an Assert().
6064
6065 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6066
6067         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6068         moved errorlist_.clear to showErrorList
6069
6070 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6071
6072         * converter.C (scanLog, runLaTeX):
6073         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6074         move the bv->showErrorList call to the callers
6075         * lyxfunc.C: i.e. here...
6076         * text2.C: and here
6077         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6078         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6079         namespace, the second to...
6080         * buffer_funcs (BufferFormat, parseErrors): added
6081         * errorlist.C (ErrorList(TeXErrors const &)): removed
6082
6083 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6084
6085         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6086
6087 2003-06-24  "Garst R. Reese" <reese@isn.net>
6088
6089         * debug.C: fix typo
6090
6091 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6092
6093         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6094
6095         * version.C.in: change docversion to 1.4
6096
6097 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6098
6099         * buffer.C: fix a bug just introduced
6100
6101 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6102
6103         * buffer.[Ch]: added the parseError signal and use it, removed
6104         sgmlError
6105         * BufferView.[Ch] (addError): moved to ...
6106         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6107         to the Buffer::parseError signal to catch (guess what) parse errors
6108         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6109
6110 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6111
6112         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6113         ability to create a buffer and to return an existing one from
6114         the list. Moved these functions to...
6115         * buffer_funcs.[Ch]: added
6116         * BufferView.[Ch] (loadLyXFile): added
6117         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6118         job removed from bufferlist::loadLyXFile.
6119         * buffer.C (setReadOnly): make it work without view
6120         (i.e added an if (users))
6121
6122 2003-06-19  Angus Leeming  <leeming@lyx.org>
6123
6124         * lfuns.h:
6125         * LyXAction.C (init):
6126         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6127         with LFUN_DIALOG_SHOW <name> <data>.
6128
6129 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6130
6131         * CutAndPaste.C (availableSelections): small compilation fix for
6132         ancient (gcc 2.9x) compilers
6133
6134 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * text3.C (cursorNext): add tmp var
6137
6138         * text2.C (updateCounters): for function calling out of for clause
6139         (replaceSelectionWithString): ditto
6140         (insertStringAsParagraphs): ditto
6141         (getColumnNearX): add tmp var
6142         (setCursorFromCoordinates): add tmp var
6143         (cursorDownParagraph): add tmp var
6144         (deleteEmptyParagraphMechanism): add tmp var
6145
6146         * text.C (insertChar): add tmp var
6147
6148         * rowpainter.C (paintDepthBar): add tmp var
6149
6150         * CutAndPaste.C (availableSelections): potentially check all
6151         paragraphs in a cut to fill the shown strings.
6152
6153 2003-06-18  André Pönitz  <poenitz@gmx.net>
6154
6155         * kbmap.[Ch]: use vector<> instead of list<>
6156
6157 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6158
6159         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6160         pasteSelection with index
6161
6162         * text2.C (pasteSelection): modify, call pasteSelection with index
6163
6164         * paragraph.C (asString): reimplement version with no interval to
6165         call the one with interval.
6166
6167         * lyxtext.h: add index arg to pasteSelection
6168
6169         * MenuBackend.C (MenuItem): handle PasteRecent
6170         (Menu::read::Menutags): add md_pasterecent
6171         (read): handle it
6172         (expandPasteRecent): new function
6173         (expand): use it
6174
6175         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6176
6177         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6178         the limited stack
6179         (availableSelections): new function
6180
6181 2003-06-17  Angus Leeming  <leeming@lyx.org>
6182
6183         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6184
6185 2003-06-17  Angus Leeming  <leeming@lyx.org>
6186
6187         * lfuns.h:
6188         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6189
6190         * lyxfunc.C (dispatch): invoke it.
6191
6192 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6193
6194         * iterators.C (operator++, ParPosition): reintroduce some
6195         const_cast for the benefit of older compilers.
6196
6197 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6198
6199         * text3.C (dispatch): do not modify clipboard when doing
6200         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6201         LFUN_DELETE_SKIP on a selection selection
6202
6203 2003-06-16  André Pönitz  <poenitz@gmx.net>
6204
6205         * BufferView.C:
6206         * buffer.C:
6207         * buffer.h:
6208         * paragraph.C:
6209         * tabular.[Ch]: IU of clone() and getLabelList();
6210
6211 2003-06-13  André Pönitz  <poenitz@gmx.net>
6212
6213         * tabular.h: compactification
6214
6215 2003-06-12  André Pönitz  <poenitz@gmx.net>
6216
6217         * tabular.C:
6218         * tabular.h:
6219         * tabular_funcs.h: some renaming plus whitespace
6220
6221 2003-06-12  André Pönitz  <poenitz@gmx.net>
6222
6223         * BufferView.C:
6224         * BufferView_pimpl.C:
6225         * CutAndPaste.C:
6226         * buffer.C:
6227         * iterators.[Ch]:
6228         * lyxfunc.C:
6229         * text.C:
6230         * toc.C: Return a Paragraph & for ParIterator::operator*()
6231
6232 2003-06-11  John Levon  <levon@movementarian.org>
6233
6234         * lyx_main.C:
6235         * ToolbarBackend.h:
6236         * ToolbarBackend.C: add "Toolbars" section and
6237         put the flags there
6238
6239 2003-06-10  Angus Leeming  <leeming@lyx.org>
6240
6241         * lfuns.h:
6242         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6243
6244         * lyxfunc.C (dispatch): invoke it.
6245
6246 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * main.C: protect <ios> with HAVE_IOS
6249         (main): protect sync_with_stdio with HAVE_IOS
6250
6251 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6252
6253         * text2.C (cutSelection): adjust
6254         (pasteSelection): adjust
6255
6256         * messages.C: handle get of empty string
6257
6258         * main.C (main): use sync_with_stdio(false)
6259
6260         * lyxfunc.C (dispatch): adjust
6261
6262         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6263         (WriteAs): remove unneeded BufferView arg.
6264
6265         * bufferparams.h: use correct types on papersize, papersize2 and
6266         paperpackage.
6267
6268         * bufferparams.C (readToken): adjust for type
6269         (writeLaTeX): add missing cases to switch.
6270
6271         * bufferlist.C (quitWriteBuffer): adjust
6272         (close): adjust
6273
6274         * buffer.C (asciiParagraph): remove some commented code.
6275
6276         * CutAndPaste.C: remove current_view extern variable.
6277         (cutSelection): add BufferParams arg.
6278         (eraseSelection): add BufferParams arg.
6279         (pasteSelection): add Buffer const & arg
6280
6281 2003-06-07  John Levon  <levon@movementarian.org>
6282
6283         * buffer.C:
6284         * paragraph_funcs.C:
6285         * paragraph_pimpl.C:
6286         * text.C:
6287         * text2.C:
6288         * paragraph.h:
6289         * paragraph.C: allow InsetERT to freely space lines,
6290         and some consolidation of code
6291
6292 2003-06-06  José Matos  <jamatos@fep.up.pt>
6293
6294         * buffer.C (makeDocBookFile): fix bug #821
6295
6296 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6297
6298         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6299
6300 2003-06-04  Angus Leeming  <leeming@lyx.org>
6301
6302         * buffer.C: bump format to 224.
6303
6304 2003-06-05  André Pönitz  <poenitz@gmx.net>
6305
6306         * text2.C (redoParagraphs): remove two const_cast<>
6307
6308 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6309
6310         * ParagraphList.h: remove last remnants of NO_STD_LIST
6311
6312 2003-06-03  Angus Leeming  <leeming@lyx.org>
6313
6314         * factory.C (createInset): small change to the way InsetExternal's params
6315         are set.
6316
6317 2003-06-04  André Pönitz  <poenitz@gmx.net>
6318
6319         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6320
6321         * paragraph_pimpl.h:
6322         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6323
6324         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6325
6326         * undo_funcs.C: make some simple cases of undo work again
6327
6328 2003-06-03  John Levon  <levon@movementarian.org>
6329
6330         * ispell.C: HPUX doesn't have sys/select.h
6331         (from Albert Chin)
6332
6333 2003-06-03  John Levon  <levon@movementarian.org>
6334
6335         * CutAndPaste.C: update tabular and include inset
6336         buffer references
6337
6338         * buffer.h:
6339         * paragraph.h:
6340         * paragraph.C: remove owningBuffer(), don't pass Buffer
6341         to clone()
6342
6343         * factory.C: insetGraphicsParams changed
6344
6345 2003-06-02  John Levon  <levon@movementarian.org>
6346
6347         * LyXAction.C:
6348         * factory.C:
6349         * lfuns.h:
6350         * lyxfunc.C:
6351         * text3.C: remove insetparent
6352
6353 2003-06-02  John Levon  <levon@movementarian.org>
6354
6355         * buffer.h:
6356         * buffer.C: fix inset_iterator.end(), move out of line
6357         (bug 1149)
6358
6359 2003-06-01  John Levon  <levon@movementarian.org>
6360
6361         * text3.C: use a proper cut/paste when doing inset
6362         insert (from Jürgen Spitzmüller)
6363
6364 2003-06-01  John Levon  <levon@movementarian.org>
6365
6366         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6367
6368 2003-05-30  André Pönitz  <poenitz@gmx.net>
6369
6370         * rowpainter.C: unify second drawing phase
6371
6372 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * trans_mgr.C: remove one case of current_view
6375
6376         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6377
6378         * paragraph_funcs.h: remove paragraph.h include
6379
6380         * paragraph.h: delete NO_STD_LIST stuff
6381
6382         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6383
6384         * buffer.h: remove paragraph.h include
6385
6386         * ParagraphList.C: delete file
6387
6388         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6389
6390         * toc.C (getTocList): adjust
6391
6392         * paragraph_pimpl.C (validate): adjust
6393
6394         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6395
6396         * paragraph.C (Paragraph): adjust
6397         (getPositionOfInset): use const_iterator, adjust
6398         (bibitem): use const_iterator, adjust
6399         (setInsetOwner): adjust
6400
6401         * iterators.C (operator++): adjust
6402
6403         * InsetList.[Ch]: Replace selfmade iterator with standard
6404         vector::iterator also introduce const_iterator. Remove getPos,
6405         getInset and setInset from InsetTable. Adjust accordingly.
6406
6407         * BufferView.C (lockInset): adjust
6408         (ChangeInsets): adjust
6409
6410         * tabular.[Ch]: delete commented same_id functions
6411
6412 2003-05-28  John Levon  <levon@movementarian.org>
6413
6414         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6415
6416 2003-05-28  André Pönitz  <poenitz@gmx.net>
6417
6418         * metricsinfo.[Ch]: remove 'fullredraw' member
6419
6420 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6421
6422         * lyxtextclass.C (operator): remove caching.
6423
6424 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * text3.C: adjust
6427
6428         * text2.C (cursorBottom): adjust
6429         (setCounter): use ParagraphList::find, adjust
6430
6431         * text.C (workWidth): use ParagraphList::find, adjust
6432
6433         * lyxcursor.C (LyXCursor): adjust
6434
6435         * buffer.C (inset_iterator): adjust
6436
6437         * ParagraphList.h: make iterator(value_type) private, make
6438         ParagraphList a friend of iterator.
6439
6440         * ParagraphList.C (find): new function
6441
6442         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6443
6444 2003-05-27  André Pönitz  <poenitz@gmx.net>
6445
6446         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6447
6448 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6449
6450         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6451
6452 2003-05-26  John Levon  <levon@movementarian.org>
6453
6454         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6455
6456 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * remove same_id from function signatures, adjust.
6459
6460 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6463
6464         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6465
6466         * paragraph.C (Paragraph): get rid of same_ids parameter
6467
6468         * ParagraphList.C (insert): adjust
6469         (push_back): adjust
6470
6471 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * paragraph_funcs.C (breakParagraph): adjust
6474         (breakParagraphConservative): adjust
6475
6476         * buffer.C (readParagraph): adjust
6477
6478         * ParagraphList.C (insert): take a reference instead of a pointer
6479         (insert): adjust
6480
6481         * paragraph.[Ch] (id): new function
6482
6483         * bufferlist.C (newFile): adjust
6484
6485         * ParagraphList.C (ParagraphList): adjust
6486         (assign): adjust
6487         (push_back): take a reference instead of a pointer.
6488
6489         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6490
6491         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6492         instead.
6493
6494         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6495         set else use old code.
6496
6497         * ParagraphList.C: remove all NO_NEXT code and only compile this
6498         code of NO_STD_LIST is set.
6499
6500 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * BufferView_pimpl.C:
6503         * TextCache.C:
6504         * TextCache.h:
6505         * bufferlist.C:
6506         * errorlist.h:
6507         * format.C:
6508         * format.h:
6509         * graph.C:
6510         * lyxfunc.C:
6511         * lyxrc.C:
6512         * graphics/GraphicsConverter.C:
6513         * graphics/PreviewLoader.C: header adjustment
6514
6515 2003-05-23  Angus Leeming  <leeming@lyx.org>
6516
6517         * LaTeXFeatures.[Ch] (useBabel): new method.
6518         * bufferparams.C (writeLaTeX): use it.
6519
6520 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6521
6522         * ParagraphList.h (set): remove unused function.
6523
6524 2003-05-23  André Pönitz  <poenitz@gmx.net>
6525
6526         * BufferView.C:
6527         * BufferView_pimpl.C:
6528         * buffer.C:
6529         * buffer.h:
6530         * lyxfunc.C:
6531         * undo_funcs.C: setUndo reworked
6532
6533         * iterators.[Ch]: add access to topmost ParagraphList
6534
6535         * lyxtext.[Ch] (workWidth): add a const
6536
6537 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * texrow.[Ch] (increasePos): remove function
6540         * exporter.C (export): removed unused var and outdated comment
6541
6542 2003-05-23  Angus Leeming  <leeming@lyx.org>
6543
6544         * latexrunparams.h: rename fragile as moving_arg.
6545         * paragraph.C (simpleTeXOnePar): ditto.
6546         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6547
6548 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6551         (createUndo): ditto
6552         (textUndoOrRedo): comment out a currently unused var.
6553
6554         * paragraph.h (NO_NEXT): enable NO_NEXT
6555
6556         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6557
6558         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6559
6560         * exporter.C (Export): adjust for removeAutoInsets removal.
6561
6562         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6563
6564         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6565
6566         * BufferView.[Ch] (removeAutoInsets): delete function
6567
6568 2003-05-22  Angus Leeming  <leeming@lyx.org>
6569
6570         * latexrunparams.h: add a free_spacing variable.
6571
6572         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6573         to pass moving_arg, as the data is stored in runparams.fragile.
6574
6575         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6576         to Inset::latexOptional or to simpleTeXOnePar.
6577
6578         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6579         free_spacing arg to Inset::latexOptional.
6580
6581         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6582         free_spacing arg.
6583
6584 2003-05-22  Angus Leeming  <leeming@lyx.org>
6585
6586         * latexrunparams.h: add fragile and use_babel variables.
6587
6588         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6589         * buffer.C (makeLaTeXFile): store this returned value in
6590         runparams.use_babel, thus passing it to the inset::latex methods.
6591
6592         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6593         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6594
6595         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6596         longer has a fragile arg, as it is stored in runparams.fragile.
6597
6598         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6599         moving_arg parameter as the data is stored in runparams.fragile.
6600
6601         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6602         a fragile parameter as the data is stored in runparams.fragile.
6603
6604 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6607
6608 2003-05-22  Angus Leeming  <leeming@lyx.org>
6609
6610         * latexrunparams.h: add a 'bool nice' which defaults to false.
6611
6612         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6613         now encapsulated within runparams.
6614
6615         * bufferlist.C (updateIncludedTeXfiles):
6616         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6617
6618 2003-05-22  Angus Leeming  <leeming@lyx.org>
6619
6620         * latexrunparams.h: new file containing struct LatexRunParams.
6621         * Makefile.am: add new file.
6622
6623         * LaTeX.[Ch] (c-tor, run):
6624         * buffer.[Ch] (makeLaTeXFile):
6625         * bufferlist.[Ch] (updateIncludedTeXfiles):
6626         * converter.C (convert, scanLog):
6627         * converter.[Ch] (runLaTeX):
6628         * exporter.C (Export):
6629         * paragraph.[Ch] (simpleTeXOnePar):
6630         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6631         * paragraph_funcs.[Ch] (latexParagraphs):
6632         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6633         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6634         pass around a LatexRunParams parameter.
6635
6636 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * paragraph.[Ch]: remove unused constructor
6639
6640         * ParagraphList.C (erase): new function, taking two iterators
6641
6642 2003-05-22  André Pönitz  <poenitz@gmx.net>
6643
6644         * undo_funcs.C: remove duplicated code
6645
6646         * iterator.[Ch]: operator=
6647
6648 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * tabular.C (SetMultiColumn): ws changes
6651
6652         * rowpainter.C (paintFirst): get rid of a ->previous
6653
6654         * lyx_cb.C (getPossibleLabel): parlist simplification
6655
6656         * BufferView.C (ChangeInsets): simplify slightly.
6657
6658 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6659
6660         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6661         * lfuns.h: new LFUN_SPACE
6662         * lyxfunc.C: protected space has a new lfun
6663         * paragraph_funcs.C: read new space insets
6664         * text3.C:
6665         * factory.C: handle new space insets
6666
6667 2003-05-22  André Pönitz  <poenitz@gmx.net>
6668
6669         * BufferView.C:
6670         * BufferView_pimpl.C:
6671         * buffer.[Ch]:
6672         * lyxfunc.C:
6673         * undo_funcs.C: return a ParIterator from getParFromID.
6674
6675         * iterators.[Ch]: add two const's
6676
6677 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * toc.C (getTocList): adjust
6680
6681         * iterators.[Ch]: rework for parlist
6682
6683         * buffer.C (par_iterator_begin): adjust
6684         (par_iterator_end): adjust
6685
6686         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6687
6688         * BufferView.C (removeAutoInsets): adjust
6689         (ChangeInsets): adjust
6690
6691 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6692
6693         * text.C (top_y): fix bug 1110
6694
6695 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6696
6697         * errorlist.[Ch]: added
6698         * buffer.C:
6699         * BufferView.[Ch]:
6700         * BufferView_pimpl.C:
6701         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6702         instead
6703
6704 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6705
6706         * Makefile.am: ensure that lyx is relinked upon changes to the
6707         various "convenience" libs.
6708
6709 2003-05-20  Angus Leeming  <leeming@lyx.org>
6710
6711         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6712         files are compiled in alphabetical order again.
6713
6714         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6715
6716 2003-05-19  Angus Leeming  <leeming@lyx.org>
6717
6718         * gettext.[Ch]: remove "char const * _(char const *)".
6719
6720 2003-05-19  André Pönitz  <poenitz@gmx.net>
6721
6722         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6723
6724         * Makefile.am:
6725         * BufferView.C:
6726         * DepTable.h:
6727         * LaTeXFeatures.C:
6728         * buffer.C:
6729         * lyxfont.C:
6730         * lyxlex.h:
6731         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6732
6733 2003-05-19  André Pönitz  <poenitz@gmx.net>
6734
6735         * buffer.C:
6736         * lyxlayout.[Ch]:
6737         * lyxtextclass.[Ch]:
6738         * paragraph.C:
6739         * paragraph_funcs.[Ch]:
6740         * text2.C:
6741         * text3.C: more insetenv work
6742
6743 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * ParagraphParameters.C (params2string): small bug fixed
6746
6747 2003-05-16  André Pönitz  <poenitz@gmx.net>
6748
6749         * debug.C:
6750         * bufferview_funcs.C: patch from Kornel Benko to prevent
6751           crash when _(...) is called twice in a statement
6752
6753 2003-05-16  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView.C:
6756         * lyxfunc.C:
6757         * text.C:
6758         * text2.C:
6759         * text3.C:
6760         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6761
6762 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6763
6764         * lyx_main.C (init): remove spurious static_cast
6765
6766 2003-05-14  André Pönitz  <poenitz@gmx.net>
6767
6768         * BufferView.C: fix format string
6769
6770 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * BufferView.[Ch] (insertErrors): removed
6773         * BufferView.[Ch] (showErrorList): added
6774         * buffer.C (runChkTeX):
6775         * converter.C (scanLog): call showErrorList instead of inserterrors
6776
6777 2003-05-13  André Pönitz  <poenitz@gmx.net>
6778
6779         * BufferView_pimpl.C:
6780         * buffer.C:
6781         * bufferview_func.C:
6782         * MenuBackend.C:
6783         * lyxfunc.C:
6784         * lyxrc.C:
6785         * tex-accent.C:
6786         * text3.C:
6787         * toc.C:
6788         * tabular_funcs.h: tostr() from its own header
6789
6790         * ParagraphParameters.C:
6791         * ToolbarBackend.C:
6792         * bufferparams.C:
6793         * format.C:
6794         * lyxlex_pimpl.C:
6795         * text3.C: STRCONV()
6796
6797 2003-05-12  André Pönitz  <poenitz@gmx.net>
6798
6799         * BufferView.C:
6800         * BufferView_pimpl.C:
6801         * CutAndPaste.C:
6802         * LaTeX.C:
6803         * LaTeXFeatures.C:
6804         * ParagraphParameters.C:
6805         * buffer.C:
6806         * bufferlist.C:
6807         * bufferparams.C:
6808         * bufferview_funcs.C:
6809         * converter.C:
6810         * counters.C:
6811         * debug.C:
6812         * exporter.C:
6813         * format.C:
6814         * importer.C:
6815         * lyx_cb.C:
6816         * lyx_main.C:
6817         * lyxfont.C:
6818         * lyxfunc.C:
6819         * lyxvc.C:
6820         * paragraph.C:
6821         * paragraph_funcs.C:
6822         * tabular.C:
6823         * tabular_funcs.C:
6824         * text2.C:
6825         * text3.C:  boost::format -> bformat  all over the place
6826
6827
6828 2003-05-09  André Pönitz  <poenitz@gmx.net>
6829
6830         * LColor.[Ch]: Pimpl the #include <map> away
6831
6832 2003-05-09  John Levon  <levon@movementarian.org>
6833
6834         * bufferlist.C: never remove emergency saves
6835
6836 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * Makefile.am: better lib building
6839
6840 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6843         instead.
6844         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6845         (simpleTeXSpecialChars): adjust
6846         (simpleTeXSpecialChars): adjust
6847         * paragraph.C (simpleTeXOnePar): adjust
6848         * buffer.C (makeLaTeXFile): adjust
6849
6850         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6851
6852         * text2.C (changeDepth): parlist cleanup
6853         (getColumnNearX): ditto
6854
6855         * rowpainter.C (getLabelFont): parlist cleanup
6856
6857         * bufferlist.C (newFile): parlist cleanup
6858
6859         * CutAndPaste.C (eraseSelection): parlist cleanup
6860
6861         * BufferView_pimpl.C (trackChanges): parlist cleanup
6862         (dispatch): ditto
6863
6864         * BufferView.C (lockInset): parlist cleanup.
6865         (ChangeInsets): ditto
6866
6867 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * CutAndPaste.h: Update file header.
6870
6871         * CutAndPaste.C: Update file header.
6872         Store the parts cut out of the Document in a limited_stack.
6873         (copySelection): adjust
6874         (pasteSelection): new function, takes the index in the limited stack.
6875         (nrOfParagraphs): adjust
6876         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6877         simplify error inset insertion.
6878         (checkPastePossible): adjust
6879
6880 2003-05-06  John Levon  <levon@movementarian.org>
6881
6882         * text2.C: don't cast wrap inset to float
6883
6884 2003-05-05  André Pönitz  <poenitz@gmx.net>
6885
6886         * iterator.C:
6887         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6888
6889         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6890           few naked Paragraph *.
6891
6892 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6893
6894         * bufferparams.C: Output warning if a document with missing
6895         TeX document class is loaded
6896         * exporter.C: Disable TeX exports if the document class is missing
6897         * lyxtextclass.C:
6898         * lyxtextclass.h:
6899         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6900         isTeXClassAvailable()
6901
6902 2003-05-03  John Levon  <levon@movementarian.org>
6903
6904         * BufferView.h:
6905         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6906         explicit cursor show/hide
6907
6908         * BufferView_pimpl.h:
6909         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6910         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6911
6912         * lyxfunc.C: hide cursor before dispatching.
6913
6914         * lyx_cb.C:
6915         * lyxfind.C:
6916         * text.C:
6917         * text3.C: remove explicit cursor hides
6918
6919 2003-05-02  André Pönitz  <poenitz@gmx.net>
6920
6921         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6922
6923         * undo_funcs.C:
6924         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6925           linked lists
6926
6927         * text2.C: tiny whitespace
6928
6929 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * undo_funcs.C: almost only ws changes.
6932
6933         * ParagraphList.C (splice): just return if pl is empty.
6934
6935 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * ParagraphList.C (splice): new function.
6938
6939         * CutAndPaste.C (pasteSelection): use it
6940
6941 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * CutAndPaste.C (pasteSelection): remove the last next and
6944         previous from this file.
6945
6946 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * CutAndPaste.C (pasteSelection): more clean up, user proper
6949         ParagraphList functions for pasteing.
6950
6951         * ParagraphList.C (insert): new function, three arg insert
6952
6953 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * ParagraphList.C (insert): new function, three arg insert
6956
6957         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6958         not on paragraphs.
6959
6960 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6963
6964 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6967
6968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6971         (copySelection): clean up a bit.
6972         (pasteSelection): use make_pair
6973
6974         * ParagraphList.C (ParagraphList): implement copy constructor
6975         (operator=): implement, base on copy constructor.
6976         (assign): new func
6977
6978         * paragraph.C (erase): return a bool
6979
6980         * paragraph_pimpl.C (erasePos): remove function, move contents...
6981         (erase): ... here. Return a bool.
6982         (erase): call erase instead of erasePos.
6983
6984 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6985
6986         * ParagraphList.h: define PitPosPair
6987         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6988         ParagraphList, fix a bug on pasting multiple pars
6989         * text2.C: change interface to C&P
6990
6991 2003-04-30  André Pönitz  <poenitz@gmx.net>
6992
6993         * undo_func.C: revert part of yesterday's patch 2
6994
6995 2003-04-30  John Levon  <levon@movementarian.org>
6996
6997         * LColor.C: s/tabular/table/
6998
6999 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * text3.C (dispatch): do not convert iterator -> pointer
7002         * undo_funcs.C (setCursorParUndo): ditto
7003         * text_funcs.C (transposeChars): ditto
7004
7005         * text2.C (setLayout): ws changes only
7006
7007         * text.C (breakParagraph): do not convert iterator -> pointer
7008         (insertChar): ditto
7009         (acceptChange): ditto
7010         (rejectChange): ditto
7011         (changeCase): ditto
7012         (Delete): ditto
7013         (backspace): ditto
7014
7015         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7016         pointer
7017
7018 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7019
7020         * text3.C (gotoInset): YABG (yet another bad getChar)
7021
7022 2003-04-29  André Pönitz  <poenitz@gmx.net>
7023
7024         * paragraph.h: make operator= private unimplemented as long as
7025           it is unusable
7026
7027         * ParagraphList.C: whitespace
7028
7029         * paragraph.[Ch]:
7030         * paragraph_pimpl.[Ch]:
7031         * paragraph_funcs.C:
7032         * CutAndPaste.C:
7033         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7034
7035         * text2.C:
7036           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7037
7038 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7041         * paragraph.[Ch] (erase):
7042         * paragraph_pimpl.[Ch] (erase): change return type and value
7043         * text2.C (cutSelection): some rework
7044
7045 2003-04-28  John Levon  <levon@movementarian.org>
7046
7047         * bufferlist.C: changes for unsaved changes dialog
7048
7049 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * bufferlist.C (newFile): set language (messages_) for new
7052         documents also.
7053
7054         * buffer.C (readFile): ws changes only.
7055
7056 2003-04-28  André Pönitz  <poenitz@gmx.net>
7057
7058         * undo_funcs.C:
7059         * lyxfunc.C:
7060         * buffer.[Ch]:
7061         * BufferView_pimpl.C:
7062         * BufferView.C: getParFromID related ParagraphList::iterator changes
7063
7064 2003-04-28  André Pönitz  <poenitz@gmx.net>
7065
7066         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7067           Changes
7068
7069 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * messages.C: remove one more localedir class variable.
7072
7073 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7074
7075         * messages.C (getLocaleDir): singleton generation function
7076         (Pimpl): use it.
7077         (Messages): add a default constructor.
7078
7079         * main.C (main): do not setup localedir here, do not call
7080         gettext_init.
7081
7082         * gettext.C (_): use it.
7083         (gettext_init): delete funciton
7084
7085 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * gettext.C (getLyXMessages): new singleton generating function.
7088
7089         * buffer.C (updateDocLang): adjust
7090
7091         * Makefile.am (messages.o): add target
7092         (main.o): remove target
7093
7094 2003-04-27  John Levon  <levon@movementarian.org>
7095
7096         * bufferlist.C:
7097         * lyx_cb.C:
7098         * lyxfunc.C:
7099         * lyxvc.C: specify cancel button in Alert::prompt
7100
7101 2003-04-26  John Levon  <levon@movementarian.org>
7102
7103         * text3.C:
7104         * lyxfunc.C:
7105         * lfuns.h:
7106         * LyXAction.C: add LFUN_INSET_SETTINGS
7107
7108         * lyxfunc.C: don't enable tabular-feature when there's
7109         just any locking inset
7110
7111 2003-04-26  John Levon  <levon@movementarian.org>
7112
7113         * bufferlist.C: re-add Cancel to buffer close question
7114
7115         * lyxfunc.C: fix import UI a bit
7116
7117 2003-04-25  John Levon  <levon@movementarian.org>
7118
7119         * gettext.C: remove the broken asserts for now
7120
7121 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * messages.C: make case where setlocale cannot comply work better.
7124
7125         * buffer.C (updateDocLang): new function
7126         (changeLanguage): use it
7127         (readFile): use it
7128
7129         * text2.C (setCounter): use B_ a bit.
7130
7131         * lyxlayout.C (Read): be sure to trim the label strings.
7132
7133         * messages.C (Messages): fix typo in comment
7134
7135         * buffer.C (readFile): set message_ after file is loaded.
7136         (makeDocBookFile): remove double return
7137         (changeLanguage): reset message_ upon language change.
7138         (B_): new func, use this to get translated buffer strings.
7139
7140         * main.C: add myself and Jean Marc as authors.
7141
7142 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * messages.[hC]: pimplify Messages, and three different pimpls to be
7145         used in different circumstances.
7146
7147         * gettext.[Ch]: change for use with new message code.
7148
7149 2003-04-24 André Pönitz <poenitz@gmx.net>
7150
7151         * factory.C: support for eqref
7152
7153 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * messages.[Ch]: add missing char
7156
7157         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7158
7159         * messages.[Ch]: New files
7160
7161 2003-04-18  John Levon  <levon@movementarian.org>
7162
7163         * BufferView.h:
7164         * BufferView.C:
7165         * BufferView_pimpl.C:
7166         * lfuns.h:
7167         * LyXAction.C:
7168         * lyxtext.h:
7169         * text2.C: remove layout-copy/paste (bug 778)
7170
7171 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7172
7173         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7174
7175 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7176
7177         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7178         if they succeed. Act accordingly.
7179
7180 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * text2.C (setCharFont): adjust
7183         (setCounter): adjust
7184         (insertStringAsLines): adjust
7185
7186         * text.C (leftMargin): adjust
7187         (setHeightOfRow): adjust
7188
7189         * rowpainter.C (paintFirst): adjust
7190         (paintLast): adjust
7191
7192         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7193         (outerHook): ditto
7194         (isFirstInSequence): ditto
7195         (getEndLabel): ditto
7196         (outerFont): adjust
7197
7198         * paragraph.C (getParLanguage): comment out some hard stuff.
7199
7200         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7201         (sgmlError): ditto
7202         (simpleDocBookOnePar): ditto
7203         (makeDocBookFile): use ParagraphList::iterator
7204
7205         * CutAndPaste.C (pasteSelection): adjust
7206
7207 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * text2.C (getFont): adjust
7210         (getLayoutFont): adjust
7211         (getLabelFont): adjust
7212
7213         * paragraph_funcs.C (TeXOnePar): adjust
7214
7215         * buffer.C (simpleLinuxDocOnePar): adjust
7216         (simpleDocBookOnePar): adjust
7217
7218         * CutAndPaste.C (pasteSelection): adjust
7219
7220         * BufferView.C (getEncoding): adjust
7221
7222         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7223
7224 2003-04-16  John Levon  <levon@movementarian.org>
7225
7226         * lyxfind.C: use parlist stuff for search/changes
7227
7228 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7231
7232         * text2.C (deleteEmptyParagraphMechanism): adjust
7233
7234         * text2.[Ch] (ownerParagraph): delete func (both of them
7235
7236 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7239
7240 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * ParagraphList.C: prepare for NO_NEXT
7243
7244 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * text2.C (getFont): adjust
7247         (getLayoutFont): adjust
7248         (getLabelFont): adjust
7249
7250         * paragraph.C (getFont): adjust
7251         (getLabelFont): adjust
7252         (getLayoutFont): adjust
7253
7254         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7255
7256 2003-04-15  John Levon  <levon@movementarian.org>
7257
7258         From Angus Leeming
7259
7260         * lyx_main.C: handle Include in .ui files
7261
7262 2003-04-15  John Levon  <levon@movementarian.org>
7263
7264         * MenuBackend.C: make the doc files length shorter
7265
7266         * ToolbarBackend.h:
7267         * ToolbarBackend.C: handle toolbar placement flags,
7268         Minibuffer
7269
7270 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7273         adjust
7274
7275         * paragraph_funcs.C (TeXOnePar): adjust
7276
7277         * paragraph.C (getLabelFont): add outerfont arg, adjust
7278         (getLayoutFont): ditto
7279         (simpleTeXOnePar): adjust
7280
7281         * paragraph_pimpl.C (realizeFont): delete func
7282
7283 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7284
7285         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7286         row argument, constify cur argument.
7287
7288 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * text2.C (getFont): adjust
7291         (getLayoutFont): adjust
7292         (getLabelFont): adjust
7293
7294         * paragraph_funcs.C (TeXOnePar): adjust
7295         (outerFont): new func...
7296         (realizeFont): ...moved out from here, changed this to facilitate
7297         transition
7298
7299         * paragraph.C (getFont): take outerfont as arg, adjust
7300         (simpleTeXOnePar): add outerfont arg, adjust
7301
7302         * buffer.C (simpleLinuxDocOnePar): adjust
7303         (simpleDocBookOnePar): adjust
7304
7305         * CutAndPaste.C (pasteSelection): adjust
7306
7307         * BufferView.C (getEncoding): adjust
7308
7309 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * text2.C (setCharFont): adjust
7312         (setCounter): adjust
7313
7314         * text.C (leftMargin): adjust
7315         (setHeightOfRow): adjust
7316
7317         * rowpainter.C (paintFirst): adjust
7318         (paintLast): adjust
7319
7320         * paragraph_pimpl.C (realizeFont): adjust
7321
7322         * paragraph.C (isFirstInSequence): move from here...
7323         * paragraph_funcs.C (isFirstInSequence): ...to here
7324
7325         * paragraph.C (outerHook): move from here...
7326         * paragraph_funcs.C (outerHook): ...to here
7327
7328         * paragraph.C (depthHook): move from here...
7329         * paragraph_funcs.C (depthHook): ...to here
7330
7331         * paragraph.C (getEndLabel): move from here...
7332         * paragraph_funcs.C (getEndLabel): ...to here
7333
7334         * text2.C (realizeFont): move from here...
7335         * paragraph_funcs.C (realizeFont): ...to here
7336
7337 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7338
7339         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7340
7341 2003-04-14  Angus Leeming  <leeming@lyx.org>
7342
7343         * LColor.[Ch]: scrap LColor mathcursor.
7344
7345 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * lyxlex.[Ch] (text): delete function
7348         * trans.C (Load): adjust
7349         * paragraph_funcs.C (readParToken): adjust
7350
7351 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7354         vector<char> instead of a char[].
7355
7356         * lyxlex_pimpl.C (getString): adjust
7357         (next): adjust
7358         (lex): use getString
7359         (eatLine): adjust
7360         (nextToken): adjust
7361
7362         * lyxlex.C (text): use pimpl_->getString()
7363         (getBool): ditto
7364         (findToken): ditto
7365
7366 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7369         (makeFontEntriesLayoutSpecific): temp var for par.size()
7370         (setLayout): temp var for ownerParagraphs().end()
7371         (fullRebreak): temp var for rows().end()
7372         (selectionAsString): temp var for boost::next(startpit), realize
7373         that the while really is a regular for loop.
7374         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7375         setCursor in one place.
7376         (setParagraph): temp vr for ownerParagraphs().end()
7377         (updateCounters): make the while loop a for loop
7378         (cutSelection): temp var for ownerParagraphs().end()
7379         (updateInset): make the do {} while() a regular for loop
7380         (getCursorX): use temp vars
7381         (setCurrentFont): use temp vars
7382         (getColumnNearX): use temp vars
7383
7384 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * text.C (transformChar): use temp var for getChar
7387         (computeBidiTables): use temp var for row->par()
7388         (fill): move temp vars for row->par() and pit->layout() earlier in
7389         the function.
7390         (labelFill): use temp var for row->par()
7391         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7392         asc and desc, realize that pit never changes and that firstpit is
7393         just a duplicate and not needed. Exchange rit->par() with pit in a
7394         lot of places.
7395         (breakAgain): use a temp var for boost::next(rit)
7396         (breakAgainOneRow): ditto
7397         (breakParagraph): use a temp var for rows().begin()
7398         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7399         (cursorRightOneWord): use temp var for cursor.par() and
7400         cursor.pos(), remove usage of tmpcursor.
7401         (cursorLeftOneWord): use temp var for cursor.par() and
7402         cursor.pos() only set cur at end of function.
7403
7404 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7405
7406         * text.C, text2.C: exchange all usage of Paragraph::next with
7407         boost::next(ParagraphList::iterator)
7408
7409         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7410
7411         * text2.C (cursorTop): simplify implementation
7412         (cursorBottom): ditto
7413         (setParagraph): use ParagraphList::iterator
7414         (setCurrentFont): adjust
7415         (getColumnNearX): adjust
7416         (cursorRight): adjust
7417         (cursorLeft): remove usage of Paragraph::previous
7418         (cursorUpParagraph): ditto
7419         (deleteEmptyParagraphMechanism): slight cleanup
7420
7421         * text.C (isBoundary): take a Paragraph const & instead of a
7422         pointer as arg.
7423         (addressBreakPoint): ditto
7424         (leftMargin): remove usage of Paragraph::previous.
7425         (setHeightOfRow): ditto
7426         (cursorLeftOneWord): ditto
7427         (selectNextWordToSpellcheck): ditto
7428         (Delete): ditto
7429         (backspace): ditto
7430         (breakParagraph): remove one usage of Paragraph::next
7431         (redoParagraph): ditto
7432         (acceptChange): ditto
7433         (insertChar): adjust
7434         (rowBreakPoint): adjust
7435
7436         * bufferview_funcs.C (toggleAndShow): adjust
7437
7438 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7439
7440         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7441         methods to access it.
7442         * lyxtext.h:
7443         * text.C: Added updateRowPositions to compute all row positions.
7444         Make top_y and getRowNearY() to use the cached y position
7445
7446 2003-04-11  John Levon  <levon@movementarian.org>
7447
7448         * text.C (rowBreakPoint): reintroduce the labelEnd
7449         checks, code copied from the row fill stuff. Deep voodoo.
7450
7451         * text.C (fill): add a comment and debugging for the
7452         next poor soul.
7453
7454 2003-04-11  John Levon  <levon@movementarian.org>
7455
7456         * text.C: make sure fullrow insets get wrapped to the next line,
7457         even when they're in a manual label
7458
7459 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * text2.C (insertParagraph): make it take ParagraphList::iterator
7462         as arg.
7463         (setLayout): make it return ParagraphList::iterator
7464         (redoParagraphs): ditto
7465         (setCounter): ditto
7466         (checkParagraph): ditto
7467
7468         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7469
7470         * text2.C: adjust several funcs.
7471         (realizeFont): take a ParagraphList::iterator as arg.
7472         (getLayoutFont): ditto
7473         (getLabelFont): ditto
7474         (setCharFont): ditto
7475
7476         * text.C: adjust several funcs.
7477
7478 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7479
7480         * text.C (selectNextWordToSpellcheck): don't accidentally
7481         skip insets
7482
7483 2003-04-10  John Levon  <levon@movementarian.org>
7484
7485         * ToolbarBackend.C (getIcon): special handling for
7486         LFUN_MATH_DELIM
7487
7488 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7489
7490         * text2.C (cursorRight): a getChar assert fixed
7491
7492 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * text2.C (getFont): change to take a ParagraphList::iterator
7495         instead of Paragraph*
7496         Adjust several functions.
7497
7498         * text.C (transformChar): change to take a ParagraphList::iterator
7499         instead of Paragraph*
7500         (singleWidth): ditto
7501         Adjust several functions.
7502
7503         * rowpainter.C: adjust several functions
7504         * rowpainter.h:store a ParagraphList::iterator and not a
7505         Paragraph&.
7506
7507
7508 2003-04-09  John Levon  <levon@movementarian.org>
7509
7510         * lyxfunc.C:
7511         * lfuns.h:
7512         * LyXAction.h:
7513         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7514         and the "help" bits as well
7515
7516 2003-04-09  John Levon  <levon@movementarian.org>
7517
7518         * ToolbarBackend.h:
7519         * ToolbarBackend.C: allow multiple toolbars
7520
7521 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * undo_funcs.C (setCursorParUndo): adjust
7524
7525         * text_funcs.C (transposeChars): adjust
7526
7527         * text3.C (gotoNextInset): adjust
7528         (dispatch): adjust
7529
7530         * text2.C (setLayout): adjust
7531         (changeDepth): adjust
7532         (setFont): adjust
7533         (redoParagraphs): adjust
7534         (selectionAsString): adjust
7535         (setParagraph): adjust
7536         (insertInset): adjust
7537         (cutSelection): adjust
7538         (copySelection): adjust
7539         (pasteSelection): adjust
7540         (insertStringAsLines): adjust
7541         (updateInset): adjust
7542         (setCursor): change to take a ParagraphList::iterator parameter
7543         (setCursorIntern): change to take a ParagraphList::iterator parameter
7544         (setCurrentFont): adjust
7545         (cursorLeft): adjust
7546         (cursorRight): adjust
7547         (deleteEmptyParagraphMechanism): adjust
7548
7549         * text.C (breakParagraph): adjust
7550         (insertChar): adjust
7551         (acceptChange): adjust
7552         (rejectChange): adjust
7553         (selectNextWordToSpellcheck): adjust
7554         (changeCase): adjust
7555         (Delete): adjust
7556         (backspace): adjust
7557
7558         * lyxfind.C (SearchForward): adjust
7559         (SearchBackward): adjust
7560         (nextChange): adjust
7561
7562         * lyxcursor.C (par): adjust
7563
7564         * lyxcursor.h: store a ParagraphList::iterator instead of a
7565         Paragraph*
7566
7567         * lyx_cb.C (getPossibleLabel): adjust
7568
7569         * bufferview_funcs.C (toggleAndShow): adjust
7570
7571         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7572         (dispatch): adjust
7573
7574         * BufferView.C (removeAutoInsets): adjust
7575         (lockedInsetStoreUndo): adjust
7576
7577 2003-04-09  John Levon  <levon@movementarian.org>
7578
7579         * ToolbarBackend.C: try icon without argument
7580         if with argument fails
7581
7582 2003-04-08  John Levon  <levon@movementarian.org>
7583
7584         * ToolbarBackend.h:
7585         * ToolbarBackend.C: add getIcon(), handle tooltip,
7586         and change from "Icon" to "Item".
7587
7588 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7589
7590         * BufferView.C (lockInset): another bad getchar crunched
7591
7592 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7593
7594         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7595         again)
7596
7597 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7598
7599         * lyxfind.C (searchForward, searchBackwards): bug 782
7600
7601 2003-04-07  John Levon  <levon@movementarian.org>
7602
7603         * paragraph.C: remove dead comment
7604
7605         * text.C: remove troublesome depth-fiddling code
7606         in leftMargin() and rightMargin() (bug 1017)
7607
7608         * text.C: fix breaking of rows in nested lists
7609         (bug 1004)
7610
7611         * text2.C (updateCounters): fix up depth values
7612         (bug 1013)
7613
7614 2003-04-07  John Levon  <levon@movementarian.org>
7615
7616         * BufferView_pimpl.C: clear message when doc finishes resizing,
7617         and after a mouse event
7618
7619         * lyxfunc.C: clear message after exiting inset
7620
7621 2003-04-07  John Levon  <levon@movementarian.org>
7622
7623         * bufferview_funcs.C: show math status not outside
7624         status in the statusbar
7625
7626 2003-04-07  John Levon  <levon@movementarian.org>
7627
7628         * lyxfunc.C: note status changed after a depth change
7629
7630 2003-04-04  Angus Leeming  <leeming@lyx.org>
7631
7632         * LaTeX.h: move AuxInfo operator==, != out of line.
7633         Remove LaTeX virtual destructor; nothing derives from it.
7634         Move operator()() out of public area and rename it startscript().
7635         Change protected for private.
7636
7637 2003-04-04  Angus Leeming  <leeming@lyx.org>
7638
7639         * lyxfunc.C:
7640         * text2.C: remove unneeded #includes.
7641
7642 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7643
7644         * text2.C (dEPM): fix the heigth of the next row
7645
7646 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7647
7648         * text.C: squashed an invalid getChar requester + some ws changes
7649
7650 2003-04-03  John Levon  <levon@movementarian.org>
7651
7652         * bufferview_funcs.h:
7653         * bufferview_funcs.C:
7654         * lyxfunc.C:
7655         * lyxtext.h:
7656         * text2.C: make getStatus work for the env depth lfuns
7657
7658 2003-04-03  John Levon  <levon@movementarian.org>
7659
7660         * bufferview_funcs.h:
7661         * bufferview_funcs.C:
7662         * lyxfunc.C:
7663         * lyxtext.h:
7664         * text2.C: parlistize decDepth(), by merging it with incDepth()
7665
7666 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * lyxrow.h: store a ParagraphList::iterator instead of a
7669         Paragraph* and adjust other class functions to suit.
7670
7671         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7672         above.
7673
7674 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7675
7676         * text2.C (setCursor): do not anchor to cursor row for the time being
7677
7678 2003-04-02  John Levon  <levon@movementarian.org>
7679
7680         * LyXAction.C:
7681         * lfuns.h:
7682         * lyx_main.C:
7683         * lyxtext.h:
7684         * text.C:
7685         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7686
7687 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * paragraph.h: make ParagraphList and ParagraphList::iterator
7690         friends of Paragraph.
7691
7692         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7693
7694         * ParagraphList.C: Use the private next_ and previous_ from
7695         Paragraph.
7696
7697 2003-04-01  John Levon  <levon@movementarian.org>
7698
7699         * ToolbarBackend.h:
7700         * ToolbarBackend.C:
7701         * Makefile.am: rename, remove defaults gunk
7702
7703         * MenuBackend.h:
7704         * MenuBackend.C: remove defaults gunk
7705
7706         * Languages.h:
7707         * Languages.C: remove defaults gunk
7708
7709         * lyx_main.h:
7710         * lyx_main.C: error out if files couldn't be found.
7711
7712 2003-04-02  John Levon  <levon@movementarian.org>
7713
7714         * text2.C: make incDepth() use parlist
7715
7716 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * undo_funcs.C (firstUndoParagraph): adjust
7719
7720         * text3.C (gotoInset): adjust
7721         (dispatch): adjust, and rewrite loop.
7722
7723         * text2.C (init): adjust, and rewrite loop.
7724         (redoParagraphs): adjust
7725         (updateInset): adjust, and rewrite loop.
7726         (deleteEmptyParagraphMechanism): adjust
7727
7728         * tabular.C (LyXTabular): adjust
7729         (SetMultiColumn): adjust
7730         (TeXRow): adjust
7731
7732         * lyxtext.[Ch] (ownerParagraph): delete function
7733         (ownerParagraphs): new function returns a ParagraphList.
7734
7735         * BufferView.C (removeAutoInsets): adjust
7736         (insertErrors): adjust
7737         (setCursorFromRow): adjust
7738
7739 2003-04-01  Angus Leeming  <leeming@lyx.org>
7740
7741         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7742         in the frontends.
7743
7744 2003-04-02  John Levon  <levon@movementarian.org>
7745
7746         * lyxtext.h:
7747         * text.C:
7748         * Makefile.am:
7749         * text_funcs.h:
7750         * text_funcs.C: make transposeChars a free function
7751
7752         * lyxrow_funcs.C: remove wrong comment
7753
7754 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * lyxtext.h: adjust
7757         * rowpainter.C: adjust
7758         * text.C: adjust
7759         * text2.C: adjust
7760         * text3.C: adjust
7761
7762         * lyxrow_funcs. [Ch]: new files
7763
7764         * lyxrow.[Ch]: remove next and previous pointers
7765         (next,previous): remove accessor functions
7766         (isParEnd): move to lyxrow_funcs
7767         (lastPos): move to lyxrow_funcs
7768         (nextRowIsAllInset): move to lyxrow_funcs
7769         (lastPrintablePos): move to lyxrow_funcs
7770         (numberOfSeparators): move to lyxrow_funcs
7771         (numberOfHfills): move to lyxrow_funcs
7772         (numberOfLabelHfills): move to lyxrow_funcs
7773         (hfillExpansion): move to lyxrow_funcs
7774
7775         * lyxfunc.C: adjust
7776
7777         * bufferview_funcs.C (toggleAndShow): adjust
7778
7779         * RowList.h: Remove class RowList from file leave just a
7780         std::list<Row>.
7781
7782         * RowList.C: delete file
7783
7784         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7785         and lyxrow_funcs.h
7786
7787 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * text3.C (cursorPrevious): adjust
7790         (cursorNext): adjust
7791         (dispatch): adjust
7792
7793         * text2.C (redoHeightOfParagraph): adjust
7794         (redoDrawingOfParagraph): adjust
7795         (setCursor): adjust
7796
7797         * text.C (breakParagraph): adjust
7798         (insertChar): adjust
7799         (backspace): adjust
7800
7801         * rowpainter.C (RowPainter): adjust
7802         (leftMargin): simplify and adjust
7803         (most rowpainter functions): adjust.
7804
7805         * rowpainter.h: store the row as RowList::iterator not as Row*
7806
7807         * lyxcursor.C (row): taka RowList::iterator as arg
7808         (irow): ditto
7809
7810         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7811         of Row*.
7812
7813 2003-04-01  Angus Leeming  <leeming@lyx.org>
7814
7815         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7816         stuff like bool Bool.
7817
7818 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7819
7820         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7821         rewrite a loop
7822
7823 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7826         RowList::iterator.
7827
7828         * lyxtext.h (rows): drop one version and leve a const variant that
7829         returns a RowList::iterator.
7830
7831 2003-03-31  Angus Leeming  <leeming@lyx.org>
7832
7833         * text.C (fill): ensure that the signature is the same as that in the
7834         header file.
7835
7836 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * text2.C (redoParagraphs): adjust
7839         (updateCounters): adjust
7840         (checkParagraph): adjust
7841         (getColumnNearX): adjust and reformat a bit.
7842
7843         * text.C (top_y): adjust
7844         (workWidth): adjust
7845         (leftMargin): adjust
7846         (prepareToPrint): adjust
7847         (getRow): adjust
7848         (getRowNearY): adjust
7849
7850         * lyxtext.h: make rowlist_ mutable.
7851
7852         * RowList.h: add const_iterator
7853         * RowList.C: adjust for RowList::const_iterator.
7854
7855         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7856         adjust.
7857
7858 2003-03-31  John Levon  <levon@movementarian.org>
7859
7860         * lyxrc.h:
7861         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7862
7863         * lyx_main.C: set default fonts from using lyx_gui funcs
7864
7865         * exporter.C: pdf_mode moved from lyxrc
7866
7867         * lyx_cb.C:
7868         * lyxfunc.C: changes from above
7869
7870 2003-03-31  John Levon  <levon@movementarian.org>
7871
7872         * lyx_main.C: fix to the last fix
7873
7874 2003-03-31  John Levon  <levon@movementarian.org>
7875
7876         * bufferlist.C: "Load original" -> "Load Original"
7877
7878         * converter.C:
7879         * exporter.C:
7880         * importer.C:
7881         * lyx_main.C:
7882         * format.C: more Alert cleanups
7883
7884 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * text2.C (removeParagraph): make it take a RowList::iterator as
7887         arg, adjust.
7888         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7889         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7890
7891         * text.C (anchor_row): make it take a RowList::iterator as arg,
7892         adjust.
7893         (computeBidiTables): make it take a const reference to Row instead
7894         of Row pointer, adjust.
7895         (leftMargin): make it take a RowList::iterator as arg, adjust.
7896         (rowBreakPoint): adjust
7897         (breakAgainOneRow): make it take a RowList::iterator as arg,
7898         adjust.
7899         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7900
7901         * bufferview_funcs.C (toggleAndShow): adjust
7902
7903 2003-03-30  John Levon  <levon@movementarian.org>
7904
7905         * Makefile.am:
7906         * BoostFormat.h:
7907         * boost-inst.C: moved to support
7908
7909         * several files: changes as a result
7910
7911 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * text2.C (LyXText): adjust.
7914         (init): adjust
7915         (removeRow): make it take a RowList::iterator as arg, adjust.
7916         (fullRebreak): adjust
7917         (deleteEmptyParagraphMechanism): adjust
7918         (clearPaint): adjust
7919         (postPaint): adjust
7920
7921         * text.C (top_y): adjust
7922         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7923         (breakAgain): make it take a RowList::iterator as arg, adjust.
7924         (breakParagraph): adjust
7925         (insertChar): adjust
7926         (backspace): adjust
7927
7928         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7929         need_break_row, and refresh_row.
7930
7931         * text3.C (dispatch): adjust
7932
7933         * text2.C (checkParagraph): adjust
7934         (setCursor): adjust
7935         (setCursorFromCoordinates): adjust
7936
7937         * text.C (top_y): adjust
7938         (workWidth): adjust
7939         (getRow): make it return a RowList::iterator, adjust
7940         (getRowNearY): make it return a RowList::iterator, adjust
7941
7942         * text2.C (init): adjust
7943         (insertRow): remove function
7944         (insertParagraph): adjust
7945         (redoParagraphs): adjust
7946         (fullRebreak): adjust
7947         (updateCounters): adjust
7948
7949         * text.C (top_y): rewrite to use RowList iterators.
7950         (top_y): adjust
7951         (setHeightOfRow): rewrite to sue RowList iterators.
7952         (appendParagraph): adjust
7953         (breakAgain): adjust
7954         (breakAgainOneRow): adjust
7955         (breakParagraph): adjust
7956         (getRow): adjust
7957         (getRowNearY): adjust, and remove commented code.
7958
7959         * lyxtext.h (firstRow): delete function
7960         (lastRow): delete function
7961         (rows): new function (const and non-const versions.)
7962         (insertRow): delete function
7963
7964         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7965
7966 2003-03-29  John Levon  <levon@movementarian.org>
7967
7968         * BufferView_pimpl.C: always update scrollbar top
7969         because pasting text when we're anchored could mean we
7970         miss an update altogether
7971
7972 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * text2.C (init): use rowlist_.end() and not 0.
7975         (insertRow): change to take a RowList::iterator as arg, adjust
7976         for this.
7977         (insertParagraph): change to take a RowList::iterator as arg,
7978         adjust for this.
7979         (redoParagraphs): remove some debug msgs.
7980
7981         * text.C (appendParagraph): change to take a RowList::iterator
7982         arg, adjust for this.
7983         (breakAgain): add an assert
7984         (breakAgainOneRow): ditto
7985
7986 2003-03-29  John Levon  <levon@movementarian.org>
7987
7988         * text2.C: do not clear selection after inc/decDepth
7989         (bug 550)
7990
7991 2003-03-29  John Levon  <levon@movementarian.org>
7992
7993         * BufferView.C:
7994         * buffer.C: fix broken strerrors according to Lars
7995
7996 2003-03-29  John Levon  <levon@movementarian.org>
7997
7998         * converters.C: more Alert cleanups
7999
8000 2003-03-29  John Levon  <levon@movementarian.org>
8001
8002         * bufferview_funcs.C: remove pointless Alert
8003
8004         * buffer.C: fix confusing error message when
8005         a template is chmoded 000
8006
8007 2003-03-29  John Levon  <levon@movementarian.org>
8008
8009         * BufferView.C:
8010         * BufferView.h:
8011         * BufferView_pimpl.C: Alert fixes
8012
8013         * Makefile.am:
8014         * tabular.C:
8015         * tabular-old.C: remove unused table compat reading
8016
8017 2003-03-29  John Levon  <levon@movementarian.org>
8018
8019         * BufferView.C:
8020         * buffer.C:
8021         * lyx_cb.h:
8022         * lyx_cb.C: more Alert cleanups
8023
8024         * lyxfunc.C: don't allow chktex if not latex document
8025
8026 2003-03-29  John Levon  <levon@movementarian.org>
8027
8028         * lyx_cb.C:
8029         * BufferView.C:
8030         * buffer.C: warnings pushed down from support/,
8031         kill err_alert
8032
8033 2003-03-29  John Levon  <levon@movementarian.org>
8034
8035         * lyxfunc.C: safety check for C-r (revert)
8036
8037 2003-03-29  John Levon  <levon@movementarian.org>
8038
8039         * bufferlist.h:
8040         * bufferlist.C: several UI fixes using Alert::prompt.
8041         Fix the pointless looping quit code. Fix stupid revert
8042         behaviour (bug 938)
8043
8044         * lyxvc.h:
8045         * lyxvc.C:
8046         * lyx_cb.C: use Alert::prompt
8047
8048         * lyx_main.C: remove a silly question
8049
8050         * lyxfunc.C: remove a couple of silly questions,
8051         use Alert::prompt
8052
8053 2003-03-28  John Levon  <levon@movementarian.org>
8054
8055         * text2.C: fix bug 974 (End on empty par)
8056
8057 2003-03-28  John Levon  <levon@movementarian.org>
8058
8059         * BufferView_pimpl.C:
8060         * LyXAction.C:
8061         * lfuns.h: remove do-nothing math greek lfuns
8062
8063 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * lyxgluelength.h (isValidGlueLength): add default arg on
8066         parameter 2. Remove default arg from friend in class.
8067
8068         * lyxlength.h (isValidLength): add default arg on parameter 2.
8069         Remove default arg from friend in class.
8070
8071         * text2.C (LyXText): adjust, initialize refresh_row.
8072         (init): adjust
8073         (removeRow): adjust
8074         (insertRow): adjust
8075         (insertParagraph): adjst
8076         (redoParagraphs): adjust
8077         (fullRebreak): adjust
8078         (updateCounters): adjust
8079         (deleteEmptyParagraphMechanism): first attempt at fixing a
8080         crashing bug.
8081
8082         * text.C (top_y): adjust
8083         (setHeightOfRow): adjust
8084         (getRow): adjust
8085         (getRowNearY): adjust
8086
8087         * lyxtext.h: include RowList.h
8088         (~LyXText): not needed anymore, deleted.
8089         (firstRow): modify for RowList
8090         (lastRow): new function
8091         Delete firstrow and lastrow class variables, add a Rowlist
8092         rowlist_ class variable.
8093
8094         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8095         paragraph is empty.
8096
8097         * RowList.C (insert): fix case where it == begin().
8098
8099 2003-03-26  Angus Leeming  <leeming@lyx.org>
8100
8101         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8102         the thesaurus dialog.
8103
8104 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8105
8106         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8107
8108         * RowList.[Ch]: new files
8109
8110         * ParagraphList.C (erase): handle the case where it == begin
8111         correctly.
8112
8113 2003-03-25  John Levon  <levon@movementarian.org>
8114
8115         * Makefile.am:
8116         * aspell_local.h:
8117         * aspell.C: add new aspell support
8118
8119         * lyxrc.h:
8120         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8121         have it accessible.
8122
8123 2003-03-25  Angus Leeming  <leeming@lyx.org>
8124
8125         * lfuns.h:
8126         * LyXAction.C (init): new LFUN_INSET_INSERT.
8127
8128         * BufferView_pimpl.C (dispatch): split out part of the
8129         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8130
8131         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8132         LFUN_INSET_APPLY.
8133
8134 2003-03-25  Angus Leeming  <leeming@lyx.org>
8135
8136         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8137
8138 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8139
8140         * text2.C:
8141         * text3.C: remove useless row->height(0)
8142
8143 2003-03-25  John Levon  <levon@movementarian.org>
8144
8145         * lyxtext.h:
8146         * text2.C:
8147         * text3.C: rename the refreshing stuff to better names
8148
8149 2003-03-24  John Levon  <levon@movementarian.org>
8150
8151         * BufferView_pimpl.h:
8152         * BufferView_pimpl.C: update layout choice on a mouse
8153         press/release
8154
8155 2003-03-23  John Levon  <levon@movementarian.org>
8156
8157         * Makefile.am: fix commandtags.h reference
8158
8159 2003-03-22  John Levon  <levon@movementarian.org>
8160
8161         * BufferView_pimpl.C:
8162         * lyxtext.h:
8163         * rowpainter.C:
8164         * rowpainter.h:
8165         * text.C:
8166         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8167
8168 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8169
8170         * lyxtext.h:
8171         * text.C: take the rtl methods out of line
8172
8173 2003-03-21 André Pönitz <poenitz@gmx.net>
8174
8175         * metricsinfo.[Ch]: new files containing structures to be passed around
8176         during the two-phase-drawing...
8177
8178 2003-03-21 André Pönitz <poenitz@gmx.net>
8179
8180         * lyxtextclass.C: read 'environment' tag.
8181
8182 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8183
8184         * text2.C (removeRow): fix bug 964
8185
8186 2003-03-20  John Levon  <levon@movementarian.org>
8187
8188         * rowpainter.C:
8189         * text.C:
8190         * text2.C: paint cleanups. Inset::update() dropped font
8191         parameter
8192
8193 2003-03-19  John Levon  <levon@movementarian.org>
8194
8195         * lyxfunc.C: only fitcursor/markDirty if available()
8196
8197 2003-03-19  John Levon  <levon@movementarian.org>
8198
8199         * commandtags.h: rename to ...
8200
8201         * lfuns.h: ... this, and renumber / cleanup
8202
8203 2003-03-19  John Levon  <levon@movementarian.org>
8204
8205         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8206         fit the cursor after an lfun
8207
8208         * BufferView.h:
8209         * BufferView.C:
8210         * BufferView_pimpl.h:
8211         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8212
8213         * LyXAction.C: layout-character should have ReadOnly
8214
8215         * ParagraphParameters.C:
8216         * buffer.C:
8217         * bufferview_funcs.C:
8218         * lyx_cb.C:
8219         * lyxfind.C:
8220         * lyxtext.h:
8221         * text.C:
8222         * text2.C:
8223         * text3.C:
8224         * undo_funcs.C: changes from above
8225
8226 2003-03-18  John Levon  <levon@movementarian.org>
8227
8228         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8229         remove it from update()
8230
8231         * lyxfunc.C: update layout choice after an lfun
8232
8233         * text3.C: remove extra updateLayoutChoice()s
8234
8235 2003-03-18  John Levon  <levon@movementarian.org>
8236
8237         * text.C: top_y change means full repaint, fix
8238         a drawing bug with cursor movement
8239
8240 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8241
8242         * lyxtext.h:
8243         * text.C:
8244         * text2.C: anchor row on setCursor
8245
8246 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8247
8248         * lyxtext.h: remove almost all mutable keywords
8249         * text.C:
8250         * text2.C:
8251         * text3.C: remove const keywords accordingly
8252
8253 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8256         anon namespace
8257         (TeXEnvironment): ditto
8258         (TeXOnePar): ditto
8259
8260 2003-03-17  John Levon  <levon@movementarian.org>
8261
8262         * text.C (rowBreakPoint): remove attempt to fix displayed
8263         math insets inside a manual label
8264
8265 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * lyxtext.h: remove BufferView* as first arg from almost all class
8268         functions.
8269         * other files: adjust.
8270
8271 2003-03-17  John Levon  <levon@movementarian.org>
8272
8273         * lyxtext.h:
8274         * undo_funcs.C:
8275         * text2.C: more paint cleanups
8276
8277         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8278
8279         * rowpainter.h:
8280         * rowpainter.C: remove "smart" background painting code
8281
8282 2003-03-16  John Levon  <levon@movementarian.org>
8283
8284         * lyxtext.h:
8285         * text.C:
8286         * text2.C:
8287         * text3.C: add helper functions for setting refresh_row/y
8288
8289 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8290
8291         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8292         newline inset which *can* get inserted in the pass_thru layouts.
8293         This is primarily for literate documents.
8294
8295 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8296
8297         * buffer.C: increment LYX_FORMAT to 223
8298
8299 2003-03-14 André Pönitz <poenitz@gmx.net>
8300
8301         * textclass.h: prepare for environment handling, ws changes
8302         * lyxlayout.C: read latexheader and latexfooter tags
8303
8304 2003-03-14  John Levon  <levon@movementarian.org>
8305
8306         * text2.C: rewrite ::status() a bit
8307
8308 2003-03-13  John Levon  <levon@movementarian.org>
8309
8310         * lyxtext.h: add some docs
8311
8312 2003-03-13  John Levon  <levon@movementarian.org>
8313
8314         * lyxtext.h:
8315         * text.C:
8316         * text2.C:
8317         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8318
8319 2003-03-13  John Levon  <levon@movementarian.org>
8320
8321         * text3.C: fix appendix redrawing
8322
8323 2003-03-13  John Levon  <levon@movementarian.org>
8324
8325         * text.C (setHeightOfRow):
8326         * rowpainter.h:
8327         * rowpainter.C: make appendix mark have the text
8328           "Appendix" so the user knows what it is
8329
8330         * LColor.h:
8331         * LColor.C: s/appendixline/appendix/ from above
8332
8333 2003-03-13  John Levon  <levon@movementarian.org>
8334
8335         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8336
8337         * text.C: fix a getChar(pos) bug properly
8338
8339 2003-03-13  Angus Leeming  <leeming@lyx.org>
8340
8341         * commandtags.h:
8342         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8343         Probably only temporary. Let's see how things pan out.
8344
8345         * BufferView.C (unlockInset):
8346         * BufferView_pimpl.C (fitCursor):
8347         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8348
8349         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8350         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8351
8352         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8353         new functions that convert ParagraphParameters to and from a string.
8354
8355         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8356         BufferView::Pimpl's dispatch.
8357         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8358
8359 2003-03-13 André Pönitz <poenitz@gmx.net>
8360
8361         * lyxfunc.C:
8362         * text3.C:
8363         * factory.C: make it aware of InsetEnv
8364
8365 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * text2.C (setCursor): never ask for one past last
8368         (setCursor): add some debugging messages.
8369
8370         * text.C (singleWidth): never ask for one past last
8371         (singleWidth): ditto
8372         (leftMargin): ditto
8373         (rightMargin): ditto
8374         (rowBreakPoint): ditto
8375         (setHeightOfRow): ditto
8376         (prepareToPrint): ditto
8377
8378         * rowpainter.C (paintBackground): never ask for one past last
8379         (paintText): never ask for one past last
8380
8381         * paragraph_pimpl.C (getChar): make the assert stricter, never
8382         allow the one past last pos to be taken
8383
8384         * paragraph.C (getChar): ws changes only
8385
8386         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8387         (numberOfSeparators): ditto
8388         (numberOfHfills): ditto
8389
8390 2003-03-12  John Levon  <levon@movementarian.org>
8391
8392         * author.h:
8393         * author.C:
8394         * bufferparams.h:
8395         * bufferparams.C:
8396         * paragraph_funcs.C: fix per-buffer authorlists
8397
8398 2003-03-12  John Levon  <levon@movementarian.org>
8399
8400         * text.C: fix newline in right address
8401
8402 2003-03-12  Angus Leeming  <leeming@lyx.org>
8403
8404         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8405         duplicate those in LyXFunc::dispatch.
8406
8407         * commandtags.h:
8408         * LyXAction.C:
8409         * ToolbarDefaults.C:
8410         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8411         Add LFUN_FONTFREE_UPDATE.
8412
8413         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8414         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8415
8416         * bufferview_func.[Ch]: several new functions to facilliate
8417         transfer of data to and from the character dialog.
8418
8419 2003-03-12  John Levon  <levon@movementarian.org>
8420
8421         * buffer.C:
8422         * paragraph.h:
8423         * paragraph.C:
8424         * paragraph_funcs.C:
8425         * paragraph_pimpl.C:
8426         * sgml.C:
8427         * tabular.C:
8428         * text.C:
8429         * text3.C: remove META_NEWLINE in favour of an inset
8430
8431         * rowpainter.h:
8432         * rowpainter.C: remove paintNewline (done by inset)
8433
8434 2003-03-12  John Levon  <levon@movementarian.org>
8435
8436         * paragraph_pimpl.C: complain about bad getChar()s
8437         for a while at least
8438
8439 2003-03-12  John Levon  <levon@movementarian.org>
8440
8441         * buffer.h:
8442         * buffer.C: move paragraph read into a separate function,
8443         a little renaming to reflect that.
8444
8445         * bufferparams.h:
8446         * bufferparams.C: remove the author_ids map, not necessary now
8447
8448         * factory.h:
8449         * factory.C: moved Buffer::readInset to here
8450
8451         * paragraph_funcs.h:
8452         * paragraph_funcs.C: readParagraph free function moved from
8453         buffer.C
8454
8455         * tabular.C: name change
8456
8457 2003-03-12  John Levon  <levon@movementarian.org>
8458
8459         * buffer.C:
8460         * ParagraphParameters.C: move par params input to
8461         a read() method
8462
8463         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8464         behave like a normal read from the stream wrt reading
8465         a line vs. a \\token
8466
8467 2003-03-12  John Levon  <levon@movementarian.org>
8468
8469         * paragraph.C:
8470         * ParagraphParameters.h:
8471         * ParagraphParameters.C: move output code to a
8472         ::write() method
8473
8474 2003-03-12  John Levon  <levon@movementarian.org>
8475
8476         * BufferView.C (insertLyXFile):
8477         * buffer.h:
8478         * buffer.C:
8479         * tabular.C: use a parlist iterator for creating the
8480           document.
8481
8482 2003-03-12  John Levon  <levon@movementarian.org>
8483
8484         * buffer.C: make current_change static local not
8485           static file-scope
8486
8487 2003-03-12  John Levon  <levon@movementarian.org>
8488
8489         * buffer.C: fix insertStringAsLines for change tracking
8490
8491 2003-03-12  John Levon  <levon@movementarian.org>
8492
8493         * BufferView.C:
8494         * tabular.C:
8495         * buffer.h:
8496         * buffer.C:
8497         * bufferparams.h:
8498         * bufferparams.C: move author list into params. Rename some
8499           functions. Move the header reading into a separate token
8500           loop. Move the header token reading into BufferParams.
8501
8502 2003-03-12  John Levon  <levon@movementarian.org>
8503
8504         * changes.C: put debug inside lyxerr.debugging() checks
8505
8506 2003-03-11 André Pönitz <poenitz@gmx.net>
8507
8508         * factory.C: make it aware of InsetHFill
8509
8510 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8511
8512         * buffer.C (latexParagraphs): move function from here...
8513         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8514         args.
8515
8516 2003-03-10  Angus Leeming  <leeming@lyx.org>
8517
8518         * LyXAction.C (init): fix bug in poplating array with multiple entries
8519         with the same LFUN (spotted by JMarc).
8520
8521 2003-03-10  John Levon  <levon@movementarian.org>
8522
8523         * text.C:
8524         * text2.C: move getColumnNearX() near its
8525         only call site
8526
8527 2003-03-10  John Levon  <levon@movementarian.org>
8528
8529         * text.C: fix break before a minipage
8530
8531 2003-03-10  John Levon  <levon@movementarian.org>
8532
8533         * text.C: fix the last commit
8534
8535 2003-03-09  John Levon  <levon@movementarian.org>
8536
8537         * lyxtext.h:
8538         * text.C:
8539         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8540         bug 365 (don't break before insets unless needed). Don't
8541         return a value > last under any circumstances.
8542
8543 2003-03-09  Angus Leeming  <leeming@lyx.org>
8544
8545         * BufferView_pimpl.C (trackChanges, dispatch): call
8546         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8547
8548 2003-03-09  Angus Leeming  <leeming@lyx.org>
8549
8550         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8551         than Dialogs::showAboutlyx().
8552
8553 2003-03-09  Angus Leeming  <leeming@lyx.org>
8554
8555         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8556         than Dialogs::showTabularCreate().
8557
8558 2003-03-09  John Levon  <levon@movementarian.org>
8559
8560         * lyxtext.h:
8561         * text.C:
8562         * text2.C: 3rd arg to nextBreakPoint was always the same.
8563           Use references.
8564
8565 2003-03-08  John Levon  <levon@movementarian.org>
8566
8567         * lyxrow.C:
8568         * paragraph.C:
8569         * paragraph.h:
8570         * rowpainter.C:
8571         * text.C:
8572         * text2.C: Remove the "main" bit from the "main body"
8573           notion.
8574
8575 2003-03-08  John Levon  <levon@movementarian.org>
8576
8577         * text.C (leftMargin): The left margin of an empty
8578         manual label paragraph should not include the label width
8579         string length.
8580
8581         * text.C (prepareToPrint): don't attempt to measure hfills
8582         for empty manual label paragraphs - the answer should be 0
8583
8584 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * CutAndPaste.C: remove commented code and reindent.
8587
8588 2003-03-08  John Levon  <levon@movementarian.org>
8589
8590         * lyxfunc.h:
8591         * lyxfunc.C: move reloadBuffer()
8592
8593         * BufferView.h:
8594         * BufferView.C: to here
8595
8596         * lyxvc.C: add comment
8597
8598         * vc-backend.h:
8599         * vc-backend.C: call bv->reload() to avoid
8600           getStatus() check on MENURELOAD
8601
8602 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8605         to an old format .dep file.
8606
8607 2003-03-07  Angus Leeming  <leeming@lyx.org>
8608
8609         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8610         when the LFUN_MOUSE_RELEASE should have been handled by
8611         inset->localDispatch.
8612
8613 2003-03-07  Angus Leeming  <leeming@lyx.org>
8614
8615         * BufferView_pimpl.C (dispatch):
8616         * LyXAction.C (init):
8617         * ToolbarDefaults.C (init):
8618         * commandtags.h:
8619         * lyxfunc.C (getStatus):
8620         remove LFUN_INSET_GRAPHICS.
8621
8622         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8623
8624 2003-03-07  Angus Leeming  <leeming@lyx.org>
8625
8626         * commandtags.h:
8627         * LyXAction.C (init):
8628         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8629
8630         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8631
8632         * commandtags.h:
8633         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8634
8635         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8636         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8637
8638 2003-03-07  Angus Leeming  <leeming@lyx.org>
8639
8640         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8641         remove "ert".
8642
8643 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * ParagraphList.C (front): new function
8646         (back): implement
8647
8648 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8649
8650         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8651         and top_row_offset_. removed var first_y.
8652         * text.C (top_y):
8653         * text2.C (LyXText, removeRow):
8654         * text3.C:
8655         * BufferView_pimpl.C:
8656         use these methods instead of using first_y
8657
8658 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * text2.C (pasteSelection): adjust for checkPastePossible
8661
8662         * CutAndPaste.C: remove Paragraph * buf and replace with
8663         ParagraphList paragraphs.
8664         (DeleteBuffer): delete
8665         (cutSelection): change the tc type to textclass_type
8666         (copySelection): change the tc type to textclass_type
8667         (copySelection): adjust for ParagraphList
8668         (pasteSelection): change the tc type to textclass_type
8669         (pasteSelection): adjust for Paragraphlist
8670         (nrOfParagraphs): simplify for ParagraphList
8671         (checkPastePossible): simplify for ParagraphList
8672         (checkPastePossible): remove unused arg
8673
8674         * ParagraphList.C (insert): handle the case where there are no
8675         paragraphs yet.
8676
8677         * CutAndPaste.h: make CutAndPaste a namespace.
8678
8679         * text3.C (dispatch): adjust
8680
8681         * text.C (breakParagraph): add a ParagraphList as arg
8682
8683         * paragraph_funcs.C (breakParagraph): change to take a
8684         BufferParams and a ParagraphList as args.
8685         (breakParagraphConservative): ditto
8686         (mergeParagraph): ditto
8687         (TeXDeeper): add a ParagraphList arg
8688         (TeXEnvironment): ditto
8689         (TeXOnePar): ditto
8690
8691         * buffer.C (readLyXformat2): adjust
8692         (insertStringAsLines): adjust
8693         (latexParagraphs): adjust
8694
8695         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8696         (cutSelection): adjust
8697         (pasteSelection): adjust
8698
8699         * BufferView_pimpl.C (insertInset): adjust
8700
8701 2003-03-05  Angus Leeming  <leeming@lyx.org>
8702
8703         * commandtags.h:
8704         * LyXAction.C (init):
8705         * BufferView_pimpl.C (dispatch):
8706         * lyxfunc.C (getStatus):
8707         remove LFUN_CHILD_INSERT.
8708
8709         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8710
8711 2003-03-05  Angus Leeming  <leeming@lyx.org>
8712
8713         * commandtags.h:
8714         * LyXAction.C (init):
8715         * src/factory.C (createInset):
8716         * lyxfunc.C (getStatus):
8717         * text3.C (dispatch):
8718         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8719
8720         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8721
8722 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * ParagraphList.C (insert): handle insert right before end()
8725         (erase): fix cases where it can be first or last paragraph.
8726
8727 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8730         Paragraph::next and Paragraph::previous
8731         (TeXOnePar): ditto
8732
8733         * text.C (breakParagraph): adjust
8734
8735         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8736         BufferParams& as arg.
8737         (breakParagraph): use ParagraphList::insert
8738         (breakParagraphConservative): take a Buffer* instead of a
8739         BufferParams& as arg.
8740         (breakParagraphConservative): use ParagraphList::insert.
8741
8742         * buffer.C (insertStringAsLines): un-const it
8743         (insertStringAsLines): adjust
8744
8745         * ParagraphList.C (insert): new function
8746
8747         * CutAndPaste.C (pasteSelection): adjust
8748
8749         * text.C (backspace): adjust
8750
8751         * tabular.C (SetMultiColumn): adjust
8752
8753         * CutAndPaste.C (cutSelection): adjust
8754         (pasteSelection): adjust
8755
8756         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8757         Buffer const * as arg
8758
8759         * ParagraphList.C (erase): new function
8760         * paragraph_funcs.C (mergeParagraph): use it
8761         (mergeParagraph): make it take a Buffer* instead of a
8762         BufferParams* as arg
8763
8764         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8765         as arg
8766         (breakParagraphConservative): ditto
8767
8768         * paragraph.h: remove the breakParagraph friend
8769
8770         * paragraph.C (eraseIntern): new function
8771         (setChange): new function
8772
8773         * paragraph_funcs.C (mergeParagraph): make it take a
8774         ParagraphList::iterator instead of a Paragraph *, adjust
8775         accordingly.
8776
8777         * paragraph.h: move an #endif so that the change tracking stuff
8778         also works in the NO_NEXT case.
8779
8780 2003-03-04  Angus Leeming  <leeming@lyx.org>
8781
8782         * commandtags.h:
8783         * LyXAction.C: new LFUN_INSET_MODIFY.
8784
8785         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8786         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8787
8788 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * several files: ws changes only
8791
8792         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8793         (TeXEnvironment): ditto
8794         (TeXDeeper): ditto
8795
8796         * buffer.C (makeLaTeXFile): adjust
8797         (latexParagraphs): make it take ParagraphList::iterator as args
8798
8799 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * buffer.C (latexParagraphs): adjust
8802
8803         * paragraph.C (TeXOnePar): move function...
8804         (optArgInset): move function...
8805         (TeXEnvironment): move function...
8806         * paragraph_pimpl.C (TeXDeeper): move function...
8807         * paragraph_funcs.C: ...here
8808
8809         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8810
8811 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * buffer.C (readInset): remove compability code for old Figure and
8814         InsetInfo insets
8815
8816 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8817
8818         * buffer.C: ws changes
8819         (readInset):
8820
8821         * BufferView_pimpl.C: ditto
8822         * author.C: ditto
8823         * buffer.h: ditto
8824         * bufferlist.h: ditto
8825         * changes.h: ditto
8826         * lyxfunc.C: ditto
8827
8828 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8829
8830         * converter.[Ch]: split into itself +
8831         * graph.[Ch]
8832         * format.[Ch]
8833         * Makefile.am: += graph.[Ch] + format.[Ch]
8834         * MenuBackend.C
8835         * buffer.C
8836         * exporter.C
8837         * importer.C
8838         * lyx_main.C
8839         * lyxfunc.C
8840         * lyxrc.C: added #include "format.h"
8841
8842 2003-02-27  Angus Leeming  <leeming@lyx.org>
8843
8844         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8845           a label.
8846
8847         * factory.C (createInset): add "label" to the factory.
8848
8849         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8850           string and do no more.
8851
8852 2003-02-27  Angus Leeming  <leeming@lyx.org>
8853
8854         * commandtags.h:
8855         * LyXAction.C (init):
8856         * factory.C (createInset):
8857         * BufferView_pimpl.C (dispatch):
8858           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8859
8860         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8861
8862         * lyxfunc.C (dispatch):
8863         * text3.C (dispatch): pass name to params2string.
8864
8865 2003-02-26  Angus Leeming  <leeming@lyx.org>
8866
8867         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8868           blocks together.
8869           Rearrange the ~includes. Strip out the unnecessary ones.
8870
8871         * factory.C (createInset): reformat.
8872           create new insets for the various LFUN_XYZ_APPLY lfuns.
8873
8874 2003-02-26  John Levon  <levon@movementarian.org>
8875
8876         * lyxrow.h:
8877         * lyxrow.C: add isParStart,isParEnd helpers
8878
8879         * paragraph.h: make isInserted/DeletedText take refs
8880
8881         * paragraph_funcs.h:
8882         * paragraph_funcs.C: remove #if 0'd code
8883
8884         * lyxtext.h:
8885         * text3.C:
8886         * text2.C:
8887         * text.C: use lyxrow helpers above.
8888           Move draw and paint routines to RowPainter.
8889           Make several methods use refs not pointers.
8890           Make backgroundColor() const.
8891           Add markChangeInDraw(), isInInset().
8892           Merge changeRegionCase into changeCase.
8893           Make workWidth() shouldn't-happen code into an Assert.
8894
8895         * rowpainter.h:
8896         * rowpainter.C: new class for painting a row.
8897
8898         * vspace.h:
8899         * vspace.C: make inPixels take a ref
8900
8901 2003-02-26  Angus Leeming  <leeming@lyx.org>
8902
8903         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8904         LFUN_REF_APPLY.
8905
8906 2003-02-25  John Levon  <levon@movementarian.org>
8907
8908         * ispell.C: give the forked command a more accurate name
8909
8910 2003-02-22  John Levon  <levon@movementarian.org>
8911
8912         * toc.h:
8913         * toc.C: make TocItem store an id not a Paragraph *
8914           (bug #913)
8915
8916 2003-02-21  Angus Leeming  <leeming@lyx.org>
8917
8918         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8919           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8920           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8921           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8922           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8923           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8924
8925         * BufferView_pimpl.C (dispatch):
8926         * LyXAction.C (init):
8927         * factory.C (createInset):
8928         * lyxfunc.C (getStatus, dispatch):
8929         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8930
8931 2003-02-21  Angus Leeming  <leeming@lyx.org>
8932
8933         * BufferView_pimpl.C (MenuInsertLyXFile):
8934         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8935         * lyxfunc.C (menuNew, open, doImport):
8936           no longer pass a LyXView & to fileDlg.
8937
8938 2003-02-21  Angus Leeming  <leeming@lyx.org>
8939
8940         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8941         * LyXAction.C: change, BIBKEY to BIBITEM.
8942         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8943         Change InsetBibKey to InsetBibitem.
8944         Change BIBKEY_CODE to BIBITEM_CODE.
8945         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8946         * factory.C: replace insetbib.h with insetbibitem.h.
8947         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8948         * paragraph.C: replace insetbib.h with insetbibitem.h.
8949         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8950         Change bibkey() to bibitem().
8951         * text.C: remove insetbib.h.
8952         * text2.C: replace insetbib.h with insetbibitem.h.
8953         change bibkey() to bibitem().
8954         * text3.C: remove insetbib.h.
8955         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8956
8957 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8958
8959         * lyxrc.C (output): enclose user email in quotes (in case there are
8960         several words)
8961
8962 2003-02-18  John Levon  <levon@movementarian.org>
8963
8964         * buffer.h: add std::
8965
8966 2003-02-17  John Levon  <levon@movementarian.org>
8967
8968         * SpellBase.h:
8969         * ispell.h:
8970         * ispell.C:
8971         * pspell.h:
8972         * pspell.C: reworking. Especially in ispell, a large
8973           number of clean ups and bug fixes.
8974
8975         * lyxfunc.C: fix revert to behave sensibly
8976
8977 2003-02-17 André Pönitz <poenitz@gmx.net>
8978
8979         * LyXAction.C:
8980         * commandtags.h: new LFUN_INSERT_BIBKEY
8981
8982         * layout.h:
8983         * lyxlayout.C:
8984         * buffer.C:
8985         * factory.C:
8986         * text.C:
8987         * text2.C:
8988         * text3.C:
8989         * paragraph.[Ch]:
8990         * paragraph_func.C: remove special bibkey handling
8991
8992 2003-02-17  John Levon  <levon@movementarian.org>
8993
8994         * text.C (Delete): fix case where delete at the end of
8995           the very first paragraph would not merge the pars
8996
8997 2003-02-17  John Levon  <levon@movementarian.org>
8998
8999         * lyxrow.C: fix lastPrintablePos()
9000
9001 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * bufferparams.C (writeLaTeX): add a std:here
9004
9005         * buffer.C: and remove a using directive there
9006
9007 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * buffer.C (makeLaTeXFile): move the code that generates the
9010           preamble...
9011
9012         * bufferparams.C (writeLaTeX): ... in this new method
9013
9014         * LaTeXFeatures.C (getEncodingSet): make const
9015           (getLanguages): make const
9016
9017         * MenuBackend.C (binding): returns the binding associated to this
9018           action
9019           (add): sets the status of each item by calling getStatus. Adds
9020           some intelligence.
9021           (read): add support for OptSubMenu
9022           (expand): remove extra separator at the end of expanded menu
9023
9024 2003-02-15  John Levon  <levon@movementarian.org>
9025
9026         * BufferView.C:
9027         * BufferView_pimpl.C:
9028         * bufferlist.h:
9029         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9030           inset code that had no actual effect. Remove unneeded status
9031           code.
9032
9033 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9036           in preamble
9037
9038 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9039
9040         * text.C (drawLengthMarker): also draw an arrow marker for
9041           symbolic lengths (medskip...)
9042
9043 2003-02-14  John Levon  <levon@movementarian.org>
9044
9045         * tabular.h:
9046         * tabular.C: better method names
9047
9048 2003-02-14  John Levon  <levon@movementarian.org>
9049
9050         * BufferView_pimpl.C:
9051         * bufferlist.C:
9052         * buffer.C:
9053         * converter.C:
9054         * lyx_cb.C:
9055         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9056           it's a more accurate name. Remove some pointless uses.
9057
9058 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9059
9060         * text2.C (LyXText): change order of initilizers to shut off
9061           warnings
9062
9063 2003-02-14  John Levon  <levon@movementarian.org>
9064
9065         * buffer.C: use ParIterator for getParFromID()
9066
9067         * paragraph.h:
9068         * paragraph.C:
9069         * paragraph_pimpl.h:
9070         * paragraph_pimpl.C: remove unused getParFromID()
9071
9072 2003-02-14  John Levon  <levon@movementarian.org>
9073
9074         * buffer.C: remove some very old #if 0'd parse code
9075
9076 2003-02-13  John Levon  <levon@movementarian.org>
9077
9078         * text.h:
9079         * text.C:
9080         * text2.C: move hfillExpansion(), numberOfSeparators(),
9081           rowLast(), rowLastPrintable(), numberofHfills(),
9082           numberOfLabelHfills() ...
9083
9084         * lyxrow.h:
9085         * lyxrow.C: ... to member functions here.
9086
9087         * paragraph.h:
9088         * paragraph.C:
9089         * lyxtext.h:
9090         * text.C: remove LyXText::beginningOfMainBody(), and call
9091           p->beginningOfMainBody() directly. Move the check for
9092           LABEL_MANUAL into the latter.
9093
9094         * text.h:
9095         * text.C:
9096         * text2.C:
9097         * vspace.C:
9098         * BufferView.h:
9099         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9100
9101         * text.h:
9102         * text.C:
9103         * text2.C:
9104         * text3.C:
9105         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9106           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9107
9108 2003-02-13  John Levon  <levon@movementarian.org>
9109
9110         * CutAndPaste.C: remove debug
9111
9112 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * paragraph.C (asString): remove two unused variables
9115
9116         * lyxtextclass.C (readTitleType):
9117           (Read):
9118           (LyXTextClass): handle new members titletype_ and titlename_
9119
9120         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9121
9122 2003-02-09  John Levon  <levon@movementarian.org>
9123
9124         * buffer.h:
9125         * buffer.C: replace hand-coded list with a map for the dep clean
9126
9127 2003-02-08  John Levon  <levon@movementarian.org>
9128
9129         * LaTeX.C: consolidate code into showRunMessage() helper
9130
9131 2003-02-08  John Levon  <levon@movementarian.org>
9132
9133         * lyxfind.C:
9134         * lyxtext.h:
9135         * text2.C:
9136         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9137           and pass the size in explicitly
9138
9139         * BufferView_pimpl.h:
9140         * BufferView_pimpl.C:
9141         * BufferView.h:
9142         * BufferView.C: add getCurrentChange()
9143
9144         * BufferView_pimpl.h:
9145         * BufferView_pimpl.C: handle change lfuns
9146
9147         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9148           for changes. Mark pasted paragraphs as new.
9149
9150         * support/lyxtime.h:
9151         * support/lyxtime.C:
9152         * DepTable.C: abstract time_t as lyx::time_type
9153
9154         * LColor.h:
9155         * LColor.C: add colours for new text, deleted text, changebars
9156
9157         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9158           package use "usenames" option.
9159
9160         * commandtags.h:
9161         * lyxfunc.C:
9162         * LyXAction.C: add change lfuns
9163
9164         * Makefile.am:
9165         * author.h:
9166         * author.C: author handling
9167
9168         * buffer.h:
9169         * buffer.C: add a per-buffer author list, with first entry as
9170           current author. Handle new .lyx tokens for change tracking. Output
9171           author list to .lyx file. Output dvipost stuff to .tex preamble.
9172           Bump lyx format to 222.
9173
9174         * bufferlist.h:
9175         * bufferlist.C: add setCurrentAuthor() to reset current author details
9176           in all buffers.
9177
9178         * bufferparams.h:
9179         * bufferparams.C: add param for tracking
9180
9181         * bufferview_funcs.C: output change info in minibuffer
9182
9183         * Makefile.am:
9184         * changes.h:
9185         * changes.C: add change-tracking structure
9186
9187         * debug.h:
9188         * debug.C: add CHANGES debug flag
9189
9190         * lyxfind.h:
9191         * lyxfind.C: add code for finding the next change piece
9192
9193         * lyxrc.h:
9194         * lyxrc.C: add user_name and user_email
9195
9196         * lyxrow.h:
9197         * lyxrow.C: add a metric for the top of the text line
9198
9199         * lyxtext.h:
9200         * text.C: implement accept/rejectChange()
9201
9202         * lyxtext.h:
9203         * text.C: paint changebars. Paint new/deleted text in the chosen
9204         colours. Strike through deleted text.
9205
9206         * paragraph.h:
9207         * paragraph.C:
9208         * paragraph_pimpl.h:
9209         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9210           in the current change to the insert functions. Rework erase to
9211           mark text as deleted, adding an eraseIntern() and a range-based
9212           erase(). Implement per-paragraph change lookup and
9213           accept/reject.
9214
9215         * paragraph_funcs.C: Fixup paste for change tracking.
9216
9217         * tabular.C: mark added row/columns as new.
9218
9219         * text.C: fix rowLast() to never return -1. Don't allow
9220           spellchecking of deleted text. Track transpose changes. Don't
9221           allow paragraph break or merge where appropriate.
9222
9223         * text2.C: leave cursor at end of selection after a cut.
9224
9225 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9226
9227         * text.C (getLengthMarkerHeight):
9228         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9229         visible on screen too.
9230
9231 2003-02-07  John Levon  <levon@movementarian.org>
9232
9233         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9234
9235 2003-02-05  Angus Leeming  <leeming@lyx.org>
9236
9237         * lyxserver.C (read_ready): revert my patch of 11 September last year
9238         as it sends PC cpu through the roof. Presumably this means that
9239         the lyxserver will no longer run on an Alpha...
9240
9241 2003-01-30  Angus Leeming  <leeming@lyx.org>
9242
9243         * factory.C (createInset): create an InsetCommandParam of type "index"
9244         and use it to 'do the right thing'.
9245
9246         * text2.C (getStringToIndex): ensure that cursor position is always
9247         reset to the reset_cursor position.
9248
9249 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9250
9251         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9252         disabled.
9253
9254 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9255
9256         * bufferview.C:
9257         * lyxcb.C:
9258         * lyxfunc.C: Output messages with identical spelling, punctuation,
9259         and spaces
9260
9261 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9262
9263         * MenuBackend.C (expandFormats): List only viewable export formats
9264         in "View" menu
9265
9266         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9267         message
9268
9269         * lyxfunc.C (getStatus): Make sure that formats other than
9270         "fax" can also be disabled
9271
9272 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * text3.C (dispatch): put the lfuns that insert insets in 3
9275         groups, and call doInsertInset with appropriate arguments.
9276         (doInsertInset): new function, that creates an inset and inserts
9277         it according to some boolean parameters.
9278
9279 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * buffer.C (readFile): remember to pass on 'par' when calling
9282         readFile recursively.
9283
9284 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9285
9286         * MenuBackend.C (expandFormats): add "..." to import formats.
9287
9288 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9289
9290         * paragraph.C (asString): Remove XForms RTL hacks.
9291
9292 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9293         * buffer.C: fix typo
9294
9295 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9296
9297         * Makefile.am (LIBS): delete var
9298         (lyx_LDADD): add @LIBS@ here instead.
9299
9300 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9301
9302         * Clarify the meaning of "wheel mouse jump"
9303
9304 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9305
9306         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9307         tabular in a float
9308
9309 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9310
9311         * importer.C (Loaders): do not preallocate 3 elements in the
9312         vector, since one ends up with 6 elements otherwise
9313
9314 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9315
9316         * DepTable.C (write): write the file name as last element of the
9317         .dep file (because it may contain spaces)
9318         (read): read info in the right order
9319
9320 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9321
9322         * paragraph_pimpl.C (simpleTeXBlanks):
9323         (simpleTeXSpecialChars):
9324         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9325
9326         * tabular.C (latex): add some missing case statements. Reindent.
9327
9328         * MenuBackend.C (expandToc): remove unused variable.
9329
9330 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9331
9332         * LColor.C:
9333         * LaTeX.C:
9334         * LyXAction.C:
9335         * MenuBackend.C:
9336         * buffer.C:
9337         * exporter.C:
9338         * lyxfunc.C:
9339         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9340         and the like.
9341
9342 2003-01-05  John Levon  <levon@movementarian.org>
9343
9344         * BufferView.h:
9345         * BufferView.C: add getEncoding()
9346
9347         * kbsequence.h:
9348         * kbsequence.C: do not store last keypress
9349
9350         * lyxfunc.h:
9351         * lyxfunc.C: store last keypress here instead. Pass encoding
9352           to getISOEncoded()
9353
9354 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9355
9356         * lyx_main.C (init): remove annoying error message when following
9357         symbolic links (bug #780)
9358
9359 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9360
9361         * text.C (insertChar):
9362         * lyxrc.C (getDescription): remove extra spaces
9363
9364 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9365
9366         * lyxrc.C (getDescription): remove extra spaces
9367
9368 2002-12-20  John Levon  <levon@movementarian.org>
9369
9370         * text3.C: hack fix for page up/down across tall rows
9371
9372 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9373
9374         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9375         not been invoked
9376
9377 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9378
9379         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9380         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9381         thesaurus is not compiled in
9382
9383 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9384
9385         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9386
9387 2002-12-16  Angus Leeming  <leeming@lyx.org>
9388
9389         * lyxrc.[Ch]:
9390         * lyx_main.C (init): remove override_x_deadkeys stuff.
9391
9392 2002-12-12  John Levon  <levon@movementarian.org>
9393
9394         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9395           insert. Only remove shift modifier under strict
9396           circumstances.
9397
9398 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9399
9400         * MenuBackend.C (expandToc): fix crash.
9401
9402 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9403
9404         * MenuBackend.C (expandToc): gettext on float names.
9405
9406 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9407
9408         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9409         implement bool empty() [bug 490]
9410
9411 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9412
9413         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9414
9415 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9416
9417         * several files: ws changes
9418
9419 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9420
9421         * text2.C (setCounter): clean up a bit, use boost.format.
9422         (updateCounters): initialize par upon declaration.
9423
9424         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9425         if the layout exists. We do not just store the layout any more.
9426         (SwitchLayoutsBetweenClasses): use boost.format
9427
9428 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9429
9430         * converter.C (convert): if from and to files are the same, use a
9431         temporary files as intermediary
9432
9433 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9434
9435         * commandtags.h:
9436         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9437
9438 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9439
9440         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9441
9442 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9443
9444         * tabular.C (asciiPrintCell): use string(size, char) instead of
9445         explicit loop.
9446
9447         * sgml.C (openTag): fix order of arguments to string constructor
9448         (closeTag): ditto
9449
9450         * lyxfunc.C (dispatch): use boost.format
9451
9452         * lots of files: change "c" -> 'c'
9453
9454 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9455
9456         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9457
9458 2002-11-25  Angus Leeming  <leeming@lyx.org>
9459
9460         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9461
9462         * lyx_main.C (init): compile fix.
9463
9464 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9465
9466         * lyx_cb.C (start): boost.formatify
9467         do not include <iostream>
9468
9469         * lengthcommon.C: ws only
9470
9471         * boost-inst.C,BoostFormat.h: add more explict instantations
9472
9473 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9474
9475         * lots of files: handle USE_BOOST_FORMAT
9476
9477 2002-11-21  John Levon  <levon@movementarian.org>
9478
9479         * pspell.C: fix compile
9480
9481 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9482
9483         * lyxfunc.C (dispatch): use boost::format
9484         (open): ditto
9485         (doImport): ditto
9486
9487         * lyxfont.C (stateText): use boost::format
9488
9489         * lyx_main.C (LyX): use boost::format
9490         (init): ditto
9491         (queryUserLyXDir): ditto
9492         (readRcFile): ditto
9493         (parse_dbg): ditto
9494         (typedef boost::function): use the recommened syntax.
9495
9496         * importer.C (Import): use boost::format
9497
9498         * debug.C (showLevel): use boost::format
9499
9500         * converter.C (view): use boost::format
9501         (convert): ditto
9502         (move): ditto
9503         (scanLog): ditto
9504
9505         * bufferview_funcs.C (currentState): use boost::format
9506
9507         * bufferlist.C (emergencyWrite): use boost::format
9508
9509         * buffer.C (readLyXformat2): use boost::format
9510         (parseSingleLyXformat2Token): ditto
9511
9512         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9513
9514         * LaTeX.C (run): use boost::format
9515
9516         * Chktex.C (scanLogFile): use boost::format
9517
9518         * BufferView_pimpl.C (savePosition): use boost::format
9519         (restorePosition): ditto
9520         (MenuInsertLyXFile): ditto
9521
9522         * BoostFormat.h: help file for explicit instation.
9523
9524 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9525
9526         * tabular.C (latex): Support for block alignment in fixed width
9527         columns.
9528
9529 2002-11-17  John Levon  <levon@movementarian.org>
9530
9531         * BufferView_pimpl.C:
9532         * lyx_cb.C:
9533         * lyxfunc.C: split filedialog into open/save
9534
9535 2002-11-08  Juergen Vigna  <jug@sad.it>
9536
9537         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9538         by my last patch (hopefully).
9539
9540 2002-11-08  John Levon  <levon@movementarian.org>
9541
9542         * iterators.h:
9543         * iterators.C:
9544         * buffer.h:
9545         * buffer.C:
9546         * paragraph.h:
9547         * paragraph.C:
9548         * toc.h:
9549         * toc.C: ParConstIterator, and use it (from Lars)
9550
9551 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9552
9553         * lyxtextclass.[Ch]: revise and add doxygen comments
9554
9555 2002-11-07  John Levon  <levon@movementarian.org>
9556
9557         * text.C: fix progress value for spellchecker
9558
9559         * toc.C: fix navigate menu for insetwrap inside minipage
9560
9561         * paragraph_funcs.C: added FIXME for suspect code
9562
9563 2002-11-07  John Levon  <levon@movementarian.org>
9564
9565         * BufferView_pimpl.C: fix redrawing of insets
9566           on buffer switch
9567
9568 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9569
9570         * text2.C (updateCounters): fix bug 668
9571
9572 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9573
9574         * text3.C (dispatch): Do not make the buffer dirty when moving the
9575         cursor.
9576
9577 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * vc-backend.C: STRCONV
9580         (scanMaster): ditto
9581
9582         * text2.C (setCounter): STRCONV
9583
9584         * paragraph.C (asString): STRCONV
9585
9586         * lyxlength.C (asString): STRCONV
9587         (asLatexString): ditto
9588
9589         * lyxgluelength.C (asString): STRCONV
9590         (asLatexString): ditto
9591
9592         * lyxfunc.C (dispatch): STRCONV
9593         (open): ditto
9594
9595         * lyxfont.C (stateText): STRCONV
9596
9597         * importer.C (Import): STRCONV
9598
9599         * counters.C (labelItem): STRCONV
9600         (numberLabel): ditto
9601         (numberLabel): remove unused ostringstream o
9602
9603         * chset.C: STRCONV
9604         (loadFile): ditto
9605
9606         * bufferview_funcs.C (currentState): STRCONV
9607
9608         * buffer.C (readFile): STRCONV
9609         (asciiParagraph): ditto
9610         (makeLaTeXFile): ditto
9611
9612         * Spacing.C (writeEnvirBegin): STRCONV
9613
9614         * LaTeXFeatures.C (getLanguages): STRCONV
9615         (getPackages): ditto
9616         (getMacros): ditto
9617         (getBabelOptions): ditto
9618         (getTClassPreamble): ditto
9619         (getLyXSGMLEntities): ditto
9620         (getIncludedFiles): ditto
9621
9622         * LaTeX.C: STRCONV
9623         (run): ditto
9624         (scanAuxFile): ditto
9625         (deplog): ditto
9626
9627         * LString.h: add the STRCONV macros
9628
9629         * BufferView_pimpl.C (savePosition): STRCONV
9630         (restorePosition): ditto
9631         (MenuInsertLyXFile): ditto
9632
9633         * vc-backend.C (scanMaster): change from submatch[...] to
9634         submatch.str(...)
9635
9636         * funcrequest.C: include config.h
9637
9638         * factory.C: include config.h
9639
9640         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9641
9642         * box.C: include config.h
9643
9644         * LaTeX.C (scanAuxFile): change from submatch[...] to
9645         submatch.str(...)
9646         (deplog): ditto
9647
9648 2002-10-25  Angus Leeming  <leeming@lyx.org>
9649
9650         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9651
9652         * ispell.[Ch] (setError): new method.
9653         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9654         Use setError() insetead of goto END.
9655
9656         * lyx_cb.C (AutoSave): move out child process into new class
9657         AutoSaveBuffer.
9658
9659 2002-10-30  John Levon  <levon@movementarian.org>
9660
9661         * text3.C: make start appendix undoable
9662
9663 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9664
9665         * lyxlength.C (inPixels): Fix returned value.
9666
9667         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9668         environment.
9669
9670 2002-10-24  Angus Leeming  <leeming@lyx.org>
9671
9672         * lyxgluelength.h: no need to forward declare BufferParams
9673         or BufferView, so don't.
9674
9675 2002-10-21  John Levon  <levon@movementarian.org>
9676
9677         * BufferView.C: menuUndo ->undo, redo
9678
9679         * BufferView.h: document, remove dead, make some methods private
9680
9681         * paragraph_funcs.h:
9682         * paragraph_funcs.C:
9683         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9684
9685         * buffer.h:
9686         * buffer.C:
9687         * sgml.h:
9688         * sgml.C: move sgml open/close tag into sgml.C
9689
9690         * bufferview_funcs.h: unused prototype
9691
9692         * lyxfunc.h:
9693         * lyxfunc.C: remove unused
9694
9695         * lyxtext.h:
9696         * text.C: remove unused
9697
9698 2002-10-21  John Levon  <levon@movementarian.org>
9699
9700         * BufferView.h:
9701         * BufferView.C:
9702         * BufferView_pimpl.h:
9703         * BufferView_pimpl.C: fix mouse wheel handling based on
9704           patch from Darren Freeman
9705
9706 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9707
9708         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9709
9710 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9711
9712         * lyxlength.C (inPixels): Fix hanfling of negative length.
9713         Fix LyXLength::MU case.
9714
9715 2002-10-16  John Levon  <levon@movementarian.org>
9716
9717         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9718
9719 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9720
9721         * converter.C (view): add support for $$i (file name) and $$p
9722         (file path) for the viewer command. If $$i is not specified, then
9723         it is appended to the command (for compatibility with old syntax)
9724
9725 2002-10-14  Juergen Vigna  <jug@sad.it>
9726
9727         * undo_funcs.C (textHandleUndo): alter the order in which the
9728         new undopar is added to the LyXText, as we have to set first
9729         the right prev/next and then add it as otherwise the rebuild of
9730         LyXText is not correct. Also reset the cursor to the right paragraph,
9731         with this IMO we could remove the hack in "redoParagraphs()".
9732
9733 2002-10-09  Angus Leeming  <leeming@lyx.org>
9734
9735         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9736         to turn off an optimisation if a new inset is to be inserted.
9737
9738 2002-10-11 André Pönitz <poenitz@gmx.net>
9739
9740         * lyxtext.h: make some functions public to allow access
9741         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9742
9743 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * text3.C (dispatch): when changing layout, avoid an infinite loop
9746         [bug #652]
9747
9748 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * lyxrc.C (read): treat a viewer or converter command of "none" as
9751         if it were empty.
9752
9753         * MenuBackend.C (expandFormats): for an update, also allow the
9754         formats that are not viewable
9755
9756         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9757         script if it is newer than the lyxrc.defaults in user directory
9758
9759 2002-10-07 André Pönitz <poenitz@gmx.net>
9760
9761         * text.C: Vitaly Lipatov's small i18n fix
9762
9763 2002-09-25  Angus Leeming  <leeming@lyx.org>
9764
9765         * ispell.h: doxygen fix.
9766
9767 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9768
9769         * buffer.h (readFile): Add a new argument to the method, to allow
9770         reading of old-format templates.
9771
9772 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9773
9774         * toc.C (getTocList): Get TOC from InsetWrap.
9775
9776 2002-09-16  John Levon  <levon@movementarian.org>
9777
9778         * lyxfunc.C: check tabular for cut/copy too
9779
9780 2002-09-12  John Levon  <levon@movementarian.org>
9781
9782         * LyXAction.C: tidy
9783
9784         * factory.h:
9785         * factory.C: add header
9786
9787         * paragraph_funcs.h:
9788         * paragraph_funcs.C: cleanup
9789
9790 2002-09-11  John Levon  <levon@movementarian.org>
9791
9792         * PrinterParams.h: odd/even default to true
9793
9794 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9795
9796         * PrinterParams.h: update printer parameters for new xforms dialog
9797
9798 2002-09-11  Angus Leeming  <leeming@lyx.org>
9799
9800         * lyxserver.C (read_ready): re-write to make it more transparent
9801         and to make it work in coherent fashion under Tru64 Unix.
9802
9803 2002-09-11  André Pönitz <poenitz@gmx.net>
9804
9805         * commandtags.h:
9806         * LyXAction.C:
9807         * text3.C: implement LFUN_WORDSEL
9808
9809 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9812         make floatlist_ a boost::shared_ptr<FloatList>
9813
9814         * lyxtextclass.C: include FloatList.h
9815         (LyXTextClass): initialize floatlist_
9816         (TextClassTags): add TC_NOFLOAT
9817         (Read): match "nofloat" to TC_NOFLOAT and use it.
9818         (readFloat): modify call to floatlist_
9819         (floats): ditto
9820         (floats): ditto
9821
9822         * FloatList.[Ch] (FloatList): remove commented out float
9823         initialization.
9824         (erase): new function
9825
9826 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9827
9828         * MenuBackend.C (expandToc): fix crash when there is no document
9829         open
9830
9831 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9832
9833         * many files: Add insetwrap.
9834
9835 2002-09-09  John Levon  <levon@movementarian.org>
9836
9837         * text2.C: remove confusing and awkward depth wraparound
9838
9839 2002-09-09  John Levon  <levon@movementarian.org>
9840
9841         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9842
9843         * buffer.h:
9844         * buffer.C: remove getIncludeonlyList()
9845
9846         * paragraph.C:
9847         * lyxfunc.C: remove headers
9848
9849 2002-09-09  Juergen Vigna  <jug@sad.it>
9850
9851         * text.C (getColumnNearX): fix form Michael this is most
9852         probably a cut&paste bug.
9853
9854 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9855
9856         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9857
9858         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9859         references, ws changes.
9860
9861         * text2.C (init): update counters after init
9862         (insertParagraph): no need to set counter on idividual paragraphs.
9863         (setCounter): access the counters object in the textclass object
9864         on in the buffer object.
9865         (updateCounters): ditto
9866
9867         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9868         shared_ptr<Counters> to avoid loading counters.h in all
9869         compilation units.
9870         (LyXTextClass): initialize ctrs_
9871         (TextClassTags): add TC_COUNTER, and ...
9872         (Read): use it here.
9873         (CounterTags): new tags
9874         (readCounter): new function
9875         (counters): new funtion
9876         (defaultLayoutName): return a const reference
9877
9878         * counters.C (Counters): remove contructor
9879         (newCounter): remove a couple of unneeded statements.
9880         (newCounter): simplify a bit.
9881         (numberLabel): some small formatting changes.
9882
9883         * buffer.[Ch]: remove all traces of counters, move the Counters
9884         object to the LyXTextClass.
9885
9886 2002-09-06  Alain Castera  <castera@in2p3.fr>
9887
9888         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9889         package to set the horizontal alignment on fixed width columns.
9890
9891         * lyx_sty.C:
9892         * lyx_sty.h: added tabularnewline macro def.
9893
9894         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9895
9896 2002-09-06  John Levon  <levon@movementarian.org>
9897
9898         * LyXAction.C: tooltips for sub/superscript
9899
9900         * MenuBackend.C: a bit more verbose
9901
9902         * lyxfunc.C: tiny clean
9903
9904         * undo_funcs.C: document undo_frozen
9905
9906 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9907
9908         * counters.C (Counters): add missing algorithm counter.
9909
9910         * text2.C (setCounter): lookup the counter with layouts latexname
9911         instead of by section number.
9912         (setCounter): use a hackish way to lookup the correct enum
9913         counter.
9914         a float name->type change
9915         reset enum couners with counter name directly instead of depth value.
9916
9917         * counters.C (Counters): remove the push_backs, change to use the
9918         float type not the float name.
9919         (labelItem): remove unused string, float name->type change
9920
9921         * counters.h: don't include vector, loose the enums and sects vectors
9922
9923 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9924
9925         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9926         (Read): add float->TC_FLOAT to textclassTags
9927         (Read): and handle it in the switch
9928         (readFloat): new function
9929
9930         * FloatList.C (FloatList): comment out the hardcoded float
9931         definitions.
9932
9933         * lyxlayout.h: ws change.
9934
9935 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9938
9939 2002-09-03  Angus Leeming  <leeming@lyx.org>
9940
9941         * BufferView_pimpl.h: qualified name is not allowed in member
9942         declaration: WorkArea & Pimpl::workarea() const;
9943
9944         * factory.C: added using std::endl directive.
9945
9946         * text3.C: added using std::find and std::vector directives.
9947
9948 2002-08-29  André Pönitz <poenitz@gmx.net>
9949
9950         * lyxtext.h:
9951         * text2.C: remove unused member number_of_rows
9952
9953         * Makefile.am:
9954         * BufferView2.C: remove file, move contents to...
9955         * BufferView.C: ... here
9956
9957         * BufferView_pimpl.C:
9958         * factory.C: move more inset creation to factory
9959
9960         * vspace.C: avoid direct usage of LyXText, ws changes
9961
9962         * BufferView.[Ch]:
9963                 don't provide direct access to WorkArea, use two simple
9964                 acessors haveSelction() and workHeight() instead
9965
9966
9967 2002-08-29  John Levon  <levon@movementarian.org>
9968
9969         * BufferView_pimpl.C (dispatch): do not continue when
9970           no buffer
9971
9972 2002-08-28  André Pönitz <poenitz@gmx.net>
9973
9974         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9975
9976         * BufferView.h:
9977         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9978
9979 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9980
9981         * buffer.C: increment LYX_FORMAT to 221
9982
9983         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9984         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9985
9986         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9987
9988         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9989
9990 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * factory.C (createInset): use LyXTextClass::floats
9993
9994         * MenuBackend.C (expandFloatListInsert):
9995         (expandFloatInsert):
9996         (expandToc):
9997
9998         * text2.C (setCounter):
9999
10000         * LaTeXFeatures.C (useFloat):
10001         (getFloatDefinitions):
10002
10003         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10004
10005         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10006         floatlist_, with accessor floats().
10007
10008         * FloatList.h: remove global FloatList
10009
10010 2002-08-26  André Pönitz <poenitz@gmx.net>
10011
10012         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10013
10014         * BufferView.h:
10015         * BufferView2.C:
10016         * BufferView_pimpl.C:
10017         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10018
10019 2002-08-25  John Levon  <levon@movementarian.org>
10020
10021         * LyXAction.C: fix margin note description
10022
10023 2002-08-24  John Levon  <levon@movementarian.org>
10024
10025         * buffer.C:
10026         * bufferlist.C:
10027         * bufferview_funcs.C:
10028         * lyxfont.C:
10029         * undo_funcs.C: cleanups
10030
10031         * lyxfunc.C: disable CUT/COPY when no selection
10032
10033 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10034
10035         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10036         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10037
10038         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10039         Add backward compatibility to "mono", "gray" and "no".
10040
10041 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10042
10043         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10044         (and file_format >= 200).
10045
10046 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10049
10050 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10053
10054 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10055
10056         * BufferView_pimpl.C:
10057         * LyXAction.C:
10058         * buffer.C:
10059         * commandtags.h:
10060         * lyxfunc.C:
10061         * paragraph.[Ch]:
10062         * text2.C:
10063         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10064         inset and code to make it  work with the paragraph code. The inset
10065         can be anywhere in the paragraph, but will only do the expected
10066         thing in LaTeX if the layout file contains the parameter line
10067                         OptionalArgs    1
10068         (or more generally, a nonzero value) for that layout.
10069
10070 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10071
10072         * paragraph.h: remove the declaration of undefined counters class
10073         function.
10074
10075 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10076
10077         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10078         Dr. Richard Hawkins.
10079
10080 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10081
10082         * paragraph_funcs.h: remove some unneeded includes
10083
10084         * text.C (backspace): pasteParagraph now in global scipe
10085
10086         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10087         (pasteSelection): ditto
10088
10089         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10090         * paragraph_funcs.C (pasteParagraph): ... here
10091
10092 2002-08-20  André Pönitz <poenitz@gmx.net>
10093
10094         * commandtags.h: new LFUNs for swapping/copying table row/colums
10095
10096         * LyXAction.C:
10097         * lyxfunc.C: support for new lfuns
10098
10099 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10100
10101         * tabular.C:
10102         * buffer.[Ch]: remove NO_COMPABILITY stuff
10103
10104 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10105
10106         * boost.C (throw_exception): new file, with helper function for
10107         boost compiled without exceptions.
10108
10109         * paragraph.h:
10110         * lyxlength.C:
10111         * buffer.C:
10112         * ParameterStruct.h:
10113         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10114
10115         * bufferlist.C (emergencyWriteAll): use boost bind
10116
10117         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10118
10119         * text.C: include paragraph_funcs.h
10120         (breakParagraph): breakParagraph is now in global scope
10121
10122         * paragraph_funcs.[Ch]: new files
10123
10124         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10125         global scope
10126
10127         * buffer.C: include paragraph_funcs.h
10128         (insertStringAsLines): breakParagraph is now in global scope
10129
10130         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10131         paragraph_funcs.C
10132
10133         * CutAndPaste.C: include paragraph_funcs.h
10134         (cutSelection): breakParagraphConservative is now in global scope
10135         (pasteSelection): ditto
10136
10137         * buffer.h: declare oprator== and operator!= for
10138         Buffer::inset_iterator
10139
10140         * bufferlist.C (emergencyWrite): don't use fmt(...)
10141
10142         * text3.C: add using std::endl
10143
10144         * BufferView.C (moveCursorUpdate): remove default arg
10145
10146 2002-08-20  André Pönitz <poenitz@gmx.net>
10147
10148         * buffer.[Ch]: move inline functions to .C
10149
10150         * BufferView2.C:
10151         * BufferView_pimpl.C:
10152         * text.C:
10153         * buffer.[Ch]: use improved inset_iterator
10154
10155         * buffer.C:
10156         * paragraph.[Ch]: write one paragraph at a time
10157
10158 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10159
10160         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10161         style if style is not specified.
10162
10163 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * text2.C (setCounter): when searching for right label for a
10166         caption, make sure to recurse to parent insets (so that a caption
10167         in a minipage in a figure float works) (bug #568)
10168
10169 2002-08-20  André Pönitz <poenitz@gmx.net>
10170
10171         * text3.C: new file for LyXText::dispatch() and helpers
10172
10173         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10174
10175         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10176
10177 2002-08-19  André Pönitz <poenitz@gmx.net>
10178
10179         * lyxtext.h:
10180         * text.C: new LyXText::dispatch()
10181
10182         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10183
10184 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10185
10186         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10187
10188         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10189         Hebrew text.
10190
10191 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * Makefile.am: use $(variables) instead of @substitutions@
10194
10195 2002-08-15  André Pönitz <poenitz@gmx.net>
10196
10197         * lyxfunc.C:
10198         * BufferView_pimpl.C: streamlining mathed <-> outer world
10199         interaction
10200
10201         * commandtags.h:
10202         * LyXAction.C: remove unused LFUN_MATH
10203
10204 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10205
10206         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10207
10208 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10209
10210         * paragraph.C (Paragraph): reformat a bit
10211         (cutIntoMinibuffer): use builtin InsetList function instad of
10212         doing it manually.
10213         (getInset): ditto
10214
10215         * buffer.C: include boost/bind.hpp, add using std::for_each
10216         (writeFileAscii): use ParagraphList iterators
10217         (validate): use for_each for validate traversal of paragraphs
10218         (getBibkeyList): use ParagraphList iterators
10219         (resizeInsets): use for_each to resizeInsetsLyXText for all
10220         paragraphs.
10221         (getParFromID): use ParagraphList iterators
10222
10223         * BufferView2.C (lockInset): use paragraph list and iterators
10224
10225 2002-08-14  John Levon  <levon@movementarian.org>
10226
10227         * lyxserver.C: remove spurious xforms include
10228
10229 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10230
10231         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10232
10233 2002-08-13  André Pönitz <poenitz@gmx.net>
10234
10235         * LyXAction.[Ch]:
10236         * lyxfunc.C: further cleaning
10237
10238 2002-08-13  André Pönitz <poenitz@gmx.net>
10239
10240         * funcrequest.h: new constructor
10241
10242         * funcrequest.C: move stuff here from .h
10243
10244         * Makefile.am:
10245         * BufferView_pimpl.C:
10246         * LyXAction.C:
10247         * toc.C:
10248         * lyxfunc.C: subsequent changes
10249
10250         * lyxfunc.h: new view() member function
10251
10252         * lyxfunc.C: subsequent changes
10253
10254 2002-08-13  Angus Leeming  <leeming@lyx.org>
10255
10256         * BufferView2.C:
10257         * BufferView_pimpl.C:
10258         * buffer.C:
10259         * converter.C:
10260         * importer.C:
10261         * lyxfunc.C:
10262         * lyxvc.C:
10263         * toc.C:
10264         * vc-backend.C:
10265         changes due to the changed LyXView interface that now returns references
10266         to member variables not pointers.
10267
10268 2002-08-13  Angus Leeming  <leeming@lyx.org>
10269
10270         * WordLangTuple (word, lang_code): return references to strings,
10271         not strings.
10272
10273         * BufferView.h:
10274         * SpellBase.h:
10275         * lyxtext.h: forward-declare WordLangTuple.
10276
10277         * BufferView2.C:
10278         * ispell.C:
10279         * pspell.C:
10280         * text.C: #include "WordLangTuple.h".
10281
10282         * lyxtext.h:
10283         * text.C: (selectNextWordToSpellcheck): constify return type.
10284
10285 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10286
10287         * buffer.C:
10288         * buffer.h:
10289         * lyxtext.h:
10290         * paragraph.C:
10291         * paragraph_pimpl.h:
10292         * text.C:
10293         * text2.C:
10294         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10295         suggested by Angus.
10296         Made updateCounter always count from start of buffer, and removed
10297         second argument (par).
10298         Reverted floats number display to '#'. Perhaps I'll try again when the
10299         code base is sanitized a bit.
10300
10301 2002-08-12  Angus Leeming  <leeming@lyx.org>
10302
10303         * buffer.[Ch] (getLabelList): constify.
10304
10305 2002-08-07  André Pönitz <poenitz@gmx.net>
10306
10307         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10308
10309         * funcrequest.h: extension to keep mouse (x,y) position
10310
10311 2002-08-12  Juergen Vigna  <jug@sad.it>
10312
10313         * BufferView2.C (insertErrors): forbid undo when inserting error
10314         insets.
10315
10316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10317
10318 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10319
10320         * ParagraphList.[Ch]: new files
10321
10322         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10323
10324         * BufferView2.C (lockInset): ParagraphList changes
10325         * toc.C: ditto
10326         * text2.C: ditto
10327         * bufferlist.C: ditto
10328         * buffer.h: ditto
10329         * buffer.C: ditto
10330
10331 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10332
10333         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10334         unused class variable counter_,
10335
10336         * paragraph.[Ch] (getFirstCounter): delete unused function
10337
10338         * counters.C: include LAssert.h
10339         (reset): add a new function with no arg, change other version to
10340         not have def. arg and to not allow empty arg.
10341
10342         * text2.C (setCounter): remove empty arg from call to Counters::reset
10343
10344 2002-08-11  John Levon  <levon@movementarian.org>
10345
10346         * Makefile.am: add WordLangTuple.h
10347
10348 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10349
10350         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10351         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10352
10353         * insets/insettext.C: InsetList changes
10354
10355         * graphics/GraphicsSupport.C (operator()): InsetList changes
10356
10357         * toc.C (getTocList): InsetList changes
10358
10359         * paragraph_pimpl.[Ch]: InsetList changes
10360
10361         * paragraph.[Ch]: InsetList changes
10362
10363         * buffer.C (inset_iterator): InsetList changes
10364         (setParagraph): ditto
10365         * buffer.h (inset_iterator): ditto
10366         * iterators.C (operator++): ditto
10367         * iterators.h: ditto
10368
10369         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10370
10371         * InsetList.[Ch]: new files, most InsetList handling moved out of
10372         paragraph.C.
10373
10374         * BufferView2.C (removeAutoInsets): InsetList changes
10375         (lockInset): ditto
10376         (ChangeInsets): ditto
10377
10378 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10379
10380         * paragraph_pimpl.h (empty): new function
10381
10382         * paragraph.[Ch] (empty): new function
10383
10384         * other files: use the new Paragraph::empty function
10385
10386 2002-08-09  John Levon  <levon@movementarian.org>
10387
10388         * lyxtext.h: remove unused refresh_height
10389
10390 2002-08-09  John Levon  <levon@movementarian.org>
10391
10392         * Makefile.am:
10393         * sgml.h:
10394         * sgml.C:
10395         * buffer.C:
10396         * paragraph.h:
10397         * paragraph.C: move sgml char escaping out of paragraph
10398
10399         * paragraph.h:
10400         * paragraph.C: remove id setter
10401
10402         * buffer.C:
10403         * paragraph.C:
10404         * paragraph_pimpl.C: remove dead tex_code_break_column
10405
10406         * bufferview_funcs.C: small cleanup
10407
10408         * lyxfunc.C: remove dead proto
10409
10410         * lyxtext.h: make some stuff private. Remove some dead stuff.
10411
10412         * lyxgluelength.C: make as[LyX]String() readable
10413
10414 2002-08-08  John Levon  <levon@movementarian.org>
10415
10416         * LyXAction.h:
10417         * LyXAction.C:
10418         * MenuBackend.C:
10419         * ToolbarDefaults.C:
10420         * lyxfunc.C:
10421         * lyxrc.C:
10422         * toc.C: lyxaction cleanup
10423
10424 2002-08-08  John Levon  <levon@movementarian.org>
10425
10426         * BufferView2.C: small cleanup
10427
10428         * lyxfind.h:
10429         * lyxfind.C: move unnecessary header into the .C
10430
10431 2002-08-08  John Levon  <levon@movementarian.org>
10432
10433         * funcrequest.h: just tedious nonsense
10434
10435         * lyx_main.h:
10436         * lyx_main.C: cleanups
10437
10438         * buffer.C:
10439         * vspace.C: remove dead header lyx_main.h
10440
10441 2002-08-07  Angus Leeming  <leeming@lyx.org>
10442
10443         * Paragraph.[Ch]:
10444         * paragraph_pimpl.h:
10445         Forward declare class Counters in paragraph.h by moving the ctrs member
10446         variable into Paragraph::Pimpl.
10447         (counters): new method, returning a reference to pimpl_->ctrs.
10448
10449         * text2.C: ensuing changes.
10450
10451 2002-08-07  John Levon  <levon@movementarian.org>
10452
10453         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10454
10455         * BufferView_pimpl.C: announce X selection on double/triple
10456           click
10457
10458         * lyx_main.C: use correct bool in batch dispatch
10459
10460         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10461
10462 2002-08-07  André Pönitz <poenitz@gmx.net>
10463
10464         * funcrequest.h: new class to wrap a kb_action and its argument
10465
10466         * BufferView.[Ch]:
10467         * BufferView_pimpl[Ch]:
10468         * LaTeX.C:
10469         * LyXAction.[Ch]:
10470         * lyxfunc.[Ch]:
10471         * lyxrc.C: subsequent changes
10472
10473
10474 2002-08-07  John Levon  <levon@movementarian.org>
10475
10476         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10477           document options change.
10478
10479 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10480
10481         * counters.[Ch]
10482         * text2.C
10483         * paragraph.[Ch]
10484         * makefile.am: move counters functionality over from
10485         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10486
10487 2002-08-06  John Levon  <levon@movementarian.org>
10488
10489         * WordLangTuple.h: new file for word + language code tuple
10490
10491         * SpellBase.h:
10492         * pspell.h:
10493         * pspell.C:
10494         * ispell.h:
10495         * ispell.C:
10496         * lyxtext.h:
10497         * text.C:
10498         * text2.C:
10499         * BufferView.h:
10500         * BufferView2.C: use WordLangTuple
10501
10502         * layout.h:
10503         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10504
10505 2002-08-06  John Levon  <levon@movementarian.org>
10506
10507         * lyx_main.C: fix cmdline batch handling
10508
10509 2002-08-06  André Pönitz <poenitz@gmx.net>
10510
10511         * lyxrc.C: set default for show_banner to true
10512
10513 2002-08-06  John Levon  <levon@movementarian.org>
10514
10515         * pspell.C: fix a crash, and allow new aspell to work
10516
10517 2002-08-06  John Levon  <levon@movementarian.org>
10518
10519         * lyxfunc.C:
10520         * kbmap.C: small cleanup
10521
10522         * vspace.h:
10523         * vspace.C: add const
10524
10525 2002-08-05  John Levon  <levon@movementarian.org>
10526
10527         * LyXAction.C: back to tabular-insert
10528
10529 2002-08-04  John Levon  <levon@movementarian.org>
10530
10531         * BufferView.h:
10532         * BufferView.C: cosmetic change
10533
10534         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10535
10536         * bufferlist.C:
10537         * buffer.h:
10538         * buffer.C:
10539         * lyxcb.h:
10540         * lyxcb.C:
10541         * lyxserver.C:
10542         * lyxvc.C:
10543         * vc-backend.C:
10544         * BufferView2.C: purge all "Lyx" not "LyX" strings
10545
10546         * lyxcursor.h:
10547         * lyxcursor.C: attempt to add some documentation
10548
10549         * lyxfunc.C:
10550         * commandtags.h:
10551         * LyXAction.C:
10552         * ToolbarDefaults.C:
10553         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10554           merge with LFUN_TABULAR_INSERT
10555
10556         * Makefile.am:
10557         * SpellBase.h:
10558         * ispell.h:
10559         * ispell.C:
10560         * pspell.h:
10561         * pspell.C: split up i/pspell implementations into separate
10562           files, many cleanups
10563
10564         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10565
10566         * text2.C: some cleanup
10567
10568         * lyxfunc.C: don't check for isp_command == "none" any more, it
10569           didn't make any sense
10570
10571 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10572
10573         * counters.[Ch]
10574         * text2.C
10575         * paragraph.[Ch]
10576         * makefile.am: move counters functionality over
10577         from text2.C/paragraph.[Ch] to counters.[Ch], and
10578         make proper C++.
10579 2002-08-02  John Levon  <levon@movementarian.org>
10580
10581         * buffer.C: s/lyxconvert/lyx2lyx/
10582
10583 2002-08-02  Angus Leeming  <leeming@lyx.org>
10584
10585         * lyxlex.C: revert John's change as it breaks reading of the user
10586         preamble.
10587
10588 2002-08-02  Angus Leeming  <leeming@lyx.org>
10589
10590         * importer.C (Import):
10591         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10592         changes due to LyXView::view() now returning a boost::shared_ptr.
10593
10594 2002-08-02  John Levon  <levon@movementarian.org>
10595
10596         * lyxlex.C: small cleanup
10597
10598 2002-08-02  John Levon  <levon@movementarian.org>
10599
10600         * text2.C (status): small cleanup, no logic change
10601
10602 2002-08-01  John Levon  <levon@movementarian.org>
10603
10604         * buffer.h:
10605         * buffer.C (writeFile): don't output alerts, caller
10606           handles this
10607
10608         * bufferlist.C:
10609         * lyx_cb.C: from above
10610
10611         * lyxfunc.C: allow to open non-existent files
10612
10613 2002-07-31  John Levon  <levon@movementarian.org>
10614
10615         * lyxserver.C: don't let incidental errors get
10616           in the way (errno)
10617
10618 2002-07-30  John Levon  <levon@movementarian.org>
10619
10620         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10621
10622 2002-07-30  John Levon  <levon@movementarian.org>
10623
10624         * lyxserver.h:
10625         * lyxserver.C: remove I/O callback too
10626
10627 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10628
10629         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10630         log.
10631
10632 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * many files: strip,frontStrip -> trim,ltrim,rtrim
10635
10636 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10637
10638         * PrinterParams.h: remove extern containsOnly, and include
10639         support/lstrings.h instead.
10640
10641         * LaTeX.C (scanAuxFile): modify because of strip changes
10642         (deplog): ditto
10643         * buffer.C (makeLaTeXFile): ditto
10644         * bufferparams.C (writeFile): ditt
10645         * lyxfont.C (stateText): ditto
10646         * lyxserver.C (read_ready): ditto
10647         * vc-backend.C (scanMaster): ditto
10648
10649         * BufferView_pimpl.h: ws changes
10650
10651         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10652
10653 2002-07-26  André Pönitz <poenitz@gmx.net>
10654
10655         * kb_sequence.C: remove unnedred usings
10656
10657 2002-07-26  Juergen Vigna  <jug@sad.it>
10658
10659         * lyxfind.C (LyXReplace): we have to check better if the returned
10660         text is not of theLockingInset()->getLockingInset().
10661
10662 2002-07-25  Juergen Vigna  <jug@sad.it>
10663
10664         * lyxfind.C (LyXReplace): don't replace if we don't get the
10665         right LyXText.
10666
10667         * undo_funcs.C (createUndo): remove debugging code.
10668
10669 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * buffer.C (parseSingleLyXformat2Token): Use default placement
10672         when reading old floats.
10673
10674         * FloatList.C (FloatList): Change the default placement of figure
10675         and tables to "tbp".
10676
10677 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * MenuBackend.C: using std::max
10680
10681 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * MenuBackend.C (expandToc):
10684         (expandToc2): code moved from xforms menu frontend. It is now
10685         generic and TOCs are transparent to menu frontends.
10686
10687 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10688
10689         * toc.C (getTocList): protect against buf=0
10690
10691         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10692         Menu as first parameter. Now, this calls itself recursively to
10693         expand a whole tree (this will be useful for TOC handling)
10694         (expandFloatInsert): remove 'wide' version of floats
10695
10696         * MenuBackend.h (submenuname): returns the name of the submenu.
10697         (submenu): returns the submenu itself, provided it has been
10698         created by MenuBackend::expand
10699
10700 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10703         insets which have noFontChange == true. (bug #172)
10704
10705 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * BufferView_pimpl.C: add connection objects and use them...
10708         (Pimpl): here.
10709
10710 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * MenuBackend.C (expandLastfiles):
10713         (expandDocuments):
10714         (expandFormats):
10715         (expandFloatListInsert):
10716         (expandFloatInsert):
10717         (expand): split expand in parts
10718
10719 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * lyx_gui.C: use lyx_gui::exit()
10722
10723 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * LyXAction.C: show the failing pseudo action
10726
10727 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * buffer.C (readFile): Run the lyxconvert script in order to read
10730         old files.
10731
10732 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * LyXAction.C:
10735         * commandtags.h:
10736         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10737
10738 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * LyXAction.C:
10741         * commandtags.h:
10742         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10743
10744 2002-07-22  Herbert Voss  <voss@lyx.org>
10745
10746         * lengthcommon.C:
10747         * lyxlength.[Ch]: add support for the vertical lengths
10748
10749 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10750
10751         * toc.[Ch]: std:: fixes
10752
10753 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * lyxrc.C: do not include lyx_main.h
10756
10757         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10758         for layouts
10759
10760         * lyxrc.C:
10761         * encoding.C:
10762         * bufferlist.C:
10763         * BufferView2.C: include "lyxlex.h"
10764
10765         * tabular.h:
10766         * bufferparams.h: do not #include "lyxlex.h"
10767
10768         * lyxtextclasslist.C (Add): remove method
10769         (classlist): renamed to classlist_
10770
10771         * paragraph_pimpl.C:
10772         * paragraph.C:
10773         * text2.C:
10774         * CutAndPaste.C:
10775         * bufferview_funcs.C:
10776         * bufferlist.C:
10777         * text.C:
10778         * LaTeXFeatures.C:
10779         * buffer.C:
10780         * toc.C (getTocList): use BufferParams::getLyXTextClass
10781
10782         * toc.C (getTocList): use InsetFloat::addToToc
10783
10784         * toc.[Ch]: new files, containing helper functions to handle table
10785         of contents
10786
10787         * lyxfunc.C (dispatch): no need to remove spaces around command
10788         given as a string
10789         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10790         first command of the sequence; it is not very clever, but I do not
10791         have a better idea, actually
10792
10793         * LyXAction.C (LookupFunc): make sure to remove space at the
10794         beginning and end of the command
10795
10796 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * MenuBackend.C (getMenubar): new method: return the menubar of
10799         this menu set
10800         (read): treat differently reading of menu and menubar (in
10801         particular, the menubar has no name now)
10802         (Menu::menubar): remove
10803
10804         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10805         saving is finished
10806
10807 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10810         a bibitem inset in a RTL paragraph.
10811
10812 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * paragraph_pimpl.C: constify
10815
10816         * BufferView_pimpl.C:
10817         * LaTeX.C:
10818         * lyxfunc.C: fix dispatch in a nicer way
10819
10820 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * lyxfunc.C (dispatch):
10823         * BufferView_pimpl.C:
10824         * BufferView_pimpl.h:
10825         * BufferView.C:
10826         * BufferView.h: rename Dispatch() to dispatch()
10827
10828         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10829
10830         * lyxlayout.C (Read): honor DependsOn tag
10831
10832         * lyxlayout.[Ch] (depends_on): new method
10833
10834         * version.C.in: update lyx_docversion
10835
10836         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10837
10838         * paragraph.C (validate): remove from here...
10839         * paragraph_pimpl.C (validate): ... and move here
10840         (isTextAt): make it const
10841
10842         * buffer.C (getLists): ws cleanup
10843
10844 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * language.C (read): Use iso8859-1 encoding in latex_lang
10847         (this prevents LyX from crashing when using iso10646-1 encoding).
10848
10849 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10850
10851         * text2.C (toggleInset): if cursor is inside an inset, close the
10852         inset and leave cursor _after_ it
10853
10854 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * lyxfunc.C: move minibuffer completion handling out of here
10857
10858 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * BufferView_pimpl.C:
10861         * LaTeX.C: fix dispatch calls
10862
10863 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * text.C (drawChars): Fix Arabic text rendering.
10866
10867 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * LyXAction.C:
10870         * commandtags.h:
10871         * lyxfunc.C: remove message-push/pop
10872
10873         * lyxserver.C:
10874         * lyxfunc.h:
10875         * lyxfunc.C: rationalise some code by removing verboseDispatch
10876           in favour of a bool argument to dispatch()
10877
10878 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10879
10880         * lyx_main.C (init): make sure to read symlinks as absolute paths
10881
10882 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * lyxfunc.h:
10885         * lyxfunc.C: no need for commandshortcut to be a member
10886
10887 2002-07-15  André Pönitz <poenitz@gmx.net>
10888
10889         * converter.C: add support for $$s (scripts from lib/scripts dir)
10890         * lyx_main.C: white space
10891
10892 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * bufferlist.C:
10895         * lyxrc.h:
10896         * lyxrc.C: remove second exit confirmation
10897
10898 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * BufferView.h:
10901         * BufferView.C:
10902         * BufferView2.C:
10903         * BufferView_pimpl.h:
10904         * BufferView_pimpl.C:
10905         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10906
10907 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * MenuBackend.C (expand): add numeric shortcuts to document menu
10910
10911         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10912
10913 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * lyxfont.C (setLyXFamily):
10916         (setLyXSeries):
10917         (setLyXShape):
10918         (setLyXSize):
10919         (setLyXMisc):
10920         (lyxRead):
10921         * debug.C (value):
10922         * buffer.C (asciiParagraph): use ascii_lowercase
10923
10924 2002-07-15  Mike Fabian  <mfabian@suse.de>
10925
10926         * lyxlex_pimpl.C (search_kw):
10927         * lyxlex.C (getLongString):
10928         * converter.h (operator<):
10929         * converter.C (operator<):
10930         * buffer.C (parseSingleLyXformat2Token):
10931         (asciiParagraph):
10932         * ToolbarDefaults.C (read):
10933         * MenuBackend.C (checkShortcuts):
10934         (read):
10935         * LColor.C (getFromGUIName):
10936         (getFromLyXName): use the compare_ascii_no_case instead of
10937         compare_no_case, because in turkish, 'i' is not the lowercase
10938         version of 'I', and thus turkish locale breaks parsing of tags.
10939
10940 2002-07-16  Angus Leeming  <leeming@lyx.org>
10941
10942         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10943         now takes a Buffer const & argument.
10944
10945 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * BufferView.C (resize): check there's a buffer to resize
10948
10949 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxfunc.C: remove dead code
10952
10953         * lyxserver.h:
10954         * lyxserver.C: use lyx_guii::set_read_callback
10955
10956 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10957
10958         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10959         an inset in a RTL paragraph.
10960
10961 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * lyxfunc.C: repaint after a font size update
10964
10965 2002-07-15  André Pönitz <poenitz@gmx.net>
10966
10967         * lyxlength.C: inBP should be able to return negative values
10968
10969 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * lyxfunc.C: use lyx_gui::update_fonts()
10972
10973 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * lyxfunc.C: use lyx_gui::update_color()
10976
10977 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * bufferlist.C:
10980         * lyxfunc.h:
10981         * lyxfunc.C:
10982         * lyxrc.h:
10983         * lyxrc.C: remove file->new asks for name option, and let
10984           buffer-new take an argument
10985
10986 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * BufferView_pimpl.C: remove unneeded extra repaint()
10989
10990 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * LyXAction.C: allow command-sequence with NoBuffer
10993
10994         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10995
10996 2002-07-10  Angus Leeming  <leeming@lyx.org>
10997
10998         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10999
11000 2002-07-09  Angus Leeming  <leeming@lyx.org>
11001
11002         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11003
11004 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * lengthcommon.h: whitespace
11007
11008         * lyxfunc.C: update scrollbar after goto paragraph
11009
11010         * lyxtext.h: factor out page break drawing, and fix it so
11011           page break/added space paints as selected nicely
11012
11013 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * BufferView_pimpl.C: add FIXMEs, clean up a little
11016
11017 2002-07-09  André Pönitz <poenitz@gmx.net>
11018
11019         * lyxfont.[Ch]: support for wasy symbols
11020
11021 2002-07-08  André Pönitz <poenitz@gmx.net>
11022
11023         * BufferView_pimpl.C: apply John's patch for #93.
11024
11025 2002-07-05  Angus Leeming  <leeming@lyx.org>
11026
11027         * BufferView_pimpl.C (buffer): generate previews if desired.
11028
11029         * LColor.h: add "preview" to the color enum.
11030
11031         * LColor.C (LColor): add a corresponding entry to the items array.
11032
11033         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11034         with this buffer.
11035
11036 2002-07-05  Angus Leeming  <leeming@lyx.org>
11037
11038         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11039         The body of the code is now in the method that is passed an ostream &
11040         rather than a file name.
11041         Pass an additional only_preamble parameter, useful for the forthcoming
11042         preview stuff.
11043
11044 2002-07-03  André Pönitz <poenitz@gmx.net>
11045
11046         * lyxfunc.C: simplify getStatus() a bit for math stuff
11047
11048 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11051
11052 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11053
11054         * text.C (changeRegionCase): do not change case of all the
11055         document when region ends at paragraph end (bug #461)
11056
11057 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11058
11059         * paragraph.C (startTeXParParams):
11060         (endTeXParParams): add \protect when necessary
11061
11062 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * BufferView_pimpl.C (workAreaExpose): remove warning
11065
11066 2002-06-27  Angus Leeming  <leeming@lyx.org>
11067
11068         * Makefile.am: add lyxlayout_ptr_fwd.h.
11069
11070 2002-06-26  André Pönitz <poenitz@gmx.net>
11071
11072         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11073
11074 2002-06-25  Angus Leeming  <leeming@lyx.org>
11075
11076         * lyxfunc.C (dispatch): Comment out the call to
11077         grfx::GCache::changeDisplay. The method no longer exists now that the
11078         pixmap generation part of the graphics loader has been moved into
11079         InsetGraphics.
11080
11081 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * text2.C: layout as layout
11084
11085         * text.C: layout as layout
11086
11087         * tabular.C (OldFormatRead): layout as layout
11088
11089         * paragraph_pimpl.C (TeXDeeper): layout as layout
11090         (realizeFont): layout as layout
11091
11092         * paragraph.C (writeFile): layout as layout
11093         (validate): layout as layout
11094         (getFont): layout as layout
11095         (getLabelFont): layout as layout
11096         (getLayoutFont): layout as layout
11097         (breakParagraph): layout as layout
11098         (stripLeadingSpaces): layout as layout
11099         (getEndLabel): layout as layout
11100         (getMaxDepthAfter): layout as layout
11101         (applyLayout): layout as layout
11102         (TeXOnePar): layout as layout
11103         (simpleTeXOnePar): layout as layout
11104         (TeXEnvironment): layout as layout
11105         (layout): layout as layout
11106         (layout): layout as layout
11107
11108         * lyxtextclass.C (compare_name): new functor to work with
11109         shared_ptr, layout as layout
11110         (Read): layout as layout
11111         (hasLayout): layout as layout
11112         (operator): layout as layout
11113         (delete_layout): layout as layout
11114         (defaultLayout): layout as layout
11115
11116         * lyxlayout_ptr_fwd.h: new file
11117
11118         * lyxlayout.C (Read): layout as layout
11119
11120         * lyx_cb.C (MenuInsertLabel): layout as layout
11121
11122         * bufferlist.C (newFile): layout as layout
11123
11124         * buffer.C (readLyXformat2): layout as layout
11125         (parseSingleLyXformat2Token): layout as layout
11126         (insertStringAsLines): layout as layout
11127         (asciiParagraph): layout as layout
11128         (latexParagraphs): layout as layout
11129         (makeLinuxDocFile): layout as layout
11130         (simpleLinuxDocOnePar): layout as layout
11131         (makeDocBookFile): layout as layout
11132         (simpleDocBookOnePar): layout as layout
11133         (getLists): layout as layout
11134
11135         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11136
11137         * CutAndPaste.C (cutSelection): layout as layout
11138         (pasteSelection): layout as layout
11139         (SwitchLayoutsBetweenClasses): layout as layout
11140
11141         * BufferView_pimpl.C (Dispatch): layout as layout
11142         (smartQuote): layout as layout
11143
11144         * BufferView2.C (unlockInset): layout as layout
11145
11146 2002-06-24  André Pönitz <poenitz@gmx.net>
11147
11148         * lyxfunc.C: fix #487
11149
11150 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * lyxrc.h:
11153         * lyxrc.C:
11154         * lyxfunc.C: remove display_shortcuts, show_banner
11155
11156 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * Buffer_pimpl.C: oops, update on resize
11159
11160 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * buffer.C:
11163         * converter.C:
11164         * exporter.C:
11165         * lyxfunc.C:
11166         * BufferView.h:
11167         * BufferView.C: use repaint()
11168
11169         * BufferView_pimpl.h:
11170         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11171           as it's a clearer description. Remove superfluous
11172           redraws.
11173
11174 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * text.C: fix bug 488. Not ideal, but getting
11177           getWord() to work properly for the insets that
11178           matter is more difficult ...
11179
11180 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView_pimpl.C:
11183         * LyXAction.C:
11184         * commandtags.h:
11185         * lyxfunc.C: remove the six million index lyxfuncs to just
11186           one, and DTRT (bug 458)
11187
11188 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * BufferView.h:
11191         * BufferView.C:
11192         * BufferView_pimpl.h:
11193         * BufferView_pimpl.C: clean up resize() stuff,
11194           and unnecessary updateScreen()s
11195
11196 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView.h:
11199         * BufferView.C:
11200         * BufferView_pimpl.h:
11201         * BufferView_pimpl.C:
11202         * lyxfind.h:
11203         * lyxfind.C:
11204         * minibuffer.C: remove focus management of workarea,
11205           not needed. Use screen's greyOut()
11206
11207 2002-06-17  Herbert Voss  <voss@lyx.org>
11208
11209         * converter.C: (convert) do not post a message, when converting
11210         fails, let the calling function decide what to do in this case
11211
11212 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * lyxfunc.C: tidy up a little
11215
11216 2002-06-16    <alstrup@diku.dk>
11217
11218         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11219         Got rid of FORMS_H_LOCATION include. Now we are
11220         GUII.
11221
11222 2002-06-15  LyX Development team  <lyx@rilke>
11223
11224         * buffer.[Ch] (sgmlOpenTag):
11225         (sgmlCloseTag): Added support for avoiding pernicious mixed
11226         content. Return number of lines written.
11227
11228         (makeLinuxDocFile):
11229         (makeDocBookFile): Fixed calls to sgml*Tag.
11230         Simple white space clean.
11231
11232         (simpleDocBookOnePar): Simple white space clean.
11233
11234         * tabular.[Ch] (docBook): Renamed to docbook and got another
11235         argument to related with the pernicious mixed content.
11236
11237         (docbookRow): Fixed calls for docbook inset method.
11238
11239 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11240
11241         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11242         so it's X11 independent.
11243
11244         * kb*.[Ch]: ditto.
11245
11246         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11247
11248 2002-06-15  Lyx Development team  <lyx@electronia>
11249
11250         * intl.h: Renamed getTrans to getTransManager.
11251
11252 2002-06-14  Angus Leeming  <leeming@lyx.org>
11253
11254         * Makefile.am: nuke forgotten stl_string_fwd.h.
11255
11256 2002-06-12  Angus Leeming  <leeming@lyx.org>
11257
11258         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11259
11260 2002-06-13  Angus Leeming  <leeming@lyx.org>
11261
11262         * LaTeX.C:
11263         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11264
11265 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11266
11267         * kbmap.C (getiso): add support for cyrillic and greek
11268
11269 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * BufferView.h:
11272         * BufferView.C:
11273         * BufferView_pimpl.h:
11274         * BufferView_pimpl.C: move bogus scrolling logic
11275           to xforms
11276
11277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyxfunc.C:
11280         * BufferView_pimpl.C: view->resize() change
11281
11282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.C: topCursorVisible
11285           prototype change
11286
11287 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * Makefile.am:
11290         * lyx_gui.h:
11291         * lyx_gui.C: move to frontends/
11292
11293         * main.C:
11294         * lyx_main.h:
11295         * lyx_main.C: changes from above
11296
11297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * intl.C:
11300         * intl.h:
11301         * kbmap.C:
11302         * kbsequence.C:
11303         * lyx_cb.C:
11304         * lyx_main.C: minor tidy
11305
11306 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView_pimpl.h:
11309         * BufferView_pimpl.C:
11310         * BufferView.h:
11311         * BufferView.C: make painter() const,
11312           remove dead code
11313
11314         * BufferView2.C: use screen() accessor
11315
11316         * lyx_main.h:
11317         * lyx_main.C: some minor cleanup
11318
11319 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * BufferView_pimpl.h:
11322         * BufferView_pimpl.C: remove enter/leaveView,
11323           use workHeight()
11324
11325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * BufferView.h:
11328         * BufferView.C:
11329         * BufferView2.C:
11330         * BufferView_pimpl.h:
11331         * BufferView_pimpl.C: only construct screen once,
11332           rename
11333
11334         * lyxrc.C: remove pointless comment
11335
11336 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * BufferView.h:
11339         * BufferView.C: remove active() and belowMouse()
11340
11341         * BufferView_pimpl.h:
11342         * BufferView_pimpl.C: use workarea() not workarea_,
11343           and make it use a scoped_ptr instead
11344
11345 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * lyx_gui.C: add debug message on BadWindow
11348
11349 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * sp_spell.C: fdopen is not part of the C++ standard.
11352
11353         * paragraph.C (InsetIterator): use >= instead of ==
11354
11355 2002-06-07  Angus Leeming  <leeming@lyx.org>
11356
11357         Fixes needed to compile with Compaq cxx 6.5.
11358         * BufferView_pimpl.C:
11359         * DepTable.C:
11360         * buffer.C:
11361         * converter.C:
11362         * encoding.C:
11363         * lyx_gui.C:
11364         * lyx_main.C:
11365         * lyxtextclasslist.C:
11366         * minibuffer.C:
11367         * sp_spell.C:
11368         * tabular_funcs.C:
11369         * vc-backend.C:
11370         all c-library variables have been moved into namespace std. Wrap
11371         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11372
11373         * lyxlength.C:
11374         * tabular-old.C:
11375         * tabular.C:
11376         Add a using std::abs declaration.
11377
11378         * kbmap.h (modifier_pair):
11379         * paragraph.h (InsetTable, InsetList):
11380         * lyxfont.h (FontBits):
11381         type definition made public.
11382
11383         * bufferlist.C (emergencyWriteAll): the compiler complains that
11384         there is more than one possible lyx::class_fun template to choose from.
11385         I re-named the void specialisation as lyx::void_class_fun.
11386
11387         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11388
11389         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11390         the compiler is is unable to find tostr in write_attribute.
11391
11392 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11393
11394         * buffer.C (sgmlError): hide #warning
11395
11396 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * xtl/*: get rid of xtl, which is not in use anyway
11399
11400         * LyXAction.C (init):
11401         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11402         were unimplemented xtl experimentation
11403
11404 2002-06-04  André Pönitz <poenitz@gmx.net>
11405
11406         * lyxfunc.C: disable array operation on simple formulae
11407
11408 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * converter.C: constify a bit
11411
11412 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * lyx_gui.C: check xforms version correctly
11415
11416 2002-04-30  Herbert Voss  <voss@lyx.org>
11417
11418         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11419         "keep" option
11420
11421 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11424           attempt to register it with a VCS)
11425
11426 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11427
11428         * lyx_main.C (init): honor variables LYX_DIR_13x and
11429         LYX_USERDIR_13x
11430
11431 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * buffer.h:
11434         * buffer.C:
11435         * lyx_main.C: fix a crash on bad command line,
11436           and give a useful exit status on error
11437
11438         * lyxfunc.C (doImport): allow -i lyx to work
11439
11440 2002-03-30  André Pönitz <poenitz@gmx.net>
11441
11442         * lyxfunc.C: mathed font changes
11443
11444 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * LaTeX.C:
11447         * importer.h:
11448         * importer.C:
11449         * lyx_sty.h:
11450         * lyx_sty.C:
11451         * lyxlex.C:
11452         * lyxrow.h:
11453         * lyxtext.h:
11454         * paragraph.h:
11455         * paragraph.C:
11456         * texrow.h:
11457         * texrow.C:
11458         * text.C:
11459         * trans_mgr.h: srcdocs, and some minor cleanups
11460
11461 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11464         call getFont all the time)
11465
11466 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * switch from SigC signals to boost::signals
11469
11470 2002-05-29  André Pönitz <poenitz@gmx.net>
11471
11472         * paragraph_pimpl.C (getChar): don't call size() too often...
11473
11474 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * paragraph_pimpl.C (insertChar): do not try to update tables when
11477         appending (pos == size())
11478
11479         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11480         in order to reduce drastically the number of comparisons needed to
11481         parse a large document
11482
11483 2002-05-29  André Pönitz <poenitz@gmx.net>
11484
11485         * text.C:
11486         * text2.C:
11487         * lyxtextclass.C:
11488         * sp_pspell.h:
11489         * textclasslist.[Ch]:
11490         * sp_ispell.h: whitespace change
11491
11492 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11493
11494         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11495         lyxaction directly now.
11496
11497 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * trans.C:
11500         * lyxfont.C:
11501         * lyxvc.C: remove unused headers
11502
11503 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * Makefile.am:
11506         * buffer.h:
11507         * undostack.h:
11508         * undostack.C:
11509         * undo_funcs.h:
11510         * undo_funcs.C: some cleanups. Use shared_ptr
11511           and a template for the undo stacks.
11512
11513 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * BufferView_pimpl.h:
11516         * BufferView_pimpl.C:
11517         * kbmap.h:
11518         * kbmap.C:
11519         * kbsequence.h:
11520         * kbsequence.C:
11521         * lyxfunc.h:
11522         * lyxfunc.C:
11523         * text2.C: use key_state/mouse_state
11524
11525 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11528         and LSubstring
11529
11530         * chset.C: change include order
11531         (loadFile): use boost regex and get rid of LRegex and LSubstring
11532
11533         * Makefile.am (BOOST_LIBS): new variable
11534         (lyx_LDADD): use it
11535
11536         * LaTeX.C: change include order.
11537         (scanAuxFile): use boost regex and get rid of LRegex and
11538         LSubstring
11539         (deplog): ditto
11540
11541 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * ColorHandler.h:
11544         * ColorHandler.C:
11545         * FontInfo.h:
11546         * FontInfo.C: moved to frontends/xforms/
11547
11548         * FontLoader.h:
11549         * FontLoader.C: moved into frontends for GUIIzation
11550
11551         * Makefile.am:
11552         * lyx_gui.C:
11553         * lyxfont.C:
11554         * lyxfunc.C: changes from above
11555
11556 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * LColor.C: remove spurious X include
11559
11560         * BufferView_pimpl.C:
11561         * Makefile.am:
11562         * font.h:
11563         * font.C:
11564         * text.C:
11565         * text2.C: move font metrics to frontends/
11566
11567 2002-05-24  Juergen Vigna  <jug@sad.it>
11568
11569         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11570         setting the undo_cursor.
11571
11572         * ParagraphParameters.h: include local includes first.
11573
11574 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * BufferView_pimpl.C:
11577         * BufferView_pimpl.h:
11578         * Makefile.am:
11579         * WorkArea.h:
11580         * WorkArea.C:
11581         * screen.C: move WorkArea into frontends/
11582
11583         * lyxscreen.h:
11584         * screen.C:
11585         * text.C:
11586         * BufferView.C:
11587         * BufferView2.C: move LyXScreen into frontends/
11588
11589         * lyxlookup.h:
11590         * lyxlookup.C:
11591         * lyx_gui.C: move lyxlookup into frontends/xforms/
11592
11593 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * BufferView2.C:
11596         * BufferView_pimpl.C:
11597         * FontLoader.C:
11598         * LyXView.h:
11599         * LyXView.C:
11600         * Makefile.am:
11601         * WorkArea.C:
11602         * XFormsView.h:
11603         * XFormsView.C:
11604         * buffer.C:
11605         * bufferlist.C:
11606         * bufferview_funcs.C:
11607         * converter.C:
11608         * importer.C:
11609         * lyx_cb.C:
11610         * lyx_gui.C:
11611         * lyx_main.C:
11612         * lyx_find.C:
11613         * lyxfunc.C:
11614         * lyxvc.C:
11615         * minibuffer.C:
11616         * text.C:
11617         * text2.C:
11618         * trans.C:
11619         * vc-backend.C: move LyX/XFormsView into frontends/
11620
11621 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * Makefile.am:
11624         * PainterBase.C:
11625         * PainterBase.h:
11626         * Painter.C:
11627         * Painter.h:
11628         * WorkArea.C:
11629         * WorkArea.h:
11630         * screen.C:
11631         * tabular.C:
11632         * text.C:
11633         * text2.C: move Painter to frontends/
11634
11635 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * buffer.C: comment out some some code that depend upon lyx_format
11638         < 220
11639
11640         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11641         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11642
11643         * buffer.h (NO_COMPABILITY): turn off compability
11644
11645         * ColorHandler.C: include scoped_array.hpp
11646
11647         * font.C: Use more specific smart_ptr header.
11648         * Painter.C: ditto
11649         * gettext.C: ditto
11650         * ShareContainer.h: ditto
11651         * lyx_main.h: ditto
11652         * kbmap.h: ditto
11653         * FontInfo.h: ditto
11654         * BufferView_pimpl.h: ditto
11655         * ColorHandler.h: ditto
11656
11657         * kbmap.C (defkey): change call to shared_ptr::reset
11658
11659 2002-05-21  Juergen Vigna  <jug@sad.it>
11660
11661         * buffer.C (insertErtContents): fix to insert ert asis if it is
11662         non empty. Skip it completely if it contains only whitespaces.
11663
11664 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * BufferView_pimpl.C:
11667         * BufferView2.C: clear selection on paste (bug 393)
11668
11669 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * DepTable.C: include ctime
11672
11673 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11674
11675         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11676
11677 2002-05-14  Juergen Vigna  <jug@sad.it>
11678
11679         * text.C (breakParagraph): fixed function to honor the keepempty
11680         layout in the right maner and also to permit the right breaking
11681         algorithm on empty or non empyt keepempty paragraphs.
11682
11683         * paragraph.C (breakParagraph): we have to check also if the par
11684         is really empty (!size()) for isempty otherwise we do the wrong
11685         paragraph break.
11686
11687 2002-05-10  Juergen Vigna  <jug@sad.it>
11688
11689         * buffer.[Ch] : The following are only changes to the ert
11690         compatibility read reading old LaTeX layout and font stuff and
11691         convert it to ERTInsets.
11692
11693         * buffer.h: added isErtInset().
11694
11695         * buffer.C (struct ErtComp): add a fromlayout bool to check
11696         if we're inside a LaTeX layout.
11697         (isErtInset): new helper function.
11698         (insertErtContents): look for other ert insets before this one
11699         and insert the contents there, so that we don't have subsequent
11700         ERT insets with nothing between them. This way we create only one
11701         inset with multiple paragraphs. Also check if we don't insert only
11702         spaces ' ' as they are ignored anyway afterwards in the .tex file
11703         so if we have only spaces we will ignore this latex part in the
11704         new file.
11705         (parseSingleLyXformat2Token \\layout): better compatibility when
11706         reading layout-latex stuff.
11707         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11708         language tag.
11709         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11710         stuff after reading the inset only get the information back from
11711         the stack.
11712
11713 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11714
11715         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11716
11717         * LaTeXFeatures.C (getBabelOptions): New method.
11718
11719 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * BufferView_pimpl.C (Dispatch): work around missing argument for
11722         'layout'
11723
11724 2002-05-08  Juergen Vigna  <jug@sad.it>
11725
11726         * text.C (leftMargin): handle paragraph leftindent.
11727
11728         * paragraph.C (writeFile): write the new \\leftindent tag.
11729         (validate): handle leftindent code.
11730         (TeXEnvironment): handle paragraphleftindent code again.
11731
11732         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11733
11734         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11735         for paragrap_extra indent code and new token \\leftindent.
11736         (latexParagraphs): handle the leftindent as environment.
11737
11738         * ParameterStruct.h: added leftindent support.
11739
11740         * ParagraphParameters.C (leftIndent): added support functions for
11741         the paragraph left indent.
11742
11743         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11744         more appropriate.
11745
11746 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11747
11748         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11749         inside insetERT.
11750
11751         * text.C (computeBidiTables): No bidi in insetERT.
11752
11753         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11754         in RTL documents.
11755
11756 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * version.C.in: pre 5
11759
11760 2002-05-02  José Matos  <jamatos@fep.up.pt>
11761         * buffer.C (makeDocBookFile): white space changes, add newline to
11762         command styles.
11763         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11764
11765         * tabular.C (docBook): fix typo.
11766
11767 2002-05-03  Juergen Vigna  <jug@sad.it>
11768
11769         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11770         change in LyXText as we can not be sure it was not freed.
11771         (drawOneRow): remove unused code.
11772
11773         * text.C (drawInset): redo the calculation of the need_break_row as
11774         it could have a row which was already freed.
11775         (draw): look at the return value of drawInset and return false if
11776         it also returned false.
11777         (paintRowText): look at the return value of draw and return false if
11778         it also returned false.
11779
11780         * lyxtext.h: added bool return type to drawInset() and draw() so that
11781         if we have a change in the row so that the rowbreak has to be redone
11782         we abort drawing as it will be called again.
11783
11784 2002-05-02  Juergen Vigna  <jug@sad.it>
11785
11786         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11787         a change in the maintext also if we're inside an inset.
11788         (Dispatch): set the cursor again after a break line and after the
11789         screen has been updated as it could be we're in a different row.
11790
11791         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11792         to set the cursor behind the pargraph with > size().
11793         (setCursor): check also for the same paragraph when checking where
11794         to put the cursor if we have a NFR inset.
11795
11796         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11797         parts of layout read further up as it still was in the wrong
11798         position.
11799
11800 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * screen.C (drawFromTo): change sine fullRebreak always return
11803         true.
11804
11805         * buffer.C (parseSingleLyXformat2Token): reindent some
11806
11807         * BufferView_pimpl.C (update): change since fullRebreak always
11808         return true.
11809         (Dispatch): git rid of the last hardcoded "Standard"s.
11810
11811 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * text2.[Ch] (fullRebreak): make it return void now that we always
11814         returned true.
11815
11816 2002-04-30  Juergen Vigna  <jug@sad.it>
11817
11818         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11819         ert compatibility check for "latex" layout.
11820
11821 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11822
11823         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11824         minipages: use col% instead of p%, and also use the current font.
11825         (makeLaTeXFile): Fix use babel condition.
11826         (parseSingleLyXformat2Token): Correct font when reading old floats.
11827
11828 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11829
11830         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11831         inserting list of floats.
11832
11833 2002-04-25  Herbert Voss  <voss@lyx.org>
11834
11835         * MenuBackend.C (expand): don't add the graphics extensions to the
11836         export menu
11837
11838 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11841         non-existing layout, do not complain if it was the default layout
11842         of the original class (bug #342)
11843
11844 2002-04-24  Juergen Vigna  <jug@sad.it>
11845
11846         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11847         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11848
11849 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * buffer.C (getBibkeyList): If using \bibliography, return the
11852         option field with the reference itself. Enables us to provide natbib
11853         support when using \bibliography.
11854
11855 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11856
11857         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11858
11859         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11860         natbib is provided by the LaTeX class.
11861
11862 2002-04-23  Juergen Vigna  <jug@sad.it>
11863
11864         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11865         Wakeup functions.
11866
11867         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11868
11869 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11872
11873         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11874         ensuremath around textordmasculine, textordfeminine and
11875         textdegree.
11876
11877 2002-04-19  Juergen Vigna  <jug@sad.it>
11878
11879         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11880         reinitializing the buffer otherwise row-dimensions may be wrong.
11881         (update): reset also the selection cursors if they do exits otherwise
11882         their x/y positions may be wrong.
11883
11884         * text2.C (cursorDown): don't enter the inset if we came from a row
11885         above and are one row over the inset.
11886
11887         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11888         really leaving an inset.
11889
11890 2002-04-18  Juergen Vigna  <jug@sad.it>
11891
11892         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11893         of the selected paragraph does not have the selected layout also if
11894         the last one had!
11895
11896         * text2.C (setLayout): fixed bug which did not change last selected
11897         paragraph.
11898
11899         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11900         changed the read and substituted \\end_float with \\end_inset!
11901
11902         * BufferView_pimpl.C (cursorPrevious):
11903         (cursorNext): fixed to make it work with rows heigher than the work
11904         area without moving the cursor only the draw of the row.
11905         (workAreaMotionNotify): fix jumping over high rows.
11906
11907 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11910         Ressler.
11911
11912 2002-04-16  Juergen Vigna  <jug@sad.it>
11913
11914         * text2.C (setCursor): set also the irow().
11915         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11916         (cursorUp):
11917         (cursorDown): support for locking an inset if the x_fix value goes
11918         inside it. That way I can transverse insets too with cursor up/down.
11919
11920         * lyxrow.h: added irow helper function same as other (i) functions.
11921
11922         * BufferView_pimpl.C (cursorPrevious):
11923         (cursorNext): fixed for insets!
11924
11925 2002-04-15  Juergen Vigna  <jug@sad.it>
11926
11927         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11928         position otherwise it is wrong in some cases.
11929
11930         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11931         inside the inset before the call.
11932
11933 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11934
11935         * buffer.[Ch] (getBibkeyList): make it const.
11936
11937 2002-04-12  Juergen Vigna  <jug@sad.it>
11938
11939         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11940
11941         * text2.C (getCursorX): new helper function
11942         (setCursor): compute also ix_
11943         (setCursorFromCoordinates): set also ix.
11944
11945         * lyxcursor.h: added ix_ and helper functions.
11946
11947         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11948
11949         * buffer.C (insertStringAsLines): dont break paragraph if the this
11950         paragraph is inside an inset which does not permit it!
11951
11952         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11953         also with no chars on this paragraph.
11954         (paintRowText): only paint stuff if it's inside the workarea!
11955
11956         * paragraph.C (breakParagraph): honor keepempty flag and break the
11957         paragraph always below not above.
11958
11959         * BufferView2.C (unlockInset): update the paragraph layout on inset
11960         unlock as we changed paragraph in such a case.
11961
11962         * lyxfind.C (LyXFind): clear the former selection if not found!
11963
11964         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11965         again called in insertChar().
11966
11967         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11968         an inset which uses the whole row!
11969         (rightMargin): ditto.
11970         (insertChar): force a rebreak if we inserted an inset!
11971
11972 2002-03-28  Herbert Voss  <voss@lyx.org>
11973
11974         * lyxlength.[Ch]: add inBP() to get the right PS-point
11975         units (BigPoint). With inPixels we have rounding errors
11976
11977 2002-04-11  Juergen Vigna  <jug@sad.it>
11978
11979         * text2.C (setCursorFromCoordinates): set iy to the right value.
11980         (setCursor): add check if row->previous exists!
11981
11982         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11983         an old float_type as this was the case in the old code!
11984
11985         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11986
11987         * BufferView2.C (showLockedInsetCursor): use iy
11988         (fitLockedInsetCursor): ditto
11989
11990         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11991         locked insets as there we have the right value now.
11992
11993         * lyxcursor.C: added iy_ variable and iy functions to set to the
11994         baseline of cursor-y of the locked inset.
11995
11996         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11997         (setCursor): fixed for insets which need a full row.
11998
11999         * text.C (rowLastPrintable): don't ignore the last space when before
12000         an inset which needs a full row.
12001         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12002         as last character of a row when before a inset which needs a full row.
12003
12004 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12005
12006         * version.C.in: update date
12007
12008         * text2.C (fullRebreak): try to always return true and see what
12009         happens...
12010
12011 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * MenuBackend.C (expand): use Floating::listName
12014
12015         * FloatList.C (FloatList): add listName argument to the built-in
12016         floats
12017
12018         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12019         text associated with the float.
12020
12021 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12024
12025 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * ShareContainer.h: add a couple of missing typenames.
12028
12029 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12030
12031         * lyxrc.C (getDescription): use _() correctly rather than N_().
12032
12033 2002-03-28  Herbert Voss  <voss@lyx.org>
12034
12035         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12036         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12037
12038 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12041         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12042
12043 2002-03-29  Juergen Vigna  <jug@sad.it>
12044
12045         * lyxfunc.C (dispatch): add a missing fitCursor call.
12046
12047         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12048         it was scrolled by a cursor move, so return the bool status.
12049
12050         * BufferView.C (fitCursor): return the bool flag also to the outside
12051         world as this is needed.
12052
12053         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12054
12055         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12056         call the edit() as it is not needed (and wrong) IMO.
12057         (workAreaButtonPress): set the screen_first variable before evt.
12058         unlock the inset as this may change screen_first and then we have
12059         a wrong y position for the click!
12060
12061 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * MenuBackend.C (expand): another translation that I missed
12064
12065 2002-03-28  Juergen Vigna  <jug@sad.it>
12066
12067         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12068
12069         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12070
12071 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12074
12075         * MenuBackend.C (expand): fix export/view/update when there is no
12076         document open.
12077
12078 2002-03-27  Herbert Voss  <voss@lyx.org>
12079
12080         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12081         and text%
12082
12083 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * bufferview_funcs.C (currentState): only show paragraph number
12086         for is DEVEL_VERSION is set.
12087
12088         * lyxfunc.C (dispatch): put warning in INFO channel
12089
12090         * MenuBackend.C (expand): translate the name of floats
12091
12092         * FloatList.C (FloatList): mark the float names for translation
12093
12094         * converter.C (convert): use LibScriptSearch
12095
12096 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * MenuBackend.C (defaults): fix default menu (we might as well get
12099         rid of it...)
12100
12101 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12104         directory.
12105
12106 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * lyxvc.C: reorder includes.
12109
12110 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12113           properly
12114
12115 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * CutAndPaste.C: change layouts earlier on paste
12118           to avoid crashing when calling getFont()
12119
12120 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12121
12122         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12123         irritating #error.
12124
12125 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * WorkArea.C: remove 'Pending' debug message.
12128
12129         * most files: ws cleanup
12130
12131         * buffer.[Ch]: ws changes
12132
12133         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12134
12135 2002-03-21  Juergen Vigna  <jug@sad.it>
12136
12137         * tabular.C (SetMultiColumn): collapse also the contents of the
12138         cells and set the last border right. Added a Buffer const * param.
12139
12140 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12143         linking or not.
12144
12145 2002-03-19  Juergen Vigna  <jug@sad.it>
12146
12147         * text2.C (clearSelection): reset also xsel_cache.
12148
12149         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12150         where it needs to be called (John tells us to do so too :)
12151         (selectionLost): reset sel_cache.
12152
12153         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12154
12155 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * text2.C (setCursorIntern): put debuging code in INSETS channel
12158
12159 2002-03-19  André Pönitz <poenitz@gmx.net>
12160
12161         * lyxfunc.C: tiny whitespace change
12162
12163 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * ToolbarDefaults.C (init):
12166         * LyXAction.C (init):
12167         * commandtags.h:
12168         * BufferView_pimpl.C (Dispatch):
12169         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12170
12171 2002-03-19  Allan Rae  <rae@lyx.org>
12172
12173         * exporter.C (Export): removeAutoInsets before doing anything else.
12174         While I've just introduced a dependency on BufferView this really is
12175         the best place to clean the buffer otherwise you need to cleanup in
12176         a dozen places before calling export or cleanup in a dozen functions
12177         that export calls.
12178
12179         * converter.C (runLaTeX):
12180         (scanLog): Better handling of removeAutoInsets and screen updates.
12181
12182         * lyxfunc.C (dispatch): small whitespace changes
12183
12184 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * WorkArea.C (C_WorkAreaEvent): return a value.
12187         (event_cb): return 1 if we handled the event, 0 otherwise.
12188
12189         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12190
12191 2002-03-18  Juergen Vigna  <jug@sad.it>
12192
12193         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12194         (GetAdditionalWidth): ditto.
12195         (RightLine): ditto.
12196         (LeftLine): ditto.
12197
12198         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12199         inset if we're there actually (probably not used right now but this
12200         is the direction to go for unifying code).
12201         (paste): disable code to clear the selection.
12202
12203         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12204         inside an InsetText and move the check further up as it is in the
12205         wrong place.
12206
12207         * text2.C (pasteSelection): set a selection over the pasted text.
12208
12209 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12210
12211         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12212         and libgraphics to build on Cygwin.
12213
12214 2002-03-15  Juergen Vigna  <jug@sad.it>
12215
12216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12217         inserting an Inset into the paragraph. I know this is not the best
12218         fix but we already use current_view in CutAndPaste so we will remove
12219         all of it's using at the same time.
12220
12221         * buffer.C (sgmlError): deactivated function till it is rewritten in
12222         the right mode, now it can create problems.
12223
12224         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12225         before accessing it.
12226
12227 2002-03-14  Juergen Vigna  <jug@sad.it>
12228
12229         * undo_funcs.C (textHandleUndo): do the right thing when updating
12230         the inset after the undo/redo.
12231
12232         * text2.C (setCursor): just some testcode for #44 not ready yet.
12233
12234         * undo_funcs.C (textHandleUndo): set the next() and previous()
12235         pointers of the paragraph to 0 before deleting otherwise we have
12236         problems with the Paragraph::[destructor].
12237
12238         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12239         on a paragraph insertion.
12240
12241 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * buffer.C (asciiParagraph): use += operator for char append to
12244         string.
12245
12246         * paragraph.C (getFontSettings): compare >= not just >
12247         (highestFontInRange): ditto
12248         (setFont): ditto
12249
12250 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * paragraph.C: change several algorithm to be more appripriate for
12253         the problem domain. This is lookip in FontList and in the InsetList.
12254
12255 2002-03-13  André Pönitz <poenitz@gmx.net>
12256
12257         * commandtags.h:
12258         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12259
12260 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * commandtags.h:
12263         * LyXAction.C:
12264         * lyxfunc.C:
12265         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12266
12267 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * Painter.C (display): anon helper function, adjust code for this
12270         change.
12271         (pixmap): remove function.
12272
12273         * Painter.h: remove private display variable.
12274
12275         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12276
12277 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12278
12279         * WorkArea.[Ch]: remove figinset_canvas cruft.
12280
12281 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * lyxtextclass.C (operator): add one item cache optimization.
12284
12285         * bufferlist.h: doxy changes
12286
12287         * bufferlist.C: ws changes
12288
12289         * DepTable.[Ch] (ext_exist): place const in the right spot.
12290
12291         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12292         call resizeInsets.
12293         (workAreaExpose): call resizeInsets when the with BufferView changes.
12294         (Dispatch): adjust for protectedBlank removal
12295         (specialChar): call updateInset if the insert went ok.
12296
12297         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12298         specialChar instead.
12299
12300         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12301
12302         * BufferView.h: doxy change
12303
12304         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12305
12306         * lyxtextclass.C (operator[]): remove non-const version
12307         (defaultLayout): remove non-const version
12308
12309 2002-03-12  Juergen Vigna  <jug@sad.it>
12310
12311         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12312         did resize the LyXText too.
12313
12314         * buffer.C (readLyXformat2): set layout information on newly allocated
12315         paragraphs.
12316
12317         * tabular.C (OldFormatRead): set layout information on the paragraph.
12318
12319 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12320
12321         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12322
12323 2002-03-11  Juergen Vigna  <jug@sad.it>
12324
12325         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12326         plainly wrong.
12327         (resizeCurrentBuffer): force also the insets to resize themselfes.
12328         (moveCursorUpdate): fixed up for InsetText.
12329
12330 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12331
12332         * commandtags.h:
12333         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12334         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12335         value of Dialogs::tooltipsEnabled().
12336         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12337
12338 2002-03-08  Juergen Vigna  <jug@sad.it>
12339
12340         * BufferView_pimpl.C (updateInset): update inset inside inset also
12341         if it isn't inside theLockingInset().
12342
12343 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * buffer.C (asciiParagraph): redo some of the word and line length
12346         handling.
12347         (getLists): look for Caption instead of caption.
12348
12349 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12350
12351         * buffer.C (Buffer): initialize niceFile to true
12352         (makeLaTeXFile):
12353         (makeLinuxDocFile):
12354         (makeDocBookFile): make sure niceFile is true on exit
12355
12356 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12359
12360 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * LyXSendto.C: remove.
12363         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12364         * lyx_gui.C: remove now-redundant comment.
12365         * ColorHandler.h: remove forward declaration of class WorkArea.
12366         * lyxfunc.C: remove #include "WorkArea.h".
12367
12368 2002-03-07  Juergen Vigna  <jug@sad.it>
12369
12370         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12371         got moved away with the DEPM and also set the inset_owner always
12372         right which before could have been omitted.
12373
12374 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12377         wanted layout is not found.
12378
12379 2002-03-07  Juergen Vigna  <jug@sad.it>
12380
12381         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12382
12383 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * paragraph.C (breakParagraph): use default layout not layout of
12386         prev paragraph.
12387         (Paragraph): clear ParagraphParameters.
12388
12389 2002-03-06  Juergen Vigna  <jug@sad.it>
12390
12391         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12392         otherwise it would not be a valid lenght. Fixed a special case in
12393         the minipage compatibility read where we end the document with a
12394         minipage.
12395
12396         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12397         was set as it could be 0 for InsetTexts first entry.
12398
12399 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * paragraph.C (writeFile): if layout is empty write out
12402         defaultLayoutName().
12403
12404         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12405         file without named layout we set layout to defaultLayoutName().
12406
12407 2002-03-06  Juergen Vigna  <jug@sad.it>
12408
12409         * CutAndPaste.C (copySelection): set layout for new paragraph.
12410
12411         * text.C (prepareToPrint): leave ERT inset left aligned
12412         (leftMargin): don't indent paragraphs inside ERT insets
12413
12414 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * paragraph.C (breakParagraph): dont call clear do the work manually
12417
12418         * paragraph.[Ch] (clear): remove function
12419
12420 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * paragraph.C (Paragraph): dont call clear, the work has already
12423         been done.
12424
12425         * lyxtextclass.C (operator): assert if n is empty
12426
12427         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12428         work manually instead.
12429
12430 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * BufferView_pimpl.C: protect selectionLost against text == 0
12433
12434 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * text.C (breakParagraph): fix a setting layout to '0' problem.
12437
12438 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12439
12440         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12441         final location of file, for the included files, and graphics.
12442
12443 2002-03-05  Juergen Vigna  <jug@sad.it>
12444
12445         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12446
12447 2002-03-04  Juergen Vigna  <jug@sad.it>
12448
12449         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12450
12451         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12452         last column of multicolumn cells.
12453         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12454
12455 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12456
12457         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12458         file if it doesn't go to a temporary file.
12459
12460         * buffer.C (sgmlOpenTag):
12461         (sgmlCloseTag):  remove extra newline insertion.
12462
12463 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * text.C (getRowNearY): comment out debug msg
12466
12467 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * text2.C: first -> first_y
12470
12471         * text.C (getRowNearY): add some attemts at a possible
12472         optimization, not working.
12473
12474         * tabular.[Ch]: add BufferParams to several function so that newly
12475         created paragraph can be initialized to he default layotu for the
12476         buffers textclass.
12477
12478         * tabular-old.C (ReadOld): add buf->params to call of Init
12479
12480         * screen.C: rename text->first to text->first_y
12481
12482         * paragraph.C (breakParagraph): always set layout in the broken
12483         paragraph
12484
12485         * lyxtextclass.C (Read): remove lowercase
12486         (hasLayout): ditto
12487         (operator): ditto
12488         (delete_layout): ditto
12489
12490         * lyxtext.h: rename first -> first_y
12491
12492         * lyxlayout.C (Read): remove lowercase
12493         (name): ditto
12494         (setName): ditto
12495         (obsoleted_by): ditto
12496
12497         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12498
12499         * buffer.C (insertErtContents): add params are to InsetERT
12500         (parseSingleLyXformat2Token): add code to check if a paragraphs
12501         layout really exist.
12502         (parseSingleLyXformat2Token): add params to several inset
12503         constructors
12504         (asciiParagraph): remove lowercase, do the layout comparisons with
12505         no_case
12506
12507         * BufferView_pimpl.C (cursorNext): first -> first_y
12508         (resizeCurrentBuffer): first -> first_y
12509         (updateScrollbar): first -> first_y
12510         (scrollCB): first -> first_y
12511         (workAreaMotionNotify): first -> first_y
12512         (workAreaButtonPress): first -> first_y
12513         (checkInsetHit): first -> first_y
12514         (cursorPrevious): first -> first_y
12515         (cursorNext): first -> first_y
12516         (Dispatch): add buffer_->params to severl inset contructors
12517
12518 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * lyxlayout.C (Read): remove some debug info that I forgot.
12521
12522         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12523         clean up the code slightly.
12524         (makeLinuxDocFile): ditto
12525         (makeDocBookFile): ditto
12526
12527         * text2.C: layout as string
12528
12529         * text.C: layout as string
12530
12531         * paragraph_pimpl.C: layout as string
12532
12533         * paragraph.[Ch]: layout as string
12534
12535         * lyxtextclasslist.[Ch]: layout as string
12536
12537         * lyxtextclass.[Ch]: layout as string
12538
12539         * lyxtext.h: layout as string
12540
12541         * lyxlayout.[Ch]: layout as string
12542
12543         * lyx_cb.C: layout as string
12544
12545         * bufferview_funcs.C: layout as string
12546
12547         * bufferparams.C: layout as string
12548
12549         * buffer.C: layout as string
12550
12551         * LyXView.[Ch]: layout as string
12552
12553         * LaTeXFeatures.[Ch]: layout as string
12554
12555         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12556
12557         * BufferView_pimpl.C: change current_layout to string, remove
12558         lyx::layout_type.
12559         (Dispatch):
12560         (smartQuote):
12561         (insertInset):
12562         (workAreaButtonRelease): layout as string
12563
12564         * BufferView2.C (unlockInset): adjust
12565
12566         * vspace.C (asLatexCommand): use an explict temp variable.
12567
12568 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12569
12570         * Makefile.am: use FRONTEND_*
12571
12572 2002-03-01  Juergen Vigna  <jug@sad.it>
12573
12574         * tabular.C (SetWidthOfMulticolCell): changed to something better
12575         I hope but still work in progress.
12576         (recalculateMulticolumnsOfColumn): renamed function from
12577         recalculateMulticolCells as it is more appropriate now.
12578         (SetWidthOfCell): calculate multicols better.
12579
12580 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12581
12582         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12583
12584         * lyxfunc.C (processKeySym): print sequence also if it is
12585         `deleted' (complete)
12586
12587         * kbsequence.C (print): print sequence even if it is deleted
12588         (complete would be a better word, actually).
12589
12590         * lyxfunc.C (dispatch): print complete options after a prefix key
12591
12592         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12593
12594 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12595
12596         * text2.C (setCharFont): eliminate setCharFont code duplication.
12597
12598 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12601         LFUN_TABULAR_FEATURE (bug #177)
12602
12603 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * Makefile.am: remove figure.h
12606
12607 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * Bufferview_pimpl.C:
12610         * CutAndPasteC:
12611         * LaTeX.C:
12612         * LyXSendto.C:
12613         * buffer.C:
12614         * bufferlist.C:
12615         * converter.C:
12616         * language.C:
12617         * lyxfunc.C:
12618         * lyxvc.C:
12619         * paragraph.C:
12620         * text.C:
12621         * text2.C: remove #include "lyx_gui_misc.h".
12622
12623         * LaTeX.C: added #include <cstdio>
12624
12625 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12628         that the paragraph following this one can have.
12629
12630         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12631
12632         * vspace.C (asLatexCommand): fix bogus gcc warning
12633
12634         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12635
12636 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12637
12638         * text2.C (setLayout): get rid of redundant code
12639
12640 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12641
12642         * text2.C (incDepth): make sure depth cannot be increased beyond
12643         reasonable values.
12644
12645 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12646
12647         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12648         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12649
12650         * PainterBase.h (image):
12651         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12652         a LyXImage const *.
12653
12654 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * BufferView.C:
12657         * BufferView.h:
12658         * BufferView_pimpl.C:
12659         * BufferView_pimpl.h:
12660         * LaTeXFeatures.C:
12661         * LyXAction.C:
12662         * LyXView.C:
12663         * Makefile.am:
12664         * UpdateList.h:
12665         * UpdateList.C:
12666         * buffer.C:
12667         * figure.h:
12668         * figureForm.C:
12669         * figureForm.h:
12670         * figure_form.C:
12671         * figure_form.h:
12672         * lyx_cb.C:
12673         * lyx_gui.C:
12674         * lyx_gui_misc.C:
12675         * lyxfunc.C:
12676         * sp_base.h:
12677         * sp_ispell.h:
12678         * sp_pspell.h:
12679         * sp_spell.C: remove fig inset, and the crap house of
12680           cards that follows it
12681
12682 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * Makefile.am:
12685         * lyxserver.C:
12686         * os2_defines.h:
12687         * os2_errortable.h:
12688         * nt_defines.h: move .h into support/
12689
12690         * vms_defines.h: remove
12691
12692         * WorkArea.C: add space in debug output
12693
12694         * text2.C:
12695         * paragraph.C:
12696         * buffer.C: add WITH_WARNINGS
12697
12698         * vc-backend.h:
12699         * vc-backend.C:
12700         * bufferlist.C: s/retrive/retrieve/, add docs
12701
12702         * vspace.h:
12703         * vspace.C:
12704         * kbmap.h:
12705         * lyxlength.h:
12706         * lyxgluelength.h:
12707         * length_common.h:
12708         * chset.h:
12709         * chset.C: add docs
12710
12711         * lyxgui.C: add ID to X error handler
12712
12713         * lyxtestclass.c: fix typo
12714
12715 2002-02-26  Juergen Vigna  <jug@sad.it>
12716
12717         * tabular_funcs.C (write_attribute): changed so that some default
12718         attributes are not written at all.
12719         (getTokenValue): set default values before trying to read the
12720         value so we have the return value always set as default if we don't
12721         find the token we search for.
12722
12723         * tabular.C (Write): write bools as bools not as strings!
12724
12725 2002-02-22  Juergen Vigna  <jug@sad.it>
12726
12727         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12728         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12729
12730         * text.C (leftMargin): don't add an indent for paragraphs inside
12731         tabular cells (fix #208).
12732
12733 2002-02-21  José Matos  <jamatos@fep.up.pt>
12734
12735         * tabular.C (docBook): fixed support for long tables.
12736
12737 2002-02-20  Juergen Vigna  <jug@sad.it>
12738
12739         * text2.C (getFont): get the drawing font of the Inset if this
12740         paragraph is inside an inset (only important for InsetERT for now).
12741
12742         * buffer.C (insertErtContents): use new lanugage params in ERT
12743         constructor.
12744
12745         * CutAndPaste.C: commenting out seemingly uneeded code.
12746
12747 2002-02-19  Allan Rae  <rae@lyx.org>
12748
12749         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12750         Iterators might be simple to use but they also get invalidated.
12751         (removeAutoInsets): renamed saved cursor tracking variables and added
12752         some comments to clarify what everything does.
12753
12754 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12755
12756         * Chktex.C:
12757         * LaTeX.C:
12758         * LyXSendto.C:
12759         * converter.C:
12760         * lyx_cb.C:
12761         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12762         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12763
12764         * lyxfunc.C:
12765         * vc-backend.h: remove #include "support/syscall.h"
12766
12767         * LaTeX.C:
12768         * LyXSendto.C:
12769         * converter.C: rearrange #includes in Lars' approved fashion.
12770
12771         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12772         forward declare class Timeout in the header file.
12773
12774         * XFormsView.C: changes due to the above.
12775
12776         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12777         similar to LyXView.
12778
12779         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12780         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12781
12782 2002-02-18  José Matos  <jamatos@fep.up.pt>
12783
12784         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12785         insets contents.
12786
12787 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12788
12789         * a lot of small ws changes
12790         * add a lot of using std::XXX
12791         * use std construcs some places where approp.
12792         * use some exisint stuff from lyxfunctional where approp.
12793         * Make file changes to use partial linking (lets test this now...)
12794
12795 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12796
12797         * Chktex.C:
12798         * buffer.C:
12799         remove #include "support/syscontr.h" as it's redundant. Always has been.
12800
12801         * Chktex.C:
12802         * LaTeX.C:
12803         * LyXSendto.C:
12804         * converter.C:
12805         * lyx_cb.C:
12806         * vc-backend.C:
12807         change Systemcalls::System to Systemcalls::Wait and
12808         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12809         No change of functionality, just reflects the stripped down Systemcalls
12810         class.
12811
12812 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12813
12814         * debug.[Ch]: add a GRAPHICS type to the enum.
12815
12816 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12819
12820         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12821         there is an inset.
12822
12823 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12826         match the changes below.
12827
12828         * text2.C (toggleInset): if there is not editable inset at cursor
12829         position, try to see if cursor is _inside_ a collapsable inset
12830         and close it.
12831
12832 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12833
12834         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12835         document menu has a nice checkbox
12836
12837 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * lyxlength.C (asLatexString): change PW to output as percent of
12840         \textwidth.
12841
12842         * lengthcommon.C: change '%' to 't%'
12843
12844         * lyxfunc.C (dispatch): a few comments from Martin
12845
12846 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * WorkArea.h:
12849         * WorkArea.C:
12850         * BufferView_pimpl.h:
12851         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12852           the X selection.
12853
12854 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * vspace.C (inPixels): fix compiler warning
12857
12858 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * lyxfunc.C (getStatus): fix status message for disabled commands.
12861
12862 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * BufferView_pimpl.C: fix crash on close buffer
12865         during selection (#227)
12866
12867 2002-01-27  Herbert Voss  <voss@lyx.org>
12868
12869         * buffer.C: link old Figure to new graphic inset
12870
12871 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12872
12873         * FontLoader.C (getFontinfo): Change the latex font names in order
12874         to match the names of type1inst.
12875
12876 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12879
12880         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12881         (extchanged): ditto
12882         (ext_exist): ditto
12883         (remove_files_with_extension): ditto
12884         (remove_file): ditto
12885         (write): ditto
12886
12887         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12888         document is smaller than the work area height. Do not initialize
12889         static variables to 0.
12890
12891 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12892
12893         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12894
12895         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12896         LFUN_LAYOUT_PARAGRAPHS.
12897
12898         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12899         tabular. It is possible to provide a possible cell, which will
12900         typically be the actcell from the corresponding insettabular
12901
12902         * lyxfunc.C (getStatus): small cleanup; disable
12903         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12904         true
12905
12906 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12909
12910         * paragraph.C (startTeXParParams):
12911         (endTeXParParams): new methods. The LaTeX code to
12912         start/end paragraph formatting
12913         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12914         empty (fixes bug #200)
12915
12916         * vspace.C (inPixels): adapt to the change below
12917         (inPixels): [later] more cleanups (remove unused variables)
12918
12919         * lyxlength.C (inPixels): change to use a width and a height as
12920         parameter.
12921
12922 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12925         Replaced with \paperwidth
12926
12927         * DepTable.C (insert): add std:: qualifier
12928
12929 2002-01-18  Allan Rae  <rae@lyx.org>
12930
12931         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12932         updated also?
12933
12934         * text.C (drawInset): Turned out I didn't know enough about how
12935         rebreaking worked.  This fixes most of the redraw problems.  I see
12936         an occasional cursor trail when a line is broken now and the cursor
12937         placement can seem out by a few pixels also after a rebreak.
12938
12939 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12940
12941         * buffer.C (parseSingleLyXformat2Token): update because minipage
12942         width is now a LyXLength
12943
12944         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12945
12946         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12947         math insets
12948
12949 2002-01-17  Juergen Vigna  <jug@sad.it>
12950
12951         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12952
12953         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12954         is set correctly and the inset is updated correctly.
12955
12956 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12957
12958         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12959         the beginning of the loop.
12960
12961 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * lyxrc.C: improve help for use_scalable_fonts
12964
12965 2002-01-17  Allan Rae  <rae@lyx.org>
12966
12967         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12968
12969 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12970
12971         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12972         make sure to set their inset_owner to the right value (bug #171)
12973
12974 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12975
12976         * DepTable.h
12977         * DepTable.C: Implement mtime checking to reduce time spent doing
12978         CRCs.
12979
12980 2002-01-16  Juergen Vigna  <jug@sad.it>
12981
12982         * tabular.C (GetAdditionalHeight): one of error fixed.
12983
12984         * lyxrc.C (output): small fix in writing use_pspell.
12985
12986 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12987
12988         * sp_base.h: #include LString.h
12989
12990 2002-01-16  Allan Rae  <rae@lyx.org>
12991
12992         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12993         Can someone check this please?
12994
12995         * text.C (drawInset): It was possible that p.row would be removed by
12996         breakAgainOneRow upsetting a few other settings.  There may be another
12997         small tweak possible by setting need_break_row = 0 when p.row has been
12998         removed but I don't know enough about the logic here.
12999
13000 2002-01-15  Allan Rae  <rae@lyx.org>
13001
13002         * text.C (insertChar): removed conditional truism.
13003
13004         * BufferView2.C (removeAutoInsets): More tweaks.
13005         cur_par_prev could be a stray pointer.  Check for trailing empty line
13006         in case last line was cur_par and only had an error inset on it.
13007
13008 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13009
13010         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13011         absolute
13012
13013         * vc-backend.C (most methods):
13014         * exporter.C (Export):
13015         * converter.C (convert):
13016         (runLaTeX):
13017         * LyXSendto.C (SendtoApplyCB):
13018         * lyxfunc.C (dispatch):
13019         (menuNew):
13020         (open):
13021         (doImport):
13022         * lyx_cb.C (AutoSave):
13023         (InsertAsciiFile):
13024         * BufferView_pimpl.C (MenuInsertLyXFile):
13025         * buffer.C (runChktex): use Buffer::filePath().
13026
13027         * buffer.h: rename filename to filename_; rename filepath to
13028         filepath_ and make it private
13029         (filePath): new method
13030
13031         * buffer.C (writeFile): use fileName()
13032         (getLatexName):
13033
13034         * lyx_main.C (init): fix starting  of LyX when the binary is a
13035         link from so,ewhere else.
13036
13037         * minibuffer.C: include <cctype> for isprint
13038
13039 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13040
13041         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13042         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13043         name clash with InsetCollapsable's width function.
13044
13045 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * lastfiles.C: include <iterator>
13048
13049 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13052         std::count.
13053
13054         * buffer.C (makeLaTeXFile): ditto.
13055         Also make loop operation more transparent.
13056
13057 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * ToolbarDefaults.C: remove trailing comma closing namespace.
13060
13061         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13062
13063         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13064         as in WorkArea.
13065
13066         * trans.C (Load): comment out unused variable, allowed.
13067
13068 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * minibuffer.[Ch] (append_char): new method to recieve input from the
13071         drop-down completion browser. If a key was pressed, then recieve this
13072         char and append it to the existing string.
13073         (peek_event): modify the positioning data passed to the completion
13074         browser so that it can be placed above the minibuffer rather than below.
13075 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * LyXAction.C (init): alloe error-next for readonly documents.
13078
13079         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13080         count.
13081
13082 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * bufferlist.C (readFile): create the buffer _after_ checking that
13085         the file exists.
13086
13087         * lyxfunc.C (verboseDispatch): fix handling of arguments
13088
13089         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13090
13091         * lyxrc.C: use string::erase() instead of initializing to "".
13092
13093
13094 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * BufferView_pimpl.h:
13097         * BufferView_pimpl.C:
13098         * WorkArea.h:
13099         * WorkArea.C:
13100         * text2.C: tell X when we have made a selection for copying
13101
13102 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13103
13104         * BufferView_pimpl.C (MenuInsertLyXFile):
13105         * lyxfunc.C (menuNew):
13106         (open):
13107         (doImport): add shortcuts to directory buttons
13108
13109         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13110         open a float)
13111
13112         * lyxfunc.C (setStatusMessage):
13113         (getStatusMessage): new methods
13114         (getStatus):use setStatusMessage instead of setErrorMessage
13115         (dispatch): when function is disabled, set error message here
13116         [instead of in getStatus previously]
13117
13118         * BufferView_pimpl.C (workAreaButtonRelease): update
13119         toolbar/menubar here too.
13120
13121 2002-01-13  Allan Rae  <rae@lyx.org>
13122
13123         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13124         Now seems indestructible.  Remaining task is to audit all other
13125         code affected by deleteEmptyParagraphMechanism.  One small quirk
13126         left is that an empty document with an error in the preamble can
13127         be made to report an error but no error box appears.  I don't know
13128         where it goes.
13129         (removeAutoInsets): Improved comments.
13130
13131 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * Thesaurus.h:
13134         * Thesaurus.C: update for Aiksaurus 0.14
13135
13136 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * text2.C (firstParagraph): removed member function, all uses
13139         replaces with ownerParagraph
13140         (redoParagraphs): here
13141         (updateInset): here
13142         (toggleAppendix): here
13143         * BufferView2.C (insertErrors): here
13144         (setCursorFromRow): here
13145
13146 2002-01-13  Allan Rae  <rae@lyx.org>
13147
13148         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13149         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13150         There is still a way to segfault this although you may have to do this
13151         multiple times: Have an InsetERT with an unknown command in it.
13152         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13153         <down-arrow>, <Enter> again, View->DVI, BANG!
13154
13155         * text2.C (setCursor):
13156         (deleteEmptyParagraphMechanism):
13157         * lyxtext.h (setCursor):
13158         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13159         Making use of the return value may help fix other bugs.
13160
13161 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13162
13163         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13164
13165         * LyXView.C (updateMenubar): call MenuBar::update here
13166         (updateToolbar): but not here
13167         (showState): do not update toolbar/menubar
13168
13169         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13170         should need to care about that.
13171
13172         * lyxfunc.C (verboseDispatch): simplify a bit
13173         (getStatus): have a version which takes a pseudoaction, and
13174         another which requires a (kb_action,string).
13175
13176         * LyXAction.C (retrieveActionArg): make it work also when action
13177         is not a pseudo-action.
13178         (getActionName): simplify a bit
13179         (helpText):
13180
13181 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13182
13183         * lyxfunc.C (verboseDispatch): new families of methods with
13184         several ways to specify a command and a bool to indicate whether
13185         the command name and shortcut should be displayed in minibuffer
13186         (eventually, we could extend that to a finer bitmask like
13187         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13188         (dispatch): the pristine dispatch command which just, well,
13189         dispatchs! Note it still sets its result to minibuffer; I'm not
13190         sure we want that.
13191
13192         * lyxfunc.h: remove setHintMessage
13193
13194         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13195
13196 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13197
13198         * BufferView_pimpl.C (specialChar): delete new inset if we have
13199         not been able to insert it.
13200
13201         * kbmap.C: revert to using int instead of kb_action, since all we
13202         are dealing with is pseudo-actions.
13203
13204         * LyXAction.C (searchActionArg): change to return int instead of
13205         kb_action, since the result is a pseudoaction.
13206
13207 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13208
13209         * buffer.C (insertErtContents): Fix (partially) the font bug.
13210
13211 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13214         as the other one is broken on my machine!
13215
13216 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13217
13218         * commandtags.h:
13219         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13220
13221 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13224         reflect their actual use. Provide compatibility code for older lyxrc
13225         files.
13226
13227         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13228         FL_NORMAL_STYLE.
13229         change names of popup font variables in line with the changes to lyxrc.C
13230
13231 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13232
13233         * buffer.C (asciiParagraph): avoid outputing a word twice after
13234         an inset.
13235
13236         * lyxrc.C (getDescription): document that document_path and
13237         template_path can be empty.
13238
13239 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13240
13241         * LaTeXFeatures.C (getMacros):
13242         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13243
13244         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13245
13246         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13247         getPackages.
13248         (getPackages): rename feature "floats" to "float". Use an array to
13249         iterate over 'simple' features (i.e. just a \usepackage). Add
13250         handling of "amsmath" (renamed from "amsstyle").
13251
13252 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13253
13254         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13255         features list.
13256
13257 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13260         FuncStaus::FuncStatus & FuncStaus::some_method().
13261
13262 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13263
13264         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13265         of the func_satus stuff. Edited and massaged in various ways by
13266         JMarc.
13267
13268         * lyxfunc.C (getStatus): use FuncStatus
13269
13270 2002-01-08  Juergen Vigna  <jug@sad.it>
13271
13272         * text.C (nextBreakPoint): use function Inset::isChar().
13273
13274         * paragraph.C (TeXOnePar): use function
13275         Inset::forceDefaultParagraphs.
13276
13277         * buffer.C (latexParagraphs): use function
13278         Inset::forceDefaultParagraphs.
13279
13280 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * lyx_gui.C (init): set the style of the menu popups to
13283         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13284
13285 2002-01-07  Juergen Vigna  <jug@sad.it>
13286
13287         * text.C (setHeightOfRow): small fix
13288         (prepareToPrint): don't look at alignment if we don't have the place
13289         for doing it.
13290
13291 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13292
13293         * box.C: New file. Move the Box methods and functions out of box.h,
13294         following Lars' suggestion.
13295
13296 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13297
13298         * box.h: #include "support/LOstream.h", needed for inlined function.
13299
13300         * lyxtextclass.C:
13301         * lyxtextclasslist.C: added some using std declarations.
13302
13303 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * box.h: make signed dimensions to allow insets wider than
13306           the screen (bug #162)
13307
13308         * BufferView_pimpl.C: add some insetHit debug
13309
13310 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * vc-backend.C: add FIXME
13313
13314 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13315
13316         * lyxfunc.C (getStatus): enable code for showing math font status
13317         in toolbar/menu.
13318
13319 2002-01-07  Juergen Vigna  <jug@sad.it>
13320
13321         * text.C (nextBreakPoint): removed debug output not needed anymore.
13322
13323 2002-01-06  Juergen Vigna  <jug@sad.it>
13324
13325         * text.C (nextBreakPoint): fixed up this function we had this bug
13326         since ever but now hopefully we break row better.
13327         (insertChar): we have to check if an inset is the next char as it
13328         could now happen that a large inset is causing a break.
13329
13330 2002-01-05  Juergen Vigna  <jug@sad.it>
13331
13332         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13333         if it doesn't like to be drawed.
13334
13335 2002-01-04  Juergen Vigna  <jug@sad.it>
13336
13337         * BufferView2.C (lockInset): forgot to set a cursor.
13338
13339         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13340
13341 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13342
13343         * FormMathsPanel.C:
13344         * FormMathsPanel.h
13345         * MathsSymbols.C:
13346         * form_maths_panel.C:
13347         * form_maths_panel.h:
13348         * form_maths_panel.fd: implemented sub- and super- buttons in math
13349         panel.
13350
13351         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13352         (or ^ space) to be used as in TeX (req'd by André).
13353
13354         * lyxfunc.C: Allow ^ and _ again to be used both as
13355         super/subscript (mathed) and as themselves (in text).
13356
13357 2002-01-03  Allan Rae  <rae@lyx.org>
13358
13359         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13360         "LyX" or the filename of the current buffer if it has one.  This is a
13361         modified form of John Levon's patch.
13362
13363         * XFormsView.C (setWindowTitle): also set icon title.
13364
13365         * LyXView.h (setWindowTitle): signature changed.
13366         * XFormsView.h (setWindowTitle): ditto.
13367
13368 2002-01-02  Juergen Vigna  <jug@sad.it>
13369
13370         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13371
13372 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13373
13374         * screen.C (topCursorVisible): introduce a temp var for
13375         text->cursor.row(), handle the case where this row is null. (kindo
13376         hachish)
13377
13378         * text2.C (setCursor): add a couple of asserts.
13379
13380         * paragraph.h (inset_iterator): add -> operator
13381
13382         * paragraph.[Ch] (autoDeleteInsets): remove member function
13383
13384         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13385         cursor pos correctly and handle inset deletion by itself.
13386         (insertErrors): move iterator declaration out of for expression
13387
13388         * lyxtextclass.C: add <algorithm>
13389
13390         * Makefile.am: added the new files to sources, removed layout.C
13391
13392         * layout.C: removed file
13393
13394         * layout.h: remove LYX_DUMMY_LAYOUT
13395
13396         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13397         layout.
13398
13399         * lyxlayout.[Ch]:
13400         * lyxtextclass.[Ch]:
13401         * lyxtextclasslist.[Ch]: new files
13402
13403         * include order changes to a lot of files, also changes because of
13404         the six new files.
13405
13406 2001-12-27  Juergen Vigna  <jug@sad.it>
13407
13408         * buffer.C (asciiParagraph): more fixes.
13409
13410         * tabular.C (ascii): make ascii export support export of only the
13411         data separated by a column-delimiter.
13412         (ascii): better support for ascii export.
13413
13414         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13415
13416 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * tabular_funcs.C: use a "using std::getline" instead of the
13419         previous fix from Angus (necessary for cxx + lyxstring)
13420
13421 2001-12-24  Juergen Vigna  <jug@sad.it>
13422
13423         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13424
13425         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13426         problems. First check a minipage also if we have some ert-contents
13427         (not only on par->size(), second set the right depth of the paragraph
13428         on the relink to the root-paragraph-list!
13429
13430         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13431         which then did not anymore update the main paragraphs on undo/redo!
13432
13433 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13434
13435         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13436         code. Support all font-changing funcs (even those which are not in
13437         menu currently). Support for reporting font settings in
13438         mathed (disabled until Andre provides a function on mathed's side).
13439
13440         * func_status.h (toggle): small helper function to set toggle
13441         state on a flag.
13442
13443 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13444
13445         * tabular_funcs.C: getline -> std::getline
13446
13447 2001-12-21  Juergen Vigna  <jug@sad.it>
13448
13449         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13450         accessed and could be 0 (I couldn't generate this but it seems
13451         Michael could!).
13452
13453 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13456         * tabular_funcs.h: here and include iosfwd
13457
13458 2001-12-20  Juergen Vigna  <jug@sad.it>
13459
13460         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13461         inside inset but undo_par was.
13462
13463 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13464
13465         * Thesaurus.C: always include <config.h> in sources.
13466
13467         * Painter.h:
13468         * lyxlookup.h:
13469         * box.h: do not include <config.h> in header files
13470
13471         * text.C (paintLastRow): remove unused variable
13472
13473         * text.C (transformChar):
13474         (insertChar):
13475         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13476
13477         * Painter.C (text):
13478         * font.C (width): rewrite to use uppercase() instead of
13479         islower/toupper.
13480
13481         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13482
13483 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * lyxfind.C: clean up of find failure position change
13486
13487 2001-12-20  Juergen Vigna  <jug@sad.it>
13488
13489         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13490
13491         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13492         (TeXRow): added to LaTeX a single tabular row.
13493         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13494         (Latex): simplified and finally good LT-h/f support.
13495         (various_functions): just small adaptions for LT-h/f support.
13496
13497         * tabular_funcs.[hC]: added and moved here all not classfunctions
13498         of LyXTabular.
13499
13500 2001-12-19  Juergen Vigna  <jug@sad.it>
13501
13502         * tabular.[Ch]: better support for longtabular options (not finished
13503         yet!)
13504
13505 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * text.C (paintLastRow): use the label font instead of the font of
13508         the last character to compute the size of *_BOX. This makes more
13509         sense and avoids a crash with empty paragraphs.
13510         Use Painter::rectangle to draw EMPTY_BOX.
13511
13512 2001-12-19  Juergen Vigna  <jug@sad.it>
13513
13514         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13515         the paragraphs if the replaced paragraph is not the first one!
13516         Tried to delete not used paragraphs but does not work yet so for
13517         now it's inside #ifdef's and by default off!
13518
13519 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13520
13521         * MenuBackend.C: include "lyx_main.h" instead of declaring
13522         lastfiles (actually was declared as LastFiles* instead of a
13523         scoped_ptr).
13524
13525 2001-12-17  Juergen Vigna  <jug@sad.it>
13526
13527         * tabular.C (AppendColumn): applied John's fix
13528
13529 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * BufferView.h:
13532         * BufferView.C:
13533         * BufferView_pimpl.h:
13534         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13535
13536         * Makefile.am:
13537         * box.h: new start of class for above
13538
13539         * lyxfunc.C: ignore space-only minibuffer dispatches.
13540           Show the command name when it doesn't exist
13541
13542         * minibuffer.C: don't add empty lines to the history
13543
13544         * minibuffer.C: add a space on dropdown completion
13545
13546 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * text.C: fix line above/below drawing in insets
13549
13550 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * lyxlength.C (LyXLength): Initialize private variables.
13553
13554 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13555
13556         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13557         when inserting error insets.
13558
13559 2001-12-13  Juergen Vigna  <jug@sad.it>
13560
13561         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13562         actually sometimes the before-paragraph.
13563         (setUndo): don't clear the redostack if we're not actually undoing!
13564
13565 2001-12-06  Juergen Vigna  <jug@sad.it>
13566
13567         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13568         and fixed redoing of main paragraph, so we can use it now ;)
13569
13570         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13571
13572 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13573
13574         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13575         Juergen's request
13576
13577 2001-12-13  André Pönitz <poenitz@gmx.net>
13578
13579         * undostack.[Ch]:
13580         * undo_func.C: minor cleanup
13581
13582 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13583
13584         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13585         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13586         font in urw-fonts package which is marked as -urw-fontspecific and
13587         does not work (incidentally, changing the encoding in the
13588         fonts.dir of this package to -adobe-fontspecific fixes the
13589         problem).
13590
13591         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13592         is a crash when undoing first paragraph (Juergen, please take a
13593         look). THis does not mean the undo fix is wrong, just that it
13594         uncovers problems.
13595
13596         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13597         the (Paragraph*) version when needed instead of duplicating the
13598         code.
13599
13600         * text.C (workWidth): use Inset::parOwner to find out where the
13601         inset has been inserted. This is a huge performance gain for large
13602         documents with lots of insets. If Inset::parOwner is not set, fall
13603         back on the brute force method
13604
13605         * paragraph_pimpl.C (insertInset):
13606         * paragraph.C (Paragraph):
13607         (cutIntoMinibuffer): set parOwner of insets when
13608         inserting/removing them
13609
13610         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13611
13612 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13613
13614         * commandtags.h:
13615         * LyXAction.C:
13616         * lyx_main.C:
13617         * lyxfunc.C:
13618         * mathed/formulabase.C:
13619         * mathed/math_cursor.[Ch]:
13620         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13621
13622
13623 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * lyxlength.[Ch] (operator!=): new function
13626
13627 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13628
13629         * text.C (workWidth): use Inset::parOwner to find out where the
13630         inset has been inserted. This is a huge performance gain for large
13631         documents with lots of insets. If Inset::parOwner is not set, fall
13632         back on the brute force method
13633
13634         * paragraph_pimpl.C (insertInset):
13635         * paragraph.C (Paragraph):
13636         (cutIntoMinibuffer): set parOwner of insets when
13637         inserting/removing them
13638
13639         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13640
13641 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13642
13643         * tabular-old.C (getTokenValue):
13644         * tabular.C (getTokenValue):
13645         (write_attribute): new versions for LyXLength
13646         (everywhere): adjust the use of widths
13647
13648         * tabular.h: change the type of widths from string to LyXLength
13649
13650 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13651
13652         * paragraph.C: fixed missing line number count when exporting
13653         Environments to LaTeX file
13654
13655         * buffer.C: added informational message for checking line numbers.
13656
13657 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13658
13659         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13660         paragraph, do the 'double space' part, but not the 'empty
13661         paragraph' one.
13662
13663         * text.C (workWidth): small optimization
13664         (getLengthMarkerHeight): use minimal size for negative lengths.
13665
13666 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13667
13668         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13669
13670         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13671
13672 2001-12-11  André Pönitz <poenitz@gmx.net>
13673
13674         * FontLoader.C:
13675         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13676
13677 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * text2.C: keep selection on a setFont()
13680
13681 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * lyx_cb.C: another bv->text misuse, from insert label
13684
13685 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * kbsequence.h:
13688         * kbsequence.C: re-instate nmodifier mask
13689
13690 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * lyx_main.h: make lyxGUI private.
13693
13694 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * lyxfind.C: place the cursor correctly on failed search
13697
13698 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13699
13700         * text.C (getLengthMarkerHeight): for small heights, the arrows
13701         are not always on top/bottom of the text
13702         (drawLengthMarker): smaller arrows; take the left margin in
13703         account; draw also vfills.
13704         (paintFirstRow):
13705         (paintLastRow): remove special code for vfill and standard spaces,
13706         since everything is handled in drawLengthMarker now.
13707
13708 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * buffer.C (insertErtContents): try to handle font and language
13711         interaction a bit better.g
13712
13713         * ColorHandler.C (updateColor): change the hash to cover the whole
13714         LColor enum, ws cleanup
13715         (getGCLinepars): ditto
13716         (getGCLinepars): only lookup in the linecache once.
13717
13718 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13719
13720         * iterators.C (operator++): Make the iterator more robust
13721
13722         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13723         (John's patch)
13724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13725
13726 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * lyxtext.h:
13729         * text.C: better added space drawing
13730
13731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13732
13733         * LyXView.C:
13734         * BufferView2.C: fix layout combo update on inset unlock
13735
13736 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * Makefile.am: don't compile unused files
13739
13740 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * lyxfunc.C:
13743         * commandtags.h:
13744         * LyXAction.C: remove old LFUN_LAYOUTNO
13745
13746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13747
13748         * paragraph_pimpl.h:
13749         * paragraph_pimpl.C: isTextAt() doesn't need font param
13750
13751 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * lyxlex.h:
13754         * lyxlex.C: little cleanup
13755
13756 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * BufferView_pimpl.C: fix insertAscii for insets
13759
13760 2001-12-05  Juergen Vigna  <jug@sad.it>
13761
13762         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13763         set the right font on the "multi" paragraph paste!
13764
13765 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * trans_decl.h:
13768         * trans_mgr.[Ch]:
13769         * trans.[Ch]:
13770         * lyxgluelength.C:
13771         * lyxlength.C: remove out-commented code.
13772
13773         * BufferView_pimpl:
13774         * CutAndPaste.C:
13775         * DepTable.C:
13776         * buffer.C:
13777         * chset.C:
13778         * lastfiles.C:
13779         * lyxlex.C:
13780         * lyxlex_pimpl.C:
13781         * lyxserver.C:
13782         * screen.C:
13783         * tabular-old.C:
13784         * tabular.C:
13785         * text.C:
13786         * trans_mgr.C:
13787         * vc-backend.C: change "while(" to "while ("
13788
13789         * lyxlength.[Ch]: add zero function to check if length is zero or
13790         not
13791         * lyxgluelength.C: use it
13792
13793 2001-12-05  Allan Rae  <rae@lyx.org>
13794
13795         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13796         Works for 2.95.3, from what I understand of Garst's reports this should
13797         work for other g++ versions.  We're screwed if the abs(int) definition
13798         changed between bugfix releases of gcc.
13799
13800 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * text.C: fix chapter label offset !
13803
13804 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * lyxtext.h:
13807         * text.C: fix hfill at end of line, clean up
13808
13809 2001-12-04  Juergen Vigna  <jug@sad.it>
13810
13811         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13812         that we force an update of the inset and it's owners if neccessary.
13813
13814 2001-12-03  Juergen Vigna  <jug@sad.it>
13815
13816         * text.C (rowLast): simplified code
13817
13818 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * lyxfunc.C: fix show options on timeout
13821
13822 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * screen.C (topCursorVisible): scroll half a page when the cursor
13825         reached top of bottom of screen
13826
13827 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * minibuffer.C: deactivate on loss of focus
13830
13831 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * vspace.[Ch] (operator!=): add operator.
13834
13835 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13836
13837         * BufferView_pimpl.C: refuse to open an inset when
13838         there's a selection.
13839
13840 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * BufferView_pimpl.C: allow to click on RHS of full row insets
13843
13844 2001-11-30  Juergen Vigna  <jug@sad.it>
13845
13846         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13847         insets for undo reasons.
13848
13849 2001-11-28  André Pönitz <poenitz@gmx.net>
13850
13851         * vspace.[Ch]: cosmetical changes
13852
13853 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * LyXAction.h:
13856         * LyXAction.C:
13857         * lyxfunc.h:
13858         * lyxfunc.C:
13859         * kbmap.h:
13860         * kbmap.C:
13861         * lyxrc.C:
13862         * kbsequence.h:
13863         * kbsequence.C: part re-write of old kb code
13864
13865         * Painter.C:
13866         * WorkArea.C: remove Lgb_bug_find_hack
13867
13868 2001-11-30  José Matos <jamatos@fep.up.pt>
13869
13870         * buffer.C (makeDocBookFile): add a comment to point a hack.
13871         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13872         Fixed a double write of labels.
13873
13874 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13875
13876         * LaTeX.C:
13877         * LaTeX.h Fixed bug in LaTeX class where it would not
13878         re-run latex if no depfiles were changed, but the .dvi was removed.
13879
13880 2001-11-28  André Pönitz <poenitz@gmx.net>
13881
13882         * all the files from the change on 2001/11/26:
13883         use lyx::layout_type instead of LyXTextClass::size_type
13884         use lyx::textclass_type instead of LyXTextClassList::size_type
13885
13886 2001-11-29  Juergen Vigna  <jug@sad.it>
13887
13888         * text.C: added support for paragraph::isFreeSpacing()
13889
13890         * buffer.C: same as above
13891
13892         * paragraph.h: inserted isFreeSpacing() function to enable
13893         FreeSpacing inside InsetERT.
13894
13895         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13896         of the paragraph's in the cut/copy buffer to 0!
13897
13898         * text2.C (removeRow): remove the assert as it can!
13899
13900         * lyxtext.h: added helper function firstRow returning firstrow and
13901         made firstrow private again.
13902
13903         * BufferView2.C (lockInset): don't relock if we're already locked!
13904
13905         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13906         the only paragraph.
13907         (removeRow): added Assert::(firstrow)
13908
13909         * debug.C: forgot to add INSETTEXT here.
13910
13911 2001-11-28  Juergen Vigna  <jug@sad.it>
13912
13913         * sp_spell.C (initialize): changed error text to more general
13914         spellchecker command use (not only ispell!)
13915
13916         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13917
13918         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13919
13920 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * vspace.C: initialise lyxgluelength on failure
13923
13924 2001-11-28  Allan Rae  <rae@lyx.org>
13925
13926         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13927         declaration & definition that looks like a function declaration.
13928
13929 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * BufferView2.C (copy):
13932         (copyEnvironment): do not clear the selection when doing a copy.
13933
13934         * text.C (paintFirstRow): compilation fix
13935
13936 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13937
13938         * tabular.C (Latex): correct line count when writing latex.
13939
13940 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * paragraph_pimpl.h:
13943         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13944           bug a bit
13945
13946 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * text.C:
13949         * LColor.h:
13950         * LColor.C: change vfillline->added_space
13951
13952         * text.C: add markers and text for added space
13953
13954         * vspace.C: fix comment
13955
13956 2001-11-28  André Pönitz <poenitz@gmx.net>
13957
13958         * paragraph.C: whitespace changes
13959         * all the other files from the change on 2001/11/26:
13960         change *::pos_type into lyx::pos_type
13961
13962 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13965         language of the document when inserting error insets.
13966
13967 2001-11-26  André Pönitz <poenitz@gmx.net>
13968
13969         * BufferView_pimpl.[Ch]:
13970         *       CutAndPaste.C:
13971         * buffer.[Ch]:
13972         * lyxcursor.[Ch]:
13973         * lyxfind.C:
13974         * lyxfunc.C:
13975         * lyxrow.[Ch]:
13976         * paragraph.[Ch]:
13977         * paragraph_pimpl.[Ch]:
13978         * sp_spell.C:
13979         * text.C:
13980         * text2.C: reduce header dependencies, introduce type for positions
13981
13982 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13983
13984         * <various>: change to use Alert.h
13985
13986 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13987
13988         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13989         when encountering an unknown token.
13990         (readLyXformat2): Show an error message if there were unknown tokens.
13991
13992 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * BufferView2.C:
13995         * BufferView_pimpl.C:
13996         * buffer.C:
13997         * paragraph.h:
13998         * text.C:
13999         * text2.C: use par->isInset()
14000
14001 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14002
14003         * paragraph_pimpl.h:
14004         * paragraph_pimpl.C: cleanup
14005
14006 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14007
14008         * text2.C (removeRow):
14009         * text.C (setHeightOfRow): remove useless (and costly) call to
14010         getRow.
14011
14012 2001-11-20  Allan Rae  <rae@lyx.org>
14013
14014         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14015         Now need Inset*::checkInsertChar() to return true for appropriate
14016         cases so that the characters in the minibuffer will actually be
14017         inserted.
14018
14019 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * text.C: change the order of the includes.
14022         (workWidth): initialize it at once.
14023         (workWidth): make maxw unsigned
14024         (setHeightOfRow): remove unused variable (inset)
14025         (selectSelectedWord): remove unused variable (inset)
14026         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14027
14028 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14031         server is not running.
14032         (openConnection):
14033         (closeConnection): add debug info when server is disabled.
14034
14035         * ColorHandler.C (getGCForeground): send debug message to GUI
14036         channel.
14037
14038         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14039
14040         * kbmap.C (bind): modify because return conventions of
14041         kb_sequence::parse have changed.
14042
14043         * kbsequence.C (parse): only ignore spaces and not any stupid
14044         control character. This avoids tests like s[i] <= ' ', which are
14045         guaranteed to fail with 8bit characters and signed chars.
14046         Change return code to string::npos when there have been no error
14047         (0 was a bad idea when error is at first character)
14048
14049 2001-11-14  José Matos  <jamatos@fep.up.pt>
14050
14051         * buffer.h:
14052         * buffer.C (simpleDocBookOnePar): removed unused argument.
14053
14054 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14057         insets which are part of a word. Paragraph::isLetter takes care of
14058         that now. Use Paragraph::isInset to identify insets.
14059         (selectSelectedWord): do not test for hyphenation break.
14060
14061         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14062         that protected spaces are considered as spaces.
14063
14064         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14065         Inset::isLetter.
14066
14067 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14068
14069         * lyxserver.h:
14070         * lyxserver.C: fix it. and small cleanup.
14071
14072 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * BufferView_pimpl.C: use inline helpers
14075
14076         * LaTeXFeatures.h:
14077         * LaTeXFeatures.C: fix typos
14078
14079         * Spacing.h:
14080         * Spacing.C: move spacing_string into class
14081
14082         * ToolbarDefaults.C: move stuff into namespace anon
14083
14084         * layout.h: update enum
14085
14086         * lyxfunc.C: use better debug
14087
14088         * minibuffer.h: fix typo
14089
14090         * debug.h:
14091         * debug.C:
14092         * WorkArea.C: add and use Debug::WORKAREA
14093
14094         * lyxtext.h:
14095         * text.C:
14096         * text2.C: code re-organisation, inline helpers
14097
14098 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14099
14100         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14101         std::vector.empty().
14102
14103 2001-11-09  Allan Rae  <rae@lyx.org>
14104
14105         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14106         '\n's after tables.  Tabular and ERT inset work now makes this no
14107         longer necessary.
14108
14109 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14110
14111         * minibuffer.h:
14112         * minibuffer.C: fix crash, improve drop-down completion
14113
14114 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14115
14116         * lyxserver.h:
14117         * lyxserver.C: invalidate fd's when doing endPipe()
14118
14119 2001-11-08  José Matos  <jamatos@fep.up.pt>
14120
14121         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14122         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14123
14124         * paragraph.h:
14125         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14126
14127 2001-11-07  José Matos  <jamatos@fep.up.pt>
14128
14129         * buffer.h:
14130         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14131         const qualifier.
14132
14133         * buffer.C (sgmlOpenTag):
14134         * buffer.C (sgmlCloseTag): removed debug info.
14135
14136         * buffer.h (sgmlOpenTag):
14137         * buffer.h (sgmlCloseTag): made public.
14138
14139 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14140
14141         * buffer.C (saveParamsAsDefaults):
14142         * lyx_cb.C (MenuLayoutSave): remove
14143
14144         * LyXAction.C (init):
14145         * commandtags.h:
14146         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14147
14148 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14149
14150         * buffer.C (setPaperStuff): removed from here...
14151
14152         * bufferparams.C (setPaperStuff): ... and moved there.
14153
14154 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * minibuffer.h:
14157         * minibuffer.C:
14158         * XFormsView.C: add support for drop-down completion
14159
14160 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14163         commands.
14164
14165 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14168         disabled.
14169
14170 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * lyx_main.C: change ref to known bugs
14173
14174 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14175
14176         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14177         to work around older babel problems.
14178
14179 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14180
14181         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14182
14183 2001-10-24  Juergen Vigna  <jug@sad.it>
14184
14185         * tabular-old.C (ReadOld): below variable changes reflected.
14186
14187         * tabular.[Ch]: added ltType struct for longtable header/footer
14188         defines and changed all instances where they are used. Added
14189         future support for double top/bottom rows.
14190
14191 2001-10-24  José Matos  <jamatos@fep.up.pt>
14192
14193         * buffer.h (docbookHandleCaption):
14194         * buffer.C (docbookHandleCaption): removed unused function.
14195         (makeDocBookFile): moved docbook supported version to v4.1.
14196
14197 2001-10-24  José Matos  <jamatos@fep.up.pt>
14198
14199         * tabular.h:
14200         * tabular.C (docbookRow): new function to export docbook code of a row.
14201         (DocBook): now honors the longtable flags.
14202
14203 2001-10-23  José Matos  <jamatos@fep.up.pt>
14204
14205         * LaTeXFeatures.h:
14206         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14207         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14208
14209         * buffer.C (makeLinuxDocFile):
14210         (makeDocBookFile): reworked the preamble, more clean, and with
14211         support for lyx defined entities. Changed the document declaration
14212         to be more XML friendly.
14213
14214         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14215         if we need to output XML that should be done with a filter.
14216
14217 2001-10-22  Juergen Vigna  <jug@sad.it>
14218
14219         * sp_pspell.h (class PSpell): add alive function needed in the
14220         controller to see if the spellchecker could be started.
14221
14222 2001-10-22  Juergen Vigna  <jug@sad.it>
14223
14224         * buffer.C (insertStringAsLines): modify the font for inserting
14225         chars in certain conditions by calling checkInsertChar(font).
14226
14227 2001-10-19  Juergen Vigna  <jug@sad.it>
14228
14229         * text.C (workWidth): use getRow instead of wrong algorithm.
14230         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14231
14232 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * lyxserver.h:
14235         * lyxserver.C:
14236         * lyx_main.h:
14237         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14238
14239 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * text.C (workWidth): do not search for the exact row when
14242         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14243         optimization for big documents.
14244
14245 2001-10-18  Juergen Vigna  <jug@sad.it>
14246
14247         * text.C (workWidth): new function with added Inset * parameter.
14248
14249 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14252
14253         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14254         change return type of getColumnNearX.
14255
14256
14257         * text.C (changeRegionCase): use uppercase/lowercase instead of
14258         toupper/tolower.
14259         (leftMargin):
14260         (rightMargin): simplify code by factoring out the uses of
14261         textclasslist.
14262         (labelFill):
14263         (numberOfHfills):
14264         (setHeightOfRow):
14265         (appendParagraph): use Paragraph::size_type
14266
14267 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * vspace.C (asLatexString): add a missing break
14270
14271 2001-10-15  Herbert Voss  <voss@perce.de>
14272
14273         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14274
14275 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14278         is not available.
14279
14280 2001-10-10  André Pönitz <poenitz@gmx.net>
14281
14282         * lyxfunc.C: removed greek_kb_flag.
14283
14284 2001-10-10  Herbert Voss  <voss@perce.de>
14285
14286         * lyx_main.C: delete global string help_lyxdir.
14287
14288 2001-10-09  Herbert Voss  <voss@perce.de>
14289
14290         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14291
14292         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14293
14294         * lyx_main.C: added global string help_lyxdir.
14295
14296         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14297
14298 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14299
14300         * lyxrc.C (set_font_norm_type): support iso8859-4
14301
14302 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14303
14304         * LaTeX.C (deplog): add another regex for MikTeX
14305
14306 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14307
14308         * lyxrc.C (set_font_norm_type): support iso8859-3
14309
14310 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14313
14314         * LaTeXFeatures.C: remove special case of french and index
14315
14316         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14317         before \begin{document}). This solves several incompatibilities.
14318
14319 2001-10-03  Garst Reese  <reese@isn.net>
14320
14321         * lyx_cb.C: change CheckTex error msg.
14322
14323 2001-10-03  José Matos  <jamatos@fep.up.pt>
14324
14325         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14326
14327 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * .cvsignore: update
14330
14331         * lyx_main.C (commandLineVersionInfo): use new style version info.
14332
14333         * buffer.C (writeFile):
14334         (makeLaTeXFile):
14335         (makeLinuxDocFile):
14336         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14337
14338         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14339
14340         * version.h: update to use stuff in version.C
14341
14342         * version.C.in: new file. Contains version information determined
14343         at compile time. This is a merging of version.h and
14344         version_info.h.in.
14345
14346 2001-10-03  Juergen Vigna  <jug@sad.it>
14347
14348         * BufferView_pimpl.C (update): don't change "dirty" status in
14349         updateInset call.
14350
14351 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * WorkArea.C (c-tor): re-position version string slightly.
14354
14355 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14356
14357         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14358         revert to previous code.
14359
14360         WorkArea.[Ch]: (show, destroySplash): methods removed.
14361
14362         WorkArea.C: rework code so that it's an amalgam of the codes before and
14363         after the splash screen was moved to WorkArea.
14364
14365 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14366
14367         * lyxrc.C (read):
14368         * vspace.C (inPixels):
14369         (lyx_advance):
14370         * kbmap.C (bind):
14371         * buffer.C (insertStringAsLines):
14372         (asciiParagraph): fix types to be large enough
14373
14374         * lyxlex_pimpl.h: change member status from short to int
14375
14376         * layout.h: fix type of endlabeltype
14377
14378         * kbmap.C (bind):
14379         * kbsequence.C (parse): change return type to string::size_type
14380
14381         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14382         variable
14383
14384         * Bullet.C (bulletSize):
14385         (bulletEntry): do not use short ints as parameters
14386
14387         * BufferView2.C (insertLyXFile): change a char to an int.
14388
14389         * WorkArea.C (WorkArea): remove unneeded floats in computation
14390
14391 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14392
14393         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14394
14395         * paragraph.C (asString): Do not ignore newline/hfill chars when
14396         copying to the clipboard.
14397
14398 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14399
14400         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14401         after a multi-line inset.
14402
14403 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * paragraph.C (validate): Set NeedLyXFootnoteCode
14406
14407 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14408
14409         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14410         and decrease-error to decrease.
14411
14412 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14413
14414         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14415         it more readable (should be equivalent)
14416
14417 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14418
14419         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14420
14421 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14422
14423         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14424         of a cursor (row, etc.) after a character has been deleted
14425         (deleteEmptyParagraphMechanism): call the method above on _all_
14426         cursors held by the LyXText when a double space has been
14427         detected/deleted.
14428
14429 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14432         pixmap.
14433         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14434
14435         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14436         background. Use greyOut() and the new show() methods to toggle between
14437         the foreground and background. Add code to remove the splash after
14438         its initial showing.
14439
14440         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14441         (create_forms): no longer call Dialogs::showSplash.
14442
14443 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14444
14445         * .cvsignore: add version_info.h
14446
14447 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14448
14449         * version_info.h.in: new file
14450
14451         * Makefile.am: add version_info.h.in
14452
14453         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14454         version_info.h instead of VERSION_INFO
14455
14456 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14459         The ERT inset now returns string().
14460
14461 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14462
14463         * lyxtext.h, text.C (selectNextWord): renamed as
14464         selectNextWordToSpellcheck.
14465
14466         * text.C (selectNextWordToSpellcheck): Modified to not select
14467         words inside an ERT inset.
14468
14469 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * lyx_cb.C (MenuLayoutSave): change a bit the question
14472
14473         * sp_base.h: include <sys/types.h>
14474
14475 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14478
14479 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14480
14481         * several files: fix typos in user-visible strings
14482
14483 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14484
14485         * text2.C (pasteSelection): do not set the selection, since it
14486         will be cleared later. Actually, the intent was to fix the way the
14487         selection was set, but I figured rmoving the code was just as good.
14488
14489 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * FontLoader.C (available): Check if font is available without
14492         loading the font.
14493
14494 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14495
14496         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14497
14498 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * lyxrc.[Ch]: added display_graphics variable and associated code.
14501
14502 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14503
14504         * bufferparams.C (hasClassDefaults): new method. Returns true if
14505         the buffer parameters correspond to known class defaults
14506
14507 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14508
14509         * XFormsView.C (show): set minimum size to the main window.
14510
14511 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14512
14513         * text2.C (copySelection):
14514         (cutSelection):
14515         * lyxfind.C (LyXReplace):
14516         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14517         LyXText::selectionAsString.
14518
14519         * paragraph.C (asString): add "label" argument to the second form
14520
14521         * text2.C (selectionAsString): add "label" argument and pass it to
14522         Paragraph::asString.
14523
14524 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14525
14526         * lyx_main.C (commandLineHelp): remove version information
14527
14528 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14529
14530         * lyx_main.C: add -version commandline option
14531
14532 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * paragraph.h: make the optional constructor arg required instead.
14535         some modifications to other files because of this.
14536
14537         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14538
14539         * lyxserver.C (C_LyXComm_callback): make it static
14540
14541         * lyx_main.C (error_handler): make it static
14542
14543         * lyx_gui.C (LyX_XErrHandler): make it static
14544
14545         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14546
14547         * WorkArea.C: make the extern "C" methods static.
14548
14549         * Makefile.am (lyx_LDADD): simplify
14550
14551 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14552
14553         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14554         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14555
14556         * LyXAction.C (init):
14557         * lyxfunc.C (dispatch): associated code removal.
14558
14559 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14560
14561         * lyxfont.h (isSymbolFont): shut off warning
14562
14563         * text.C (setHeightOfRow):
14564         (getVisibleRow): fix crash with empty paragraphs which have a
14565         bottom line
14566
14567 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14568
14569         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14570         code.
14571
14572 2001-09-04  José Matos  <jamatos@fep.up.pt>
14573         * buffer.C
14574         * buffer.h
14575         * tabular.C (docbook): rename docBook method to docbook.
14576
14577 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14578
14579         * Makefile.am: add dependencies to main.o.
14580
14581 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * FontLoader.C (available): Return false if !lyxrc.use_gui
14584
14585 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14586
14587         * FontInfo.C (query):
14588         * converter.C (view):
14589         * importer.C (Import):
14590         * exporter.C (Export): Can not -> cannot.
14591
14592 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * BufferView_pimpl.C: allow to create index inset even if
14595           string is empty
14596
14597 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14598
14599         * buffer.C (getLists): replace boost::tie code with an explicit pair
14600         as boost::tie can break some compilers.
14601
14602         * iterators.h: Added a std:: declaration to the return type of
14603         ParIterator::size.
14604
14605 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14606
14607         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14608           case.
14609
14610 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14611
14612         * iterators.[Ch]: New files. Provide paragraph iterators.
14613
14614         * buffer.C (changeLanguage): Use paragraph iterators.
14615         (isMultiLingual): ditto
14616
14617         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14618
14619 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14620
14621         * FontLoader.C: Support for cmr font.
14622
14623 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14624
14625         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14626         (available): New method.
14627
14628         * FontInfo.C (getFontname): Use scalable fonts even when
14629         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14630         found.
14631
14632 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * converter.C (Formats::view): reverted! Incorrect fix.
14635
14636 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14637
14638         * converter.C (Formats::view): only output the -paper option
14639         if the dvi viewer is xdvi, thereby fixing bug #233429.
14640
14641 2001-08-23  Herbert Voss  <voss@perce>
14642
14643         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14644
14645 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14646
14647         * Spacing.h (Spacing): Set space to Default on in the default
14648         constructor.
14649
14650 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * vc-backend.h (RCS::versionString): add RCS to version
14653         (CVS::versionString): add CVS to version
14654
14655         * vc-backend.C (scanMaster): do not add CVS to version.
14656         (scanMaster): do not add RCS to version
14657
14658         * lyxvc.C (versionString): new method
14659
14660         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14661
14662 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * Spacing.C (set): initialize fval
14665
14666 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14669         " or \.
14670
14671 2001-08-16  Juergen Vigna  <jug@sad.it>
14672
14673         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14674
14675 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * BufferView_pimpl.C:
14678         * figureForm.C:
14679         * lyxtext.h:
14680         * text2.C: setParagraph takes linespacing now
14681
14682 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14683
14684         * LyxAction.C: add internal LFUN_CITATION_INSERT
14685
14686         * LyXView.C: actually apply fix
14687
14688         * bufferlist.C: fix open non-existent file
14689
14690         * lyxfind.C: fix indentation
14691
14692         * lyxfunc.C: remove unneeded assert, fix typo
14693
14694 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14695
14696         * MenuBackend.C: use "Floatname List"
14697
14698 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14701         when converting LaTeX layout to insetERT.
14702         Generate a non-collapsed float when reading old float
14703
14704 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14705
14706         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14707         ERT insets.
14708
14709 2001-08-13  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (fill): return 0 instead of 20 as this seems to be the more
14712         correct value.
14713
14714 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14717         lyxrc.font_norm.
14718
14719 2001-08-13  Juergen Vigna  <jug@sad.it>
14720
14721         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14722         casesensitive off.
14723         (SearchBackward): comment out the unlocking of the inset_owner this
14724         should not be needed!
14725
14726 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * Many files: Remove inherit_language, and add latex_language
14729
14730         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14731         collapsible insets.
14732
14733 2001-08-10  Juergen Vigna  <jug@sad.it>
14734
14735         * text.C (prepareToPrint): fixed hfill-width in draw!
14736
14737         * BufferView2.C (selectLastWord): save the selection cursor as this
14738         now is cleared in the function LyXText::clearSelection!
14739
14740 2001-08-08  Juergen Vigna  <jug@sad.it>
14741
14742         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14743         BACKSPACE type functions.
14744
14745         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14746         is only cutted from the document but not put in the cut-buffer, where
14747         still the old stuff should be.
14748
14749         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14750
14751         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14752
14753         * tabular.C (SetWidthOfCell): fixed special case where the width
14754         was not updated!
14755         (LeftLine): handle '|' in align_special.
14756         (RightLine): ditto
14757         (LeftAlreadyDrawed): ditto
14758         (SetWidthOfCell): ditto
14759
14760 2001-08-07  Juergen Vigna  <jug@sad.it>
14761
14762         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14763
14764 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14767         * lyxlex.[hC]: ditto
14768
14769 2001-08-06  Juergen Vigna  <jug@sad.it>
14770
14771         * text.C (getVisibleRow): fix up row clearing a bit.
14772
14773 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * minibuffer.C: make sure the X server sees the changes in the input.
14776
14777 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14778
14779         * paragraph.C (getFont): split into...
14780         (getLabelFont): this
14781         (getLayoutFont): and this
14782         * paragraph_pimpl.C (realizeFont): calling this
14783
14784         * text2.C (getFont): split into...
14785         (getLayoutFont): this
14786         (getLabelFont): and this
14787         (realizeFont): all three calling this
14788
14789         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14790         files where used.
14791
14792 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14795
14796 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14797
14798         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14799         layouts from the Quote inset insertion.
14800
14801 2001-08-03  Juergen Vigna  <jug@sad.it>
14802
14803         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14804
14805         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14806         only if status not is already CHANGED_IN_DRAW (second level).
14807
14808         * text.C (draw): don't set the need_break_row when inside an
14809         InsetText LyXText.
14810
14811 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * buffer.C (parseSingleLyXformat2Token): handle more latex
14814         conversion cases.
14815
14816         * bufferview_funcs.[hC]: change function names to
14817         begin with small char, adjust other files.
14818
14819 2001-08-02  André Pönitz <poenitz@gmx.net>
14820
14821         * lyxfunc.C:
14822         BufferView_pimpl.C: remove broken special code for math-greek
14823
14824 2001-08-02  Juergen Vigna  <jug@sad.it>
14825
14826         * BufferView_pimpl.C (update): redone this function so that we
14827         update the text again if there was a CHANGE_IN_DRAW.
14828
14829         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14830         (drawFromTo): added a new internal bool which is used by draw() and
14831         redraw() function.
14832         (general): some cursor drawing problems fixed.
14833
14834 2001-08-01  Juergen Vigna  <jug@sad.it>
14835
14836         * lyxfind.C (LyXFind): fixed
14837         (SearchForward): ditto
14838         (SearchBackward): ditto
14839
14840         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14841         spurius drawing of the cursor in the main area.
14842
14843         * text2.C (status): small fix which could lead to a segfault!
14844         (clearSelection): remove unneeded BufferView param.
14845
14846 2001-08-01  André Pönitz <poenitz@gmx.net>
14847
14848         * lyxfunc.C: small change due to changed mathed interface
14849
14850 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14853
14854 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * lyxfunc.c: fail gracefully if file doesn't exist
14857
14858         * LyXSendto.C:
14859         * buffer.C:
14860         * lyxfunc.C:
14861         * BufferView_pimpl.C: IsDirWriteable() proto changed
14862
14863         * LyXView.C: fix updateWindowTitle() to store the last title
14864
14865 2001-07-31  Juergen Vigna  <jug@sad.it>
14866
14867         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14868         the font (wrong since using of Paragraph::highestFontInRange).
14869
14870         * paragraph.C (highestFontInRange): added a default_size parameter.
14871
14872         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14873         (setHeightOfRow): reformat
14874
14875 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * converter.[hC] + affected files: move to (inital-char)lowercase
14878         function names.
14879
14880         * ParagraphParameters.C (ParagraphParameters): remove commented code
14881
14882         * PainterBase.[Ch]: remove commented code
14883
14884         * LaTeXFeatures.h: add "bool floats" for float.sty
14885
14886         * LaTeXFeatures.C (LaTeXFeatures): init floats
14887         (require): handle float
14888         (getPackages): do it with floats
14889
14890 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14891
14892         * BufferView_pimpl.C (Dispatch): improve handling of
14893         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14894
14895         * commandtags.h: #include lyxfont.h here temporarily to avoid
14896         keybinding bug.
14897
14898         * bufferlist.h: include LString.h here.
14899
14900 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * text2.C (getStringToIndex): new method.
14903
14904 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14905
14906         * *: Reduced header file dependencies all over.
14907
14908 2001-07-30  Baruch Even  <baruch@lyx.org>
14909
14910         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14911
14912 2001-07-29  Baruch Even  <baruch@lyx.org>
14913
14914         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14915
14916 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * ParameterStruct.h (endif): add a default constructor to make
14919         sure that all variables is initialized.
14920
14921         * ParagraphParameters.C (ParagraphParameters): adjust
14922
14923 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14926         index; also, check that there is something to index, and that it
14927         does not span over several paragraphs.
14928         (doubleClick): use WHOLE_WORD_STRICT for double click.
14929
14930         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14931
14932         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14933         scheme.
14934
14935 2001-07-26  Baruch Even  <baruch@lyx.org>
14936
14937         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14938         an InsetFig figure, backwards compatible reading of old figure code.
14939
14940 2001-07-27  Juergen Vigna  <jug@sad.it>
14941
14942         * text2.C: font.realize function adaption.
14943
14944         * text.C (draw): add a warnings lyxerr text if needed.
14945
14946         * layout.C: font.realize function adaption.
14947
14948         * language.C: add inherit_language and implement it's handlings
14949
14950         * bufferview_funcs.C (StyleReset): remove language parameter from
14951         font creation (should be language_inherit now).
14952
14953         * bufferparams.C (writeFile): handle ignore_language.
14954
14955         * paragraph.C (getFontSettings): the language has to be resolved
14956         otherwise we have problems in LyXFont!
14957
14958         * lyxfont.C (lyxWriteChanges): added document_language parameter
14959         (update): removed unneeded language parameter
14960
14961         * paragraph.C (validate): fixed wrong output of color-package when
14962         using interface colors for certain fonts in certain environments,
14963         which should not seen as that on the final output.
14964
14965 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * BufferView_pimpl.C:
14968         * Thesaurus.h:
14969         * Thesaurus.C:
14970         * Makefile.am:
14971         * commandtags.h:
14972         * LyXAction.C: add thesaurus support
14973
14974         * lyxfind.h:
14975         * lyxfind.C: add "once" parameter, for thesaurus, to not
14976           move to the next match
14977
14978 2001-07-26  Juergen Vigna  <jug@sad.it>
14979
14980         * lyxfont.C (realize): honor ignore_language too!
14981         (resolved): ditto.
14982
14983         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14984
14985         * text.C (draw): one place more for ignore_language to not draw
14986         itself!
14987
14988 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14989
14990         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14991
14992 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14995         the minipage conversion problem.
14996
14997 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15000         insert an inset.
15001
15002 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * BufferView.h: don't forward declare WorkArea
15005
15006         * BufferView.C: don't include WorkArea.h
15007
15008 2001-07-25  André Pönitz <poenitz@gmx.net>
15009
15010         * commandtags.h:
15011         * LyXAction.C:
15012         * lyxfunc.C:  new LFUN 'math-space'
15013
15014         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15015
15016 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15017
15018         * text2.C (toggleInset): call open/close
15019
15020 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * lyxfunc.C (dispatch): add debug for the disabled case
15023
15024         * font.C (buttonText): make similar to rectText
15025
15026         * buffer.C (readInset): comment out parsing of insetlist and
15027         insttheorem
15028
15029         * PainterBase.C (rectText): small correction
15030
15031         * BufferView_pimpl.C: comment out insettheorem and insetlist
15032         * LyXAction.C: ditto
15033         * commandtags.h: ditto
15034
15035 2001-07-24  Juergen Vigna  <jug@sad.it>
15036
15037         * text.C (draw): honor the ignore_language.
15038
15039         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15040
15041 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15044         char inset.
15045
15046 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15047
15048         * lyxtext.h: remove unused (and unimplemented) methods
15049
15050 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15051
15052         * text.C (getVisibleRow): honor background color
15053
15054         * PainterBase.h:
15055         * Painter.h: remove default color argument for fillRectangle
15056
15057         * text.C (backgroundColor): new method
15058
15059 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * text.C (getVisibleRow): adjust
15062
15063         * font.[Ch] (rectText): new method, metrics
15064         (buttonText): new method, metrics
15065
15066         * PainterBase.[hC]: make rectText and buttonText always draw and take
15067         fewer paramteres.
15068
15069 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15070
15071         * ToolbarDefaults.C (read):
15072         * MenuBackend.C (read): allow escaping in all strings
15073
15074         * BufferView_pimpl.C (insertAndEditInset): new method.
15075         (Dispatch): use insertAndEditInset whenever appropriate.
15076
15077         * BufferView_pimpl.C (insertNote): removed
15078
15079         * BufferView_pimpl.C (smartQuote): new method, moved from
15080         BufferView; if an insetquote cannot be inserted, insert a '"'
15081         character instead.
15082
15083         * BufferView2.C: remove insertCorrectQuote();
15084
15085         * lyxfunc.C (getStatus): Add support for all remaingin
15086         inset-insert lfuns.
15087
15088         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15089
15090         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15091         command (necessary to pass " as parameter of self-insert.
15092
15093         * text.C (selectWordWhenUnderCursor):
15094         (selectWord): add word_location parameter
15095         (selectWordWhenUnderCursor): same + remove special code for word
15096         boundary.
15097         (selectNextWord): use kind() to guess type of insetspecialchar,
15098         not latex().
15099
15100         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15101         (insertErtContents): create ert insets as collapsed.
15102         (readInset): better compatibility code for Info inset.
15103
15104 2001-07-20  Juergen Vigna  <jug@sad.it>
15105
15106         * lyxfunc.C (dispatch): use always LyXFind now!
15107
15108         * text2.C (init): add a reinit flag so that the LyXText can be
15109         reinited instead of deleted and reallocated (used in InsetText).
15110
15111         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15112
15113         * text.C: ditto
15114
15115         * text2.C: ditto
15116
15117 2001-07-18  Juergen Vigna  <jug@sad.it>
15118
15119         * text.C (selectNextWord): handle insets inside inset by calling
15120         always the bv->text functions so that we can go up the_locking_inset!
15121
15122         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15123         in strange locations when inside an inset!
15124
15125         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15126         handling to include insets.
15127
15128         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15129
15130 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * LyXAction.C (init):
15133         * commandtags.h:
15134         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15135         LIGATURE_BREAK, since the name is so stupid.
15136
15137 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15138
15139         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15140         InsetInfos.
15141
15142         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15143
15144         * sp_form.[Ch]: remove.
15145
15146         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15147
15148         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15149         InsetInfo.
15150
15151         * src/buffer.C (readInset): ditto.
15152
15153 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15154
15155         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15156         menuSeparator(), endOfSentenceDot(), ldots() and
15157         hyphenationPoint(), which are therefore removed.
15158         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15159
15160         * LyXAction.C (init):
15161         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15162
15163         * paragraph.C (getWord): removed.
15164
15165         * BufferView_pimpl.C (Dispatch): use last word or selection for
15166         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15167
15168         * lyx_main.C (queryUserLyXDir): do not ask before creating
15169         user_dir, except if it has been named explicitely.
15170
15171 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15172
15173         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15174         a document of zero size.
15175
15176 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15177
15178         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15179         approriately in the c-tor and in require().
15180         (getPackages): output the appropriate LaTeX for natbib support.
15181
15182         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15183         variables "use_natbib" and "use_numerical_citations" when reading the
15184         LyX file.
15185         (readInset): read the various natbib cite commands.
15186         (validate): white-space change.
15187
15188         * bufferparams.[Ch]: new variables "bool use_natbib" and
15189         "bool use_numerical_citations".
15190         (writeFile): output them in the LyX file.
15191
15192 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15193
15194         * lyxfunc.C (getStatus): add support for all the inset insertion
15195         commands.
15196
15197         * text2.C (insertInset):
15198         * paragraph.C (insetAllowed):
15199         * BufferView_pimpl.C (insertInset): update to take in account the
15200         renaming of insertInsetAllowed
15201
15202         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15203
15204         * text2.C (getInset): new method. returns inset at cursor position.
15205
15206         * BufferView_pimpl.C (Dispatch): changes because of this.
15207
15208         * LyXAction.C (init): rename open-stuff to inset-toggle.
15209
15210         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15211
15212         * text2.C (toggleInset): renamed from openStuff; use
15213         Inset::open().
15214
15215 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15216
15217         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15218
15219         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15220
15221 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15222
15223         * buffer.C (readLyXformat2): Add filename to the error dialog
15224
15225 2001-07-18  Juergen Vigna  <jug@sad.it>
15226
15227         * tabular.C (GetCellNumber): put an assert here instead of the check!
15228
15229 2001-07-17  Juergen Vigna  <jug@sad.it>
15230
15231         * BufferView_pimpl.C (toggleSelection): adapted too.
15232
15233         * text.C (selectNextWord): adapted for use with insets.
15234         (selectSelectedWord): ditto
15235
15236 2001-07-17  Juergen Vigna  <jug@sad.it>
15237
15238         * sp_spell.C (PSpell): fix initialitation order.
15239
15240 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * paragraph.C: spacing
15243
15244 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15245
15246         * sp_spell.C: repair language selection for pspell
15247
15248 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15249
15250         * lyxfunc.h: change more methods to begin with lower char.
15251
15252 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15255         for unknown layouts.
15256
15257 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15258
15259         * buffer.C (readLyXformat2): Generate an error dialog if there are
15260         unknown layouts.
15261
15262 2001-07-16  Juergen Vigna  <jug@sad.it>
15263
15264         * sp_spell.C: always compile ISpell part.
15265
15266         * lyxrc.C: added use_pspell entry and it's handling.
15267
15268 2001-07-13  Juergen Vigna  <jug@sad.it>
15269
15270         * sp_spell.C: removed double includes.
15271
15272 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15273
15274         Consistent use of Lsstream.h:
15275         * Lsstream.h: added using std::stringstream for consistencies sake.
15276
15277         * buffer.C: removed using std::stringstream
15278
15279         * lyxfont.C (stateText):
15280         * paragraph.C (asString):
15281         * text.C (selectNextWord, selectSelectedWord):
15282         * text2.C (setCounter):
15283         * vspace.C (asString, asLatexString):
15284         std::ostringstream -> ostringstream.
15285
15286 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15287
15288         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15289         * commandtags.h: add LFUN_HELP_ABOUTLYX
15290         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15291
15292 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15293
15294         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15295         cursorToggle()
15296         * lyx_gui_misc.C: remove spellchecker
15297         * lyxfunc.C: showSpellchecker
15298         * sp_base.h: added
15299         * sp_ispell.h: added
15300         * sp_pspell.h: added
15301         * sp_spell.C: added
15302         * sp_form.[Ch]: removed
15303         * spellchecker.[Ch]: removed
15304
15305 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15306
15307         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15308         is set.
15309         (simpleTeXSpecialChars): Simply print the input character without
15310         any special translation if pass_thru is set.
15311
15312         * layout.h: Added bool pass_thru to layout class for being able to
15313         implement pass through of a paragraph for Literate Programming.
15314
15315         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15316         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15317         * layout.C (Read): add "passthru" to list of layout tags and add
15318         code to set the pass_thru boolean when it is read.
15319
15320 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * trans_decl.h: remove allowed from KmodInfo
15323
15324         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15325         remove allowed code
15326         (Load): adjust
15327
15328         * paragraph_pimpl.C (erase): use boost::prior
15329
15330         * Painter.C (text): use data() instead of c_str() when length is
15331         also provided.
15332         * WorkArea.C (putClipboard): ditto
15333         * font.h (width): ditto
15334
15335         * BufferView2.C: use it-> instead of (*it). for iterators
15336         * texrow.C: ditto
15337         * paragraph_pimpl.C: ditto
15338         * paragraph.C: ditto
15339         * minibuffer.C: ditto
15340         * language.C: ditto
15341         * kbmap.C: ditto
15342         * encoding.C: ditto
15343         * counters.C: ditto
15344         * converter.C: ditto
15345         * chset.C: ditto
15346         * Variables.C: ditto
15347         * TextCache.C: ditto
15348         * MenuBackend.C: ditto
15349         * LyXAction.C: ditto
15350         * LColor.C: ditto
15351         * FloatList.C: ditto
15352         * DepTable.C: ditto
15353         * ColorHandler.C (LyXColorHandler): ditto
15354
15355 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15358
15359         * text2.C (openStuff): reintroduce this method (which had been
15360         nuked in NEW_INSETS frenzy).
15361
15362         * lyxfunc.C (Dispatch): when an action has not been handled, use
15363         its name in the error message, not its number.
15364
15365         * paragraph.C (inInset): change method name to begin with lowercase.
15366
15367         * undo_funcs.C:
15368         * text2.C: updates because of this.
15369
15370 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * ToolbarDefaults.C (add): add spaces in error message
15373
15374 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15377         (readLyXformat2): rename return_par to first_par, use lyxlex's
15378         pushToken and remove the manual push handling.
15379         (parseSingleLyXformat2Token): add another ert comp. variable:
15380         in_tabular, rename return_par to first_par. handle newlines better
15381
15382 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15385
15386 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * text2.C (getParFromID): removed
15389
15390         * buffer.C (getParFromID): new method moved form lyxtext.
15391         * BufferView2.C (insertErrors): adjust
15392         (setCursorFromRow): adjust
15393         * BufferView_pimpl.C (restorePosition): adjust
15394         * lyxfunc.C (Dispatch): adjust
15395         * undo_funcs.C (textUndo): adjust
15396         (textRedo): adjust
15397         (textHandleUndo): adjust
15398         (textHandleUndo): adjust
15399
15400 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * buffer.C: up' the LYX_FORMAT
15403
15404         * lyxfont.h: turn NO_LATEX on as default
15405
15406         * buffer.C (insertErtContents): new methods of tex style compability.
15407         (parseSingleLyXformat2Token): use it several places.
15408         * tabular.C (OldFormatRead): and here
15409
15410 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * text2.C: remove some commented code.
15413         reindent file.
15414
15415         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15416         * trans.C: changes because of the above.
15417
15418 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * text2.C (setCounter): Fix counters bug with bibliography layout.
15421
15422 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15425         own member functions
15426         (simpleTeXSpecialChars): ditto
15427
15428 2001-07-06  Juergen Vigna  <jug@sad.it>
15429
15430         * a lot of files: changed the access to LyXText::status and the
15431         call of undo-functions.
15432
15433         * undo.[Ch]: added a inset_id to the undo informations.
15434
15435         * undo_funcs.[Ch]: added and moved here all undo functions.
15436
15437         * lyxtext.h: give the status enum a weight, made status_ a private
15438         variable and made accessor functions for it, removed the whole bunch
15439         of undo-functions as they are now in their own file, make some
15440         functions publically available. Added function ownerParagraph with
15441         int parameter.
15442
15443         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15444         made InInset() a const function, added getParFromID() function.
15445
15446         * buffer.[Ch]: added const version for inset_iterator functions,
15447         added getInsetFromID() function.
15448
15449         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15450         changed undo functions for new version.
15451
15452 2001-07-05  Juergen Vigna  <jug@sad.it>
15453
15454         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15455         unknow mechanism does not call the proper constructor but only this
15456         one also if I request the other!?
15457
15458 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15459
15460         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15461
15462         * text2.C (LyXText): use initialization lists.
15463
15464         * lyxtext.h (Selection): initialize set_ and mark_
15465         (init): remove method
15466
15467 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15468
15469         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15470
15471 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * screen.[Ch]: change method names to begin with lowercase
15474
15475         * BufferView_pimpl.C (updateScrollbar): simplify further and
15476         hopefully make it a bit faster.
15477
15478 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15481         calling directly xforms functions.
15482
15483         * Painter.C (Painter):
15484         * lyx_cb.C (MenuWrite):
15485         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15486         fl_display.
15487
15488         * lyx_gui.C: remove bogus guiruntime extern declaration.
15489
15490 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15491
15492         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15493         in NEW_INSETS
15494         (redoDrawingOfParagraph): ditto
15495         (redoParagraphs): ditto
15496         (cutSelection): don't create a object for CutAndPaste use the
15497         static method directly
15498         (pasteSelection): ditto
15499
15500         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15501         LyXview (+ rename)
15502
15503 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15504
15505         * modifications to some other files because of this.
15506
15507         * Makefile.am (lyx_SOURCES): add XFormsView
15508
15509         * XFormsView.[Ch]: new files
15510
15511         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15512         the main window. Move the gui dependent stuff to XFormsView
15513
15514 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * tabular.C (GetCellInset): update cur_cell also in the row/col
15517         version of this function.
15518
15519         * lyxfunc.C: no need to include figure_form.h here.
15520
15521         * FontLoader.h:
15522         * lyxfunc.h:
15523         * lyxscreen.h:
15524         * text2.C:
15525         * lyxvc.C: no need to include forms.h here.
15526
15527 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15530
15531         * lyxfunc.C (Dispatch):
15532         * Spacing.C (set):
15533         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15534         constructor argument.
15535
15536 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * paragraph.C (Paragraph): dont't clear, and just set layout.
15539         (makeSameLayout): use params's copy contructor.
15540
15541         * ParagraphParameters.[Ch] (makeSame): delete method
15542
15543 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * Variables.[Ch]: fix indentation, rename set to isSet
15546
15547 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * lyxfunc.C (Dispatch): fix typo
15550
15551 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15554         upper_bound.
15555
15556         * bufferlist.C: include assert.h for emergencyWrite().
15557
15558 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15559
15560         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15561           give up at last (bug #425202) !
15562
15563 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15564
15565         * lyx_gui_misc.C:
15566         * sp_form.h:
15567         * sp_form.C:
15568         * spellchecker.h:
15569         * spellchecker.C: strip spellchecker options and bring up
15570           preferences tab instead
15571
15572 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15573
15574         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15575         the istringstream constructor
15576
15577 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * paragraph.C (getLayout): fix return value
15580
15581         * paragraph.h: do not declare getLayout as inline.
15582
15583         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15584
15585 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15586
15587         * lyxcursor.h (operator<): new func
15588         (operator>): new func
15589         (operator>=): new func
15590         (operator<=): new func
15591
15592         * text.C (changeCase): use selection.start and selection.end
15593         (changeRegionCase): require from to be <= to. Require par to be a
15594         valid paragraph.
15595
15596         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15597
15598 2001-06-27  Juergen Vigna  <jug@sad.it>
15599
15600         * text.C (cursorLeftOneWord): changed to return the cursor and added
15601         overlay with BufferView * parameter which calls this one.
15602         (getWord): added
15603         (selectWord): use new getWord function.
15604         (changeCase): renamed from changeWordCase as and extended to work
15605         also on selections.
15606
15607         * lyxtext.h: added enum word_location
15608
15609         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15610         changeCase as this operates now also on selections.
15611
15612 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15613
15614         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15615
15616         * many files: send debug output to Debug::INFO instead of
15617         Debug::ANY.
15618
15619         * converter.C (View):
15620         (Convert):
15621         (Move): send debug output to Debug::FILES instead of console.
15622
15623 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15624
15625         * lyxfunc.C (getStatus): use func_status
15626
15627         * func_status.h: new header, describing the results of
15628         LyXFunc::getStatus;
15629
15630         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15631         LFUN_MATH_HALIGN.
15632
15633 2001-06-25  The LyX Project  <jug@sad.it>
15634
15635         * buffer.C (sgmlOpenTag):
15636         (sgmlCloseTag):
15637         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15638
15639 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * text2.C: remove some dead code
15642
15643         * tabular.C (GetCellInset): store the last cell checked (gotten)
15644
15645         * tabular.h: add the helper for the speedup
15646
15647         * lyxtext.h: remove some dead code
15648
15649 2001-06-26  The LyX Project  <Asger>
15650
15651         * paragraph.C: Change export to LaTeX of alignment to
15652         \begin{center} and family for better roundtrip work with reLyX.
15653
15654         * Tune the math drawing a bit.
15655
15656 2001-06-25  The LyX Project  <Asger>
15657
15658         * LColor.C (LColor): New color for math background. New color
15659         for buttons.
15660
15661 2001-06-25  The LyX Project  <jug@sad.it>
15662
15663         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15664
15665         * lyxfunc.C (Open):
15666         * bufferlist.C (newFile): do not restrict to files ending with
15667         .lyx
15668
15669         * BufferView_pimpl.C (MenuInsertLyXFile):
15670
15671 2001-06-24  The LyX Project  <jug@sad.it>
15672
15673         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15674         of compare_no_case
15675
15676 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15677
15678         * lyxtext.h: rename most methods to begin with a small char.
15679         Lots of changes because of this.
15680
15681         * paragraph.C (Paragraph): do not call fitToSize
15682         (erase): call Pimpl::erase
15683         (insertChar): call Pimpl::insertChar
15684         (insertInset): call Pipl::insertInset
15685         (breakParagraph): do not call fitToSize
15686         (breakParagraphConservative): do not call fitToSize
15687         (fitToSize): remove method
15688
15689         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15690
15691 2001-06-24  The LyX Project  <Asger>
15692
15693         * Fix Qt compilation^2
15694
15695 2001-06-24  The LyX Project  <jug@sad.it>
15696
15697         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15698         depthHook(getDepth()-1).
15699
15700         * paragraph.h:
15701         * ParagraphParameters.h:
15702         * ParameterStruct.h: change type of depth to unsigned int ==
15703         depth_type. Many adaptations to other files before of that.
15704
15705 2001-06-24  The LyX Project  <Asger>
15706
15707         * Fix Qt compilation.
15708
15709 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * paragraph.h: renamed several methods to begin with small letter.
15712         several changes to many parts of the code because of this.
15713
15714 2001-06-23  The LyX Project  <jug@sad.it>
15715
15716         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15717         rewritten to discard all double spaces when KeepEmpty is off
15718         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15719         to only handle newlines but not fiddle with spaces and friends.
15720
15721         * lyxfunc.C (MenuNew): when doing 'new from template', use
15722         template_path as default directory
15723
15724 2001-06-23  The LyX Project  <Asger>
15725
15726         * Clean-up of header file includes all over
15727         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15728
15729 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * paragraph.h: renamed from lyxparagraph.h
15732
15733 2001-06-23  Asger  <lyx@violet.home.sad.it>
15734
15735         * Buffer.h: Removed Buffer::resize
15736         * BufferList.h: Removed BufferList::resize
15737         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15738         the document lazily when we change the width, or the font settings.
15739
15740 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15741
15742         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15743
15744 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15745
15746         * buffer.h: remove out of date comment
15747
15748 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15749
15750         * lyxscreen.h:
15751         * screen.C: fix "theoretical" GC leak
15752
15753 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * LaTeX.C (scanAuxFile):
15756         (deplog): remove trailing \r when reading stream (useful under
15757         win32)
15758
15759 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15760
15761         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15762         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15763         and BufferView::theLockingInset(Inset*), so should use them and not
15764         access bv_->text->the_locking_inset directly.
15765
15766         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15767
15768 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15769
15770         * Makefile.am:
15771         * tex-defs.h: remove old unused file
15772
15773 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15774
15775         * BufferView_pimpl.C: fix typo, remove minibuffer message
15776           when buffer has loaded
15777
15778 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * lyxfunc.C (Dispatch): use stringstream
15781         (MenuNew): use stringstream
15782         (Open): use stringstream
15783
15784         * importer.C (Import): use stringstream
15785
15786         * bufferview_funcs.C (CurrentState): use stringstream
15787
15788         * LaTeX.C (run): use stringstream
15789
15790         * BufferView_pimpl.C (savePosition): use stringstream
15791         (restorePosition): use stringstream
15792         (MenuInsertLyXFile): use stringstream
15793
15794 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * BufferView.C:
15797         * Bullet.C:
15798         * ColorHandler.C:
15799         * FontInfo.C:
15800         * FontLoader.C:
15801         * LColor.C:
15802         * LaTeXFeatures.C:
15803         * Painter.C:
15804         * gettext.C:
15805         * lyx_gui_misc.C:
15806         * lyxserver.C:
15807         * vspace.C: removed // -*- C++ -*- as first line.
15808
15809         * lyxfind.h:
15810         * version.h: added // -*- C++ -*- as first line.
15811
15812 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15815
15816         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15817         of string
15818
15819 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15820
15821         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15822         of floats.
15823
15824 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * gettext.C: include LString.h even when --disable-nls is on.
15827
15828 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15829
15830         * converter.h (Get): changed argument type from int to
15831         FormatList::size_type to avoid unnecessary conversion.
15832
15833         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15834         before using it.
15835
15836 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15837
15838         * gettext.h: include LString.h even when --disable-nls is on.
15839
15840 2001-06-07  Juergen Vigna  <jug@sad.it>
15841
15842         * text.C (BreakAgain): subst spaces with tabs.
15843
15844         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15845         (resizeInsetsLyXText): set force on resizeLyXText.
15846
15847 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * gettext.h (gettext_init):
15850         (locale_init): use a real definition instead of a macro
15851
15852 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15853
15854         * Bufferview_pimpl.C:
15855         * LColor.h:
15856         * LColor.C: further lcolor tidies
15857
15858 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * BufferView_pimpl.C (updateScrollbar): simplify.
15861
15862         * BufferView2.C: don't include insets/insetinfo.h, change
15863         prototype for insertInset and call the Pimpl version. let
15864         updateInset call Pimpl version.
15865
15866         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15867         gotoInset to BufferView::Pimpl
15868
15869 2001-06-01  Juergen Vigna  <jug@sad.it>
15870
15871         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15872         inside a LockingInset (is the update needed at all?).
15873
15874 2001-05-31  Juergen Vigna  <jug@sad.it>
15875
15876         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15877         here not the old one otherwise how should we compare it afterwards
15878         if it's the same!
15879
15880 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15881
15882         * lyxfont.C:
15883         * tabular.C:
15884         * tabular-old.C:
15885         * FontInfo.C: bring C functions into global namespace when
15886         necessary
15887
15888 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * LString.h: make sure config.h has been loaded before LString.h.
15891
15892         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15893         (one for each char read by EatLine!).
15894
15895         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15896         variables.
15897
15898 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15901         to the same as the par we break from
15902
15903 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15904
15905         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15906
15907         * MenuBackend.C (expand): also create menu entries for wide
15908         versions of the floats.
15909
15910         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15911
15912         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15913
15914         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15915         frontends/Makefile.am
15916
15917         * text2.C: adjust
15918         * text.C: adjust
15919
15920
15921         * tabular.C (getTokenValue): add std::
15922
15923         * tabular-old.C (getTokenValue): add std::
15924         (getTokenValue): ditto
15925         (getTokenValue): ditto
15926
15927         * screen.C (ToggleSelection): adjust
15928
15929         * lyxtext.h: put selection cursors inside a Selection struct.
15930
15931         * lyxfunc.C (moveCursorUpdate): adjust
15932
15933         * lyxfont.C (latexWriteStartChanges): add std::
15934
15935         * lyxfind.C: adjust
15936
15937         * font.h: delete with(char const *, LyXFont const &)
15938
15939         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15940
15941         * FontInfo.C (getFontname): add std::
15942
15943         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15944         (workAreaButtonPress): adjust
15945         (tripleClick): adjust
15946         (update): adjust
15947         (moveCursorUpdate): adjust
15948         (Dispatch): adjust
15949
15950         * BufferView2.C (gotoInset): adjust
15951
15952 2001-05-30  Juergen Vigna  <jug@sad.it>
15953
15954         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15955         to check pspell I add this as default as I now have new pspell
15956         libraries and they seem to use this.
15957
15958 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * text2.C (CutSelection): make the cursor valid before the call to
15961         ClearSelection.
15962
15963 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15966         relied on 0 terminated strings and other horrors. Bug found due to
15967         the new assert in lyxstring!
15968
15969         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15970         KP_ keys.
15971
15972 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15975         to latinkeys.bind.
15976
15977         * lyxfunc.C (processKeySym): change method of getting to the
15978         self-insert char.
15979
15980         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15981         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15982         * BufferView_pimpl.[Ch]: here as private methods.
15983
15984 2001-05-28  Juergen Vigna  <jug@sad.it>
15985
15986         * text.C (SetHeightOfRow): added the update() call again as it is
15987         needed to initialize inset dimensions!
15988
15989 2001-05-16  Juergen Vigna  <jug@sad.it>
15990
15991         * text2.C (SetCharFont): Add new function with BufferView * and
15992         bool toggleall parameters for setting insets internal fonts.
15993         (SetFont): Freeze the undo as we may change fonts in Insets and
15994         all this change should be inside only one Undo!
15995
15996         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15997         setting font's in insets as for them we have the SetFont function!
15998
15999 2001-05-15  Juergen Vigna  <jug@sad.it>
16000
16001         * text2.C (ClearSelection): to be sure we REALLY don't have any
16002         selection anymore!
16003
16004         * tabular.C (TeXCellPreamble): fixed the left border problem for
16005         multicolumn cells.
16006
16007 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16008
16009         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16010         dependancy file
16011
16012 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16015         LFUN_BREAKPARAGRAPH.
16016
16017         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16018         help test to "internal only", similar for LFUN_INSERT_URL
16019
16020         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16021         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16022         auto_region_delete and deadkeys.
16023
16024 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16025
16026         * LColor.h:
16027         * LColor.C: remove some dead entries, tidy a little
16028
16029 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16032         commented code.
16033         (Dispatch): implement LFUN_ESCAPE
16034
16035         * commandtags.h: add LFUN_ESCAPE
16036
16037         * LyXAction.C (init): add entry for LFUN_ESCAPE
16038
16039         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16040         Remove commented code.
16041         (insertNote): moved here
16042         (open_new_inset): moved here
16043
16044         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16045         BufferView_pimpl
16046
16047 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * kbmap.C (findbinding): clean it up and make it work correctly.
16050
16051         * lyx_main.C (init): do not pass argc and argv as parameters
16052
16053 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16054
16055         * buffer.C: fix path for OS/2 & Win32
16056
16057         * lyx_gui.C:
16058         * lyx_main:
16059         * lyx_main.C: Added os:: class.
16060
16061         * os2_defines.h: update
16062
16063 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16064
16065         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16066         better by trying again with reduced state.
16067
16068 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * lyxrc.C (read): print error about invalid key sequence only when
16071         debugging (because not all latinX keysyms are known to some X
16072         servers)
16073
16074         * kbsequence.C (getiso): add a few std:: qualifiers
16075         (getiso): comment out extra return statement.
16076
16077 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16078
16079         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16080         handling.
16081         (Dispatch): enhance the accent inset a bit. (not perfect)
16082
16083 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16084
16085         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16086
16087 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16088
16089         * bufferlist.C (emergencyWrite): fix assert() call
16090
16091 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16092
16093         * text.C (InsertChar): Added trivial patch to only send the "you
16094         can not do multiple spaces this way" message once during a
16095         session.
16096
16097 2001-05-08  Baruch Even  <baruch@lyx.org>
16098
16099         * Makefile.am: Changed order of libraries to get LyX to link properly
16100         with the gnome frontend.
16101
16102 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * LaTeXFeatures.h: add a std:: qualifier
16105
16106 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16107
16108         * paragraph.C (String): use stringstream
16109
16110 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16111
16112         * paragraph.C (writeFile): remove footflag arg
16113
16114         * buffer.C (makeLaTeXFile): use stringstream
16115         (latexParagraphs): remove footnot gurba
16116
16117         * LaTeXFeatures.C (getPackages): use stringstream
16118         (getMacros): likewise
16119         (getTClassPreamble): likewise
16120         (getFloatDefinitions): new method
16121
16122         * paragraph.C (writeFile): reindent
16123         (Erase): reindent
16124
16125         * WorkArea.h: revert the xpos + etc changes.
16126
16127         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16128
16129         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16130
16131         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16132         (pasteSelection): likewise
16133         * text2.C (CreateUndo): likewise
16134
16135 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16136
16137         * minibuffer.C (peek_event): temporarily reduce the functionality
16138         of the minibuffer (to allow args on lfuns)
16139
16140         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16141         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16142
16143         * buffer.C (readInset): add compability reading of old float
16144         lists, add reading of new style float list.
16145         (readInset): avoid reevaluation of inscmd.getCmdName()
16146         (getLists): reindent
16147
16148         * MenuBackend.C (MenuItem): implement parsing of
16149         md_floatlistinsert and md_floatinsert.
16150         (expand::LastFiles): move initalizaton of iterators out of loop,
16151         avoid reevaluation.
16152         (expand::Documents): introduce typdedef vector<string> Strings,
16153         and use it.
16154         (expand::ExportFormats): introduce typedef vector<Format const *>
16155         Formats, and use it.
16156         (expand): implement FloatListInsert and FloatInsert.
16157
16158         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16159         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16160         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16161
16162         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16163         handling.
16164         (Dispatch::LFUN_FLOAT_LIST): implement
16165
16166 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16167
16168         * LaTeX.C (run): Fix problem with --export code.
16169
16170 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16171
16172         * BufferView.[Ch] (workarea): removed.
16173         (getClipboard) new method; wrapper for workarea()->getClipboard()
16174
16175         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16176         bug.
16177
16178         * WorkArea.h (width, height, xpos, ypos): These methods all
16179         returned the dimensions of the work_area sub-area of WorkArea,
16180         resulting in a position error if the WorkArea were resized. Now
16181         return the dimensions of the entire WorkArea.
16182
16183         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16184
16185 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16186
16187         * LaTeX.C (deplog): correct the syntax of regex reg1
16188
16189 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * undo.C: remove !NEW_INSETS cruft
16192
16193 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * text2.C: remove !NEW_INSETS cruft
16196
16197         * text.C: remove !NEW_INSETS cruft
16198
16199         * tabular.C: remove !NEW_INSETS cruft
16200
16201         * spellchecker.C: remove !NEW_INSETS cruft
16202
16203         * lyxtext.h: remove !NEW_INSETS cruft
16204
16205         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16206
16207         * lyxfunc.C: remove !NEW_INSETS cruft
16208
16209         * lyxfind.C: remove !NEW_INSETS cruft
16210
16211         * lyx_cb.C: remove !NEW_INSETS cruft
16212
16213         * figureForm.C: remove  !NEW_INSETS cruft
16214
16215         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16216
16217         * buffer.[Ch]: remove !NEW_INSETS cruft
16218
16219         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16220
16221         * CutAndPaste.C: remove !NEW_INSETS cruft
16222
16223         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16224
16225         * BufferView2.C: remove !NEW_INSETS cruft
16226
16227         * BufferView.h: remove !NEW_INSETS cruft
16228
16229 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16230
16231         * Lsstream.h: include LString.h before the sstream headers to
16232         fix problem with gcc 2.95.3 and lyxstring
16233
16234 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16235
16236         * lyx_main.C: add using directives when needed for C functions
16237         declared in std:: namespace.
16238
16239 2001-04-27  Juergen Vigna  <jug@sad.it>
16240
16241         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16242         (SetHeightOfRow): comment out the update call should not be needed!
16243
16244 2001-04-13  Juergen Vigna  <jug@sad.it>
16245
16246         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16247         (LyXTabular): tried to minimize operator= operations (and realized
16248         hopfully Lars wish).
16249
16250 2001-04-27  Juergen Vigna  <jug@sad.it>
16251
16252         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16253
16254 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16257
16258         * buffer.C (readInset): hack to make listof algorithm work
16259
16260         * BufferView_pimpl.C: hack to make listof algorithm work
16261
16262 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16263
16264         * LyXAction.C: removed all !NEW_INSETS cruft
16265         (init): moved lfun_item in method
16266
16267         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16268
16269 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16270
16271         * BufferView2.C (theLockingInset): white space.
16272
16273 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * minibuffer.C: include <iostream>
16276
16277         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16278
16279         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16280
16281         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16282
16283         * text.[Ch] (TransposeChars): new method
16284
16285 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * call message directly through LyXView instead of through LyXFunc
16288         * BufferView2.C: adjust
16289         * BufferView_pimpl.C: adjust
16290         * FontLoader.C: adjust
16291         * buffer.C: adjust
16292         * bufferview_funcs.C: adjust
16293         * converter.C: adjust
16294         * figureForm.C: adjust
16295         * importer.C: adjust
16296         * lyx_cb.C: adjust
16297         * lyx_gui_misc.C: adjust
16298         * lyxfunc.C: adjust
16299         * lyxvc.C: adjust
16300         * text2.C: adjust
16301         + more files in subdirs
16302
16303         * lyxparagraph.h (size): move up int file
16304         (GetLayout): ditto
16305
16306         * adjust all uses of Assert to lyx::Assert.
16307
16308         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16309         lyxfunctional in namespace lyx
16310         * layout.C (hasLayout): ditto
16311         (GetLayout): ditto
16312         (GetLayout): ditto
16313         (delete_layout): ditto
16314         (NumberOfClass): ditto
16315         * converter.C (GetFormat): ditto
16316         (GetNumber): ditto
16317         (Add): ditto
16318         (Delete): ditto
16319         (SetViewer): ditto
16320         * bufferlist.C (getFileNames): ditto
16321         (emergencyWriteAll): ditto
16322         (exists): ditto
16323         (getBuffer): ditto
16324         * MenuBackend.C (hasSubmenu): ditto
16325         (hasMenu): ditto
16326         (getMenu): ditto
16327         * BufferView_pimpl.C (getInsetByCode): ditto
16328
16329 2001-04-18  Juergen Vigna  <jug@sad.it>
16330
16331         * vspace.C (asLatexString): fixed the 100% problem.
16332
16333 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16334
16335         * lyxfunc.C (Dispatch):
16336         * minibuffer.C:
16337         * minibuffer.h: add a few std:: qualifiers
16338
16339 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * minibuffer.[Ch]: reimplement so that commands is initiated and
16342         run from lyxfunc, simplified som handling, and made the completion
16343         and history code for complete. wip.
16344
16345         * lyxfunc.C (processKeySym): call message
16346         (miniDispatch): new temporary method
16347         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16348         (LFUN_MESSAGE): implement
16349         (LFUN_MESSAGE_PUSH): implement
16350         (LFUN_MESSAGE_POP): implement
16351         (initMiniBuffer): the initial/defualt minibuffer message.
16352
16353         * lyxfont.[Ch]: inline some more getters
16354
16355         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16356
16357         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16358
16359         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16360         (AutoSave): use LFUN_MESSAGE
16361         (Reconfigure): ditto
16362
16363         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16364
16365         * figureForm.C: use LFUN_MESSAGE
16366
16367         * converter.C (runLaTeX): use LFUN_MESSAGE
16368
16369         * bufferview_funcs.C: use LFUN_MESSAGE
16370         (Melt): ditto
16371         (changeDepth): ditto
16372
16373         * bufferparams.h: use boost::
16374
16375         * bufferlist.h: inherit privately from noncopyable
16376
16377         * bufferlist.C (loadLyXFile): remove some commented code.
16378
16379         * buffer.C (runChktex): use LFUN_MESSAGE
16380
16381         * ShareContainer.h: inherit privately from noncopyable
16382
16383         * ParagraphParameters.[hC] (depth): inline it.
16384
16385         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16386         methods.
16387         (message): new method
16388         (messagePush): ditto
16389         (messagePop): ditto
16390         (show): init minibuffer
16391         (showState): direct call
16392
16393         * LaTeX.[Ch]: inherit privately from noncopyable
16394         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16395         instead of WriteStatus.
16396
16397         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16398
16399         * BufferView_pimpl.C (buffer): don't init minibuffer
16400         (workAreaButtonPress): use LFUN_MESSAGE
16401         (workAreaButtonRelease): ditto
16402         (savePosition): ditto
16403         (restorePosition): ditto
16404         (MenuInsertLyXFile): ditto
16405         (workAreaExpose): don't init minibuffer
16406         (update): remove commented code, simplify
16407
16408         * BufferView2.C (openStuff): use LFUN_MESSAGE
16409         (toggleFloat): ditto
16410         (menuUndo): ditto
16411         (menuRedo): ditto
16412         (copyEnvironment): ditto
16413         (pasteEnvironment): ditto
16414         (copy): ditto
16415         (cut): ditto
16416         (paste): ditto
16417         (gotoInset): ditto
16418         (updateInset): remove some commented code
16419
16420         * lastfiles.h: inherit privately from noncopyable
16421         * layout.h: ditto
16422         * lyx_gui.h: ditto
16423         * lyx_main.h: ditto
16424         * lyxlex.h: ditto
16425         * lyxlex_pimpl.h: ditto
16426
16427         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16428         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16429         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16430
16431         * LyXAction.h: inherit privately from noncopyable, add methods
16432         func_begin, func_end, returning iterators to the func map.
16433
16434         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16435         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16436         (func_begin): new method
16437         (func_end): new method
16438
16439         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16440         and not)
16441         (copySelection): ditto
16442         (pasteSelection): ditto
16443
16444         * BufferView.C: whitespace change
16445         * BufferView.h: inherit privately from noncopyable
16446
16447 2001-04-16  Allan Rae  <rae@lyx.org>
16448
16449         * tabular-old.C (l_getline):
16450         * spellchecker.C (sc_check_word):
16451         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16452         an unrecognised preprocessor directive.  So ensure they're wrapped.
16453
16454 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16455
16456         * src/exporter.C (Export): Give an error message when path to file
16457         contains spaces.
16458
16459 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16460
16461         * LaTeX.C (deplog): Always check that foundfile exists.
16462
16463 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * lyx_main.h:
16466         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16467
16468 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16469
16470         * tabular.[Ch] (getLabelList): implement new method
16471
16472         * minibuffer.h: comment ouf setTiimer
16473
16474         * minibuffer.C (ExecutingCB): constify res
16475         (peek_event): constify s
16476         (Set): constify ntext
16477         (Init): constify nicename
16478
16479         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16480
16481         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16482         (savePosition): use two params to Minibuffer::Set
16483         (restorePosition): ditto
16484
16485 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16486
16487         * lyx_main.C: include language.h
16488
16489         * Makefile.am (lyx_main.o): add language.h
16490
16491 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * exporter.C:
16494         * paragraph.C:
16495         * screen.C:
16496         * tabular.C:
16497         * CutAndPaste.C: include gettext.h
16498
16499         * lyxfont.h: remove old hack with ON and OFF.
16500
16501         * lyxparagraph.h:
16502         * lyxfont.h: do not include language.h...
16503
16504         * BufferView2.C:
16505         * LaTeXFeatures.C:
16506         * Painter.C:
16507         * bufferview_funcs.C:
16508         * font.C:
16509         * lyxfont.C:
16510         * text.C:
16511         * text2.C:
16512         * trans_mgr.C:
16513         * paragraph.C: ... but do it here instead
16514
16515 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16518
16519         * tabular.C: small reformat
16520
16521         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16522         NEW_INSETS version
16523         (GetChar): ditto
16524         (BreakParagraph): ditto
16525         (SetOnlyLayout): ditto
16526         (SetLayout): ditto
16527
16528         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16529         with one arg less.
16530
16531         * lastfiles.C: removed most using decl, add std:: where needed
16532
16533         * buffer.C: ws changes
16534
16535         * MenuBackend.C (class compare_format): put into anon namespace
16536         (expand): constify label, names, action, action2
16537         (expand):
16538
16539         * text.C (SingleWidth): constify font
16540         (IsBoundary): constify rtl2
16541         (GetVisibleRow): constify ww
16542
16543         * LaTeX.C (deplog): constify logfile
16544
16545         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16546         start_x, end_x
16547         (workAreaExpose): constify widthChange, heightChange
16548
16549         * lyxrow.C (par): moved
16550         (height): moved
16551         (next): moved
16552         * lyxrow.h: as inlines here
16553
16554         * lyxfont.h (shape): moved from lyxfont.C
16555         (emph): moved from lyxfont.C
16556
16557         * lyxfont.C (LyXFont): use initialization list for all
16558         constructors
16559         (shape): move to lyxfont.h as inline
16560         (emph): move to lyxfont.h as inline
16561
16562
16563 2001-04-04  Juergen Vigna  <jug@sad.it>
16564
16565         * vspace.C: had to include stdio.h for use of sscanf
16566
16567 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16568
16569         * BufferView.h:
16570         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16571         independent of xforms.
16572
16573 2001-04-02  Juergen Vigna  <jug@sad.it>
16574
16575         * spellchecker.C: fixed namespace placing!
16576
16577 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16578
16579         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16580         the LyXParagraph * is 0.
16581
16582 2001-03-29  Juergen Vigna  <jug@sad.it>
16583
16584         * vspace.C: added support for %, c%, p%, l%.
16585         (stringFromUnit): added helper function.
16586         (asLatexString): changed to give right results for the %-values.
16587
16588         * buffer.C: convert the widthp in a width%.
16589
16590 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16591
16592         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16593         figureForm.[Ch].
16594
16595         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16596         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16597
16598         * lyx_cb.[Ch]: see above.
16599
16600         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16601         form1.[Ch].
16602
16603         * form1.[Ch]:
16604         * lyx.[Ch]: replaced by figure_form.[Ch].
16605
16606         * lyx_gui.C:
16607         * lyx_gui_misc.C:
16608         * lyxfunc.C: changed headers associated with above changes.
16609
16610 2001-03-27  Juergen Vigna  <jug@sad.it>
16611
16612         * BufferView_pimpl.C: set the temporary cursor right!
16613
16614 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16615
16616         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16617
16618 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16619
16620         * LString.h: removed "using std::getline"!
16621
16622         * BufferView_pimpl.C (Dispatch): changes due to changes in
16623         InsetInclude::Params.
16624
16625         * buffer.C (tag_name): removed redundant break statements as they were
16626         producing lots of warnings with my compiler.
16627
16628 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * LString.h: add "using std::getline" when using the real <string>.
16631
16632 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16633
16634         * buffer.C: removed bitset usage.
16635         PAR_TAG moved to an anonymous name space.
16636         (tag_name): new funtion, also in the anonymous namespace.
16637         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16638         (makeDocBookFile): clean code. Completed transition from string arrays
16639         to string vectors.
16640         (SimpleDocBookOnePar): code clean.
16641
16642 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16643
16644         * tabular.C: add some comments.
16645
16646 2001-03-22  Juergen Vigna  <jug@sad.it>
16647
16648         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16649         compatibility read a bit and fixed bug with minipage in different
16650         depth.
16651
16652 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16653
16654         * buffer.C (pop_tag): removed.
16655         (push_tag): removed.
16656         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16657         array replaced with vector. Added support for CDATA sections.
16658         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16659         at any nest level.
16660         (makeDocBookFile): XML conformant declaration of CDATA section,
16661         fixed bug related to <emphasis> in the first paragraph char.
16662         (sgmlOpenTag): exclude empty tags.
16663         (sgmlCloseTag): ditto.
16664
16665         * buffer.h (pop_tag): removed.
16666         (push_tag): removed.
16667
16668 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16669
16670         * language.h (Languages): added size_type and size().
16671
16672 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16673
16674         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16675         response on compability reading of minipages. One probliem is that
16676         the old usage of minipages was «flertydig»
16677
16678         * several files here and in subdirs: don't use static at file
16679         scope use anon namespaces instead.
16680
16681 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16682
16683         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16684         LaTeX output. This is necessary for Literate document
16685         processing.
16686
16687 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16688
16689         * buffer.C: insert hfill when needed.
16690
16691         * tabular.C (l_getline): use string::erase, small whitespace change.
16692
16693         * BufferView_pimpl.C: try the anon namespace.
16694         * WorkArea.C: ditto
16695
16696 2001-03-16  Juergen Vigna  <jug@sad.it>
16697
16698         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16699         otherwise it won't open options-dialogs.
16700
16701         * buffer.C: honor pextraWidth(p) on converting minipages.
16702
16703         * tabular.C (l_getline): changed the functions to strip trailing \r.
16704
16705 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16706
16707         * BufferView_pimpl.C:
16708         * minibuffer..C: added "using SigC::slot" declaration.
16709
16710 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16711
16712         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16713
16714         * text2.C: ditto
16715
16716         * text.C: ditto
16717
16718         * paragraph.C: ditto
16719
16720         * lyxtext.h: NO_PEXTRA
16721
16722         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16723
16724         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16725         * ParameterStruct.h: ditto
16726         * ParagraphParameters.h: ditto
16727         * lyxparagraph.h: ditto
16728
16729 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16730
16731         * buffer.C: add compability for minipage alignment.
16732         (latexParagraphs): remove unwanted pextra check.
16733
16734         * several files: remove CXX_WORKING_NAMESPACES
16735
16736         * buffer.C (pop_tag): tie is in namespace boost
16737
16738         * BufferView.h: noncopyable is in namespace boost
16739         * lyxlex.h: ditto
16740         * lyx_main.h: ditto
16741         * lyx_gui.h: ditto
16742         * layout.h: ditto
16743         * lastfiles.h: ditto
16744         * bufferlist.h: ditto
16745         * ShareContainer.h: ditto
16746         * LyXView.h: ditto
16747         * LyXAction.h: ditto
16748         * LaTeX.h: ditto
16749
16750 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16751
16752         * Merging changes from BRANCH_MVC back into HEAD.
16753
16754         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16755
16756 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16757
16758         * BufferView_pimpl.C: change from intl.C
16759
16760         * combox.h:
16761         * combox.C:
16762         * Makefile.am: move combox.*
16763
16764         * form1.h:
16765         * form1.C:
16766         * lyx_gui.C:
16767         * intl.h:
16768         * intl.C: remove dialog (covered by prefs)
16769
16770 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16771
16772         * lyxfunc.C (Dispatch): removed redundant break statement.
16773
16774 2001-03-14  Juergen Vigna  <jug@sad.it>
16775
16776         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16777
16778 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16779
16780         * buffer.C: add hack to fix compability reading of minipages.
16781
16782 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * buffer.C (getLists): Cleanup.
16785
16786 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * lyxfont.C (update): don't honor toggleall on font size.
16789
16790 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16791
16792         * bmtable.c:
16793         * bmtable.h:
16794         * Makefile.am: moved to frontends/xforms/
16795
16796         * lyx_gui_misc.C:
16797         * lyxfunc.C:
16798         * BufferView_pimpl.C: changes for moved mathpanel
16799
16800 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16801
16802         * gettext.h: fix gettext_init() in --disable-nls
16803
16804 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16805
16806         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16807
16808 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16809
16810         * lyx.C:
16811         * lyx.h: strip external form
16812
16813 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16814
16815         * BufferView_pimpl.C: add comment, destroySplash()
16816
16817 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16818
16819         * BufferView_pimpl.C:
16820         * LyXAction.C:
16821         * buffer.C:
16822         * commandtags.h:
16823         * lyxfunc.C: use re-worked insetinclude
16824
16825 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16826
16827         * buffer.C: add using std::stringstream.
16828
16829         * lyx_cb.C: readd using std::ios.
16830
16831         * buffer.C: add using std::map.
16832
16833         * BufferView_pimpl.C: add using std::vector.
16834
16835         * ShareContainer.h: add std:: to swap.
16836
16837         * buffer.h: add some typedefs
16838         * buffer.C (getLists): use them
16839         (getLists): renamed from getTocList.
16840         add a counter for the different float types and use it in the
16841         generated string.
16842         (getLists): use the same counter for the NEW_INSETS and the "non"
16843         NEW_INSETS
16844
16845         * lyx_cb.h: remove unused items, includes, using etc.
16846
16847         * ShareContainer.h: remove some commented code, add more comments
16848         and "documentation".
16849
16850 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16851
16852         * buffer.C (getTocList): make the list also when NEW_INSETS is
16853         defined.
16854
16855         * buffer.h: remove TocType
16856
16857         * buffer.C (getTocList): change to return a map<string,
16858         vector<TocItem> >, implement for dynamic number of list.
16859
16860         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16861         * text2.C (PasteSelection): adjust
16862         * CutAndPaste.C (pasteSelection): adjust
16863
16864         * FloatList.C (FloatList): update from the new_insets branch.
16865         * Floating.[Ch]: ditto
16866         * LaTeXFeatures.C: ditto
16867         * buffer.C: ditto
16868         * lyxlex_pimpl.C: ditto
16869
16870         * paragraph.C (Last): remove when NEW_INSETS is defined.
16871
16872         * other file: changes because of the above.
16873
16874 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16875
16876         * lyxparagraph.h: rename next to next_, previous to previous_,
16877         make them private for NEW_INSETS. Rename Next() to next(),
16878         Previous() to previous().
16879
16880         * other files: changes because of the above.
16881
16882 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16883
16884         * BufferView.h:
16885         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16886         problem.
16887
16888 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * main.C (main): pass lyx_localedir to gettext_init().
16891
16892         * gettext.h: remove locale_init and gettext_init macros
16893
16894         * gettext.C (locale_init): new function
16895         (gettext_init): new function
16896
16897         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16898         setlocale().
16899
16900 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16901
16902         * Moved credits to frontends:
16903         * credits.[Ch]: removed
16904         * credits_form.[Ch]: removed
16905         * lyx_gui_misc.C: remove credits stuff
16906         * Makefile.am:
16907
16908 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16909
16910         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16911
16912         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16913         unneeded destructor.
16914
16915         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16916         a standalone pointer again.
16917
16918         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16919
16920 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16921
16922         * Makefile.am:
16923         * filedlg.h:
16924         * filedlg.C:
16925         * LyXAction.C:
16926         * ToolbarDefaults.C:
16927         * bufferlist.C:
16928         * commandtags.h:
16929         * form1.C:
16930         * form1.h:
16931         * lyx_cb.C:
16932         * lyx_cb.h:
16933         * lyxfunc.h:
16934         * lyxfunc.C:
16935         * BufferView_pimpl.C: use new file dialog in GUII
16936
16937         * lyx_cb.h:
16938         * lyx_cb.C: remove LayoutsCB to Toolbar
16939
16940 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * ShareContainer.h (get): add std:: qualifier
16943
16944 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16945
16946         * ShareContainer.h: define a proper ShareContainer::value_type
16947         type (and use typename to please compaq cxx)
16948
16949 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16950
16951         * lyxparagraph.h: move serveral local vars to
16952         ParameterStruct/ParagraphParameters., use ShareContainer in
16953         FontTable., make vars in FontTable private and add getter and
16954         setter.
16955
16956         * paragraph.C: changes because of the above.
16957
16958         * lyxfont.h: remove copy constructor and copy assignment. (the
16959         default ones is ok), move number inside FontBits. move inlines to
16960         lyxfont.C
16961
16962         * lyxfont.C: add number to initializaton of statics, move several
16963         inlines here. constify several local vars. some whitespace
16964         cleanup. Dont hide outerscope variables.
16965
16966         * Spacing.h: add two new constructors to match the set methods.
16967
16968         * ShareContainer.h: new file, will perhaps be moved to support
16969
16970         * ParameterStruct.h: new file
16971
16972         * ParagraphParameters.h: new file
16973
16974         * ParagraphParameters.C: new file
16975
16976         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16977         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16978
16979         * BufferView_pimpl.C: ParagraphParameter changes.
16980         * buffer.C: Likewise.
16981         * bufferview_funcs.C: Likewise.
16982         * text.C: Likewise.
16983         * text2.C: Likewise.
16984
16985 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16986
16987         * lyxfind.C (LyXReplace): do not redefine default argument in
16988         implementation.
16989         (IsStringInText): ditto
16990         (SearchForward): ditto
16991         (SearchBackward): ditto
16992
16993 2001-03-06  Juergen Vigna  <jug@sad.it>
16994
16995         * lyxfind.C (IsStringInText): put parentes around expressions.
16996
16997 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16998
16999         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17000
17001 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17002
17003         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17004
17005         * stl_string_fwd.h: add comment
17006
17007         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17008
17009         * tabular.h:
17010         * tabular.C: remove unused DocBook methods
17011
17012         * intl.C:
17013         * language.C:
17014         * paragraph.C:
17015         * buffer.C:
17016         killed DO_USE_DEFAULT_LANGUAGE
17017
17018 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * lyx_gui.C: do not include language.h.
17021
17022         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17023         arguments in function implementation.
17024
17025 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17026
17027         * BufferView_pimpl.C: add <ctime>
17028
17029 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17030
17031         * BufferView_pimpl.C: add using std::find_if
17032
17033 2001-02-27  José Matos  <jamatos@fep.up.pt>
17034
17035         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17036         by OnlyPath.
17037
17038 2001-02-11  José Matos  <jamatos@fep.up.pt>
17039
17040         * buffer.C (makeDocBookFile): command styles now have a parameter as
17041         "title" by default.
17042
17043 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17044
17045         * layout_forms.[Ch]: removed
17046         * lyx_cb.[Ch]: out character
17047         * lyx_gui.C: out character
17048         * lyx_gui_misc.C: out character
17049         * bufferview_funcs.C: : out character,
17050         added toggleall as parameter in ToggleAndShow
17051
17052 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17053
17054         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17055
17056         * text2.C (SetCurrentFont): Disable number property at boundary.
17057
17058 2001-02-26  Juergen Vigna  <jug@sad.it>
17059
17060         * lyxfunc.C (getStatus): added a string argument override function so
17061         that this is correctly called from LyXFunc::Dispatch if it contains a
17062         do_not_use_argument which is used!
17063         (Dispatch): added check for "custom" export and call appropriate func.
17064
17065 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17066
17067         * lyxrc.C: Add language_command_local, language_use_babel and
17068         language_global_options.
17069
17070         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17071
17072         * buffer.C (makeLaTeXFile): Use language_use_babel and
17073         language_global_options.
17074
17075 2001-02-23  Juergen Vigna  <jug@sad.it>
17076
17077         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17078         which works with LyXText and putted it inside BufferView. Here now we
17079         only call for that part the BufferView::Dispatch() function.
17080
17081         * BufferView.C (Dispatch): added.
17082
17083         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17084         functions which needs to use a LyXText over from LyXFunc.
17085         (MenuInsertLyXFile): added
17086         (getInsetByCode): added
17087         (moveCursorUpdate): added
17088         (static TEXT): added
17089
17090 2001-02-22  Juergen Vigna  <jug@sad.it>
17091
17092         * BufferView_pimpl.C (update): call a status update to see if LyXText
17093         needs it.
17094
17095 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17096
17097         * vc-backend.C (revert): implement for CVS
17098         (getLog): implement for CVS
17099
17100 2001-02-20  Juergen Vigna  <jug@sad.it>
17101
17102         * text2.C (ClearSelection): added BufferView param for inset_owner call
17103
17104         * lyxfunc.C (TEXT): added this function and use it instead of
17105         directly owner->view()-text of getLyXText().
17106
17107 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17108
17109         * src/layout_forms.C: out preamble
17110         * src/layout_forms.h: out preamble
17111         * src/lyx_cb.C: out preamble
17112         * src/lyx_cb.h: out preamble
17113         * src/lyx_gui.C: out preamble
17114         * src/lyx_gui_misc.C: out preamble
17115         * src/lyxfunc.C: connect with guii preamble
17116
17117 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17118
17119         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17120
17121 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17122
17123         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17124         whether to run bibtex.
17125
17126 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17127
17128         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17129
17130 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17131
17132         * Makefile.am (lyx_SOURCES): removed bibforms.h
17133
17134         * vspace.h: doxygen
17135
17136         * text.C (GetVisibleRow): make several local vars const
17137
17138         * tabular.C: small cleanup.
17139
17140         * lyxserver.C (callback): use compare instead of strncmp
17141
17142         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17143         inlines to after class or to paragraph.C
17144
17145         * lyxfont.h: remove friend operator!=
17146
17147         * converter.h: move friend bool operator< to non friend and after
17148         class def.
17149
17150         * combox.h: small cleanup
17151
17152         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17153         to inlines after class def.
17154
17155         * buffer.C (pop_tag): use string operations instead of strcmp
17156
17157         * bmtable.c: doxygen, small cleanup
17158
17159         * LaTeX.h: remove friend operator==
17160
17161 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17162
17163         * screen.C:
17164         * lyxrc.[Ch]:
17165         * lyxfunc.C:
17166         * lyxfont.[Ch]:
17167         * lyx_cb.C:
17168         * intl.[Ch]:
17169         * commandtags.h:
17170         * buffer.C:
17171         * WorkArea.[Ch]:
17172         * LyXAction.C:
17173         * BufferView_pimpl.C:
17174         * BufferView.[Ch]: remove cruft
17175
17176 2001-02-14  Juergen Vigna  <jug@sad.it>
17177
17178         * lyxfunc.C: removed #if 0 unused code
17179
17180         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17181
17182         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17183
17184         * text2.C (SetSelection): added a BufferView * parameter
17185
17186 2001-02-13  Juergen Vigna  <jug@sad.it>
17187
17188         * lyxfunc.C (Dispatch): fixed protected blank problem.
17189         * BufferView2.C (protectedBlank): added LyxText * parameter.
17190
17191         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17192         (AppendColumn): same as above for column_info.
17193
17194         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17195         (moveCursorUpdate): use a LyXText param for support of InsetText.
17196
17197         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17198         (tripleClick): ditto
17199
17200         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17201
17202         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17203
17204         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17205
17206         * text2.C (SetSelection): set correct update status if inset_owner
17207         (ToggleFree): ditto
17208
17209 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17210
17211         * tabular.C: remove some commented code.
17212
17213 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17214
17215         * BufferView_pimpl.C: call hideSplash()
17216
17217         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17218
17219         * include_form.h:
17220         * bibforms.h: remove
17221
17222         * lyxfunc.C:
17223         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17224           add LFUN_CHILD_CREATE
17225
17226         * counters.h: fix tiny typo
17227
17228         * lyx_cb.C:
17229         * lyx.h:
17230         * lyx_gui.C:
17231         * lyx.C: move splash to frontends/xforms/
17232
17233         * lyx_gui_misc.C: move Include and Bibform to frontends
17234
17235         * lyxvc.h: clarify comment
17236
17237         * vspace.C: tiny housekeeping
17238
17239 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17240
17241         * text.C (PrepareToPrint): RTL Fix.
17242
17243         * paragraph.C (GetUChar): New method.
17244         (String):  Use GetUChar.
17245
17246         * buffer.C (asciiParagraph): Use GetUChar.
17247
17248 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17249
17250         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17251
17252 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17253
17254         * buffer.h:
17255         * buffer.C: rename to getLogName(), handle
17256           build log / latex log nicely
17257
17258 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17259
17260         * MenuBackend.C:
17261         * MenuBackend.h: remove support for reference menuitem type.
17262
17263 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17264
17265         * BufferView_pimpl.C: housekeeping
17266         * BufferView_pimpl.h:
17267         * LyXView.h:
17268         * Makefile.am:
17269         * Timeout.C:
17270         * Timeout.h:
17271         * minibuffer.h: move Timeout GUI-I
17272
17273 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17274
17275         * lyxrc.C (read): Update converters data-structures.
17276
17277 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17278
17279         * LaTeX.h (operator!=): add operator != for Aux_Info
17280
17281 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17282
17283         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17284
17285         * LaTeXLog.C: deleted, useful code moved to Buffer
17286
17287         * buffer.h:
17288         * buffer.C: new function getLatexLogName()
17289
17290         * lyx_gui_misc.C:
17291         * lyx_gui.C:
17292         * lyxvc.C:
17293         * lyxvc.h:
17294         * lyxfunc.C: use frontends for LaTeX and VC logs
17295
17296 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17297
17298         * LaTeX.h: yet another std:: that Allan forgot.
17299
17300         * Variables.C (set): renamed from isset(), because this clashes
17301         with some HP-UX macros (grr).
17302
17303 2001-02-06  Allan Rae  <rae@lyx.org>
17304
17305         * LaTeX.h: Another bug fix.  Missing std:: this time.
17306
17307 2001-02-04  Allan Rae  <rae@lyx.org>
17308
17309         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17310         floats problem. I've left it commented out because it's not quite
17311         correct.  It should also test that the current object is a table or
17312         figure inset.  But I haven't gotten around to figuring out how to do
17313         that.  I *think* it'll be something like: "table" == inset.type()
17314
17315         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17316         bool.
17317
17318 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17319
17320         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17321         all the citation/databases/styles in the auxilary file.
17322         (run): Rerun latex if there was a babel language error.
17323
17324 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17325
17326         * text.C (Backspace): Preserve the font when changing newline char
17327         with a space.
17328         (BreakParagraph): If the cursor is before a space, delete the space.
17329
17330         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17331
17332 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17333
17334         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17335         new argument (code).
17336         (ChangeCitationsIfUnique): New method.
17337
17338         * paragraph.C (GetPositionOfInset): Handle bibkey.
17339
17340 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17341
17342         * BufferView_pimpl.h: change type of Position::par_pos to
17343         LyXParagraph::size_type.
17344
17345 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17346
17347         * BufferView_pimpl.C (savePosition, restorePosition): Write
17348         messages to minibuffer.
17349
17350 2001-01-28  José Matos  <jamatos@fep.up.pt>
17351
17352         * buffer.C (makeDocBookFile): adds support for document language.
17353         A silly restriction on the name of LatexCommand types where removed.
17354         Added support for CDATA sections, allows to chars unescaped, used
17355         among others in code, to avoid escape < and >.
17356
17357 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17358
17359         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17360         saved positions instrad of a stack. Furthermore, a position is
17361         stored using paragraph id/paragraph position.
17362
17363         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17364         Remove LFUN_REF_BACK.
17365
17366 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17367
17368         * converter.C (dvipdfm_options): New method.
17369
17370 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17371
17372         * vspace.C (isValidLength): Fix for empty input string.
17373
17374 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17375
17376         * LyXAction.C (init): change description of LFUN_FIGURE to
17377         "Insert Graphics"
17378
17379 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17380
17381         * LaTeX.C: add using directive
17382
17383 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17384
17385         * MenuBackend.C (expand): Fix the sorting of the formats.
17386
17387 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17388
17389         * lyx_main.C: tiny error message fix
17390
17391 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17392
17393         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17394         calling fl_initialize(). This fixes the problem with ',' as
17395         decimal separator in text files.
17396
17397 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17398
17399         * trans.C (process): Fix the keymap bug.
17400
17401 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17402
17403         * LaTeX.C (scanAuxFiles): New method. Provides support for
17404         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17405         (scanLogFile) Scan for "run BibTeX" messages.
17406
17407         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17408         OT1 font encoding. Also, load the aecompl package if the ae
17409         package is loaded.
17410
17411         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17412
17413 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17414
17415         * texrow.C (increasePos): turn two error messages into debug
17416         messages.
17417
17418 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17419
17420         * LaTeX.C (scanAux): Handle the \@input macro.
17421         (runBibTeX): Use scanAux().
17422
17423         * language.C (latex_options_): New field.
17424
17425         * LaTeXFeatures.C (getMacros): Add language macros.
17426
17427         * buffer.C (makeLaTeXFile): Small fix.
17428
17429 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17432
17433         * text2.C: add a using directive.
17434
17435 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17436
17437         * BufferView2.C:
17438         * lyx_gui_misc.h:
17439         * lyxfr1.C:
17440         * lyxfunc.C: kill LyXBell.
17441
17442 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17443
17444         * text.C (IsBoundary): Remove the error message
17445
17446         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17447
17448         * lyxrc.C (setDefaults): Correct initialization value for
17449         font_norm_type.
17450
17451 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17452
17453         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17454         gotoError().
17455
17456         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17457         and GotoNextNote().
17458
17459         * src/LyXAction.C: Added reference-next.
17460
17461         * text.C (InsertChar): Use contains instead of strchr.
17462
17463         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17464
17465 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17466
17467         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17468         alignment commands (when needed).
17469
17470         * text.C (InsertChar): Add ':' to number separator chars.