]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Add Windows-specific code to userinfo.C.
[lyx.git] / src / ChangeLog
1 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * FuncStatus.h (StatusCodes): document
4
5 2005-04-21  André Pönitz  <poenitz@gmx.net>
6
7         * FuncStatus.h (enabled, onoff): document
8
9 2005-04-19  Angus Leeming  <leeming@lyx.org>
10
11         * BufferView_pimpl.C (cursorToggle): no longer test whether
12         any child processes have been reaped before calling
13         handleCompletedProcesses().
14
15 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
16
17         * text3.C (dispatch): fix, finally fix, the language problem in
18         new lyxtexts, without disabling on-the-fly font changes (Helge's
19         bug report)
20
21 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * text3.C (dispatch): set cursor on double/triple click events
24         (bug 1811)
25
26 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
29         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
30
31         * rowpainter.C (paintFirst): simplify the code a little bit. In
32         particular, remove the test for secnumdepth.
33         * text.C (setHeightOfRow): only allocate space for chapter number
34         when updateCounters provided an actual label, instead of looking
35         at secnumdepth directly.
36
37         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
38
39         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
40         paragraphs when secnumdepth is large enough or, for environments,
41         when they are not the first in a sequence.
42
43 2005-04-17  Angus Leeming  <leeming@lyx.org>
44
45         * buffer.C (makeLaTeXFile): replace code to manipulate a path
46         containing space and '~' characters with a call to latex_path().
47
48 2005-04-17  Angus Leeming  <leeming@lyx.org>
49
50         * converter.C (convert): protect all args of convertDefault.sh
51         script with quotes.
52
53 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text3.C (dispatch): change the layout to "Caption" after inserting
56         a float.
57
58 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text3.C (dispatch): fix language problem in newly created
61         textinsets (and main text) in non-english docs
62
63 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
66         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
67         * text3.C (getStatus): disable LFUN_INSET_MODIFY
68
69 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
70
71         * lyxtext.h:
72         * text.C (metrics): 
73         * text2.C (getFont):
74         * rowpainter.C (getFont): Fix metrics bug introduced by inset
75         fonts fix
76
77 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
78
79         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
80         output of \item arguments without trailing text.
81
82 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * FontIterator.C (operator*): avoid a copy of the font.
85
86 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * rowpainter.C (getFont): fix language bug from previous fix
89
90 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * rowpainter.C (RowPainter, getFont): fix font inside inset 
93         (bugs 1766, 1809)
94
95 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
98         preventing inserted font, deco, delim insets jumping to start of
99         surrounding inset.
100
101 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * lyxfunc.C (dispatch): translate message before sending it to the
104         minibuffer. 
105
106 2005-03-29  Angus Leeming  <leeming@lyx.org>
107
108         * lyx_main.C (priv_exec): call os::internal_path on each file passed
109         to LyX on the command line.
110
111 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
112
113         * vc-backend.C: use QuoteName to protect file names wherever
114         necessary. 
115
116 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * buffer.[Ch]:
119         * BranchList.h: fix bugs 1844,1845: document settings don't
120         stick
121
122 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * lyxrc.C (setDefaults, read, output, getDescription): add support
125         for tex_allows_spaces.
126
127         * exporter.C (Export): allows files in directory containing spaces
128         if tex_allows_spaces is true.
129
130         * buffer.C (makeLaTeXFile): if the document path contains spaces,
131         output it in double quotes.
132
133 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * rowpainter.C: use default text height for drawing change tracker
136         strikeout lines.
137
138 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
141
142 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
145         directory is missing.
146
147 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * text2.C: fixed the fix, extended to other case.
150
151 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * text2.C: fix for cursor up/down stuck in math [bug 1792]
154
155 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
156
157         * text2.C (cursorUp): get rid of a crash
158         * text.C (x2pos): add an assert
159
160 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * lyxfunc.C (getStatus): fix warning when assertions are disabled
163
164         * text3.C: 
165         * lyxfunc.C: 
166         * dociterator.C: include <boost/current_function.hpp>, which is
167         needed when assertions are disabled.
168
169 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
170
171         * text2.C: fix for stuck cursor when traversing two 
172         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
173
174 2005-02-25  Andreas Vox  <avox@arcor.de>
175
176         * output_docbook.C (makeParagraph): suppress trailing newline
177         after a run of paragraphs
178
179 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
180
181         * paragraph.C: fix for confused change tracker when pasting
182         text that begins with a lineseparator. [bug 1827]
183         (setChange(0, Change::INSERTED);)
184
185         * paragraph_funcs.C: fix for lost changes on triple-paste
186         in change tracking mode [bug 1827] (par.setChange()).
187
188 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * text2.C (updateCounters, setCounter, expandLabel): move to
191         buffer_funcs.
192
193         * buffer_funcs.C (updateCounters): turn into a free standing
194         function and add a buffer parameter. Remove dead code for tracking
195         labelstring change.
196         (setCounter): change into a free-standing function which gets a
197         dociterator as argument. Use this iterator to fix captions in a
198         simple way. When no float is found above the caption, use the
199         labelstring of the caption layout as default.
200
201         * text.C (breakParagraph, backspace): 
202         * text2.C (init, setLayout, changeDepth):
203         * text3.C (dispatch): 
204         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
205         updateCounters.
206
207         * dociterator.C (forwardPar): make it much faster by calling
208         forwardPos() only when really necessary.
209
210         * output_docbook.C (makeCommand): adapt to expandLabel move.
211
212         * cursor.C: remove unused variable
213
214 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
215
216         * paragraph_funcs.C: fix crash when pasting insets in change 
217         tracking mode [bug 1277] (honour change type in moveItem).
218
219 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
222
223 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * BufferView.C (setCursor): change to use a DocIterator.
226         (gotoLabel): use BufferView::setCursor (other part of bug 781).
227         (putSelectionAt): adapt to BufferView::setCursor change.
228
229         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
230         moved here from LyXText and rewritten to use proper cursor
231         methods. Fixes bug 1787, 616 and 835.
232
233         * BufferView_pimpl.C (restorePosition): set the cursor correctly
234         when inside an inset (part of bug 781).
235         (dispatch): adapt to change of BufferView::setCursor.
236         (getStatus, dispatch): handle LFUN_GOTOERROR,
237         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
238
239         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
240         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
241         * text3.C (gotoNextInset, gotoInset): removed.
242
243 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
246
247 2005-02-15  Angus Leeming  <leeming@lyx.org>
248
249         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
250         can be used meaningfully in a comparison.
251
252 2005-02-13  André Pönitz  <poenitz@gmx.net>
253
254         * bufferview_funcs.C (coordOffset): improve cursor drawing
255
256 2005-02-13  André Pönitz  <poenitz@gmx.net>
257
258         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
259         * Cursor.C (dispatch): use fixIfBroken
260         * lyxfunc.C (getStatus): use fixIfBroken
261
262 2005-02-15  Angus Leeming  <leeming@lyx.org>
263
264         * lyx_main.C (error_handler):
265         * lyxfunc.C:
266         * lyxrc.C (setDefaults):
267         s/GetEnv/getEnv/.
268         #include "environment.h".
269
270         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
271
272 2005-02-15  Angus Leeming  <leeming@lyx.org>
273
274         * lyxserver.C (startPipe): squash MSVC warning "local variable
275         'fd' used without having been initialized".
276
277 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * BufferView_pimpl.C: revert accidental commit.
280
281 2005-02-14  André Pönitz  <poenitz@gmx.net>
282
283         * dociterator.[Ch]: new member forwardPosNoDescent(),
284         which doesn't enter nested insets.
285         * text2.C (setFont): use forwardPosNoDescent() instead
286         of ForwardPos() (fixes crash on font change).
287
288 2005-02-13  Angus Leeming  <leeming@lyx.org>
289
290         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
291         only if lyxrc.path_prefix is not empty.
292
293 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
294
295         * bufferparams.C (readGraphicsDriver): prevent crash
296
297 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * text2.C (setCounter): check for inInset() == 0
300
301 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
304         but use update() to get correct screen display; use convert
305         instead of istringstream. 
306         (getStatus): handle LFUN_GOTO_PARAGRAPH 
307
308         * lyxfunc.C (dispatch, getStatus): do not handle
309         LFUN_GOTO_PARAGRAPH here.
310
311 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
312
313         * text3.C (dispatch): size() -> depth()
314
315         * text2.C: remove some debug output
316
317         * paragraph.C: ws changes only
318
319         * lyxfunc.C (getStatus): size() -> depth()
320
321         * dociterator.h (clear, push_back, pop_back, internalData,
322         operator[], resize, empty): new functions
323         Make StableDocIterator and operator== be friends. Don't inherit
324         from std::vector use a privat class variable slices_ instead.
325         Modify to fit.
326
327         * dociterator.C: update because of not inheriting from std::vector
328         anymore. Call explictly to slices_ instead. Use depth() instead of
329         size() and top() instead of back()
330
331         * cursor.C: chagne size() -> depth and back() -> top(). Also
332         remove some direct operator[](i) calls in favour of foo[i]
333         (getFont): remove some dead code
334
335         * bufferview_funcs.C (coordOffset): size() -> depth()
336
337         * buffer.C: ws changes only
338
339         * CutAndPaste.C (eraseSelection): back() -> top()
340
341         * BufferView_pimpl.C (selectionRequested): back() -> top()
342
343         * BufferView.C (setCursor): size() -> depth()
344
345 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
346
347         * text3.C (cursorPrevious): return true if depm changed something
348         (cursorNext): ditto
349         (dispatch): rename sl to oldTopSlice, remove moving use the new
350         NoUpdate func attrib instead. Make sure that needsUpdate is set
351         for function that have NoUpdate, but where depm might have changed
352         the buffer anyway.
353
354         * text2.C (cursorLeft): make us return true if depm changed
355         something
356         (cursorRight): ditto
357         (cursorUpParagraph): ditto
358         (curosrDownParagraph): ditto
359         (cursorUp, cursorDown): ditto, make sure to read comments in code
360         (deleteEmptyParagraphMechanism): remove an assert, also return
361         true if just a single char was deleted.
362
363         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
364         cursor that we modify, to avoid modifying an active cursor before
365         we call setCursor. This allows depm to run. Also return true if
366         depm deleted something.
367
368         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
369         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
370         cursorDownParagraph, cursorPrevious and cursorNext, return true if
371         something was changed in the buffer because of them (ie. depm run)
372
373         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
374         debug messages. Make update by default be false. Make sure that
375         the result of update is retained throught several calls down to
376         dispatch.
377
378         * LyXAction.h: add a new func_attrib: NoUpdate
379
380         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
381         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
382         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
383         and LFUN_WORDLEFT
384         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
385
386 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
389         bv_->owner(), bv_->buffer() by direct references to the private
390         members.
391         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
392         (getStatus): isSavedPosition() is in BufferView::Pimpl.
393         (fitCursor): center() is in BufferView::Pimpl.
394         (getStatus, trackChanges, dispatch): no need for a temporary buf
395         variable
396         (fitCursor, workAreaDispatch): use workarea().workheight()
397
398 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
399
400         * CutAndPaste.C (pasteSelectionHelper): fix a crash
401
402 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
403
404         * buffer.C: format up to 241.
405         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
406         break if pasting into ERT
407         * lyxfunc.C (getStatus): suppress mathpanel and
408         LFUN_DIALOG_SHOW_NEW_INSET in ERT
409
410 2005-02-01  Angus Leeming  <leeming@lyx.org>
411
412         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
413
414 2005-02-01  Angus Leeming  <leeming@lyx.org>
415
416         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
417         calling fs::is_directory().
418
419 2005-01-31  Angus Leeming  <leeming@lyx.org>
420
421         * lyx_main.C (priv_exec): specify explicitly the relative location
422         of the top level build directory when run in-place.
423
424 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
427         LyXText containing the cursor, not the top-level one.
428
429         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
430         true.
431         (insertStringAsLines): rename par to pit; use temporary variable
432         par to hold a Paragraph; do not store par.layout() in a variable,
433         since the pointer may die when breaking paragraphs; pass pars to
434         breakParagraph() instead of Buffer::paragraphs().
435
436 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
437
438         * lyxlex_pimpl.h: #include <fstream>.
439
440         * BufferView.[Ch] (getLyXText): add a const version.
441
442         * BufferView_pimpl.C: add debug aids.
443
444         * RowList_fwd.h:
445         * buffer.h:
446         * lyxrow.h:
447         * paragraph_funcs.h: add commentary explaining what the class does.
448
449
450         * coordcache.[Ch]: add lots of commentary.
451         (startUpdating, doneUpdating): debug aids.
452         (arrays, insets, parPos, getParPos): accessors to private data.
453
454         * cursor_slice.[Ch] (text): add a const version.
455         * dociterator.[Ch] (text, innerText): add const versions.
456
457         * lyxtext.h (breakParagraph): change the keep_layout arg to a
458         bool.
459
460         * paragraph.C (getRow, pos2ros): add asserts.
461
462         * paragraph.h: add commentary. Lots of.
463
464         * paragraph.[Ch] (metrucs, draw): removed.
465
466         * cursor.C:
467         * rowpainter.[Ch]: const-correct changes.
468
469         * text.C: various obvious clean-ups. Removal of ancient cruft.
470         Bug fixes, even.
471
472 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
473
474         * vc-backend.C (find_file): rewrite to use boost.filesystem
475         (scanMaster): ditto
476
477         * main.C (main): set default name check for boost.filesystem to
478         no check
479
480         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
481         (open): ditto
482         (doImport): ditto
483         (actOnUpdatedPrefs): ditto
484
485         * lyx_main.C (init): rewrite to use boost.filesystem
486         (queryUserLyXDir): ditto
487
488         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
489         (getContentsOfAsciiFile): ditto
490
491         * lastfiles.C (readFile): rewrite to use boost.filesystem
492
493         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
494
495         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
496         (loadLyXFile): ditto
497
498         * buffer.C (Buffer): adjust for destroydir
499         (getLogName): rewrite to use boost.filesystem
500         (setFileName): ditto
501         (save): use fs::copy_file (from fs_extras)
502
503         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
504
505         * LaTeX.C (run): rewrite to use boost.filesystem
506         (scanAuxFiles): ditto
507         (handleFoundFile): ditto
508
509 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
510
511         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
512
513         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
514
515 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
516
517         * lyxlayout.[Ch]: change some vars from float to double
518
519         * buffer.C (readFile): make a local var const
520
521         * Several files: use convert<> instead of atoi,strToXXX and friends
522
523 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
524
525         * LaTeXFeatures.[Ch]: Add a static list packages_ that
526         holds the contents of packages.lst. New functions getAvailable
527         and isAvailable to parse and check that list, resp.
528
529         * LyXAction.C:
530         * lfuns.h:
531         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
532
533         * bufferparams.[Ch]: new param output_changes.
534
535         * Buffer.C: increase file format to 240.
536         Use output_changes and isVailable.
537
538         * changes.[Ch]:
539         * paragraph.C:
540         * paragraph_pimpl.C: Use output_changes and isVailable.
541
542 2005-01-23  Angus Leeming  <leeming@lyx.org>
543
544         * output_latex.C: #include "insetbibitem.h", rather than
545         forward declare function bibitemWidest.
546
547 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
548
549         * lyx_main.C (init): make it compile on the Mac.
550
551 2005-01-20  Angus Leeming  <leeming@lyx.org>
552
553         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
554         (setLyXMisc): (char string literal) != (char string literal) is
555         performing a comparison on the addresses. Convert one operand
556         explicitly to string to guarantee expected behaviour.
557         From MSVC warning.
558
559 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
560
561         * buffer.C:
562         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
563
564         * output_plaintext.C: remove unneeded #include gzstream.h.
565
566 2005-01-20  Angus Leeming  <leeming@lyx.org>
567
568         * SpellBase.h: rename some of the elements of the Result enum.
569
570         * aspell_local.h:
571         * ispell.h:
572         * pspell.h:
573         * aspell.C (check):
574         * ispell.C (check):
575         * pspell.C (check): ditto
576
577 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
578
579         * buffer.C: add #include <fstream>.
580
581         * lyx_main.C (init): Compile fix.
582
583         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
584
585 2005-01-20  Angus Leeming  <leeming@lyx.org>
586
587         * mover.h: change commentary to reflect the changed meaning of
588         the $$s placeholder.
589
590 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * output_linuxdoc.C (linuxdocParagraphs): silence warning
593
594         * lyxfind.C (MatchString::operator()): remove bogus semicolon
595
596 2005-01-20  Angus Leeming  <leeming@lyx.org>
597
598         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
599         printing diagnostic data by not dereferecing an iterator past the
600         end.
601
602 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
603
604         * buffer.C (readHeader): use "&&" rather than "and".
605
606         * lyxserver.h (inPipeName, outPipeName): make these const.
607
608 2005-01-19  Angus Leeming  <leeming@lyx.org>
609
610         * lyx_main.C (error_handler, init): protect SIGHUP with
611         #ifdef SIGHUP guards.
612
613 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
616
617 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * text.C (setHeightOfRow): add a margin at the top and bottom of
620         the document (bug 1761)
621
622 2005-01-17  Angus Leeming  <leeming@lyx.org>
623
624         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
625         with "python ". Workaround for a brain-dead Windows.
626
627 2005-01-16  Angus Leeming  <leeming@lyx.org>
628
629         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
630         for MacOSX and Windows to use prependEnvPath.
631         Strip out the hard-coded block to add elements to the PATH for
632         MacOSX and replace it with a call to prependEnvPath using the
633         contents of LyXRC::path_prefix.
634         (queryUserLyXDir): strip out the code to run reconfigure, instead
635         returning a boolean indicating the necessity to do so.
636         (reconfigureUserLyXDir): contains the code to reconfigure the
637         user support directory. Is now called after the various LyXRC data
638         files have been read.
639
640         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
641
642 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
643
644         * converter.[Ch] (convert): take a new parameter try_default. Use
645         a default converter (imagemagick) if try_default is true.
646
647 2005-01-13  Angus Leeming  <leeming@lyx.org>
648
649         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
650         os::cygwin_path_fix.
651         (write): output LyXRC::cygwin_path_fix as necessary.
652
653 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
654
655         * lyxrc.h:
656         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
657
658 2005-01-12  Angus Leeming  <leeming@lyx.org>
659
660         * lyx_main.C (init): set the PATH variable to include the
661         directory containing the LyX binary when running on Mac or Windows.
662
663 2005-01-12  Angus Leeming  <leeming@lyx.org>
664
665         * lyx_main.C (init): remove cruft that purports to set the locale
666         dir. It doesn't and is not needed anyway.
667
668 2005-01-10  Angus Leeming  <leeming@lyx.org>
669
670         * Makefile.am: remove the lyx_main.C special casing.
671
672         * BufferView_pimpl.C:
673         * bufferlist.C:
674         * exporter.C:
675         * lyx_cb.C:
676         * lyx_main.C:
677         * lyxfunc.C:
678         * messages.C: use support/package.h to provide the paths to the
679         various directories used by LyX.
680
681 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
682
683         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
684         layout if pasting into an empty paragraph)
685
686 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
687
688         * tex-accent.C: add <string>
689
690 2005-01-06  José Matos  <jamatos@lyx.org>
691
692         * ParagraphParameters.C (write): put every parameter in its own line.
693         * paragraph.C (write): reduce number of consecutive empty lines exported.
694         * buffer.C (LYX_FORMAT): increase file format to 239.
695
696 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
697
698         * everywhere: change support/tostr.h -> support/convert.h
699
700         * tabular.C: make all write_attributes templates, tostr -> convert
701
702         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
703         (emptyTag): and -> &&, and fix type for ret from getChar
704         (getFirstWord): fix type for ret from getChar
705         (onlyText): and -> &&
706         (simpleDocBookOnePar): and not -> && !, fix type for ret from
707         getChar
708
709         * toc.C (goTo, action):
710         * text3.C (dispatch):
711         * text.C (currentState):
712         * tex-accent.C (DoAccent):
713         * sgml.C:
714         * lyxrc.C:
715         * lyxfunc.C (menuNew):
716         * lyxfinc.C (replace):
717         * counters.C (laberItem):
718         * bufferview_funcs.C (font2string):
719         * bufferparams.C (writeFile):
720         * buffer.C (readFile):
721         * Spacing.C (set):
722         * MenuBackend.C: tostr -> convert
723
724         * LaTeX.C (runMessage): fix format
725         (scanAuxFiles): tostr -> convert
726
727         * BufferView_pimpl.C (savePosition): fix format
728         (restorePosition): ditto
729         (dispatch): ditto
730
731 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
732
733         * Spacing.[Ch]: New method getValueAsString().
734
735         * Spacing.[Ch]:
736         * bufferparams.C:
737         * ParagraphParameters.C:
738         * lyxlayout.C:
739         * text.C:
740         * text3.C: store/read spacing value as string.
741
742         * rowpainter.C: change float value (spacing_val) to double.
743
744         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
745         broken custom document spacing).
746
747 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
748
749         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
750         namespace, also more use of temp references and const
751
752         * cursor.[Ch] (getStatus): move to lyxfunc.C
753
754         * bufferparams.C: reformat slightly
755
756         * bufferview_funcs.C (font2string): constify arg
757
758         * changes.C:
759         * converter.C:
760         * counters.C:
761         * bufferlist.C:
762         * buffer_funcs.C: (many funcs): constify arg on function
763         definitions, also make more local vars const, also add ASSERTS on
764         pointer args.
765
766         * buffer.C (LYX_FORMAT): put const in correct place
767         (many funcs): constify arg on function definitions, also make
768         more local vars const
769
770         * aspell_local.h: remove "struct" from typdef setup
771
772         * aspell.C (check): make word_ok const
773         (nextMiss): simplify slightly
774         (error): ditto
775
776 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
777
778         * lyxrc.[Ch]: store all float values as strings.
779         use int (not float) for lyxrc.dpi.
780
781 2005-01-04  Angus Leeming  <leeming@lyx.org>
782
783         * lyx_cb.C (Reconfigure):
784         * lyx_main.C (queryUserLyXDir):
785         to run the <system_lyxdir>/configure correctly on Windows, prefix
786         the path to the script with "sh " when generating the string that
787         is passed to system().
788
789 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
790
791         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
792
793 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * lyxlength.C (asLatexString): get rid of setprecision
796
797 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
798
799         * text2.C (setLayout): remove unused variable endpit.
800         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
801
802         * paragraph.C (onlyText): remove unused variable style.
803
804         * cursor.C (bruteFind): remove unused variables beg and end.
805
806         * Makefile.am (dist_noinset_DATA): not needed anymore
807
808         * cheaders/*: remove.
809
810 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
811
812         * text3.C: fix LFUN_MATH_MODE.
813
814 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * buffer_funcs.C (countWords): new function. Counts words between
817         two iterators.
818
819         * BufferView_pimpl.C (getStatus, dispatch): handle
820         LFUN_WORDS_COUNT.
821
822         * LyXAction.C (init):
823         * lfuns.h: add LFUN_WORDS_COUNT.
824
825 2004-12-19  Angus Leeming  <leeming@lyx.org>
826
827         * buffer.C (save): s/slashify_path/internal_path/.
828
829 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
830
831         * lyxfind.C (findChange): do not search for end of pars, because
832         the change tracker cannot handle this (fixes bug 1719).
833
834 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * paragraph.[Ch] (autoBreakRows): remove
837
838         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
839
840         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
841         avoid using the paragraph one
842
843         * text2.C (LyXText, insertStringAsLines): adjust
844
845 2004-12-16  Angus Leeming  <leeming@lyx.org>
846
847         * bufferlist.C:
848         * lyx_main.C:
849         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
850
851 2004-12-14  Angus Leeming  <leeming@lyx.org>
852
853         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
854
855         * bufferlist.C (emergencyWrite):
856         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
857         GetEnvPath("HOME").
858
859 2004-12-14  Angus Leeming  <leeming@lyx.org>
860
861         * main.C: (main): no longer pass pointers to os::init.
862
863 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * undo.C (textUndoOrRedo): simplify logic, fix a crash
866         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
867
868 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * lyxfunc.C:
871         * text3.C: remove selection_possible global flag
872
873 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * text2.C (getSelectionSpan): remove
876         (changeDepth, changeDepthAllowed): adjust
877
878 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
879
880         * Makefile.am (BOOST_LIBS): use boost variables
881
882 2004-12-03  José Matos  <jamatos@lyx.org>
883
884         * buffer.C: format up to 238.
885
886 2004-12-03  José Matos  <jamatos@lyx.org>
887
888         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
889
890 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
891
892         * cursor.C (goUpDown): remove call to idxUpDown2
893
894 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * tabular.[Ch]: use size_t-like types for cell, row and column
897         indices
898
899 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * lyxfunc.C (getStatus): do not lose previous information when
902         calling BufferView::getStatus; do not set a default "Command
903         disabled" message at the beginning, but just before returning.
904
905 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
906
907         * cursor.h (getStatus): add better comment from src/cursor.C
908
909 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * text3.C (getStatus): return false when the lfun is not handled
912
913 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * broken_headers.h: remove
916
917         * Makefile.am (lyx_SOURCES): remove broken_headers.h
918
919 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
920
921         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
922         offset_ref accessors
923
924         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
925         top_y_, merge fitcursor with update
926         (updateScrollbar, scrollDocView, fitCursor, center, update): new
927         coord scheme
928         (metrics): introduce
929         (workAreaDispatch): adapt to new coord scheme
930         (redoCurrentBuffer): remove
931
932         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
933
934         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
935         CurStatus enum.
936
937         * coordcache.[Ch]: add paragraph cache and helpers
938
939         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
940         adjust everywhere
941
942         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
943         (targetX, setTargetX): introduce
944
945         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
946         baseline -> ascent, as the rest of lyx
947
948         * lyxtext.h: remove redoParagraphs, updateParPositions,
949         fullRebreak, redoParagraphInternal. move dist to anon namespace in
950         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
951         have ascent/descent (ascent is ascent of first par)
952
953         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
954         step of BufferView
955
956         * paragraph.[Ch]: unify dimension handling with the rest of lyx
957
958         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
959
960         * pariterator.C: fix infinite loop introduced in par->pit renaming
961
962         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
963         in insets and LyXText, draw two off-screen paragraphs using
964         NullPainter, and adapt to new coord scheme
965
966         * text.C:
967         * text2.C:
968         * text3.C: adapt lfun handlers to the new coord scheme, which
969         means: there's only guaranteed coord information for onscreen pars
970         plus one above and one below. This implies that one can do search
971         from y coordinates in the range [-1,workHeight]
972
973 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * rename a lot of InsetOld to InsetBase
976
977 2004-11-25  Angus Leeming  <leeming@lyx.org>
978
979         * BufferView_pimpl.C:
980         * lyx_cb.C:
981         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
982
983 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
986         call BufferView::getStatus if LCursor::getStatus did nothing
987         (setStatusMessage, getStatusMessage): removed.
988
989         * FuncStatus.C (message): new methods. Used to provide an error
990         message indicating why a command is disabled.
991         (clear, |=, FuncStatus): update for message.
992
993 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
994
995         * lyxfunc.C (dispatch): always call sendDispatchMessage
996
997 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * BufferView.C:
1000         * BufferView_pimpl.C:
1001         * CutAndPaste.C:
1002         * FontIterator.C:
1003         * buffer.C:
1004         * cursor.C:
1005         * cursor_slice.[Ch]:
1006         * dociterator.[Ch]:
1007         * lyxfind.C:
1008         * paragraph_funcs.C:
1009         * pariterator.C:
1010         * rowpainter.C:
1011         * text.C:
1012         * text2.C:
1013         * text3.C:
1014         * undo.C: par->pit renaming
1015
1016 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1017
1018         * tabular.C (cellstruct): use initialization, store a shared_ptr
1019         to insettext instead of the insettext directly, adjust to fit.
1020         (operator=):  new function
1021         (swap): new function
1022         (rowstruct): use initialization
1023         (columnstruct): use initialization
1024         (ltType): use initialization
1025
1026
1027         * lyxlength.h (swap): new function
1028
1029         * LColor.[Ch] (operator=): use the common semantics
1030
1031 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * lyxfind.C (findNextChange): update the bufferview after setting
1034         the selection.
1035
1036 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1039         number of InsetOptArgs has already been inserted.
1040
1041         * output_latex.C (latexOptArgInsets): new method. This outputs all
1042         the optarg insets, up to the limit defined in the layout file.
1043         (optArgInset): removed
1044         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1045
1046 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * paragraph.C (isLetter): remove special spellchecker-related
1049         code; return true also for digits
1050         (isWord, isKomma): remove
1051
1052         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1053         * lyxfind.C (MatchString()): use isLetter instead of isWord
1054
1055 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1056
1057         * pariterator.h (operatir=): comment out un-implemented member
1058         function.
1059
1060         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1061         static cast.
1062
1063 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1064
1065         * lyxfont.h: include LColor.h to satisfy concept checks.
1066
1067 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1068
1069         * pariterator.h: add typdefs for value_type, difference_type,
1070         pointer and reference to satisfy concept checks. Also add default
1071         constructor for same reason.
1072
1073         * pariterator.C (operator++): add post-increment operator to
1074         satisfy concept checks.
1075
1076         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1077         checks.
1078
1079         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1080
1081         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1082         checks. Also rename base_type to BaseType to follow naming
1083         standard better.
1084
1085         * FloatList.h: include Floating.h to satisfy concept checks.
1086
1087 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * lyxfunc.C (getStatus): when the origin of the request is menu or
1090         toolbar, and the LyXView does not have focus, do as if there was
1091         no buffer (bug 1720)
1092
1093         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1094         FuncRequest to individual entries of LFUN_SEQUENCE
1095
1096 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * output_latex.C (TeXOnePar): override runparams.moving_arg
1099         according to the needprotect value of the current paragraph (bug
1100         1739)
1101
1102         * paragraph.C (simpleTeXOnePar): no need to override
1103         runparams.moving_args here
1104
1105 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1106
1107         * vspace.C: fix off-by-one-error, related to fix #1682
1108
1109 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1110
1111         * lengthcommon.C: a more general fix for bug 1682
1112
1113 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1114
1115         * text.C (backspace): fix crash
1116
1117 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * format.[Ch] (getFormatFromFile): new method
1120         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1121
1122 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1125
1126 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * lyxfunc.C (dispatch): remove the verbose argument
1129         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1130         instead
1131
1132         * kbmap.C (defkey): set the origin of func to KEYBOARD
1133
1134         * MenuBackend.C (MenuItem):
1135         * ToolbarBackend.C (add): set the origin of func to UI
1136
1137         * funcrequest.[Ch]: add origin member, which indicates which part
1138         of LyX requests an action
1139
1140 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1141
1142         * converter.C (move): don't lie in the error message
1143         * converter.h (isReachable, move): document
1144
1145 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1146
1147         * buffer.C: remove unused using lyx::support::atoi
1148         * paragraph_funcs.C: ditto
1149
1150 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * bufferlist.C (exists): use bind and equal_to instead of
1153         compare_memfun
1154         (getBuffer): ditto
1155         * lyxtextclasslist.C (NumberOfClass): ditto
1156
1157         * cursor.C (insert): use for_each instead of explicit for loop
1158
1159         * bufferlist.C (getFileNames): use std::transform and
1160         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1161
1162         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1163         for loop
1164
1165         * buffer.C (changeLanguage): use for_each instead of explicit for
1166         loop
1167         (hasParWithID): implement using getParFromID
1168
1169         * LaTeXFeatures.C: ws change only
1170
1171         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1172         to cleanup a bit.
1173
1174         * BufferView_pimpl.C (trackChanges): use for_each instead of
1175         expilicit for loop
1176
1177 2004-11-04  André Pönitz  <poenitz@gmx.net>
1178
1179         * undo.h:
1180         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1181
1182         * dociterator.C (asDocIterator): use hard assert again.
1183
1184 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         * lyxlength.C (asLatexString): rewrite so that it does not use
1187         snprintf anymore
1188
1189 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * text3.C (specialChar, dispatch): make sure cursor moves to the
1192         right after inserting an inset
1193
1194 2004-11-02  José Matos  <jamatos@lyx.org>
1195
1196         * output_docbook.C (docbook):
1197         * paragraph.C (getID):
1198         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1199         garantee that the output is always legal.
1200
1201         * tabular.C (docbook):
1202         * outputprams.[Ch]: remove mixed contents.
1203
1204 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1205
1206         * text2.C (setCounter): prevent endless loop
1207
1208 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1209
1210         * exporter.C (copyFile): use the mover instead of support::copy()
1211         * exporter.C (Export): pass format and latex name to copyFile()
1212         * exporter.h (addExternalFile): document
1213         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1214
1215 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1216
1217         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1218
1219 2004-10-30  José Matos  <jamatos@lyx.org>
1220
1221         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1222         text and no inset or font change. This allows to use CDATA
1223         sections just for the whole paragraph.
1224
1225 2004-10-30  José Matos  <jamatos@lyx.org>
1226
1227         * paragraph.C (getFirstWord): remove unused variable.
1228
1229 2004-10-30  José Matos  <jamatos@lyx.org>
1230
1231         * paragraph.C (getFirstWord): the content should always be escaped
1232         there.
1233         (simpleDocBookOnePar):
1234         * output_docbook.C (makeEnvironment): replace reference to CDATA
1235         to style pass_thru.
1236
1237 2004-10-30  José Matos  <jamatos@lyx.org>
1238
1239         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1240
1241 2004-10-30  José Matos  <jamatos@lyx.org>
1242
1243         * output_docbook.C (makeParagraphs):
1244         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1245         standard paragraph has only a given type of content drop the wrapper.
1246
1247 2004-10-29  José Matos  <jamatos@lyx.org>
1248
1249         * output_docbook.C (makeEnvironment):
1250         * sgml.C (openTag):
1251         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1252
1253 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1254
1255         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1256         (cleanID): sanitize any id.
1257
1258 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * buffer.C, lyxlex_pimpl.C:
1261         * lyxlex_pimpl.C (setFile):
1262         s/getExtFromContents/getFormatFromContents/
1263
1264 2004-10-28  José Matos  <jamatos@lyx.org>
1265
1266         * output_docbook.C (makeEnvironment): move id to broadest possible
1267         scope.
1268
1269         * sgml.C (openTag): apply substitution of <> for all attributes.
1270
1271 2004-10-28  José Matos  <jamatos@lyx.org>
1272
1273         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1274         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1275         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1276
1277         * sgml.[Ch]: new version for open and closeTag for paragraph and
1278         for strings. Now they handle the ids of paragraphs.
1279
1280 2004-10-26  Angus Leeming  <leeming@lyx.org>
1281
1282         * Makefile.am: add mover.[Ch].
1283
1284         * converter.C (convert, move): use the new Movers to move external
1285         files to the temp directory.
1286
1287         * lyx_main.C (init): ensure that the global system_movers data
1288         is initialised.
1289
1290         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1291         preferences file.
1292
1293         * mover.[Ch]: new files, defining a Mover as a utility to move an
1294         external file between directories and, if necessary, manipulate this
1295         file using a helper script.
1296
1297 2004-10-25  José Matos  <jamatos@lyx.org>
1298
1299         * output_docbook.C (makeCommand): merge two if's that tested the
1300         same condition.
1301
1302 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * sgml.C (escapeString): fix warning in a better way
1305
1306 2004-10-25  José Matos  <jamatos@lyx.org>
1307
1308         * sgml.C (escapeString): import the require boosts header file for
1309         tie, and avoid a signed unsigned comparison.
1310
1311 2004-10-25  José Matos  <jamatos@lyx.org>
1312
1313         * sgml.h: add #include <string>
1314
1315 2004-10-25  José Matos  <jamatos@lyx.org>
1316
1317         * sgml.[Ch] (escapeString): new function to escape all the string.
1318
1319 2004-10-24  José Matos  <jamatos@lyx.org>
1320
1321         * paragraph.[Ch] (getFirstWord): new function to get the first
1322         word. Useful for description.
1323         (simpleDocBookOnePar): remove depth argument, add another that
1324         says where to start the paragraph.
1325
1326         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1327         use the new functions to fix cleanly the support for descriptions.
1328
1329 2004-10-24  José Matos  <jamatos@lyx.org>
1330
1331         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1332         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1333         * output_linuxdoc.C (linuxdocParagraphs):
1334         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1335         add buffer as argument.
1336
1337 2004-10-24  José Matos  <jamatos@lyx.org>
1338
1339         * output_docbook.C (makeEnvironment, searchEnvironment): place
1340         CDATA inside paragraphs and fix scope for listitems.
1341
1342 2004-10-24  José Matos  <jamatos@lyx.org>
1343
1344         * output_docbook.C: remove using statement for stack.
1345
1346 2004-10-23  José Matos  <jamatos@lyx.org>
1347
1348         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1349         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1350         docbook. The new scheme is recursive and makes use of iterators, the
1351         same as latex export works.
1352         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1353         directly with the paragraph contents. This code was moved up to
1354         output_docbook.C (docbookParagraphs).
1355         * sgml.C (openTag, closeTag): removed unneeded newlines.
1356         (closeEnvTags) removed.
1357
1358 2004-10-23  André Pönitz  <poenitz@gmx.net>
1359
1360         * undo.C (textUndoOrRedo):
1361         * dociterator.C (asDocIterator): work around crash
1362
1363         * cursor.C (getStatus): replace ASSERT by more verbose error message
1364           and manual correction of the problem. Should increase stability
1365           while providing more sensible information.
1366
1367 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1370
1371         * bufferlist.C (previous, next): new methods
1372
1373         * lfuns.h:
1374         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1375
1376 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1377
1378         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1379         entities to preamble.
1380
1381 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1382
1383         * messages.C (Pimpl): strip off translation context information
1384
1385 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1386
1387         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1388         the cursor is correct (bug 1694)
1389
1390 2004-10-13  José Matos  <jamatos@lyx.org>
1391
1392         * output_docbook.C (docbookParagraphs): fix closing tags in the
1393         end of the document.
1394
1395 2004-10-09  José Matos  <jamatos@lyx.org>
1396
1397         * buffer.C: format up to 237.
1398         * bufferparams.C (write): use tostr to convert booleans to strings.
1399
1400 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1403
1404 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * LaTeX.C: implement use of babel language in xindy.
1407
1408 2004-10-05  José Matos  <jamatos@lyx.org>
1409
1410         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1411         Add new translators to help reading and writing the lyx file.
1412
1413 2004-10-05  José Matos  <jamatos@lyx.org>
1414
1415         * ParagraphParameters.C (read):
1416         * text.C (readParToken): replace nexToken by more appropriate lex
1417         methods.
1418
1419 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1420
1421         * LaTeX.C (runMakeIndex):
1422         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1423         (usually 'makeindex') configurable.
1424
1425         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1426         with a variable rather than with a number.
1427
1428 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * output_latex.C (TeXOnePar): make sure font setting is the first
1431         thing that gets output (and the last at the end). Should fix bug
1432         1404.
1433
1434 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * pch.h: use proper signal include
1437
1438         * LaTeX.h: Use preferred calling of Boost.Signal
1439         * buffer.h: ditto
1440
1441 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1442
1443         * pch.h: dont include <boost/function/function0.hpp>
1444
1445         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1446
1447         * paragraph_pimpl.h: remove usage of ShareContainer
1448
1449         * paragraph_pimpl.C: remove initialization of ShareContainer.
1450
1451 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         Fix bug #1666
1454
1455         * BufferView.C (putSelectionAt): change the semantics when
1456         backwards == true: now, this just swaps cursor and anchor wrt the
1457         forward case
1458
1459         * BufferView.h (putSelectionAt): add some documentation
1460
1461         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1462         make sure backwardChar is done at least once (to avoid getting
1463         stuck)
1464         (findNextChange): use putSelectionAt in the forward direction
1465         (operator()): use Paragraph::isWord
1466
1467 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1468
1469         * Spacing.C (set): c_str fix
1470
1471 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * lyx_cb.C (Reconfigure): quote the name of configure script in
1474         case it contains spaces
1475
1476 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1477
1478         * client: new dir
1479
1480         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1481         (BOOST_LIBS): use top_buildir when looking for the file
1482
1483 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1484
1485         * pch.h: do not use include boost/format.hpp, multiple symbols
1486                 will result (gcc bug)
1487
1488
1489 2004-08-23  José Matos  <jamatos@lyx.org>
1490
1491         * bufferparams.C (readToken): fix reading of the author field.
1492
1493 2004-08-20  José Matos  <jamatos@lyx.org>
1494
1495         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1496
1497 2004-08-20  José Matos  <jamatos@lyx.org>
1498
1499         * lyxlex.[Ch] (findToken): remove function.
1500
1501         * ParagraphParameters.C (findToken):
1502         * bufferparams.C (findToken): replace call for previous function
1503         with local copy. This local function has one more argument, the
1504         read string argument.
1505
1506 2004-08-16  José Matos  <jamatos@lyx.org>
1507
1508         * ParagraphParameters.C (write):
1509         * Spacing.C (writeFile):
1510         * bufferparams.C (writeLaTeX):
1511         * lyx_cb.C (Reconfigure):
1512         * paragraph.C (write):
1513         * tabular.C (write): remove unnecessary space at end of line.
1514
1515
1516 2004-08-16  José Matos  <jamatos@lyx.org>
1517
1518         * text.C (readParagraph): remove debug message.
1519
1520 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1521
1522         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1523         crash
1524
1525         * output_plaintext.C (asciiParagraph): set depth correctly
1526
1527         * outputparams.h: add member depth
1528
1529         * paragraph_funcs.C (ownerPar): remove.
1530
1531         * text2.C (setCounter): remove first_pit; comment out some
1532         non-working code that uses ownerPar
1533
1534         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1535         uses ownerPar
1536
1537 2004-08-16  José Matos  <jamatos@lyx.org>
1538
1539         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1540         For the same level of importance use the same chanel to report problems.
1541         (read): add code to deal with \begin_body and \end_body.
1542
1543
1544 2004-08-15  José Matos  <jamatos@lyx.org>
1545
1546         * lyxlex.C (getString): fix comment, buffer::readBody is now
1547         buffer:readDocument.
1548
1549         * tex-strings.C (string_papersize): Default -> default,
1550         Custom -> custom, for consistency with other options.
1551
1552 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1553
1554         * pch.h: new file
1555
1556         * Makefile.am: support pch
1557
1558 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * text.C (readParToken): remove the static LyXFont variable and
1561         pass it as a parameter instead. This fixes a nasty bug where an
1562         inset will be inserted with a bad font in some situations
1563         (readParagraph): adapt
1564
1565         * text2.C (setCounter): reduce number of calls to pars_[pit]
1566
1567         * text.C (singleWidth): add an assert, fix a test
1568
1569         * rowpainter.C (paintText): reduce number of calls to singleWidth
1570
1571         * paragraph.C (isHfill):
1572         (isNewline): ws only
1573
1574 2004-08-14  André Pönitz  <poenitz@gmx.net>
1575
1576         * text.C:
1577         * text2.C:
1578         * rowpainter.C:
1579         * lyxtext.h (several functions): use a Paragraph & argument
1580         instead of par_type
1581
1582 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1583
1584         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1585
1586         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1587
1588         * text.C (singleWidth): remove useless test
1589
1590 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * tabular.h: remove bogus comments
1593
1594         * tabular.C (getDescentOfRow):
1595         (isPartOfMultiColumn): add assertions
1596
1597         * lyxlength.C (inPixels): remove #warning
1598
1599 2004-08-14  André Pönitz  <poenitz@gmx.net>
1600
1601         * paragraph.h: inline getChar()
1602
1603         * BufferView.h: remove unused declarations
1604
1605 2004-08-14  José Matos  <jamatos@lyx.org>
1606
1607         * Buffer.[Ch] (readDocument): new name for old readBody.
1608         * Buffer.C: new file format, new keywords: \begin_document,
1609         \begin_header, \begin_body, \end_body.
1610
1611         * bufferparams.C (readToken): replace all calls to lex.nextToken
1612         by lex.next(). Do the same to eatLine except where really needed.
1613
1614         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1615         line when writing to the lyx file.
1616
1617         * output_plaintext.C (asciiParagraph): fix Bibliography style
1618         handling.
1619
1620         * text.C (read): fix end of file handling.
1621
1622 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1623
1624         * MenuBackend.C (Menu::operator[]): new method to access
1625         individual menu items
1626         (Menu::hasFunc): new method. search for an item that corresponds
1627         to a given func
1628         (MenuBackend::specialMenu): new method
1629         (MenuBackend::expand): if a special menu has been set, skip
1630         entries whose func() appears in this menu
1631
1632 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1633
1634         * text3.C: use Debug::DEBUG a bit more
1635
1636         * text.C (leftMargin): try to simplify a tiny bit change var x to
1637         l_margin. Dont output the wide margins always.
1638         (rightMargin): no margin in inner texts
1639
1640         * rowpainter.h (nestMargin): new func
1641         (changebarMargin): new func
1642         (rightMargin): new func
1643
1644         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1645         now functions.
1646         (paintLast): ditto
1647
1648         * factory.C (createInset): modify setDrawFrame
1649
1650         * cursor.C: use Debug::DEBUG a bit more
1651
1652 2004-08-14  André Pönitz  <poenitz@gmx.net>
1653
1654         * coordcache.[Ch]:
1655         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1656         cache for all insets in (at least partially) visible (top-level)
1657         paragraphs.
1658
1659         * BufferView_pimpl.C: reset external coord cache before every update.
1660         This means the coord cache only contains valid entries.
1661
1662 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1663
1664         bug 1096
1665         * BufferView_pimpl.C (getInsetByCode): move function out of class
1666         and change in to a template in anon namespace. Also fix to do what
1667         suits us better.
1668
1669 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1670
1671         bug 1305
1672         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1673         of char
1674         (breakParagraph): rename par to par_offset and use a local
1675         reference. Add code to keep the language over a rebreak.
1676         (breakParagraphConservative): rename par to par_offset, use a
1677         local reference
1678         (mergeParagraph): ditto
1679         (outerHook): ditto
1680         (isFirstInSequence): ditto
1681         (outerFont): rename pit to par_offset
1682
1683         * paragraph.C: ws change
1684         * paragraph.h: ditto
1685         * text3.C: ditto
1686         * text.C: ditto
1687
1688 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1691         treatment for ']'
1692
1693         * paragraph.C (simpleTeXOnePar): when we have a \item with
1694         optional argument, enclose the argument with curly brackets (in
1695         case it contains a closing square bracket)
1696
1697         * text2.C (editXY):
1698         * text2.C (editXY):
1699         * text3.C (checkInsetHit): constify
1700
1701 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1704         documents (bug 1629)
1705
1706 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1707
1708         Fix toggling of collapsable insets with the mouse (bug 1558)
1709
1710         * lyxfunc.C (dispatch): adapt to LCursor changes
1711
1712         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1713         make sure that dispatch is not invoked twice
1714
1715         * cursor.C (needsUpdate): new method
1716         (dispatch): return void
1717         (result): new method, to access the DispatchResult of the cursor.
1718
1719 2004-08-13  José Matos  <jamatos@lyx.org>
1720
1721         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1722
1723 2004-08-13  André Pönitz  <poenitz@gmx.net>
1724
1725         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1726
1727         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1728           multiple cells
1729
1730 2004-08-12  André Pönitz  <poenitz@gmx.net>
1731
1732         * text3.C: take out the 'cursor right' form insertInset and only
1733         do it in those places when it is really needed. Fixes crash on
1734         C-m...
1735
1736 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1737
1738         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1739
1740         * BufferView_pimpl.C (setBuffer): initialize the current font of
1741         the underlying LyXText
1742
1743 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * kbsequence.C (print): use UI native formatting for menu
1746         shortcuts
1747
1748         * text.C (insertChar): call Paragraph::insertChar with a font
1749         argument (cosmetic)
1750
1751         * paragraph.C (insertInset, insertChar): the version that takes a
1752         LyXFont argument is now a wrapper around the other one (the
1753         opposite used to be true).
1754
1755         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1756         argument. Font setting is done in Paragraph now.
1757
1758 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * outputparams.h: add new members intitle and lang.
1761
1762         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1763         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1764
1765 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1766
1767         * text3.C (dispatch): remove special handling of button 4 and 5,
1768         it is now taken care of in the frontend code.
1769
1770 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1771
1772         * Spacing.h: add <string> (STLPort compile fix)
1773
1774 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1775
1776         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1777
1778 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1779
1780         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1781         to bool.
1782
1783         * converter.C (showMessage): inherit from unary_function, make
1784         operator() const.
1785
1786         * buffer.C (writeFile): initialize retval
1787
1788         * InsetList.h: rename private variable list to list_
1789         * InsetList.[Ch]: adjust accordingly.
1790
1791 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1792
1793         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1794         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1795         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1796         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1797         * ParagraphParameters.C, LaTeXFeatures.C: replace
1798         "support/std_sstream.h" with <sstream>
1799
1800 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1801
1802         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1803         * lyxsocket.C (LyXServerSocket): ditto
1804         (serverCallback): ditto
1805
1806 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1807
1808         * LaTeXFeatures.C: check release date when loading jurabib.
1809
1810 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1811
1812         * lyxserver.C (startPipe): call register_socket_callback
1813         (endPipe): call unregister_socket_callback
1814
1815 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1816
1817         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1818         (LyXServerSocket): register the callback
1819         (LyXServerSocket): unregister the callback
1820         (fd): delete function
1821         (serverCallback): improve error checking and setup the callbacks.
1822         (dataCallback): change arg to fd.
1823         (writeln): new func (copied fro the client socket) used for server
1824         write to client.
1825         (LyXDataSocket): simplify
1826         (~LyXDataSocket): close ann unregiser callback
1827         (server): delete function
1828         (fd): delete function
1829         (readln): small changes, improve some std::string usage
1830         (writeln): constify a bit
1831
1832 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1835         Qt frontend
1836
1837 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1840         after it has been populated
1841
1842 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * text2.C (insertInset): move cursor when inserting inset.
1845
1846 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1847
1848         * kbmap.C (findbindings): a couple of new methods. returns a
1849         container of kb_sequence objects. The real work is done by the
1850         private recursive version
1851         (printbindings): uses findbindings to print out a bracketed list
1852         of bindings (renamed from findbinding).
1853
1854         * MenuBackend.C (binding): use kb_keymap::findbindings
1855
1856         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1857
1858 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1859
1860         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1861
1862 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863
1864         * paragraph.C (isWord): return true on insets that report
1865         isLetter().
1866
1867         * text.C (getWord): use Paragraph::isWord to decide what is in a
1868         word and what is not; fix bug 1609.
1869
1870 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1871
1872         * tex-strings.C: add "none" to string_paperpackages[], fixes
1873         off-by-one-error in the paperpackage selection.
1874
1875         * lyxlex.[Ch]:
1876         * tex-strings.[Ch]: char const * string[n]
1877         -> char const * const string[]
1878
1879 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1882         command, return early.
1883
1884 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1885
1886         * debug.h: add DEBUG to enum and fix size of ANY.
1887
1888         * debug.C: add support for Debug::DEBUG
1889         (showTags): cast errorTags.level to unsigned int
1890
1891         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1892         (redoCurrentBuffer): ditto
1893         (updateScrollbar): ditto
1894         * cursor.C (dispatch): ditto
1895         * text2.C (setLayout): ditto
1896         (setFont): ditto
1897         (updateCounters): ditto
1898         (editXY): ditto
1899         (deleteEmptyParagraphMechanism): ditto
1900
1901 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1902
1903         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1904         annotations to cleanup the Makefile slightly.
1905
1906 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * lyxrc.C: do not set user_email to a default value but use empty
1909         instead. The entry used to be translated, which does not work
1910         since at the point where lyxrc is constructed there is no
1911         translation service available
1912
1913         * messages.C (getLocaleDir): remove and use directly
1914         lyx_localedir() instead
1915
1916 2004-06-02  Angus Leeming  <leeming@lyx.org>
1917
1918         Fix crash caused by dereferencing null pointer 'exportdata' in
1919         OutputParams by creating a new ExportData variable on the heap,
1920         storing it in a boost::shared_ptr.
1921         The crash was triggered when generating an Instant Preview
1922         of an external inset.
1923
1924         * Makefile.am: add outputparams.C
1925
1926         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1927         (c-tor): allocate memory to it.
1928
1929         * exporter.C (c-tor): associated changes.
1930
1931 2004-06-01  Angus Leeming  <leeming@lyx.org>
1932
1933         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1934         contains data before calling isInset(0). (Bug 1513.)
1935
1936 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1937
1938         * exporter.C (checkOverwrite): new method
1939         * exporter.C (copyFile): new method
1940         * exporter.C (Export): copy referenced files to the document dir
1941         * exporter.[Ch]: new class ExportedFile
1942         * exporter.[Ch]: new class ExportData. Contains currently the
1943         names of referenced external files
1944         * outputparams.h: add exportdata member.
1945
1946 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1947
1948         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1949         version.C-tmp
1950
1951 2004-05-19  Angus Leeming  <leeming@lyx.org>
1952
1953         * LaTeXFeatures.C:
1954         * ToolbarBackend.C:
1955         * bufferparams.C:
1956         * lyxfunc.C: small changes due to the introduction of namespace
1957         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1958
1959 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1960
1961         * text3.C (dispatch): supress update when only moving the cursor
1962         * cursor.C (selHandle): remove commented code
1963
1964 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1965
1966         * paragraph.C (startTeXParParams): correct column count
1967         * CutAndPaste.C (pasteSelection): remove const_cast
1968         * output_docbook.C (docbookParagraphs): remove const_cast
1969         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1970         const_cast and return ParagraphList::const_iterator
1971         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1972         * output_plaintext.C (writeFileAscii): remove const_cast
1973         * paragraph.[Ch] (simpleTeXOnePar): make const
1974         * paragraph_funcs.C (outerPar): use const iterators
1975         * paragraph_pimpl.C (validate): use const iterators
1976         * text.C (setHeightOfRow): use const iterators
1977
1978 2004-05-17  Angus Leeming  <leeming@lyx.org>
1979
1980         * lfuns.h:
1981         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1982
1983         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1984         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1985         if the citation engine has changed.
1986
1987 2004-05-14  José Matos  <jamatos@lyx.org>
1988
1989         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1990         if the textclass does not provide it. Have it different for sgml and
1991         xml.
1992         support the language of document.
1993         * output_docbook.C (docbookParagraphs):
1994         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1995         first anchor as the id of the paragraph, remove special case code.
1996         * sgml.C (escapeChar): escape only < & >.
1997
1998 2004-05-14  Angus Leeming  <leeming@lyx.org>
1999
2000         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2001         dependencies on src/frontends/controllers/biblio.h. Define a
2002         CiteEngine_enum wrapper class to enable the enum to be forward
2003         declared.
2004
2005 2004-05-12  Angus Leeming  <leeming@lyx.org>
2006
2007         * buffer.C: up LYX_FORMAT to 234.
2008         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2009         use_numerical_citations with a single biblio::CiteEngine cite_engine
2010         variable.
2011         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2012
2013 2004-05-13  José Matos  <jamatos@lyx.org>
2014
2015         * converter.h:
2016         * converter.C (Converter, readFlags): add xml member.
2017         * outputparams.h: add XML flavor.
2018         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2019
2020 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * lyxfunc.C (dispatch):
2023         (getStatus): fix handling of LFUN_SEQUENCE
2024
2025 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * debug.C (showLevel): do not forget the end-of-line marker
2028
2029 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * kbmap.C (read): do not stop parsing a bind file when an error
2032         occurs (bug 1575)
2033
2034 2004-04-29  Angus Leeming  <leeming@lyx.org>
2035
2036         * cursor.C:
2037         * factory.C:
2038         * pariterator.C:
2039         * text2.C: wrap a bunch of #warning statements
2040         inside #ifdef WITH_WARNINGS blocks.
2041
2042 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2043
2044         * buffer.C: increment format to 233.
2045
2046 2004-04-28  Angus Leeming  <leeming@lyx.org>
2047
2048         * BufferView_pimpl.C:
2049         * lyxfunc.C:
2050         * text3.C:
2051         s/updateToolbar()/updateToolbars()/
2052         s/Toolbar.h/Toolbars.h/
2053
2054 2004-04-28  Angus Leeming  <leeming@lyx.org>
2055
2056         * BufferView.[Ch] (c-tor):
2057         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2058         No longer passes these data to the WorkArea generator.
2059
2060 2004-04-28  Angus Leeming  <leeming@lyx.org>
2061
2062         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2063
2064 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2065
2066         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2067
2068 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2069
2070         * output_latex.C (TeXEnvironment): make sure that there is a line
2071         break before \end{foo} for the last paragraph of a document
2072         (TeXOnePar): if the paragraph is at the end of the document (or
2073         inset) and the language has to be reset, then make sure that the
2074         line break is _before_ the language command, not after (fixes bug
2075         1225); also make sure that the language reset command is the first
2076         thing after the paragraph (to ensure proper nesting of
2077         environments and thus fix bug 1404)
2078
2079 2004-04-21  John Levon  <levon@movementarian.org>
2080
2081         * ToolbarBackend.h:
2082         * ToolbarBackend.C: make "name" be a programmatic name
2083         and a gui_name field.
2084
2085         * lyxfunc.C: display the minibuffer on M-x
2086
2087 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2088
2089         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2090         (bug 1526)
2091
2092 2004-04-19  Angus Leeming  <leeming@lyx.org>
2093
2094         * BufferView_pimpl.C (setBuffer): changed preview interface.
2095
2096         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2097         possible values.
2098
2099 2004-04-19  John Levon  <levon@movementarian.org>
2100
2101         * BufferView_pimpl.C:
2102         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2103
2104 2004-04-05  Angus Leeming  <leeming@lyx.org>
2105
2106         * text.C (redoParagraphs): add call to updateCounters(), thereby
2107         fixing the missing "Figure #:" label from the caption of a
2108         figure float.
2109
2110 2004-04-13  Angus Leeming  <leeming@lyx.org>
2111
2112         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2113         cursor is clicked out of an inset.
2114
2115 2004-04-13  Angus Leeming  <leeming@lyx.org>
2116
2117         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2118         than an InsetOld one.
2119
2120 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2121
2122         * format.[Ch]: add editor to Format
2123         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2124         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2125
2126 2004-04-08  André Pönitz  <poenitz@gmx.net>
2127
2128         * metricsinfo.h: remove PainterInfo::width member
2129
2130 2004-04-08  Angus Leeming  <leeming@lyx.org>
2131
2132         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2133         "\providecommand" rather than "\newcommand", thereby preventing
2134         clashes with packages that define "\boldsymbol" themselves.
2135         Eg, beamer.
2136
2137 2004-04-08  Angus Leeming  <leeming@lyx.org>
2138
2139         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2140         thereby squashing an unnecessary warning.
2141
2142 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2143
2144         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2145         setBuffer()
2146
2147 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * BufferView.C (setCursor): call redoParagraph (some insets could
2150         have been opened)
2151         (putSelectionAt): remove the 'double update' trick
2152
2153         * BufferView_pimpl.C (fitCursor): call refreshPar
2154         (workAreaDispatch): remove an uneeded update call
2155         (dispatch): remove some manual update calls
2156
2157         * cursor.[Ch]: remove cached_y_, updatePos
2158         (selHandle): set noUpdate when appropriate
2159
2160         * lyxfunc.C (dispatch): track if we need an update
2161
2162         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2163
2164         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2165         (paintSelection): cheap optimization, do not call cursorX when not
2166         needed
2167         (paintPars): change signature
2168         (refreshPar): add
2169         (paintText): adjust
2170         (paintTextInset): adjust
2171
2172         * text.C: adjust
2173
2174 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * lengthcommon.C: compilation fix: remove explicit array size from
2177         unit_name[] and friends
2178
2179 2004-04-05  Angus Leeming  <leeming@lyx.org>
2180
2181         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2182
2183         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2184         present only for the preferences dialog.
2185         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2186
2187 2004-04-05  Angus Leeming  <leeming@lyx.org>
2188
2189         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2190         to enable the frontends to export changes to lyxrc correctly.
2191
2192         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2193
2194 2004-04-07  André Pönitz  <poenitz@gmx.net>
2195
2196         * cursor.[Ch] (selClear, adjust): remove math
2197
2198         * cursor_slice.C: more agressive assert
2199
2200         * lyxfunc.C:
2201         * BufferView_pimpl.C: rework mouse event dispatch
2202
2203         * dociterator.C:
2204         * paragraph.C:
2205         * text2.C:
2206         * text3.C: adjust
2207
2208 2004-04-05  André Pönitz  <poenitz@gmx.net>
2209
2210         * cursor.[Ch] (valign, halign...): remove unneeded functions
2211
2212 2004-04-05  Angus Leeming  <leeming@lyx.org>
2213
2214         * lyxlength.[Ch] (unit_name et al.): const-correct.
2215
2216 2004-04-05  Angus Leeming  <leeming@lyx.org>
2217
2218         * BufferView_pimpl.C:
2219         * buffer.C:
2220         * counters.C:
2221         * cursor.C:
2222         * lyxfunc.C
2223         * paragraph.C:
2224         * pariterator.C:
2225         * text.C:
2226         * text2.C:
2227         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2228
2229 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2232
2233 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2236         * BufferView_pimpl.[Ch] (getStatus)
2237         * BufferView.[Ch] (getStatus): add
2238         * lyxfunc.C (getStatus): move lfuns handled in
2239         BufferView::dispatch to te function above
2240         * Cursor.C (setSelection): set selection() = true
2241
2242 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2243
2244         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2245
2246 2004-03-31  Angus Leeming  <leeming@lyx.org>
2247
2248         * lyxfunc.C (dispatch): Fall through to the generic
2249         Dialogs::show("preamble").
2250
2251 2004-03-31  Angus Leeming  <leeming@lyx.org>
2252
2253         * lyxfunc.C (dispatch): Fall through to the generic
2254         Dialogs::show("spellchecker").
2255
2256 2004-03-31  Angus Leeming  <leeming@lyx.org>
2257
2258         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2259         preferences dialog.
2260
2261 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2262
2263         * BufferView.C
2264         * cursor.[Ch]
2265         * dociterator.[Ch]:
2266         * insetiterator.[Ch]:
2267         * lyxfind.C:
2268         * lyxfunc.C:
2269         * pariterator.[Ch]:
2270         * text2.C:
2271         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2272
2273 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2276         insets where we are putting the cursor.
2277
2278 2004-03-31  Angus Leeming  <leeming@lyx.org>
2279
2280         * lfuns.h:
2281         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2282
2283         * lyxrc.[Ch] (read, write): overloaded member functions taking
2284         a std::[io]stream arguments.
2285
2286         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2287
2288 2004-03-31  Angus Leeming  <leeming@lyx.org>
2289
2290         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2291         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2292
2293         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2294         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2295
2296 2004-03-31  Angus Leeming  <leeming@lyx.org>
2297
2298         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2299         the LFUN_ALL_INSETS_TOGGLE code.
2300
2301 2004-03-30  Angus Leeming  <leeming@lyx.org>
2302
2303         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2304         has died. Fall through to the generic Dialogs::show("document").
2305
2306 2004-03-30  Angus Leeming  <leeming@lyx.org>
2307
2308         * lfuns.h:
2309         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2310         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2311
2312         * lyxfunc.C (getStatus, dispatch): define the actions for these
2313         lfuns. Little more than a cut and pste job from ControlDocument.C
2314
2315         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2316
2317 2004-03-30  Angus Leeming  <leeming@lyx.org>
2318
2319         * lfuns.h:
2320         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2321         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2322
2323         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2324         open/closed state of ollapsable insets. Usage:
2325
2326         all-inset-toggle <state> <name>, where
2327         <state> == "open" || "closed" || "toggle" and
2328         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2329
2330         * lyxtext.h, text2.C (toggleInset): removed.
2331
2332         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2333         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2334         now passes LFUN_INSET_TOGGLE to the found inset.
2335
2336         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2337         is now invoked as "all-insets-toggle toggle branch".
2338
2339 2004-03-30  Angus Leeming  <leeming@lyx.org>
2340
2341         * dociterator.C:
2342         * insetiterator.C:
2343         * pariterator.[Ch]: added/corrected header blurb.
2344
2345 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * dociterator.[Ch]: add an inset_ member
2348         (backwardPos): implemented
2349         (backwardPos, forwardPos): use inset_ when the stack is empty.
2350         (doc_iterator_begin, doc_iterator_end): implemented
2351         * pariterator.[Ch]: adjust, add begin, end
2352         * insetiterator.[Ch]: adjust, add begin, end
2353         * cursor.C:
2354         * document.C:
2355         * BufferView.C:
2356         * BufferView_pimpl.C:
2357         * CutAndPaste.C: adjust
2358
2359 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2360
2361         * buffer.C: increment file format to 232.
2362         * LaTeXFeatures.C: add bibtopic package.
2363         * bufferparams.[Ch]: param \use_bibtopic.
2364
2365         * lyxrc.[Ch]: add lyxrc bibtex_command
2366         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2367
2368         * buffer.C: increment file format to 231.
2369
2370 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * dociterator.C: implement forwardPar
2373         * iterators.[Ch]: remove, replaced by
2374         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2375         * BufferView.C:
2376         * BufferView_pimpl.C:
2377         * CutAndPaste.C:
2378         * buffer.C:
2379         * bufferview_funcs.C:
2380         * cursor.C:
2381         * lyxfind.C
2382         * lyxfunc.C
2383         * paragraph_funcs.C
2384         * toc.C:
2385         * Makefile.am: adjust
2386
2387 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * CutAndPaste.C (pasteSelection): fix 2 crashes
2390         (eraseSelection): fix a crash
2391         * paragraph_funcs.C: remove a warning
2392
2393 2004-03-28  Angus Leeming  <leeming@lyx.org>
2394
2395         * lfuns.h:
2396         * LyXAction.C (init): new LFUN_PRINT.
2397
2398         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2399
2400 2004-03-27  Angus Leeming  <leeming@lyx.org>
2401
2402         * lfuns.h:
2403         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2404
2405         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2406
2407 2004-03-27  Angus Leeming  <leeming@lyx.org>
2408
2409         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2410         insetlist always contains non-null pointers to insets.
2411
2412 2004-03-26  Angus Leeming  <leeming@lyx.org>
2413
2414         * src/BufferView_pimpl.C:
2415         * src/CutAndPaste.C:
2416         * src/buffer.C:
2417         * src/iterators.C:
2418         * src/output_plaintext.C:
2419         * src/outputparams.h:
2420         * src/paragraph_funcs.C:
2421         * src/rowpainter.C:
2422         * src/text.C:
2423         * src/text2.C:
2424         * src/frontends/controllers/ControlErrorList.C:
2425         * src/frontends/gtk/FileDialogPrivate.C:
2426         * src/frontends/gtk/GPainter.C:
2427         * src/frontends/gtk/GToolbar.C:
2428         * src/frontends/qt2/QRef.C:
2429         * src/mathed/math_scriptinset.C: squash compiler warnings.
2430
2431 2004-03-26  Angus Leeming  <leeming@lyx.org>
2432
2433         * ispell.C (LaunchIspell::start):
2434         * lyx_cb.C (AutoSaveBuffer::start):
2435         invoke run(DontWait) rather than runNonBlocking().
2436
2437 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2438
2439         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2440
2441 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * kbsequence.C (print): adjust
2444
2445         * kbmap.C (printKeySym): rename and change signature
2446         (printKey): use LyXKeySym::print()
2447
2448 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2449
2450         * undo.C: add using std::advance to compile for stlport
2451
2452 2004-03-24  Angus Leeming  <leeming@lyx.org>
2453
2454         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2455         it leads to a crash when no buffer is present.
2456
2457 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458             Martin Vermeer  <martin.vermeer@hut.fi>
2459
2460         * lyxfunc.C (dispatch):
2461         * bufferparams.C (readToken): use the new LColor::setColor
2462
2463         * LColor.[Ch] (setColor): new version that takes two strings as
2464         argument and creates a new color entry if necessary
2465
2466 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2467
2468         * buffer.C (makeLaTeXFile): if the main latex file that is
2469         processed is usually a subdocument of some master, then pretend
2470         for a while that it is actually the master
2471
2472 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2473
2474         * buffer.C (getLabelList):
2475         (getBibkeyList): use getMasterBuffer()
2476         (getMasterBuffer): new method. Returns the main document in the
2477         case where one is using included documents.
2478
2479 2004-03-25  André Pönitz  <poenitz@gmx.net>
2480
2481         * Makefile.am:
2482         * iterators.[Ch]:
2483         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2484
2485         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2486
2487         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2488         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2489
2490         * ParameterStruct.h: merge with ParagraphParameters
2491
2492         * lyxtext.h: remove LyXText::parOffset() and getPar()
2493
2494         * text3.C: Remove all 'manual' update calls. We do now one per user
2495         interaction which is completely sufficient.
2496
2497         * Bidi.C:
2498         * BufferView.[Ch]:
2499         * BufferView_pimpl.C:
2500         * FontIterator.[Ch]:
2501         * MenuBackend.C:
2502         * ParagraphParameters.[Ch]:
2503         * buffer.C:
2504         * buffer.h:
2505         * bufferlist.C:
2506         * cursor.[Ch]:
2507         * cursor_slice.[Ch]:
2508         * dociterator.[Ch]:
2509         * errorlist.[Ch]:
2510         * factory.C:
2511         * lfuns.h:
2512         * lyxfind.C:
2513         * lyxfunc.C:
2514         * output_docbook.[Ch]:
2515         * output_latex.[Ch]:
2516         * output_linuxdoc.[Ch]:
2517         * output_plaintext.[Ch]:
2518         * paragraph.[Ch]:
2519         * paragraph_funcs.[Ch]:
2520         * paragraph_pimpl.[Ch]:
2521         * rowpainter.C:
2522         * tabular.[Ch]:
2523         * text.C:
2524         * text2.C:
2525         * toc.C:
2526         * undo.[Ch]: adjust
2527
2528         * frontends/controllers/ControlDocument.C:
2529         * frontends/controllers/ControlErrorList.C:
2530         * frontends/controllers/ControlSpellchecker.C:
2531         * insets/inset.C:
2532         * insets/inset.h:
2533         * insets/insetbase.h:
2534         * insets/insetbibitem.C:
2535         * insets/insetbox.C:
2536         * insets/insetbranch.C:
2537         * insets/insetcaption.C:
2538         * insets/insetcharstyle.C:
2539         * insets/insetcharstyle.h:
2540         * insets/insetcollapsable.C:
2541         * insets/insetcollapsable.h:
2542         * insets/insetert.C:
2543         * insets/insetfloat.C:
2544         * insets/insetfoot.C:
2545         * insets/insetmarginal.C:
2546         * insets/insetnote.C:
2547         * insets/insetoptarg.C:
2548         * insets/insettabular.C:
2549         * insets/insettext.C:
2550         * insets/insettext.h:
2551         * insets/insetwrap.C:
2552         * mathed/math_mboxinset.C:
2553         * mathed/math_nestinset.C:
2554         * mathed/math_scriptinset.C:
2555         * mathed/math_scriptinset.h:
2556         * support/types.h:
2557
2558 2004-03-24  Angus Leeming  <leeming@lyx.org>
2559
2560         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2561         deal with any child processes that have finished but are waiting to
2562         communicate this fact to the rest of LyX.
2563
2564 2004-03-24  Angus Leeming  <leeming@lyx.org>
2565
2566         64-bit compile fixes.
2567
2568         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2569         (c-tor): pass lyx::pos_types rather than ints.
2570
2571         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2572         lyx::pos_type.
2573
2574         * text.C (Delete): compile fix.
2575         (getPar): ensure that function declaration is the same as that in
2576         the header file.
2577
2578 2004-03-23  Angus Leeming  <leeming@lyx.org>
2579
2580         * ispell.C (LaunchIspell):
2581         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2582         a boost::shred_ptr rather than a std::auto_ptr.
2583
2584 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2585
2586         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2587         handle LFUN_FILE_INSERT_*
2588
2589         * lyxrc.C (setDefaults, getDescription, output, read):
2590         * lyxrc.h: remove ps_command
2591
2592 2004-03-22  Angus Leeming  <leeming@lyx.org>
2593
2594         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2595         Ensure that error_handler is processed once only and that all data
2596         is saved before attempting to output any warning messages.
2597
2598         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2599
2600 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2603
2604 2004-03-19  André Pönitz  <poenitz@gmx.net>
2605
2606         * cursor.[Ch] (reset): take main text inset as argument
2607
2608         * BufferView: adjust
2609         * BufferView_pimpl.C: adjust
2610
2611         * paragraph.[Ch]: fix completely broken operator=()
2612
2613 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * LColor.C (getFromLyXName): make sure that the color name is used
2616         as lowercase.
2617
2618 2004-03-17  Angus Leeming  <leeming@lyx.org>
2619
2620         * lfuns.h:
2621         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2622
2623         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2624         dialog and to kill a forked process.
2625
2626 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * text2.C (setCursorFromCoordinates): fix font problem
2629
2630 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2633         bogus "rebuild cursor" code
2634
2635 2004-03-11  André Pönitz  <poenitz@gmx.net>
2636
2637         * buffer.[Ch]: use InsetText instead of LyXText as container for
2638         the main lyx text.
2639
2640         * dociterator.[Ch]: drop the BufferView * member which is not needed
2641         anymore after the change to buffer.C
2642
2643         * paragraph_funcs.C:
2644         * text.C:
2645         * text2.C:
2646         * BufferView.[Ch]:
2647         * BufferView_pimpl.[Ch]:
2648         * cursor.[Ch]:
2649         * cursor_slice.[Ch]: adjust
2650
2651         * text3.C: fix bug in mathDispatch
2652
2653 2004-03-08  André Pönitz  <poenitz@gmx.net>
2654
2655         * undo.[Ch]: use 'StableDocumentIterator' as base for
2656         the Undo struct.
2657
2658 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2659
2660         * LaTeXFeatures.C:
2661         * bufferparams.[Ch]: add jurabib support and param.
2662
2663         * LaTeX.C: add FIXME/comment.
2664
2665 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2666
2667         * buffer.C: increment file format to 230.
2668
2669 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2670
2671         * cursor.C (dispatch): avoid infinite loops
2672
2673 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2674
2675         * rowpainter.C (paintSelection): fix x coordinates
2676
2677 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2678
2679         * text.C (rowBreakPoint): fix breaking before displayed insets
2680
2681 2004-03-01  André Pönitz  <poenitz@gmx.net>
2682
2683         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2684
2685         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2686
2687         * Makefile.am:
2688         * BufferView.C:
2689         * BufferView_pimpl.C:
2690         * buffer.C:
2691         * lyxfind.C:
2692         * lyxfunc.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C: adjust
2696
2697 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * lyxtext.h:
2700         * text.C:
2701         * text2.C:
2702         * rowpainter.C:
2703         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2704         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2705
2706 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * Bidi.[Ch] (computeTables): const correctness
2709         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2710         fill_hfill, fill_label_hfill and x from Row
2711         * lyxtext.h: prepareToPrint returns a RowMetrics
2712         * rowPainter.C: adjust
2713         * text.C (prepareToPrint): use width, not textWidth. adjust
2714         (redoParagraphInternal, cursorX): adjust
2715         * text2.C (getColumnNearX): adjust
2716         (init): put a default value to the top LyXText::width
2717
2718 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2719
2720         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2721
2722 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * lyxtext.h: add FontIterator class
2725
2726         * text.C (FontIterator, operator*, operator->, operator++): add
2727         (rowBreakPoint, setRowWidth): adjust (fixing a
2728         rebreaking bug)
2729
2730 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         * BufferView_pimpl.C (workAreaDispatch): allow also
2733         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2734
2735 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * text.C (rowBreakPoint): fix a bug showing with very large insets
2738
2739 2004-02-25  André Pönitz  <poenitz@gmx.net>
2740
2741         * text3.C:
2742         * cursor.[Ch]: move some mathed specific code to mathed
2743
2744 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2745
2746         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2747         use_tempdir in preferences
2748         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2749         tempfile creation
2750         * lyx_main.C: ensure that tempdir is valid
2751         * lyxlex.h: correct typo
2752         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2753         * paragraph.[Ch] (isMultiLingual): make const
2754         * cursor.[Ch] (openable): make const
2755
2756 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2757
2758         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2759
2760 2004-02-20  André Pönitz  <poenitz@gmx.net>
2761
2762         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2763
2764         * cursor.[Ch]: prepare for localized getStatus()
2765
2766         * lyxtext.h:
2767         * tabular.C:
2768         * text.C:
2769         * text2.C:
2770         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2771
2772 2004-02-20  André Pönitz  <poenitz@gmx.net>
2773
2774         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2775
2776 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * text2.C (setCursorFromCoordinates): switch to absolute coords
2779         (cursorUp): adjust
2780         (cursorDown): adjust
2781         * text3.C (dispatch): adjust
2782
2783 2004-02-16  André Pönitz  <poenitz@gmx.net>
2784
2785         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2786           insets/ChangeLog)
2787
2788         * cursor_slice.[Ch]: remove unneeded acessor function
2789
2790         * lyxtext.h: rename rtl() to isRTL()
2791
2792         * rowpainter.C:
2793         * tabular.C:
2794         * text.C:
2795         * text2.C:
2796         * text3.C: adjust
2797
2798 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2799
2800         * rowpainter.C (paintSelection): coord fix
2801
2802 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2803
2804         * Spacing.C: compile fix
2805
2806 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2807
2808         * cursor.C (dispatch): restore current_ before returning
2809
2810 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2811
2812         * text2.C (cursorUp, cursorDown): fix coords
2813         (moveUp): fix crash
2814
2815 2004-02-12  André Pönitz  <poenitz@gmx.net>
2816
2817         * lyxtext.h:
2818         * text.C:
2819         * text2.C:
2820         * text3.C: add LCursor & parameter to most cursor movement functions
2821           remove usage of LyXText::cursorRow() and cursorPar()
2822
2823         * cursor.[Ch]: add textRow() needed members
2824
2825         * BufferView.C:
2826         * BufferView_pimpl.C:
2827         * paragraph.[Ch]:
2828         * BufferView.C:
2829         * BufferView_pimpl.C: adjust
2830
2831 2004-02-11  André Pönitz  <poenitz@gmx.net>
2832
2833         * lyxfunc.C:
2834         * BufferView.[Ch]:
2835         * BufferView_pimpl.C: shift undo/redo handling
2836
2837         * cursor.[Ch]: fix mathed crash
2838
2839         * lyxfind.C:
2840         * lyxtext.h: move selectionAsText to LCursor
2841
2842         * output_latex.C:
2843         * paragraph.C:
2844         * text.C:
2845         * text2.C:
2846         * text3.C: adjust
2847
2848         * rowpainter.C: fix excessive drawing
2849
2850 2004-02-06  André Pönitz  <poenitz@gmx.net>
2851
2852         * BufferView.[Ch]:
2853         * BufferView_pimpl.[Ch]:
2854         * text3.C: move some text specific LFUN handling
2855
2856 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * text3.C (checkInsetHit): adjust coords
2859         * text2.C (getColumnNearX): adjust coords
2860         (edit): adjust coords
2861         * text.C (getRowNearY): add two asserts
2862
2863 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2864
2865         * converter.C:
2866         * format.C: add using std::distance to compile on gcc 2.95/stlport
2867
2868 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2869
2870         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2871
2872 2004-02-04  André Pönitz  <poenitz@gmx.net>
2873
2874         * BufferView.[Ch] (insertInset):
2875         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2876
2877         * text2.C:
2878         * text3.C: adjust
2879
2880 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2883         on the default clause of the switch
2884         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2885         wasn't catched by LCursor::dispatch
2886
2887 2004-02-03  André Pönitz  <poenitz@gmx.net>
2888
2889         * BufferView.C:
2890         * cursor.[Ch]: some additional asserts
2891
2892         * undo.[Ch]: remove LyXText dependency in interface
2893
2894         * lyxfunc.C: adjust
2895
2896         * lyxtext.h (firstPar, lastPar): remove dead functions
2897
2898         * text.C:
2899         * text2.C:
2900         * text3.C:
2901         * paragraph.[Ch]: adjust
2902
2903 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2904
2905         * lyxfind.C (find): fix argument order in call to ::find
2906
2907 2004-02-02  André Pönitz  <poenitz@gmx.net>
2908
2909         * cursor.[Ch]: remove direct access to anchor
2910
2911         * text.C: remove findText() hack
2912
2913 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * iterators.[Ch] (lockPath): remove in favour of...
2916         * BufferView.[Ch] (setCursor): this addition
2917         * BufferView.C (putSelectionAt): adjust
2918         * undo.C (performUndoOrRedo): adjust
2919         * lyxfunc.C (dispatch): adjust
2920
2921 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * iterators.C (lockPath): add a missing slice
2924         * undo.C (performUndoOrRedo): remove redundant positioning code
2925
2926 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2927
2928         * vc-backend.C (scanMaster): ";" -> ';'
2929
2930 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2931
2932         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2933         std::binary_function
2934
2935         * lyxtextclass.C (compare_name): rename to...
2936         (LayoutNamesEqual): ...this
2937
2938         * lyxlex_pimpl.C (compare_tags): inherit from
2939         std::binary_function, put back into anon namespace
2940
2941         * lyxfind.C (MatchString): inherig from std::binary_function
2942         (findChange): use empty() istead of !size()
2943
2944         * format.C (FormatNamesEqual): new functor
2945         (getFormat): use it
2946         (getNumber): use it
2947         (add): use it
2948         (erase): use it
2949         (setViewer): use it
2950
2951         * converter.C (compare_Converter): rename to...
2952         (ConverterEqual): ...this, and fixup a bit.
2953         (getConverter): use it, and make function const
2954         (getNumber): use it, and make function const
2955         (add): use it
2956         (erase): use it:
2957
2958         * bufferlist.C: add using boost::bind
2959
2960         * MenuBackend.C (MenuNamesEqual): new functor
2961         (hasMenu): use it, and make function const
2962         (hasSubmenu): use nested bind to get rid of compare_memfun.
2963
2964 2004-01-30  André Pönitz  <poenitz@gmx.net>
2965
2966         * BufferView_pimpl.C:
2967         * cursor.C:
2968         * cursor.h:
2969         * cursor_slice.[Ch]:
2970         * lyxfunc.C:
2971         * lyxtext.h:
2972         * paragraph_funcs.C:
2973         * paragraph_funcs.h:
2974         * rowpainter.C:
2975         * text.C:
2976         * text2.C:
2977         * text3.C: move some of the edit(x,y) handling to the insets
2978         some coordinate changes.
2979
2980 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2981
2982         * text.C: add using statements for std::advance and std::distance
2983
2984         * paragraph.C: add using statement for std::distance
2985
2986         * lyxfind.C: add using statement for std::advance
2987
2988         * cursor.C (region): remove std:: from swap
2989         (openable): use nucleus in stead of operator->
2990
2991         * BufferView.C: add using statements for std::distance and std::swap
2992
2993 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2994
2995         * iterators.C: Remove the pimple, move the needed structures to
2996         the header file. Create accessor for the positions stack.
2997         (asPosIterator): remove function
2998
2999         * PosIterator.C (PosIterator): move constructors to top of file
3000         (PosIterator): reimplement the constructor taking a ParIterator in
3001         terms of setFrom.
3002         (setFrom): new function
3003         (operator!=): inline it
3004
3005 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3006
3007         * lyxfind.C (replaceAll): use std::advance
3008
3009         * iterators.h: inherit from std::iterator.
3010
3011         * PosIterator.C (advance, distance): remove
3012         * PosIterator.h: interit from std::iterator.
3013
3014 2004-01-26  André Pönitz  <poenitz@gmx.net>
3015
3016         * BufferView.[Ch]:
3017         * BufferView_pimpl.[Ch]:
3018         * InsetList.[Ch]:
3019         * PosIterator.[Ch]:
3020         * buffer.h:
3021         * bufferview_funcs.C:
3022         * cursor.[Ch]:
3023         * cursor_slice.h:
3024         * factory.[Ch]:
3025         * iterators.[Ch]:
3026         * lyxfind.C:
3027         * lyxfunc.C:
3028         * lyxtext.h:
3029         * output_docbook.C:
3030         * output_latex.C:
3031         * output_linuxdoc.C:
3032         * output_plaintext.C:
3033         * paragraph.[Ch]:
3034         * paragraph_funcs.[Ch]:
3035         * paragraph_pimpl.[Ch]:
3036         * rowpainter.C:
3037         * tabular.C:
3038         * tabular.h:
3039         * text.C:
3040         * text2.C:
3041         * text3.C: more IU:  dumps most of the rest of the mathcursor
3042     implementation into cursor.[Ch]; "globalize" a bit of it.
3043
3044 2004-01-25  Angus Leeming  <leeming@lyx.org>
3045
3046         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3047
3048 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3049
3050         * LaTeXFeatures.h: add nice_ and nice() const
3051         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3052
3053 2004-01-20  André Pönitz  <poenitz@gmx.net>
3054
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.C:
3057         * PosIterator.C:
3058         * bufferview_funcs.C:
3059         * cursor.[Ch]:
3060         * cursor_slice.[Ch]:
3061         * factory.C:
3062         * iterators.C:
3063         * lyx_cb.C:
3064         * lyxfind.C:
3065         * lyxfunc.C:
3066         * lyxtext.h:
3067         * rowpainter.C:
3068         * text.C:
3069         * text2.C:
3070         * text3.C:
3071         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3072           LCursor and mathcursor parts to LCursor and InsetBase.
3073
3074 2004-01-15  André Pönitz  <poenitz@gmx.net>
3075
3076         * cursor_slice.[Ch]: add a few covienience functions
3077
3078         * funcrequest.[Ch]: remove BufferView * member
3079
3080         * BufferView_pimpl.C:
3081         * cursor.C:
3082         * factory.[Ch]:
3083         * lyxfind.[Ch]:
3084         * lyxfunc.C:
3085         * lyxtext.h:
3086         * text3.C:
3087         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3088
3089 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3092         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3093
3094 2004-01-13  André Pönitz  <poenitz@gmx.net>
3095
3096         * textcursor.[Ch]:
3097         * lyxtext.h: hide cursor and selection anchor behind accessor function
3098
3099         * BufferView.C:
3100         * BufferView_pimpl.[Ch]:
3101         * PosIterator.C:
3102         * bufferview_funcs.C:
3103         * cursor.h:
3104         * lyxfind.C:
3105         * lyxfunc.C:
3106         * text.C:
3107         * text2.C:
3108         * text3.C:
3109         * undo.C: adjust
3110
3111         * cursor.h:
3112         * cursor_slice.[Ch]: some integer type changes for inset unification
3113
3114         * lyxcursor.[hC]: remove, it's CursorSlice now.
3115
3116         * Makefile.am:
3117         * BufferView_pimpl.[Ch]:
3118         * bufferview_funcs.C:
3119         * cursor_slice.C:
3120         * lyxtext.h:
3121         * text.C:
3122         * text2.C:
3123         * text3.C:
3124         * textcursor.[Ch]: adjust
3125
3126 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * text2.C (undoSpan): add and use
3129         * text.C (breakParagraph): use undoSpan (fix bug 578)
3130         * lyxtext.h: adjust
3131
3132 2004-01-08  Angus Leeming  <leeming@lyx.org>
3133
3134         * BufferView_pimpl.C (MenuInsertLyXFile):
3135         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3136         * lyxfunc.C (menuNew, open, doImport):
3137         FileFilterList change to the FileDialog open and save functions.
3138
3139 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3140
3141         * ShareContainer.h: make isEqual and isUnique adaptable
3142
3143         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3144
3145 2004-01-07  Angus Leeming  <leeming@lyx.org>
3146
3147         * LyXAction.C:
3148         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3149
3150         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3151
3152         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3153         functions replacing find, replace and replaceAll.
3154
3155         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3156         LFUN_WORDFIND(FORWARD|BACKWARD).
3157
3158 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * text.C (breakParagraph): remove an outdated #warning
3161
3162 2004-01-07  André Pönitz  <poenitz@gmx.net>
3163
3164         * lyxfind.C: somewhat clearer logic
3165
3166         * text.C: prevent crash in cursorX on unitialized row cache
3167
3168 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3169
3170         * lyxcursor.[Ch] (operator>): add
3171         * textcursor.C (selStart, selEnd): use std::min and std::max
3172
3173 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3174
3175         * Chktex.C: include boost/format.hpp
3176
3177 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3178
3179         * InsetList.C: replace functor MathcIt with adaptable functor
3180         InsetTablePosLess
3181         (insetIterator): modify accordingly
3182
3183         * BranchList.h: move the BranchNamesEqual functor here from...
3184         * BranchList.C: ... to here
3185
3186         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3187         SameName and match.
3188         (add): replace a finding loop with std::find_if.
3189
3190 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * output_docbook.C: moving LatexParam functionality into
3193         .layout files
3194
3195 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3196
3197         * buffer.C: increment format to 229.
3198
3199 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3200
3201         * LaTeXFeatures.C:
3202         * lyx_sty.[Ch]: remove minipageindent_def
3203
3204         * LyXAction.C:
3205         * factory.C:
3206         * lfuns.h:
3207         * lyxfunc.C:
3208         * text3.C: remove LFUN_INSET_MINIPAGE
3209
3210 2003-12-28  Angus Leeming  <leeming@lyx.org>
3211
3212         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3213
3214 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * text2.C (setParagraph): fix off-by-one crash
3217
3218 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * output_docbook.C: header stuff for AGU
3221
3222 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * text2.C (redoCursor): remove
3225         * text.C:
3226         * text3.C:
3227         * BufferView_pimpl.C: remove calls to redoCursor and
3228         setCursor(cursor.par(), cursor.pos()) all around
3229
3230 2003-12-15  Angus Leeming  <leeming@lyx.org>
3231
3232         * buffer.C: up the format to 228.
3233
3234 2003-12-15  André Pönitz  <poenitz@gmx.net>
3235
3236         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3237         slices
3238
3239         * Makefile.am:
3240
3241         * BufferView_pimpl.C:
3242         * cursor.[Ch]:
3243         * lyxcursor.[Ch]:
3244         * rowpainter.[Ch]:
3245         * lyxtext.h:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: adjust
3249
3250 2003-12-15  Angus Leeming  <leeming@lyx.org>
3251
3252         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3253         than getFromGUIName to manipulate the color.
3254
3255 2003-12-14  Angus Leeming  <leeming@lyx.org>
3256
3257         * BranchList.[Ch]: minimize the API.
3258         (Branch::getBranch, getColor): now return a 'const &'.
3259         (Branch::setSelected) now returns a bool set to true if the
3260         selection status changes.
3261         (BranchList::clear, size, getColor, setColor, setSelected,
3262         allBranches, allSelected, separator): removed.
3263         (BranchList::find): new functions, returning the Branch with
3264         the given name.
3265         (BranchList::add, remove): return a bool indicating that
3266         the operation was successful.
3267
3268         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3269         new InsetBranch::isBranchSlected member function.
3270
3271         * LColor.[Ch]: mimimize the API.
3272         (fill): renamed as addColor and made private.
3273         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3274         versions of these functions taking a string arg have been removed.
3275
3276         * bufferparams.C (readToken):
3277         * lyxfunc.C (dispatch):
3278         * lyxrc.C (read): changes due to the altered BranchList and
3279         LColor APIs.
3280
3281         * factory.C (createInset, readInset): changes due to altered
3282         InsetBranch c-tor.
3283
3284 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3285
3286         * factory.C:
3287         * lyxfunc.C: remove insetminipage. "minipage-insert"
3288         now produces a frameless minipage box inset.
3289
3290 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * textcursor.[Ch] (selStart,selEnd): add new methods
3293         remove selection::start, end, use LyXCursor::operator<
3294         * lyxcursor.[Ch] (operator<): add
3295         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3296         * BufferView.[Ch] (unsetXSel): add
3297         * text2.C (clearSelection): use unsetXSel,adjust
3298         * text.C: adjust
3299         * text3.C: adjust
3300         * rowpainter.C: adjust
3301         * bufferview_funcs.C (put_selection_at): adjust
3302
3303 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * BufferView_pimpl.C: small coord. correction
3306
3307 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3310         dragging over the splash screen.
3311
3312 2003-12-11  Angus Leeming  <leeming@lyx.org>
3313
3314         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3315         as it is now handled in LyXText::dispatch.
3316
3317         * text3.C (doInsertInset): remove a level of nesting.
3318
3319 2003-12-11  Angus Leeming  <leeming@lyx.org>
3320
3321         * factory.C (createInset): changes due to the changed interface to
3322         InsetCommandMailer::string2params.
3323
3324 2003-12-10  Angus Leeming  <leeming@lyx.org>
3325
3326         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3327         'dialog-show-new-inset <inset name>'
3328
3329 2003-12-10  Angus Leeming  <leeming@lyx.org>
3330
3331         * buffer.C: up the format to 227.
3332
3333         * factory.C: the box inset is now identified simply by 'Box'.
3334
3335 2003-12-10  Angus Leeming  <leeming@lyx.org>
3336
3337         * buffer.C: up the format to 226.
3338
3339         * factory.C: the note inset is now identified simply by 'Note'.
3340
3341 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3344         when a pit is enough. Standarize a couple of loops.
3345
3346 2003-12-05  Angus Leeming  <leeming@lyx.org>
3347
3348         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3349         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3350         data to the re-worked "log" dialog.
3351
3352 2003-12-03  André Pönitz  <poenitz@gmx.net>
3353
3354         * PosIterator.C:
3355         * iterators.C:
3356         * lyxtext.h:
3357         * output_latex.C:
3358         * paragraph_funcs.C:
3359         * text.C:
3360         * text2.C: use Inset::getText instead of Inset::getParagraph
3361
3362 2003-12-03  André Pönitz  <poenitz@gmx.net>
3363
3364         * buffer.[Ch]:
3365         * lyxtext.h:
3366         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3367         InsetText::read() as LyXText::read()
3368
3369 2003-12-02  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3372         type. Add a comment in the implementation that the function uses
3373         the stream's bad() function rather than fail() as the std::streams
3374         would do.
3375
3376 2003-12-02  André Pönitz  <poenitz@gmx.net>
3377
3378         * lyxlex.[Ch]: make interface more similar to std::stream
3379
3380         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3381
3382 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3383
3384         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3385
3386 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3387
3388         * vspace.[Ch]: remove VSpace::NONE
3389
3390 2003-12-01  André Pönitz  <poenitz@gmx.net>
3391
3392         * buffer.[Ch]:
3393         * lyxtext.h: move ParagraphList member to LyXText
3394         rename LyXText::ownerParagraphs to LyXText::paragraph
3395
3396         * CutAndPaste.C:
3397         * bufferview_funcs.C:
3398         * iterators.[Ch]:
3399         * lyx_cb.C:
3400         * paragraph.C:
3401         * rowpainter.C:
3402         * tabular.C:
3403         * text.C:
3404         * text2.C:
3405         * text3.C: adjust
3406
3407         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3408
3409         * undo.C: fix cursor positioning
3410
3411 2003-12-01  John Levon  <levon@movementarian.org>
3412
3413         * BufferView_pimpl.C: fix a crash on exit with
3414         a buffer open
3415
3416 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3417
3418         * BranchList.C: fix setSelected() method.
3419
3420 2003-11-28  André Pönitz  <poenitz@gmx.net>
3421
3422         * ParagraphParameters.[Ch]:
3423         * ParameterStruct.h: remove space above/below from Paragraph to
3424          InsetVSpace
3425
3426         * BufferView_pimpl.C:
3427         * factory.C:
3428         * lyxfunc.C:
3429         * lyxtext.h:
3430         * output_latex.C:
3431         * paragraph.C:
3432         * paragraph_funcs.C:
3433         * rowpainter.[Ch]:
3434         * text.C:
3435         * text2.C:
3436         * text3.C: adjust
3437
3438 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3439
3440         * factory.C: Syntax change for CharStyles
3441
3442 2003-11-28  André Pönitz  <poenitz@gmx.net>
3443
3444         * BufferView.[Ch]:
3445         * BufferView.[Ch]:
3446         * buffer.[Ch]:
3447         * buffer.[Ch]: move LyXText member
3448
3449 2003-11-28  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView.[Ch]: make LyXText * text a private member
3452
3453         * BufferView_pimpl.C:
3454         * cursor.C:
3455         * iterators.C:
3456         * lyx_cb.C:
3457         * lyxfind.C:
3458         * lyxtext.h:
3459         * rowpainter.[Ch]:
3460         * text.C:
3461         * text2.C:
3462         * undo.C: adjust
3463
3464         * output_plaintext.C: cleanup
3465
3466 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3467
3468         * buffer.C:
3469         * lyxtextclass.[Ch]: parametrize SGML document header
3470
3471 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3472
3473         * converter.[Ch]:
3474         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3475         getFlavor().
3476
3477 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3478
3479         * text2.C (setFont): rework using PosIterator (no more recursive)
3480         (setCharFont): no more needed
3481         (setLayout): no more selection cursors fiddling (done by redoCursor)
3482         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3483         destroy remaining ones)
3484
3485 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3486
3487         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3488         * lyxtext.h: ditto
3489         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3490         selection cursors
3491         * lyxfunc.C: adjust
3492         * text3.C: adjust + re-allow multi par depth changes
3493         * textcursor.C: simplify a bit
3494
3495 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * src/buffer.C:
3498         * src/lyxlayout.C:
3499         * src/lyxlayout.h:
3500         * src/lyxtext.h:
3501         * src/output_docbook.C:
3502         * src/output_latex.C:
3503         * src/paragraph.C:
3504         * src/paragraph.h:
3505         * src/sgml.C:
3506         * src/sgml.h:
3507         * src/text2.C: Introducing a number of tags parametrizing various
3508         XML formats that we may want to support
3509
3510 2003-11-25  André Pönitz  <poenitz@gmx.net>
3511
3512         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3513
3514         * lyxtext.h (leftMargin/rightMargin): simplify interface
3515
3516         * rowpainter.C:
3517         * text.C:
3518         * text2.C:
3519         * text3.C: adjust
3520
3521 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3522
3523         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3524         master file to any child files. Fixes bug 546.
3525
3526 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3529
3530 2003-11-24  André Pönitz  <poenitz@gmx.net>
3531
3532         * rowpainter.C: simplification
3533
3534         * text2.C (updateCounters): remove call to redoParagraph on
3535         changed labels as this is far too expensive.
3536
3537 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3538
3539         * converter.C (convert): fix a crash: this function gets
3540         called with buffer == 0 from importer code.
3541
3542 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3543
3544         * text3.C (cursorPrevious): make sure that we do not compare
3545         iterators form different containers.
3546         (cursorNext): ditto
3547
3548         * rowpainter.C (paintSelection): make sure that we do not compare
3549         iterators from different containers.
3550
3551         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3552         iterators from different ParagraphList containers.
3553         [NEXT] ditto
3554
3555         * text2.C (LyXText): change order of initialization slightly
3556         (operator=): new function. copy all variables except cache_par_
3557         (moveUp): make sure that we do not compare iterators from
3558         different ParagraphList constainers.
3559         (moveDown): ditto
3560
3561         * text.C (firstPar): new function
3562         (lastPar): new function
3563         (endPar): new function
3564
3565         * lyxtext.h: move things around and group public functions, public
3566         variables, private functions, private variables
3567
3568 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3569
3570         * factory.C: change call to InsetERT constructor to avoid
3571         additional invocation of method status
3572         * text2.C (toggleInset): remove redundant update() call
3573         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3574         instead of a Bufferview pointer
3575
3576 2003-11-21  André Pönitz  <poenitz@gmx.net>
3577
3578         * rowpainter.C: simplification
3579
3580 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * text3.C (dispatch): make possible to extend a word/row selection
3583         with the mouse
3584
3585 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3586
3587         * lyxtext.h: x0_,y0_ -> xo_,yo_
3588         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3589         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3590         * rowpainter.C (paintRows): paint full paragraphs
3591
3592 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3595         screen coordinates)
3596
3597 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * lyxtext.h: add x0_, y0_
3600         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3601         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3602
3603 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * text2.C (setCursorIntern): move the x_target update here *
3606         * text3.C: change some bv() to true/false in calls to
3607         cursorUp/Down/Right/Left
3608         * cursor.C: use helper function.
3609
3610 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3611
3612         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3613         * paragraph_funcs.[Ch]: correct comment
3614         * rowpainter.C: do not paint selections away from bv->cursor()
3615         Fix a long standing selection painting bug.
3616         * text3.C: generalize mouse-selection code to LyXTexts other that
3617         top one
3618         * textcursor.C: do not use y coords if we can use par offsets
3619
3620 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3623         cursor position after e.g. inset insert)
3624
3625 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * lyxfind.C (replace): adjust to locking removal + some
3628         code simplification
3629
3630 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3631
3632         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3633         of the path
3634
3635 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3636
3637         * lyxlayout.[Ch]:
3638         * output_docbook.C: XML sanitation: new layout
3639         parameters InnerTag and CommandDepth
3640
3641 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3642
3643         * BufferView_pimpl.C:
3644         * factory.C:
3645         * text3.C: Fix the insertion and modification of button-style
3646         insets
3647
3648 2003-11-13  André Pönitz  <poenitz@gmx.net>
3649
3650         * InsetList.[Ch]: remove deleteLyXText
3651
3652         * paragraph.[Ch]: cache beginOfBody position
3653
3654         * Bidi.C:
3655         * text.C:
3656         * text2.C:
3657         * text3.C: remove superfluous update() calls
3658
3659         * vspace.C: cleanup
3660
3661 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3662
3663         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3664         * BufferView.C (fitLockedInsetCursor): remove
3665         * cursor.[Ch] (getDim): add
3666         * text.C (getRowNearY): add faster version
3667         * text3.C: remove some update calls
3668
3669 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3670
3671         * LaTeXFeatures.C:
3672         * LyXAction.C:
3673         * MenuBackend.C:
3674         * MenuBackend.h:
3675         * dispatchresult.h:
3676         * factory.C:
3677         * lfuns.h:
3678         * lyxfunc.C:
3679         * lyxtextclass.C:
3680         * lyxtextclass.h:
3681         * text3.C: The Character Style /XML short element patch.
3682
3683 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3684
3685         * text3.C:
3686         * factory.C: Small step to solving 'unable to insert some insets'
3687         problem
3688
3689 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3690
3691         * cursor.[Ch] (updatePos): new function for updating the y
3692         position of the tip inset
3693         * bufferview_funcs.C (put_selection_at):
3694         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3695
3696 2003-11-11  André Pönitz  <poenitz@gmx.net>
3697
3698         * text.C: remove big comment on invalid Paragraph pointers as it is
3699         not valid anymore
3700
3701 2003-11-11  André Pönitz  <poenitz@gmx.net>
3702
3703         * text_funcs.[Ch]: merge with ...
3704
3705         * text.C: ... this
3706
3707         * lyxtext.h:
3708         * text2.C:
3709         * text3.C: adjust
3710
3711         * Makefile.am: remove text_funcs.[Ch]
3712
3713 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * cursor.C (getPos): return absolute cached y coord
3716
3717         * BufferView_pimpl.C (fitCursor): new simplistic code
3718         (workAreaDispatch): add a fitCursor call
3719
3720 2003-11-10  André Pönitz  <poenitz@gmx.net>
3721
3722         * BufferView.[Ch]:
3723         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3724
3725 2003-11-10  André Pönitz  <poenitz@gmx.net>
3726
3727         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3728         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3729         indicate that the cursor needs to leave an inset
3730
3731         * lyxtext.h: remove inset locking
3732
3733         * cursor.[Ch]: re-implement functionality provided by inset locking
3734
3735         * BufferView.[Ch]:
3736         * BufferView_pimpl.[Ch]:
3737         * LyXAction.C:
3738         * bufferview_funcs.[Ch]:
3739         * factory.C:
3740         * funcrequest.[Ch]:
3741         * iterators.C:
3742         * lyx_cb.C:
3743         * lyxfind.C:
3744         * lyxfunc.C:
3745         * text.C:
3746         * text2.C:
3747         * text3.C:
3748         * undo.C: adjust
3749
3750 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * PosIterator.[Ch]: replace the stack with a vector, add inset
3753         accesor
3754         * iterators.[C]: adjust
3755
3756 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3759         replaced
3760         * paragraph_funcs.C (readParToken): put the correct id in the
3761         error item, not the id of the top paragraph
3762
3763 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3764
3765         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3766         * bufferview_funcs.C (put_selection_at): use the above
3767
3768 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3771
3772 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3773
3774         * output_linuxdoc.h:
3775         * output_plaintext.h:
3776         * output.h:
3777         * output_docbook.h: add #include statements
3778
3779 2003-11-05  José Matos  <jamatos@lyx.org>
3780
3781         * output_docbook.[Ch]:
3782         * output_latex.[Ch]:
3783         * output_linuxdoc.[Ch]:
3784         * output_plaintext.[Ch]: New files for output formats.
3785         * output.[Ch]: New file for helper functions.
3786
3787         * buffer.[Ch]:
3788         * paragraph_funcs.[Ch]: output functions moved to new files.
3789
3790         * outputparams.h: rename of latexrunparams.h
3791
3792         * LaTeX.[Ch]:
3793         * buffer.[Ch]:
3794         * bufferlist.[Ch]:
3795         * converter.[Ch]:
3796         * exporter.C:
3797         * paragraph.[Ch]:
3798         * paragraph_funcs.[Ch]:
3799         * paragraph_pimpl.[Ch]:
3800         * tabular.[Ch]: rename ascii to plaintext
3801         and LatexRunParams to OutputParams.
3802
3803 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3804
3805         * iterators.[Ch] (text): require bv argument
3806         * undo.C (recordUndo):
3807         * lyxfunc.C (dispatch):
3808         * bufferview_funcs.C (put_selection_at): adjust
3809
3810 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3811
3812         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3813
3814 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3817         nestings
3818
3819 2003-11-04  André Pönitz  <poenitz@gmx.net>
3820
3821         * cursor.[Ch]: restructure
3822
3823         * BufferView.[Ch]:
3824         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3825
3826         * iterators.[Ch] (asCursor): remove
3827
3828         * lfuns.h: remove LFUN_INSET_EDIT
3829
3830         * lyxfunc.C:
3831         * tabular.C:
3832         * text.C:
3833         * text2.C:
3834         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3835
3836 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3837
3838         * lyxfind.[Ch]: complete overhaul
3839         * BufferView_pimpl.C:
3840         * lyxfunc.C: adjust
3841         * paragraph.[Ch] (insert): add
3842
3843 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3844
3845         * BufferView.[Ch]:
3846         * lyxtext.h:
3847         * text.C: remove dead spellcheck code
3848
3849 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * dispatchresult.h: add a val setter
3852
3853         * cursor.C (dispatch): use a tempvar for data_[i]
3854
3855 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * PosIterator.[Ch]: compile fix
3858
3859 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * text.C (cursorPar): deactivate the cursor cache
3862
3863 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3866
3867 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * text3.C (dispatch): adjust for new DisptchResult semantics.
3870
3871         * lyxfunc.C (dispatch): handle update when return from
3872         Cursor::dispatch, adjust for new DispatchResult semantics.
3873
3874         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3875         DispatchResult(true) mean to not update. Add class functions for
3876         setting dispatched and update, as well as reading.
3877
3878         * cursor.C (dispatch): don't handle update here
3879
3880 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3883         * trans_mgr.C: adjust
3884
3885         * paragraph_funcs.C (readParToken): exception safety
3886
3887         * lyxvc.h: store the vcs pointer in a scoped_ptr
3888         * lyxvc.C: adjust
3889
3890         * lyxsocket.C (serverCallback): exception safety
3891
3892         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3893
3894         * ispell.C (clone): make it return a auto_ptr
3895
3896         * factory.C (createInset): exception safety
3897         (readInset): exception safety
3898
3899         * bufferlist.C (newBuffer): exception safety
3900
3901         * Thesaurus.C (Thesaurus): use initialization for aik_
3902
3903         * MenuBackend.C (expandToc): exception safety.
3904
3905 2003-11-03  André Pönitz  <poenitz@gmx.net>
3906
3907         * buffer.C:
3908         * buffer.h:
3909         * bufferview_funcs.C: remove getInsetFromId()
3910
3911         * lyxcursor.[Ch]:
3912         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3913
3914         * lyxfunc.C:
3915         * text2.C:
3916         * text3.C: adjust
3917
3918 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * PosIterator.C (distance, advance): new
3921         * bufferview_funcs.[Ch] (put_selection_at): new
3922         * iterators.[Ch] (lockPath): new
3923
3924 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3925
3926         * iterators.[Ch] (asPosIterator): added
3927         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3928         * PosIterator.[Ch]: added
3929
3930 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text3.C:
3933         * lyxfunc.C:
3934         * cursor.C (dispatch):
3935         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3936
3937         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3938         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3939         contructor, add a class function dispatched. Remove operator>=
3940
3941 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * debug.C: only use the default constructor for debugstream
3944         (lyxerr) here.
3945
3946         * main.C (main): include debug.h and setup the lyxerr streambuf
3947         here.
3948
3949 2003-10-31  José Matos  <jamatos@lyx.org>
3950
3951         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3952
3953         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3954         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3955         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3956         * paragraph_pimpl.C (simpleTeXSpecialC):
3957         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3958         add LatexRunParams argument.
3959
3960         * exporter.C (Export): change call accordingly.
3961
3962         * latexrunparams.h: add new member to take care of the other backends.
3963 2003-10-30  José Matos  <jamatos@lyx.org>
3964
3965         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3966         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3967         factorise code for paragraph output.
3968         * buffer.[Ch]:
3969         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3970         move functions.
3971
3972 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * text3.C (dispatch):
3975         * lyxfunc.C (dispatch):
3976         * cursor.C (dispatch):
3977         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3978
3979         * dispatchresult.h: make the dispatch_result_t ctor explicit
3980
3981 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3982
3983         * sgml.[Ch]:
3984         * buffer.C: small refactoring of docbook stuff
3985
3986 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3989         meaning.
3990
3991 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3994         operator dispatch_result_t, and operators for == != and >=
3995
3996         * cursor.C (dispatch): adjust for operator dispatch_result_t
3997         removal. comment out call to update
3998
3999         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4000
4001 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * text3.C:
4004         * text2.C:
4005         * text.C:
4006         * lyxtext.h:
4007         * lyxfunc.C:
4008         * cursor.C:
4009         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4010         (dispatch):
4011
4012         * dispatchresult.h: new file, DispatchResult broken out of
4013         insets/insetbase.h
4014
4015         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4016
4017 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * text.C (rowBreakPoint): put a hack inside #if 0
4020
4021 2003-10-28  André Pönitz  <poenitz@gmx.net>
4022
4023         * lyxtext.h:
4024         * metricsinfo.C:
4025         * paragraph_funcs.C:
4026         * rowpainter.C:
4027         * text.C:
4028         * text2.C: general cleanup (lots of small stuff)
4029
4030 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * text2.C (cursorEnd): simple fix to the "end key goes to one
4033         before the end on last row" bug
4034
4035 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4036
4037         * text.C (backspace): fix the "zombie characters"
4038
4039 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4040
4041         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4042
4043 2003-10-27  André Pönitz  <poenitz@gmx.net>
4044
4045         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4046
4047         * factory.C: handle new InsetPagebreak, InsetLine
4048
4049         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4050         and move handling into new InsetPagebreak, InsetLine
4051
4052         * BufferView_pimpl.C:
4053         * LyXAction.C:
4054         * ParagraphParameters.C:
4055         * ParameterStruct.h:
4056         * lyxfunc.C:
4057         * lyxtext.h:
4058         * paragraph.C:
4059         * paragraph.h:
4060         * paragraph_funcs.C:
4061         * paragraph_pimpl.C:
4062         * rowpainter.C:
4063         * text.C:
4064         * text2.C:
4065         * text3.C: adjust
4066
4067 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4068
4069         * text.C:
4070         * lyxrow_funcs.[Ch]:
4071         * Bidi.C:
4072         * paragraph.C:
4073         * lyxtext.h:
4074         * rowpainter.C:
4075         * text2.C:
4076         * text3.C: remove lastPos uses in favour of Row::endpos
4077
4078 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4079
4080         * undo.C (performUndoOrRedo): fix two crashes by setting a
4081         cursor by hand and reordering some calls. Use bv->lockInset instead
4082         of inset->edit because the latter loses cursor information
4083
4084 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4087         by Martin
4088         (rowBreakPoint): fix width. change point to point + 1.
4089         Add a missing check.
4090
4091 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4092
4093         * MenuBackend.C:
4094         * lyxfunc.C: fix (at least partly) the problems
4095         with the Nav menu and headers inside branch insets
4096         reported by Kayvan
4097
4098 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * paragraph.C (getChar): add strong asserts
4101
4102         * lyxrow_funcs.C (lastPos): remove hideous hack
4103
4104         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4105         (fill): adjust to that (avoid an infinite loop)
4106
4107 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4110
4111 2003-10-23  André Pönitz  <poenitz@gmx.net>
4112
4113         * RowList_fwd.h: change list<> to vector<> to gain speed
4114         after suggestion from Alfredo
4115
4116 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4117
4118         * lyxtext.h: move the bidi stuff from here...
4119         * text.C: and here
4120         * text2.C: and here
4121         * Bidi.[Ch]: ... to here
4122
4123 2003-10-23  André Pönitz  <poenitz@gmx.net>
4124
4125         * lyxtext.h:
4126         * text.C (isLastRow, isFirstRow): new functions
4127
4128         * paragraph.h: new width cache member
4129
4130         * rowpainter.C: replace RowList::iterator with Row & where possible
4131
4132         * lyxfunc.C: replace several view()->text with a single call
4133
4134         * toc.C: fix 'unused' warning
4135
4136 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4139         when woring with stream::pos_type
4140         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4141
4142 2003-10-22  André Pönitz  <poenitz@gmx.net>
4143
4144         * lyxtext.h:
4145         * text.C: use Row & instead of RowList::iterator
4146
4147         * lyxrow.h: rename end() to endpos()
4148
4149         * rowpainter.C:
4150         * text.C:
4151         * text2.C: adjust
4152
4153 2003-10-22  Angus Leeming  <leeming@lyx.org>
4154
4155         * buffer.[Ch] (fully_loaded): new member function, returning true
4156         only when the file has been loaded fully.
4157         Used to prevent the premature generation of previews and by the
4158         citation inset to prevent computation of the natbib-style label.
4159
4160         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4161         templates are all set up.
4162
4163         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4164
4165 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * text.C: fixed an "oops" in the "is a bit silly"
4168         bug fix
4169
4170 2003-10-21  André Pönitz  <poenitz@gmx.net>
4171
4172         * FuncStatus.[Ch]: small stuff, whitespace
4173
4174         * lyxfont.[Ch]: operator<<() for debug reasons
4175
4176         * lyxfunc.C:
4177         * lyxrow_funcs.C:
4178         * lyxtext.h: whitespace, spelling
4179
4180         * paragraph.C: naming of variables
4181
4182         * text.C:
4183         * text2.C: small stuff
4184
4185
4186 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4187
4188         * text.C: (1) finish off the inset display() work;
4189         (2) fix the "is a bit silly" bug (accessing char
4190         past end of par).
4191
4192 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4193
4194         * text.C: re-introduce display() for insets, fixing the
4195         various bugs (stretch of line above, math inset
4196         positioning, ...)
4197
4198 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4199
4200         * text.C (rightMargin): remove spurious semicolon
4201
4202         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4203         1415)
4204
4205 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4206
4207         * text3.C: fix one crash due to wrong cursor def
4208
4209 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * vc-backend.C (scanMaster): make the regex static
4212
4213         * LaTeX.C (scanAuxFile): make the regexs static
4214
4215         * text3.C (doInsertInset, dispatch, dispatch):
4216         * text2.C (cursorUp, cursorDown):
4217         * text.C (selectNextWordToSpellcheck):
4218         * BufferView_pimpl.C (dispatch):
4219         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4220
4221 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4222
4223         * lyxsocket.C: include <cerrno>
4224
4225 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * lyxfunc.C (dispatch): remove textcache stuff
4228
4229         * bufferlist.C (release): remove textcache stuff
4230         (closeAll): ditto
4231
4232         * TextCache.C: delete file
4233         * TextCache.h: delete file
4234
4235         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4236
4237         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4238         delete of the bv_->text.
4239         (resizeCurrentBuffer): remove texcache stuff
4240         (workAreaResize): ditto
4241
4242 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4245         action.
4246
4247 2003-10-16  André Pönitz  <poenitz@gmx.net>
4248
4249         * lyxrow.[Ch]:
4250         * paragraph.h:
4251         * rowpainter.C:
4252         * text.C:
4253         * text2.C:
4254         * text3.C: speed up by storing y positions per paragraph plus per-row
4255         offset instead of having a 'full' y position in the row.
4256
4257 2003-10-15  André Pönitz  <poenitz@gmx.net>
4258
4259         * iterators.[Ch]:
4260         * iterators.[Ch]:
4261         * undo.[Ch]: make undo aware of inner insets
4262
4263 2003-10-14  Angus Leeming  <leeming@lyx.org>
4264
4265         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4266         static member functions LyX::ref() and LyX::cref.
4267         (lastfiles): new accessor functions for the new lastfiles_ member var.
4268         (addLyXView, views_): add a new LyXView to the list of views_.
4269         (updateInset): loop over all LyXViews to call their own updateInset
4270         member function, returning a pointer to the Buffer owning the inset.
4271
4272         * BufferView_pimpl.C (loadLyXFile):
4273         * MenuBackend.C (expandLastfiles):
4274         * bufferlist.C (MenuWrite, QuitLyX):
4275         lastfiles is no longer a global variable.
4276         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4277
4278         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4279         static function. Access through LyX::cref().emergencyCleanup().
4280
4281 2003-10-14  André Pönitz  <poenitz@gmx.net>
4282
4283         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4284
4285         * undo.[Ch]: restoring part of 'undo in insets'
4286
4287         * Makefile.am:
4288         * undo_funcs.[Ch]: merge with undo.[Ch]
4289
4290         * tabular.C: small cleansing stuff
4291
4292 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * paragraph_funcs.C (readParToken): report unknown insets as error
4295         boxes. Use the outer paragraph as location (also for unknown
4296         tokens).
4297
4298         * factory.C (readInset): do not abort on reading an unknown inset.
4299         Eat it and return 0.
4300
4301 2003-10-13  Angus Leeming  <leeming@lyx.org>
4302
4303         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4304
4305         * lyxrc.C: displayTranslator is now a function,
4306         declared in GraphicsTypes.h.
4307
4308 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4309
4310         * format.C: new placeholder $$a to pass the socket address.
4311
4312         * bufferlist.[Ch]: new function getBufferFromTmp.
4313
4314         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4315           files in the temporary dir.
4316
4317 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4318
4319         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4320
4321         * Makefile.am: add lyxsocket.[Ch].
4322
4323         * lyx_main.C (error_handler): handle SIGPIPE.
4324
4325 2003-10-13  André Pönitz  <poenitz@gmx.net>
4326
4327         * BufferView_pimpl.C:
4328         * lyxtext.h:
4329         * text.C:
4330         * text2.C:
4331         * text3.C:
4332         * undo_funcs.[Ch]: use paroffset_type instead of
4333           ParagraphList::iterators to prevent multiple conversion
4334           (and get a more robust interface)
4335
4336 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4339         * lyxtext.h: ditto
4340         * text3.C (dispatch): ditto
4341
4342 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4345         move the onlyfile, use onlyfile instead of foundfile in a couple
4346         of places.
4347
4348         * DepTable.C (update): flush the error stream a bit more
4349
4350 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * lyxserver.C (callback): adjust
4353
4354         * lyxfunc.C (getStatus): add a missing brace in commented code
4355         (ensureBufferClean): reindent
4356         (dispatch): delete version taking a string
4357
4358 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * LaTeX.C (deplog): move found file handlig from here...
4361         (handleFoundFile): .. to new function here.
4362         (deplog): make sure to discover several files mentioned on the
4363         same log line.
4364
4365 2003-10-10  André Pönitz  <poenitz@gmx.net>
4366
4367         * lyxfunc.C:
4368         * lyxtext.h:
4369         * tabular.C:
4370         * text.C:
4371         * text2.C:
4372         * text3.C: fix some of the tabular crashes
4373
4374 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4375
4376         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4377
4378         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4379
4380 2003-10-09  André Pönitz  <poenitz@gmx.net>
4381
4382         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4383
4384         * BufferView.C:
4385         * BufferView_pimpl.C:
4386         * bufferview_funcs.C:
4387         * lyx_cb.C:
4388         * lyxcursor.C:
4389         * lyxfind.C:
4390         * lyxfunc.C:
4391         * lyxtext.h:
4392         * text.C:
4393         * text2.C:
4394         * text3.C:
4395         * text_funcs.[Ch]:
4396         * textcursor.[Ch]:
4397         * undo_funcs.C: adjust
4398
4399 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * text2.C (incrementItemDepth): new function, use a backtracking
4402         algorithm to discover the correct item depth.
4403         (resetEnumCounterIfNeeded): new function, use a backtracking
4404         algorithm to discover if counter reset is needed.
4405         (setCounter): use them. Simplify a bit. Add different labels for
4406         different item depths for itemize.
4407
4408         * paragraph.C (Paragraph): remove initialization of enumdepth
4409         (operator=): ditto
4410
4411         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4412         enumerate and itemize. Change the type of itemdepth to signed char.
4413
4414 2003-10-08  André Pönitz  <poenitz@gmx.net>
4415
4416         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4417           thing assignable.
4418         * text.C:
4419         * text2.C: adjust
4420
4421         * tabular.[Ch]: fix crash after 'row-insert'
4422
4423 2003-10-08  Angus Leeming  <leeming@lyx.org>
4424
4425         Fix doxygen warnings.
4426
4427         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4428         Remove CutAndPaste:: prefix from header file declaration.
4429
4430         * LColor.h (fill): remove LColor:: prefix from declaration.
4431
4432         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4433         use lyx::depth_type rather than Paragraph::depth_type so that
4434         header file and .C file match.
4435
4436         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4437
4438         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4439         * aspell.C: \file aspell_local.C -> \file aspell.C
4440         * gettext.C: \file gettext.C -> \file src/gettext.C
4441         * gettext.h: \file gettext.h -> \file src/gettext.h
4442         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4443         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4444         * text.C: \file text.C -> \file src/text.C
4445
4446         * toc.C: move comment so that doxygen is not confused.
4447
4448 2003-10-07  Angus Leeming  <leeming@lyx.org>
4449
4450         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4451
4452 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4453
4454         * aspell.C:
4455         * aspell_local.h: add forgotten std::string's.
4456
4457 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4458
4459         * LaTeXFeatures.C:
4460         * LyXAction.C:
4461         * factory.C:
4462         * lfuns.h:
4463         * lyxfunc.C:
4464         * text3.C: The Box patch. Fancybox support, minipage, parbox
4465
4466 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4467
4468         * CutAndPaste.h:
4469         * DepTable.h:
4470         * FloatList.h:
4471         * LaTeXFeatures.h:
4472         * ParagraphParameters.h:
4473         * TextCache.h:
4474         * Thesaurus.h:
4475         * bufferlist.h:
4476         * exporter.h:
4477         * importer.h:
4478         * lastfiles.h:
4479         * lyxfind.h:
4480         * lyxfont.h:
4481         * lyxlex.h:
4482         * lyxtextclasslist.h:
4483         * messages.h:
4484         * paragraph.h:
4485         * paragraph_pimpl.C:
4486         * textcursor.h: add <string> and other small fixes to make Lars'
4487         std::string patch compile with STLport.
4488
4489 2003-10-06  Angus Leeming  <leeming@lyx.org>
4490
4491         * LColor.h: Add missing #include <string>.
4492
4493 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * All most all file in all subdirs: Make <string> be the prefered
4496         way of getting to std::string, add using declarations.
4497
4498 2003-10-06  André Pönitz  <poenitz@gmx.net>
4499
4500         * metricsinfo.C: initialize LyXFont before changing attribute.
4501         (fixes the 'math in \emph is upright' bug)
4502
4503 2003-10-06  André Pönitz  <poenitz@gmx.net>
4504
4505         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4506
4507 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4508
4509         * graph.C:
4510         * paragraph_pimpl.C: Small fixes to build using STLport
4511
4512 2003-10-02  André Pönitz  <poenitz@gmx.net>
4513
4514         * lyxfunc.C:
4515         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4516
4517 2003-10-01  André Pönitz  <poenitz@gmx.net>
4518
4519         * factory.C: assert early
4520
4521 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * lyx_main.C: remove the global debug object
4524
4525         * debug.h: adjust for new debugstream
4526
4527         * debug.C: adjust for new debugstream and keep the global debug
4528         object here.
4529
4530 2003-09-22  Angus Leeming  <leeming@lyx.org>
4531
4532         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4533         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4534         an incomplete class LyXFont.
4535
4536 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * factory.C: bug fix in branches
4539
4540 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * lyxfunc.C (processKeySym): adjust
4543         (dispatch): adjust
4544         (dispatch): change arg name from ev to func, adjust
4545         (sendDispatchMessage): ditto
4546
4547         * lyx_main.C (defaultKeyBindings): adjust keybindings
4548         (deadKeyBindings): ditto
4549
4550         * kbsequence.C (addkey): return a FuncRequest
4551
4552         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4553
4554         * kbmap.C (bind): take a FuncRequest as arg, adjust
4555         (read): adjust
4556         (lookup): adjust
4557         (defkey): change to take a FuncRequest as arg, adjust
4558         (findbinding): take a FuncRequest as arg, adjust.
4559
4560         * funcrequest.h (operator=): added
4561
4562         * funcrequest.C (FuncRequest): default kb_action changed from
4563         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4564
4565         * buffer.C (dispatch): simplify
4566         (dispatch): adjust to take a FuncRequest as arg, adjust
4567
4568         * boost.C (assertion_failed): change assertion message slightly
4569
4570         * ToolbarBackend.C (read): simplify
4571
4572         * MenuBackend.C (binding): adjust call to findbinding, add a
4573         message if no binding is found.
4574         (read): simplify
4575         (expandToc): correct by adding a empty FuncRequest
4576
4577         * LyXAction.C: include <boost/assert.hpp>
4578         (isPseudoAction): delete function
4579         (LookupFunc): change name to...
4580         (lookupFunc): this. change return type to FuncRequest.
4581         (getActionName): take kb_action as arg, simplify
4582         (funcHasFlag): add an assert, simplify.
4583
4584 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * toc.C (action): return a FuncRequest, simplify
4587
4588         * lyxfunc.C (processKeySym): adjust
4589         (getStatus): delete version that takes an int.
4590         (getStatus): adjust
4591         (dispatch): delete version that takes action as int
4592         (dispatch): adjust
4593         (sendDispatchMessage): simplify and adjust
4594
4595         * funcrequest.C (getArg): take unsigned int as arg
4596
4597         * ToolbarBackend.C (read): adjust
4598         (add): delete version that takes func as a string.
4599         (getIton): take a FuncRequest as arg
4600
4601         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4602         action.
4603
4604         * MenuBackend.C (MenuItem): add a new construct that only takes a
4605         Kind, simplify the constructor use for submenus.
4606         (add): adjust
4607         (expandLastfiles): adjust
4608         (expandDocuments): adjust
4609         (expandFormats): adjust
4610         (expandFloatListInsert): adjust
4611         (expandFloatInsert): adjust
4612         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4613
4614         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4615         Remove class variables lyx_pseudo_map and lyx_arg_map
4616
4617         * LyXAction.C (searchActionArg): delete function
4618         (getPseudoAction): delete function
4619         (retrieveActionArg): delete function
4620         (LookupFunc): make it return kb_action, simplify.
4621         (getActionName): simplify
4622
4623         * factory.C (createInset): fix new bug
4624
4625 2003-09-19  Angus Leeming  <leeming@lyx.org>
4626
4627         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4628         masterFilename_ parameter in the include inset.
4629
4630         * factory.C (createInset): changes due to the changes to InsetInclude.
4631
4632 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4633
4634         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4635
4636 2003-09-18  Angus Leeming  <leeming@lyx.org>
4637
4638         * buffer.C:
4639         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4640         Inset::fillWithBibKeys.
4641         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4642
4643 2003-09-18  Angus Leeming  <leeming@lyx.org>
4644
4645         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4646         variables.
4647         (ctor): pass and store a 'Buffer const &'
4648         (buffer): new member function.
4649
4650         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4651         '*this' to the LaTeXFeatures ctor.
4652
4653 2003-09-18  Angus Leeming  <leeming@lyx.org>
4654
4655         * LColor.h:
4656         * lyxfont.C:
4657         * lyxfont.h:
4658         * lyxtext.h:
4659         * text.C: rename EnumLColor as LColor_color.
4660
4661 2003-09-18  Angus Leeming  <leeming@lyx.org>
4662
4663         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4664         remove #include "insets/insetbase.h" from cursor.h.
4665
4666 2003-09-18  Angus Leeming  <leeming@lyx.org>
4667
4668         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4669         InsetOld_code to remove #include "inset.h".
4670
4671         * iterators.C: add #include "insets/inset.h"
4672
4673 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4674
4675         * BufferView.C: remove more locking stuff that apparently doesn't
4676         do anything sensible.
4677
4678 2003-09-16  André Pönitz  <poenitz@gmx.net>
4679
4680         * paragraph.[Ch]:
4681         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4682           performance boost.
4683
4684 2003-09-16  Angus Leeming  <leeming@lyx.org>
4685
4686         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4687
4688         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4689         arg/return type.
4690
4691         * paragraph.h: remove #include "lyxfont.h". Forward declare
4692         LyXFont_size.
4693
4694 2003-09-16  Angus Leeming  <leeming@lyx.org>
4695
4696         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4697         of support/textutils.h.
4698         (isWord): move the contents of support/textutils.h's IsWordChar here.
4699
4700         * buffer.C:
4701         * lyxfind.C:
4702         * rowpainter.C:
4703         * text.C:
4704         * text2.C: add #include "paragraph.h".
4705
4706         * rowpainter.C:
4707         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4708
4709 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * main.C:
4712         * lyx_main.C:
4713         * lyx_cb.C:
4714         * buffer.C:
4715         * LaTeX.C: use namespace alias for lyx::support::os
4716
4717 2003-09-16  Angus Leeming  <leeming@lyx.org>
4718
4719         * bufferparams.C:
4720         * bufferview_funcs.C:
4721         * factory.C:
4722         * lyxfunc.C:
4723         * paragraph_pimpl.C:
4724         * rowpainter.C:
4725         * text.C: add #include "LColor.h".
4726
4727 2003-09-16  Angus Leeming  <leeming@lyx.org>
4728
4729         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4730         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4731         return LyXFont &.
4732         Store the FontBits::color variable as an int rather than as an
4733         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4734         file.
4735
4736         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4737         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4738         string calls together.
4739
4740         * lyxrc.C: add #include "LColor.h".
4741
4742 2003-09-15  Angus Leeming  <leeming@lyx.org>
4743
4744         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4745         a cow_ptr.
4746
4747 2003-09-15  Angus Leeming  <leeming@lyx.org>
4748
4749         * LColor.h: add an EnumLColor wrapper for LColor::color.
4750
4751         * lyxfont.[Ch] (color, setColor, realColor):
4752         * lyxtext.h, text.C (backgroundColor):
4753         pass EnumLColor args to/from the functions, rather than LColor::color
4754         ones.
4755
4756         * lyxfont.h:
4757         * lyxtext.h: forward declare EnumLColor.
4758
4759         * lyx_main.C: add #include "LColor.h".
4760
4761 2003-09-15  Angus Leeming  <leeming@lyx.org>
4762
4763         * .cvsignore: add lyx-gtk.
4764
4765 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * Chktex.C
4768         * LaTeX.C
4769         * LaTeXFeatures.C
4770         * ParagraphParameters.C
4771         * Spacing.C
4772         * buffer.C
4773         * bufferparams.C
4774         * bufferview_funcs.C
4775         * chset.C
4776         * counters.C
4777         * funcrequest.C
4778         * lyxfont.C
4779         * lyxgluelength.C
4780         * lyxlength.C
4781         * paragraph.C
4782         * paragraph_funcs.C
4783         * text3.C
4784         * vc-backend.C: remove usage of STRCONV
4785
4786 2003-09-15  Angus Leeming  <leeming@lyx.org>
4787
4788         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4789         explicitly define the color passed to the painter.
4790
4791 2003-09-15  Angus Leeming  <leeming@lyx.org>
4792
4793         * bufferparams.C (BufferParams): reorder member initializers to avoid
4794         compiler warning.
4795
4796 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4799         * text.C (updateRowPositions): remove an unusual nop
4800
4801 2003-09-12  André Pönitz  <poenitz@gmx.net>
4802
4803         * BufferView_pimpl.C:
4804         * Bullet.C:
4805         * layout.h:
4806         * lyxfunc.C:
4807         * lyxlayout.[Ch]:
4808         * lyxtextclass.C:
4809         * rowpainter.C:
4810         * text.C:
4811         * text2.C:
4812         * Counters.[Ch]: finish the 'automatic counters' job
4813
4814 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4815
4816         * aspell.C: include <boost/assert.cpp> (compile fix)
4817
4818 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4819
4820         * boost.C (assertion_failed): use lyx::support::abort instead of
4821         assert.
4822
4823 2003-09-10  Angus Leeming  <leeming@lyx.org>
4824
4825         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4826         with their _fwd progeny.
4827
4828 2003-09-09  Angus Leeming  <leeming@lyx.org>
4829
4830         134 files throughtout the source tree: replace 'using namespace abc;'
4831         directives with the appropriate 'using abc::xyz;' declarations.
4832
4833 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4834
4835         * boost.C (emergencyCleanup): moved here from LAssert.c
4836         (assertion_failed): new function, called by BOOST_ASSERT
4837
4838         * several files: change Assert to BOOST_ASSERT
4839
4840 2003-09-09  Angus Leeming  <leeming@lyx.org>
4841
4842         * buffer.[Ch]: Add an Impl class and move Buffer's member
4843         variables into it. As a result move several header files out of
4844         buffer.h.
4845
4846         Add header files to lots of .C files all over the tree as a result.
4847
4848 2003-09-09  Angus Leeming  <leeming@lyx.org>
4849
4850         * buffer.[Ch]: make Buffer's member variables private. Add
4851         accessor functions.
4852
4853         Lots of changes all over the tree as a result.
4854
4855 2003-09-08  Angus Leeming  <leeming@lyx.org>
4856
4857         * graph.C: #include <config.h>.
4858
4859 2003-09-08  Angus Leeming  <leeming@lyx.org>
4860
4861         * BranchList.C:
4862         * BufferView.C:
4863         * BufferView_pimpl.C:
4864         * CutAndPaste.C:
4865         * DepTable.C:
4866         * LaTeX.C:
4867         * LaTeXFeatures.C:
4868         * LyXAction.C:
4869         * MenuBackend.C:
4870         * TextCache.C:
4871         * aspell.C:
4872         * buffer.C:
4873         * bufferlist.C:
4874         * changes.C:
4875         * chset.C:
4876         * converter.C:
4877         * counters.C:
4878         * debug.C:
4879         * graph.C:
4880         * ispell.C:
4881         * lyx_cb.C:
4882         * lyxfind.C:
4883         * lyxfunc.C:
4884         * lyxlex_pimpl.C:
4885         * lyxrc.C:
4886         * lyxrow.C:
4887         * paragraph.C:
4888         * rowpainter.C:
4889         * texrow.C:
4890         * text.C:
4891         * text2.C:
4892         * toc.C: remove redundant using directives.
4893
4894 2003-09-07  Angus Leeming  <leeming@lyx.org>
4895
4896         * LaTeXFeatures.h: remove #include "support/types.h".
4897         * ToolbarBackend.h: remove #include <algorithm>.
4898         * changes.h: remove #include <ctime>.
4899         * debug.h: remove #include <iosfwd>.
4900         * graph.h: remove #include "support/std_string.h".
4901         * lyx_main.h: remove #include <csignal>.
4902         * lyxlex_pimpl.h: remove #include <fstream>.
4903         * sgml.h: remove #include <algorithm>, <utility>.
4904         * toc.h: remove #include "support/std_ostream.h".
4905         Add #include <iosfwd>.
4906
4907 2003-09-07  Angus Leeming  <leeming@lyx.org>
4908
4909         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4910
4911         * converter.h: forward declare LatexRunParams.
4912         * encoding.h: remove #include "lyxrc.h".
4913         * lyxtext.h: remove #include "LColor.h".
4914         * lyxtextclass.h: remove #include "support/types.h".
4915         * trans.h: remove #include "tex-accent.h".
4916         * trans_mgr.h: remove #include "tex-accent.h".
4917         * insets/inset.h: remove #include "support/types.h", <vector>.
4918         * insets/insetcollapsable.h: remove #include "LColor.h".
4919         * insets/insetinclude.h: remove #include "dimension.h".
4920         * insets/insetlatexaccent.h: remove #include "dimension.h".
4921         * insets/insetoptarg.h:: remove #include "insettext.h".
4922         * insets/insettext.h: remove #include "dimension.h",
4923         <boost/shared_ptr.hpp>
4924
4925         * insets/renderers.h: add #include "dimension.h".
4926         * insets/updatableinset.h: add #include "support/types.h".
4927
4928         * many .C files: Associated changes.
4929
4930 2003-09-06  Angus Leeming  <leeming@lyx.org>
4931
4932         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4933         one, inside testInvariant.
4934
4935         * PrinterParams.C: new file.
4936         * PrinterParams.[Ch]: move the function bodies out of line.
4937
4938 2003-09-06  Angus Leeming  <leeming@lyx.org>
4939
4940         * ParagraphParameters.h: forward declare ParameterStruct rather than
4941         including its header file.
4942         (depth): moved out-of-line.
4943
4944 2003-09-06  Angus Leeming  <leeming@lyx.org>
4945
4946         * BufferView_pimpl.h:
4947         * kbmap.h:
4948         * kbsequence.h:
4949         * lyxfunc.h: forward declare LyXKeySym rather than
4950         #include "frontends/LyXKeySym.h".
4951
4952         * BufferView_pimpl.C:
4953         * kbmap.C:
4954         * kbsequence.C:
4955         * lyxfunc.C: associated changes.
4956
4957 2003-09-06  Angus Leeming  <leeming@lyx.org>
4958
4959         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4960         As a result, can remove the #include "insets/inset.h" from BufferView.h
4961
4962 2003-09-06  Angus Leeming  <leeming@lyx.org>
4963
4964         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4965         As a result, can remove the #include "insets/inset.h" from BufferView.h
4966
4967 2003-09-06  Angus Leeming  <leeming@lyx.org>
4968
4969         * buffer_funcs.C:
4970         * buffer.h:
4971         * bufferlist.C:
4972         * BufferView.C:
4973         * bufferview_funcs.C:
4974         * BufferView_pimpl.C:
4975         * CutAndPaste.C:
4976         * lyx_cb.C:
4977         * lyxfunc.C:
4978         * paragraph.h:
4979         * ParagraphParameters.C:
4980         * tabular.C:
4981         * text3.C:
4982         * toc.C:
4983         * undo_funcs.C:
4984         * frontends/controllers/ControlDocument.C:
4985         * insets/insetcaption.C: rearrange the #includes into some sort of
4986         coherent order.
4987
4988         * buffer.h: remove #includes ErrorList.h, undo.h
4989
4990 2003-09-06  Angus Leeming  <leeming@lyx.org>
4991
4992         * support/types.h: add a 'depth_type' typedef, used to store the
4993         nesting depth of a paragraph.
4994
4995         * paragraph.h:
4996         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4997         defining explicitly.
4998
4999         * buffer.h:
5000         * paragraph_funcs.h:
5001         * ParagraphParameters.h:
5002         * sgml.h: use lyx::depth_type rather than Paragraph or
5003         ParameterStruct's depth_type.
5004
5005         * buffer.h
5006         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5007
5008         * BufferView.C:
5009         * BufferView_pimpl.C:
5010         * CutAndPaste.C:
5011         * ParagraphParameters.C:
5012         * buffer_funcs.C:
5013         * bufferlist.C:
5014         * bufferview_funcs.C:
5015         * lyx_cb.C:
5016         * lyxfunc.C:
5017         * tabular.C:
5018         * text3.C:
5019         * toc.C:
5020         * undo_funcs.C:
5021         * frontends/LyXView.C:
5022         * frontends/controllers/ControlDocument.C:
5023         * frontends/controllers/ControlErrorList.C:
5024         * insets/insetbibitem.C:
5025         * insets/insetbranch.C:
5026         * insets/insetcaption.C:
5027         * insets/insetcollapsable.C:
5028         * insets/insetenv.C:
5029         * insets/insetert.C:
5030         * insets/insetfloat.C:
5031         * insets/insetfoot.C:
5032         * insets/insetfootlike.C:
5033         * insets/insetnewline.C:
5034         * insets/insetquotes.C:
5035         * insets/insettabular.C:
5036         * insets/insettext.C:
5037         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5038
5039         * frontends/controllers/ControlChanges.C: #include "changes.h".
5040
5041 2003-09-06  Angus Leeming  <leeming@lyx.org>
5042
5043         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5044         than #including paragraph.h.
5045
5046         * ParagraphList.h:
5047         * RowList.h: deleted. Superfluous.
5048
5049         * CutAndPaste.h:
5050         * iterators.h:
5051         * lyxcursor.h:
5052         * lyxtext.h:
5053         * text_funcs.h:
5054         * undo.h:
5055         * undo_funcs.h:
5056         * insets/inset.h:
5057         * insets/insettext.h: use ParagraphList_fwd.h rather than
5058         ParagraphList.h.
5059
5060         * paragraph.h: don't forward declare ParagraphList.
5061
5062         * buffer.h:
5063         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5064         rather than ParagraphList.h. paragraph.h is still needed for the
5065         Paragraph::depth_type parameters.
5066
5067         * textcursor.h: enable it to compile stand-alone in light of the
5068         above changes.
5069
5070         * bufferview_funcs.C:
5071         * iterators.C:
5072         * lyxfunc.C:
5073         * lyxrow_funcs.C:
5074         * paragraph.C:
5075         * rowpainter.C:
5076         * text.C:
5077         * text2.C:
5078         * text3.C:
5079         * text_funcs.C:
5080         * textcursor.C:
5081         * undo.C:
5082         * frontends/controllers/ControlParagraph.C:
5083         * frontends/controllers/ControlTabular.C:
5084         * insets/insetmarginal.C:
5085         * insets/insetminipage.C:
5086         * insets/insetnote.C:
5087         * insets/insetoptarg.C: add header files needed to compile again.
5088
5089 2003-09-06  Angus Leeming  <leeming@lyx.org>
5090
5091         * RowList_fwd.h: new file, forward-declaring Row rather than
5092         #including lyxrow.h.
5093
5094         * lyxrow_funcs.h:
5095         * lyxtext.h:
5096         * paragraph.h:
5097         * insets/insettext.h: use it instead of RowList.h
5098
5099         * bufferview_funcs.C:
5100         * lyxfunc.C:
5101         * lyxrow_funcs.C:
5102         * paragraph.C:
5103         * rowpainter.C:
5104         * text.C:
5105         * text2.C:
5106         * text3.C: #include "RowList.h".
5107
5108 2003-09-05  Angus Leeming  <leeming@lyx.org>
5109
5110         * factory.C (createInset):
5111         * vspace.C (c-tor): replace sscanf call with an istringstream.
5112         * ispell.C: re-add missing HP/UX headers.
5113         * lyxserver.C: re-add missing  os2 headers.
5114
5115 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5116
5117         * BranchList.C:
5118         * graph.C:
5119         * ispell.C:
5120         * lastfiles.C:
5121         * lyx_cb.C:
5122         * lyxserver.C:
5123         * texrow.C:
5124         * text3.C: re-add missing system headers, needed for 2.95.2.
5125
5126 2003-09-05  Angus Leeming  <leeming@lyx.org>
5127
5128         Changes most place everywhere due to the removal of using directives
5129         from support/std_sstream.h.
5130
5131 2003-09-05  Angus Leeming  <leeming@lyx.org>
5132
5133         Replace LString.h with support/std_string.h,
5134         Lsstream.h with support/std_sstream.h,
5135         support/LIstream.h with support/std_istream.h,
5136         support/LOstream.h with support/std_ostream.h.
5137
5138         Changes resulting throughout the tree.
5139
5140 2003-09-05  Angus Leeming  <leeming@lyx.org>
5141
5142         * sgml.h: ensure that the header file can be compiled stand-alone.
5143         * *.C: strip out redundant #includes. (320 in total.)
5144
5145 2003-09-04  Angus Leeming  <leeming@lyx.org>
5146
5147         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5148         here (from getPackages).
5149
5150         * debug.[Ch]: add a new EXTERNAL tag.
5151
5152 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5153
5154         * text2.C (cursorEnd): simplify
5155         (setCursor): adjust
5156         (getColumnNearX): adjust
5157
5158         * text.C (computeBidiTables): adjust
5159         (fill): adjust
5160
5161         * rowpainter.C (paintChars): adjust
5162         (paintSelection): adjust
5163         (paintChangeBar): adjust
5164         (paintText): adjust
5165
5166         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5167         lastPos instead.
5168         (numberOfSeparators): adjust
5169
5170 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5171
5172         * LyXAction.C:
5173         * box.[Ch]:
5174         * lfuns.h:
5175         * lyxfunc.C:
5176         * text3.C: Restricts the mouse click functionality
5177         of insets like bibtex, include, toc and floatlist to the visible
5178         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5179         up the dialogs. Cursor has to be in front of the inset (i.e.
5180         start of row) for this to function.
5181
5182 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5183
5184         * bufferview_funcs.C (currentState): output row information
5185
5186 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5187
5188         * bufferview_funcs.C (currentState): output paragraph position
5189
5190 2003-09-04  Angus Leeming  <leeming@lyx.org>
5191
5192         * FloatList.h: move out #include "Floating.h".
5193         * LaTeX.h: move out #include "DepTable.h".
5194         * LyXAction.h: move out #include "funcrequest.h".
5195         * buffer.h: move out #include "author.h", "iterators.h".
5196         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5197         * lyx_main.h: move out #include "errorlist.h".
5198         * lyxfunc.h: move out #include "FuncStatus.h".
5199         * lyxtext: move out #include "lyxcursor.h".
5200         * paragraph_pimpl.h: move out #include "counters.h".
5201
5202 2003-09-03  Angus Leeming  <leeming@lyx.org>
5203
5204         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5205         preamble_snippets list, enabling us to add snippets to the preamble
5206         only if the snippet was not there already.
5207
5208 2003-09-04  Angus Leeming  <leeming@lyx.org>
5209
5210         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5211
5212 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5215         update
5216
5217 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5218
5219         * BranchList.C: point fix, earlier forgotten
5220
5221 2003-09-02  Angus Leeming  <leeming@lyx.org>
5222
5223         * box.C (contains): renamed from 'contained' after a fantastic
5224         amount of hot air.
5225
5226 2003-09-02  John Levon  <levon@movementarian.org>
5227
5228         * BufferView.C:
5229         * lyxcursor.h:
5230         * lyxcursor.C:
5231         * lyxfunc.C:
5232         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5233
5234 2003-09-02  John Levon  <levon@movementarian.org>
5235
5236         * text2.C: simplification of cursorEnd(), including partial
5237         fix for bug 1376
5238
5239 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * buffer.C (readFile): add a space
5242
5243 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5246
5247 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * buffer.C (readFile): new function, take a filename and a
5250         ParagraphList::iterator
5251         (readFile): adjust
5252         (readFile): adjust, make it private. don't use setStream, make
5253         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5254         always contain the filename.
5255
5256         * BufferView.C (insertLyXFile): simplify and make it work for
5257         gzipped files.
5258
5259 2003-08-30  John Levon  <levon@movementarian.org>
5260
5261         * Makefile.am: fix dist (from Kayvan)
5262
5263 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * most files: change to use const Buffer refs
5266
5267 2003-08-27  André Pönitz  <poenitz@gmx.net>
5268
5269         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5270         on top of ownerPar().
5271
5272 2003-08-27  John Levon  <levon@movementarian.org>
5273
5274         * funcrequest.C: properly initialise POD members
5275
5276 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * lyxtext.h (top_y): move top_y from here
5279         * text.C:
5280         * text2.C:
5281         * text3.C:
5282         * BufferView.[Ch]:
5283         * BufferView_pimpl.[Ch]: to here
5284         * frontends/screen.C:
5285         * insets/insettabular.C:
5286         * insets/insettext.C: adjust
5287         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5288
5289 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * BufferView.[Ch]:
5292         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5293
5294 2003-08-26  André Pönitz  <poenitz@gmx.net>
5295
5296         * paragraph_func.[Ch] (outerPar): new function
5297
5298         * paragraph.C:
5299         * paragraph_funcs.C:
5300         * paragraph_funcs.h:
5301         * paragraph_pimpl.C:
5302         * text2.C: remove Inset::par_owner
5303
5304 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5305
5306         * lyxrow_funcs.C:
5307         * lyxtext.h:
5308         * text.C:
5309         * text2.C: eliminates the needFullRow/display() stuff
5310         altogether, putting the logic in metrics/draw in the insets.
5311
5312 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * text2.C (redoParagraphInternal, redoParagraphs):
5315         * text.C (redoParagraph): add a call to updateRowPositions at the
5316         end of each 'metrics-like' call. Remove all others.
5317         (getRow): remove the 'y-computing' version.
5318         (getRowNearY): do not compute nor return the real y. Solve the
5319         'y < 0' problem and simplify.
5320
5321 2003-08-22  Angus Leeming  <leeming@lyx.org>
5322
5323         * *.[Ch]: clean-up of licence and author blurbs.
5324         Also move config.h out of a few .h files and into a few .C files.
5325
5326 2003-08-22  André Pönitz  <poenitz@gmx.net>
5327
5328         * lyxrow.[Ch]: add x_ and *fill_ members
5329
5330         * lyxtext.h:
5331         * text.C:
5332         * rowpainter.C:
5333         * text2.C: adjust/remove prepareToPrint() calls
5334
5335 2003-08-22  André Pönitz  <poenitz@gmx.net>
5336
5337         * lyxrow.[Ch]: add  end_ member
5338
5339         * lyxrow_funcs.C: use LyXRow::end_
5340
5341         * lyxtext.h (singleWidth): add LyXFont parameter
5342
5343         * rowpainter.C:
5344         * text2.C: adjust LyXText::singleWidth() calls
5345
5346         * text.C (redoParagraph): simplify row breaking logic
5347
5348
5349 2003-08-19  André Pönitz  <poenitz@gmx.net>
5350
5351         * funcrequest.C: initialize button_ member
5352
5353         * text3.C:
5354         * rowpainter.[Ch]: interface consolidation
5355
5356 2003-08-18  André Pönitz  <poenitz@gmx.net>
5357
5358         * BufferView.C:
5359         * BufferView_pimpl.C:
5360         * lyxfind.C:
5361         * paragraph_funcs.C:
5362         * rowpainter.C:
5363         * text3.C: remove LyXScreen::draw() and fitCursor calls
5364
5365         * BranchList.h: remove spurious semicolons
5366
5367         * MenuBackend.C: fix branchlist related crash
5368
5369 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5370
5371         * BranchList.[Ch]:
5372         * InsetList.[Ch]:
5373         * LColor.[Ch]:
5374         * LyXAction.C:
5375         * Makefile.am:
5376         * MenuBackend.[Ch]:
5377         * bufferparams.[Ch]:
5378         * factory.C:
5379         * lfuns.h:
5380         * lyxfunc.C:
5381         * text3.C: implements the 'branch inset'
5382         idea. This allows the output of various versions of a document
5383         from a single source version, selectively outputing or suppressing
5384         output of parts of the text.
5385         This implementation contains a 'branch list editor' in a separate
5386         tab of the document settings dialog. Branches are user definable
5387         and have a "display colour" to distinguish them on-screen.
5388
5389         ColorHandler was somewhat cleaned up.
5390         (1) make possible a dynamically growing LColor list by allowing
5391         the graphic context cache to grow along (vector);
5392         (2) eliminate an IMHO unnecessary step in colour allocation.
5393
5394 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5395
5396         * BufferView_pimpl.C: compile fix
5397
5398 2003-08-15  André Pönitz  <poenitz@gmx.net>
5399
5400         * rowpainter.C: remove extra metrics calls
5401
5402         * lyxtext.h: merge the two constructors into a single one,
5403           pass reference to owner's par list
5404
5405         * BufferView_pimpl.C:
5406         * text.C:
5407         * text2.C: adjust
5408
5409 2003-08-15  André Pönitz  <poenitz@gmx.net>
5410
5411         * lyxrow_funcs.[Ch]:
5412         * lyxtext.h:
5413         * paragraph.h:
5414         * paragraph_funcs.C:
5415         * rowpainter.C:
5416         * text.C:
5417         * text2.C:
5418         * text3.C:
5419         * text_funcs.C: split LyXText::rowlist_ into individual
5420         Paragraph::rows_ chunks
5421
5422         * BufferView.[Ch]:
5423         * BufferView_pimpl.[Ch]:
5424         * lyxfind.C:
5425         * lyxtext.h:
5426         * text3.C: remove toggleSelection()
5427
5428 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5429
5430         * bufferlist.C: beautify two alerts (shorter text of buttons)
5431         * buffer.C: Remove redundant ' ' from message
5432         * tabular.h:
5433         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5434         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5435         rename VALIGN_CENTER to VALIGN_MIDDLE
5436
5437 2003-08-11  André Pönitz  <poenitz@gmx.net>
5438
5439         * lyxtext.h (getPar):
5440         * text.C: new function
5441
5442 2003-08-11  André Pönitz  <poenitz@gmx.net>
5443
5444         * Makefile.am:
5445         * tracer.[Ch]: remove unneeded files
5446
5447         * InsetList.[Ch]: remove resizeInsetsLyXText()
5448
5449         * lyxtext.h:
5450         * text.C:
5451         * text2.C:
5452         * text3.C: merge insertParagraphs() and appendParagraph()
5453         remove breakAgain(), update()
5454
5455         * BufferView_pimpl.[Ch]:
5456         * bufferview_funcs.[Ch]:
5457         * lyxfunc.C:
5458         * paragraph.[Ch]:
5459         * rowpainter.C:
5460         * tabular.C: adjust after text & InsetList changes.
5461
5462 2003-08-08  André Pönitz  <poenitz@gmx.net>
5463
5464         * text.C (insertChar, backspace): replace rowlist fiddling
5465         with rebreak of full par
5466
5467         * lyxtext.h:
5468         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5469         checkParagraph, updateInset): removed
5470
5471 2003-08-07  André Pönitz  <poenitz@gmx.net>
5472
5473         * paragraph.C:
5474         * text3.C: merge some LFUN handlers, remove dead code
5475
5476 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5477
5478         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5479
5480 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5481
5482         * text2.C (DEPM): fix part of bug 1255 and 1256
5483
5484 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5485
5486         * BufferView_pimpl.C (workAreaDispatch): change to use
5487         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5488         that are no mouse related.
5489
5490 2003-08-05  André Pönitz  <poenitz@gmx.net>
5491
5492         * BufferView.[Ch]:
5493         * BufferView_pimpl.[Ch]:
5494         * bufferview_funcs.C:
5495         * text2.C:
5496         * text3.C: rip out "deep update"
5497
5498         * textcursor.[Ch] (last_sel_cursor): remove unused member
5499
5500 2003-08-04  André Pönitz  <poenitz@gmx.net>
5501
5502         * BufferView.[Ch]:
5503         * BufferView_pimpl.[Ch]:
5504         * ParagraphParameters.C:
5505         * bufferview_funcs.C:
5506         * lyx_cb.C:
5507         * lyxfind.C:
5508         * lyxfunc.C:
5509         * text.C:
5510         * text2.C:
5511         * text3.C: replace "complicated" BufferView::update(...) calls with
5512         simpler ones.
5513
5514         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5515
5516 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5517
5518         * Makefile.am (lyx_SOURCES): add paper.h
5519
5520 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5521
5522         * Makefile.am: move things around so that both lyx-qt and
5523         lyx-xforms can be built (according to --with-frontend). Then lyx
5524         is a symbolic link to lyx-[firstfrontend]
5525
5526 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5527
5528         * Always use std::endl with lyxerr
5529
5530 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5531
5532         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5533
5534 2003-08-01  André Pönitz  <poenitz@gmx.net>
5535
5536         * BufferView.[Ch]:
5537         * BufferView_pimpl.[Ch]:
5538         * lyxfunc.C:
5539         * text3.C: merge BufferView::repaint() and BufferView::update()
5540
5541 2003-08-01  José Matos  <jamatos@lyx.org>
5542
5543         * buffer.[Ch]: file_format is no longer a buffer data element.
5544
5545 2003-08-01  André Pönitz  <poenitz@gmx.net>
5546
5547         * BufferView.C:
5548         * lyxtext.h:
5549         * text.C:
5550         * text2.C: make redoParagraph more independent of current cursor
5551
5552         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5553         * text.C:
5554         * text2.C: remove unneeded members
5555
5556 2003-07-30  André Pönitz  <poenitz@gmx.net>
5557
5558         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5559
5560         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5561           create a single function...
5562
5563         * paragraph_funcs.C (moveItem): ... here.
5564
5565         * text.C:
5566           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5567
5568 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5569
5570         * LColor.[Ch]: Add comment and greyedout logical colors.
5571
5572 2003-07-30  André Pönitz  <poenitz@gmx.net>
5573
5574         * tabular.C: don't use Assert too heavily. This crashes where it
5575           shouldn't
5576
5577 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5578
5579         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5580         is disabled (bug 1232)
5581
5582 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5583
5584         * factory.C: limited 'arg' scope
5585
5586 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5587
5588         * factory.C: fixed Note submenu issues
5589
5590 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5591
5592         * factory.C: submenu for Note/Comment/Greyedout
5593
5594 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5595
5596         * lyx_main.C (LyX):
5597         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5598
5599 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5600
5601         * LaTeXFeatures.C:
5602         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5603         greyedout. Patch provided by Jürgen Spitzmüller.
5604
5605 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5606
5607         * kbmap.C (read): fix error message when reading bind files
5608
5609 2003-07-29  Angus Leeming  <leeming@lyx.org>
5610
5611         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5612         certainly does not do what it purports to do. I am doing it, and
5613         us, a favour by killing it.
5614
5615 2003-07-28  José Matos  <jamatos@lyx.org>
5616
5617         * buffer.C (readBody, do_writeFile):
5618         * paragraph.C(readParagraph): \end_document replaces \the_end.
5619
5620 2003-07-29  André Pönitz  <poenitz@gmx.net>
5621
5622         * BufferView.[Ch]:
5623         * BufferView_pimpl.[Ch]:
5624         * lyxfunc.C:
5625         * text2.C:
5626         * text3.C:
5627         * textcursor.[Ch]: remove toggleToggle & Co
5628
5629 2003-07-28  José Matos  <jamatos@fep.up.pt>
5630
5631         * buffer.C (readParagraph):
5632         * params_func (readParToken, readParagraph):
5633         * paragraph.C (write): \layout -> \begin_layout.
5634
5635 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * lyxlex_pimpl.C (setFile): clean up slightly.
5638
5639         * bufferparams.h: add compressed var
5640
5641         * buffer_funcs.C (readFile): adjust for LyXLex change
5642         (newFile): ditto + simplify
5643
5644         * buffer.C (writeFile): handle writing of compressed files
5645
5646         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5647         Check if the file is compressed and set a bufferparm if so.
5648
5649         * Makefile.am (lyx_LDADD): remove explicit -lz
5650
5651 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5652
5653         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5654         makeDocBookFile): put the real LyX version in the first line of
5655         the file
5656
5657         * version.h:
5658         * version.C.in: remove lyx_docversion
5659
5660         * tabular.C (write_attribute): add a template-based version to
5661         write enums properly
5662
5663 2003-07-28  André Pönitz  <poenitz@gmx.net>
5664
5665         * lyxtext.h:
5666         * text.C:
5667         * text2.C:
5668         * text3.C: use doubles again for x-coordinates. They are needed.
5669
5670 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * messages.C (getLocaleDir): use lyx_localedir()
5673
5674         * lyxlex_pimpl.C (setFile): compress stuff
5675
5676         * buffer.C (writeFile): add some compression stuff
5677         (do_writeFile): new func, dont call expliti close... will this
5678         breake anything?
5679
5680         * Makefile.am (lyx_LDADD): add -lz
5681
5682 2003-07-28  José Matos  <jamatos@fep.up.pt>
5683
5684         * buffer.C: increment file format.
5685         * paragraph_funcs (readParagraph, readParToken):
5686         * paragraph.C (readParagraph): add \end_layout.
5687
5688 2003-07-27  Angus Leeming  <leeming@lyx.org>
5689
5690         * Makefile.am: remove special casing for configure-time setting of
5691         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5692
5693         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5694         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5695
5696 2003-07-26  André Pönitz  <poenitz@gmx.net>
5697
5698         * paragraph_func.[Ch]:
5699         * paragraph.C (realizeFont): inline it whereever it is used
5700
5701         * rowpainter.C:
5702         * text.C:
5703         * text2.C:
5704         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5705
5706
5707 2003-07-26  André Pönitz  <poenitz@gmx.net>
5708
5709         *       lyxtext.h:
5710         * text.C:
5711         * text2.C: get rid of LyXText::need_break_row
5712
5713 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * toc.[Ch]: put namespace toc inside namespace lyx
5716
5717         * MenuBackend.C (expandToc2): adjust for lyx::toc
5718         (expandToc): ditto
5719
5720         * lyxfunc.C (dispatch): adjust for lyx::find
5721
5722         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5723         lyx::find instead. Reorganize a bit.
5724         (LyXReplace): rename to replace
5725         (LyXFind): rename to find
5726
5727         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5728         (dispatch): ditto
5729
5730 2003-07-26  André Pönitz  <poenitz@gmx.net>
5731
5732         * text.C (setHeightOfRow): restrict scope of temporary variable
5733
5734         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5735           code (never has been used?)
5736
5737 2003-07-27  Asger Alstrup  <alstrup@local>
5738
5739         * text.C (fill): Optimise algorithm to exploit that we can reuse
5740         the LyXFont for many characters.
5741         (setHeightOfRow): Same thing.
5742         (rowBreakPoint): Same thing.
5743
5744 2003-07-26  Asger Alstrup  <alstrup@local>
5745
5746         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5747
5748         * text.C (singleWidth): Spurious font copying in hot-spot
5749         singleWidth avoided. Reorder tests for arabic for efficiency.
5750
5751         * text.C (fill): handle empty paragraphs better.
5752
5753 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5754
5755         * ispell.C:
5756         * encoding.h: add includes
5757
5758         * lyxrc.C: remove reading of bind files
5759
5760         * lyx_main.C (init): setup bindings and menus only if we have a
5761         gui.
5762
5763         * kbmap.C (read): new method. Do the actual reading of bind
5764         files.
5765
5766         * converter.C (dvipdfm_options):
5767         * bufferparams.C:
5768         * lyxrc.C (read):
5769         (output): adapt PAPER_* enums.
5770
5771         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5772
5773         * bufferparams.h: remove paper-related enums from there
5774
5775         * paper.h: New file. A trivial header file to hold paper-related
5776         enums. It should later expand to contain many paper-related
5777         horrors access.
5778
5779         * lyxrc.C: declare extern displayTranslator
5780
5781 2003-07-27  José Matos  <jamatos@fep.up.pt>
5782
5783         * tabular.[Ch] (linuxdoc): add support for tables and figures
5784         (linuxdoc).
5785
5786 2003-07-27  José Matos  <jamatos@fep.up.pt>
5787
5788         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5789         consistency in both functions.
5790         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5791
5792 2003-07-26  Asger Alstrup  <alstrup@local>
5793
5794         * rowpainter.C (paintRows): Change algorithm to work directly on
5795         the insets rather than asking every character in the document
5796         whether its an inset.
5797
5798 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5799
5800         * buffer.C (openFileWrite): factorize some code
5801
5802 2003-07-26  Angus Leeming  <leeming@lyx.org>
5803
5804         * lyx_cb.C:
5805         * lyx_main.[Ch]: replace occurances of system_tempdir with
5806         os::getTmpDir().
5807
5808 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * rename Inset to InsetOld
5811
5812 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5813
5814         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5815         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5816         which I think is a bit clearer. EDIT is gone, since it was
5817         premature optimisation, and broken for mathed anyway.
5818         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5819         with cursor positioning in insets as well (math insets still do not
5820         work, but that's a different story anyway.) It mysteriously
5821         crashes sometimes with undo in the first paragraph, but I'm fairly
5822         confident that this is a compiler bug.
5823
5824 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * paragraph.C (Paragraph): adjust for new clone return type
5827         (operator==): ditto
5828         (copyIntoMinibuffer): ditto
5829
5830 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5831
5832         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5833         by not having a special case, and always doing a full rebreak of
5834         the document after undo.
5835
5836 2003-07-23  Angus Leeming  <leeming@lyx.org>
5837
5838         * factory.C (createInset): InsetExternal::setParams now takes a
5839         Buffer const * arg.
5840
5841 2003-07-23  Angus Leeming  <leeming@lyx.org>
5842
5843         * factory.C (createInset): changed interface to the external and
5844         graphics mailers' string2params functions.
5845
5846 2003-07-23  Angus Leeming  <leeming@lyx.org>
5847
5848         * factory.C (createInset): pass a
5849         Buffer const * parameter to InsetExternalMailer's string2params.
5850
5851 2003-07-22  John Levon  <levon@movementarian.org>
5852
5853         * Thesaurus.h: include the right aiksaurus header
5854
5855 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5856
5857         * MenuBackend.C (expand): check menu shortcuts unconditionally
5858
5859 2003-07-21  Angus Leeming  <leeming@lyx.org>
5860
5861         * factory.C (createInset): pass a
5862         buffer_path parameter to InsetGraphicsMailer's string2params.
5863
5864 2003-07-21  Angus Leeming  <leeming@lyx.org>
5865
5866         * BufferView_pimpl.C (buffer):
5867         * buffer.C (d-tor):
5868         * lyx_main.C (LyX):
5869         * lyxfunc.C (dispatch):
5870         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5871         rather than the grfx shortcut.
5872
5873 2003-07-21  André Pönitz  <poenitz@gmx.net>
5874
5875         * rowpainter.C: remove unused variables
5876
5877         * tabular_funcs.C:
5878         * tabular_funcs.h: move to tabular.C
5879         * Makefile.am: adjust
5880
5881         * tabular.[Ch]: basic optical cleaning
5882
5883         * author.h: pass references, not values
5884
5885 2003-07-18  André Pönitz  <poenitz@gmx.net>
5886
5887         * lyxtext.h:
5888         * metricsinfo.C:
5889         * metricsinfo.h:
5890         * rowpainter.C:
5891         * text.C:
5892         * text2.C:
5893         * text3.C: two-phase drawing for InsetText and InsetTabular
5894         some float -> int changes.
5895
5896 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5897
5898         * lyx_main.C: fix the fix
5899
5900 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * lyx_main.C: fix a crash in batch mode if no files specified
5903         * converter.C: ws
5904
5905 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5906
5907         * format.[Ch] (papersize): moved to BufferParams
5908         * converter.[Ch] (dvips_options): moved to BufferParams
5909         (dvipdfm_options): moved to anon namespace
5910         * bufferparams.[Ch]: added above functions.
5911
5912 2003-07-17  André Pönitz  <poenitz@gmx.net>
5913
5914         * lyxtext.h:
5915         * rowpainter.C:
5916         * text2.C: don't call inset->update() anymore
5917
5918         * metricsinfo.[Ch]: add convenience constructor
5919
5920 2003-07-16  André Pönitz  <poenitz@gmx.net>
5921
5922         * lyxcursor.[Ch]:
5923         * lyxfunc.[Ch]:
5924         * text.C:
5925         * text2.C: replace the LyXCursor::irow_ member with
5926          on-demand computation of the value
5927
5928 2003-07-16  John Levon  <levon@movementarian.org>
5929
5930         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5931
5932 2003-07-15  André Pönitz  <poenitz@gmx.net>
5933
5934         * text.C:
5935         * text2.C: remove no more needed refresh_row
5936
5937 2003-07-15  André Pönitz  <poenitz@gmx.net>
5938
5939         * lyxtext.h:
5940         * rowpainter.C:
5941         * text2.C:
5942         * text3.C: refresh_status tristate -> need_update bool
5943
5944 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * lyxtext.h (init): remove reinit argument (act as if always true)
5947         * text2.C: adjust to that
5948
5949 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5950
5951         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5952         * text3.C: use it to delete selections in some cases
5953         (bugs 441, 673, 702, 954).
5954
5955 2003-07-14  André Pönitz  <poenitz@gmx.net>
5956
5957         * rowpainter.[Ch]: reduce interface
5958
5959 2003-07-14  André Pönitz  <poenitz@gmx.net>
5960
5961         * BufferView_pimpl.C:
5962         * text2.C: adjust after removing unused BufferView * argument
5963
5964 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5965
5966         * text2.C (init): fix a crash fired on resize
5967
5968 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * buffer.[Ch]: added new closing signal
5971         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5972         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5973         BufferView::Pimpl via the closing the signal
5974
5975 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5976
5977         * buffer.[Ch]: take out all bv-related from buffer
5978         * BufferView.C:
5979         * BufferView_pimpl.[Ch]: connect to new signals
5980         * CutAndPaste.C: removed useless asserts
5981         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5982         * lyxvc.[Ch]:
5983         * vc-backend.[Ch]:
5984         * lyxfunc.C: moved view-related funciontality from vc here
5985         * paragraph.C: removed outdated comments
5986         * text.C: ws
5987
5988 2003-07-10  André Pönitz  <poenitz@gmx.net>
5989
5990         * BufferView_pimpl.C:
5991         * tabular.h:
5992         * tabular_funcs.C:
5993         * text.C:
5994         * text2.C: remove InsetText::InnerCache, clean up consequences
5995
5996 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5997
5998         * ispell.C: fix two typos in error messages
5999
6000 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6001
6002         * Extend Note inset to other forms of annotation like Comment
6003         and Greyedout. Right button click gives dialog.
6004
6005         Files modified or added (+):
6006
6007         * insetnote.[Ch]
6008         * FormNote.[Ch]      +
6009         * ControlNote.[Ch]   +
6010         * form_note.fd       +
6011         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6012         frontends/controllers
6013         * xforms/Dialogs.C
6014         * factory.C
6015
6016 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6017
6018         * aspell.C: add missing namespace lyx::support
6019
6020 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * BufferView.[Ch] (newFile): Add
6023         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6024         * LaTeX.[Ch] (message): added this signal and use it
6025         * buffer.[Ch] (busy, message): added these signals and use them
6026         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6027         * converter.C:
6028         * exporter.C:
6029         * format.C:
6030         * importer.C: use buffer signals instead of direct bv calling
6031         * lyx_cb.[Ch] (ShowMessage): removed
6032         * lyx_main.C:
6033         * lyxfunc.C:
6034         * paragraph_funcs.C:
6035         * text2.C: use buffer signals
6036
6037 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * introduce namespace lyx::graphics
6040
6041 2003-07-02  André Pönitz  <poenitz@gmx.net>
6042
6043         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6044
6045 2003-07-01  André Pönitz  <poenitz@gmx.net>
6046
6047         * text.C:
6048         * text2.C:
6049         * text3.C:
6050         * text_funcs.[Ch]:
6051         * textcursor.h:
6052         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6053           text*.C to text_func.C
6054
6055 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * introduce namespace lyx::support
6058
6059 2003-06-30  André Pönitz  <poenitz@gmx.net>
6060
6061         * Chktex.C:
6062         * funcrequest.C:
6063         * lyxtext.h:
6064         * text.C: re-enable --with-included-string
6065
6066 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * textcursor.C: add <config.h>
6069
6070         * text.C (getWord): remove const from word_location arg
6071
6072         * lyxvc.C (getLogFile): fix const type order
6073
6074         * lyxtext.h: remove const from word_location arg, add arg name
6075
6076         * lyxlayout.h: currect type on labeltype.
6077
6078         * importer.C: correct \file
6079
6080         * converter.C (intToFormat): use std:: on ret val, ws changes
6081
6082         * bufferlist.h: correct \file
6083
6084         * buffer.C (makeLinuxDocFile): fix const type order
6085         (makeDocBookFile): ditto
6086         (fillWithBibKeys): use std:: on stdlib args.
6087
6088         * CutAndPaste.C: fix authors.
6089         (availableSelections): use std:: on return vector
6090
6091 2003-06-27  André Pönitz  <poenitz@gmx.net>
6092
6093         * BufferView_pimpl.C:
6094         * bufferview_funcs.C:
6095         * lyxcursor.C:
6096         * lyxcursor.h:
6097         * lyxfunc.C:
6098         * lyxtext.h:
6099         * rowpainter.C:
6100         * text.C:
6101         * text2.C:
6102         * text3.C: remove LyXCursor::row_ member
6103
6104         * lyxtext.h:
6105         * text.C: rename fullRebreak() to partialRebreak() and implement
6106           a fullRebreak() that really bereks fully
6107
6108         * textcursor.h: new struct for cursor-related data
6109
6110 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6111
6112         * lyx_main.C (LyX): get full path of document loaded on the
6113         command line
6114
6115 2003-06-26  André Pönitz  <poenitz@gmx.net>
6116
6117         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6118           remove unused/broken operator>,<,>=.
6119
6120         *       text.C: remove only use of broken operator<= in an Assert().
6121
6122 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6123
6124         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6125         moved errorlist_.clear to showErrorList
6126
6127 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6128
6129         * converter.C (scanLog, runLaTeX):
6130         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6131         move the bv->showErrorList call to the callers
6132         * lyxfunc.C: i.e. here...
6133         * text2.C: and here
6134         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6135         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6136         namespace, the second to...
6137         * buffer_funcs (BufferFormat, parseErrors): added
6138         * errorlist.C (ErrorList(TeXErrors const &)): removed
6139
6140 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6141
6142         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6143
6144 2003-06-24  "Garst R. Reese" <reese@isn.net>
6145
6146         * debug.C: fix typo
6147
6148 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6149
6150         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6151
6152         * version.C.in: change docversion to 1.4
6153
6154 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * buffer.C: fix a bug just introduced
6157
6158 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6159
6160         * buffer.[Ch]: added the parseError signal and use it, removed
6161         sgmlError
6162         * BufferView.[Ch] (addError): moved to ...
6163         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6164         to the Buffer::parseError signal to catch (guess what) parse errors
6165         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6166
6167 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6168
6169         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6170         ability to create a buffer and to return an existing one from
6171         the list. Moved these functions to...
6172         * buffer_funcs.[Ch]: added
6173         * BufferView.[Ch] (loadLyXFile): added
6174         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6175         job removed from bufferlist::loadLyXFile.
6176         * buffer.C (setReadOnly): make it work without view
6177         (i.e added an if (users))
6178
6179 2003-06-19  Angus Leeming  <leeming@lyx.org>
6180
6181         * lfuns.h:
6182         * LyXAction.C (init):
6183         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6184         with LFUN_DIALOG_SHOW <name> <data>.
6185
6186 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6187
6188         * CutAndPaste.C (availableSelections): small compilation fix for
6189         ancient (gcc 2.9x) compilers
6190
6191 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * text3.C (cursorNext): add tmp var
6194
6195         * text2.C (updateCounters): for function calling out of for clause
6196         (replaceSelectionWithString): ditto
6197         (insertStringAsParagraphs): ditto
6198         (getColumnNearX): add tmp var
6199         (setCursorFromCoordinates): add tmp var
6200         (cursorDownParagraph): add tmp var
6201         (deleteEmptyParagraphMechanism): add tmp var
6202
6203         * text.C (insertChar): add tmp var
6204
6205         * rowpainter.C (paintDepthBar): add tmp var
6206
6207         * CutAndPaste.C (availableSelections): potentially check all
6208         paragraphs in a cut to fill the shown strings.
6209
6210 2003-06-18  André Pönitz  <poenitz@gmx.net>
6211
6212         * kbmap.[Ch]: use vector<> instead of list<>
6213
6214 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6215
6216         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6217         pasteSelection with index
6218
6219         * text2.C (pasteSelection): modify, call pasteSelection with index
6220
6221         * paragraph.C (asString): reimplement version with no interval to
6222         call the one with interval.
6223
6224         * lyxtext.h: add index arg to pasteSelection
6225
6226         * MenuBackend.C (MenuItem): handle PasteRecent
6227         (Menu::read::Menutags): add md_pasterecent
6228         (read): handle it
6229         (expandPasteRecent): new function
6230         (expand): use it
6231
6232         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6233
6234         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6235         the limited stack
6236         (availableSelections): new function
6237
6238 2003-06-17  Angus Leeming  <leeming@lyx.org>
6239
6240         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6241
6242 2003-06-17  Angus Leeming  <leeming@lyx.org>
6243
6244         * lfuns.h:
6245         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6246
6247         * lyxfunc.C (dispatch): invoke it.
6248
6249 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6250
6251         * iterators.C (operator++, ParPosition): reintroduce some
6252         const_cast for the benefit of older compilers.
6253
6254 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6255
6256         * text3.C (dispatch): do not modify clipboard when doing
6257         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6258         LFUN_DELETE_SKIP on a selection selection
6259
6260 2003-06-16  André Pönitz  <poenitz@gmx.net>
6261
6262         * BufferView.C:
6263         * buffer.C:
6264         * buffer.h:
6265         * paragraph.C:
6266         * tabular.[Ch]: IU of clone() and getLabelList();
6267
6268 2003-06-13  André Pönitz  <poenitz@gmx.net>
6269
6270         * tabular.h: compactification
6271
6272 2003-06-12  André Pönitz  <poenitz@gmx.net>
6273
6274         * tabular.C:
6275         * tabular.h:
6276         * tabular_funcs.h: some renaming plus whitespace
6277
6278 2003-06-12  André Pönitz  <poenitz@gmx.net>
6279
6280         * BufferView.C:
6281         * BufferView_pimpl.C:
6282         * CutAndPaste.C:
6283         * buffer.C:
6284         * iterators.[Ch]:
6285         * lyxfunc.C:
6286         * text.C:
6287         * toc.C: Return a Paragraph & for ParIterator::operator*()
6288
6289 2003-06-11  John Levon  <levon@movementarian.org>
6290
6291         * lyx_main.C:
6292         * ToolbarBackend.h:
6293         * ToolbarBackend.C: add "Toolbars" section and
6294         put the flags there
6295
6296 2003-06-10  Angus Leeming  <leeming@lyx.org>
6297
6298         * lfuns.h:
6299         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6300
6301         * lyxfunc.C (dispatch): invoke it.
6302
6303 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * main.C: protect <ios> with HAVE_IOS
6306         (main): protect sync_with_stdio with HAVE_IOS
6307
6308 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6309
6310         * text2.C (cutSelection): adjust
6311         (pasteSelection): adjust
6312
6313         * messages.C: handle get of empty string
6314
6315         * main.C (main): use sync_with_stdio(false)
6316
6317         * lyxfunc.C (dispatch): adjust
6318
6319         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6320         (WriteAs): remove unneeded BufferView arg.
6321
6322         * bufferparams.h: use correct types on papersize, papersize2 and
6323         paperpackage.
6324
6325         * bufferparams.C (readToken): adjust for type
6326         (writeLaTeX): add missing cases to switch.
6327
6328         * bufferlist.C (quitWriteBuffer): adjust
6329         (close): adjust
6330
6331         * buffer.C (asciiParagraph): remove some commented code.
6332
6333         * CutAndPaste.C: remove current_view extern variable.
6334         (cutSelection): add BufferParams arg.
6335         (eraseSelection): add BufferParams arg.
6336         (pasteSelection): add Buffer const & arg
6337
6338 2003-06-07  John Levon  <levon@movementarian.org>
6339
6340         * buffer.C:
6341         * paragraph_funcs.C:
6342         * paragraph_pimpl.C:
6343         * text.C:
6344         * text2.C:
6345         * paragraph.h:
6346         * paragraph.C: allow InsetERT to freely space lines,
6347         and some consolidation of code
6348
6349 2003-06-06  José Matos  <jamatos@fep.up.pt>
6350
6351         * buffer.C (makeDocBookFile): fix bug #821
6352
6353 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6354
6355         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6356
6357 2003-06-04  Angus Leeming  <leeming@lyx.org>
6358
6359         * buffer.C: bump format to 224.
6360
6361 2003-06-05  André Pönitz  <poenitz@gmx.net>
6362
6363         * text2.C (redoParagraphs): remove two const_cast<>
6364
6365 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6366
6367         * ParagraphList.h: remove last remnants of NO_STD_LIST
6368
6369 2003-06-03  Angus Leeming  <leeming@lyx.org>
6370
6371         * factory.C (createInset): small change to the way InsetExternal's params
6372         are set.
6373
6374 2003-06-04  André Pönitz  <poenitz@gmx.net>
6375
6376         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6377
6378         * paragraph_pimpl.h:
6379         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6380
6381         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6382
6383         * undo_funcs.C: make some simple cases of undo work again
6384
6385 2003-06-03  John Levon  <levon@movementarian.org>
6386
6387         * ispell.C: HPUX doesn't have sys/select.h
6388         (from Albert Chin)
6389
6390 2003-06-03  John Levon  <levon@movementarian.org>
6391
6392         * CutAndPaste.C: update tabular and include inset
6393         buffer references
6394
6395         * buffer.h:
6396         * paragraph.h:
6397         * paragraph.C: remove owningBuffer(), don't pass Buffer
6398         to clone()
6399
6400         * factory.C: insetGraphicsParams changed
6401
6402 2003-06-02  John Levon  <levon@movementarian.org>
6403
6404         * LyXAction.C:
6405         * factory.C:
6406         * lfuns.h:
6407         * lyxfunc.C:
6408         * text3.C: remove insetparent
6409
6410 2003-06-02  John Levon  <levon@movementarian.org>
6411
6412         * buffer.h:
6413         * buffer.C: fix inset_iterator.end(), move out of line
6414         (bug 1149)
6415
6416 2003-06-01  John Levon  <levon@movementarian.org>
6417
6418         * text3.C: use a proper cut/paste when doing inset
6419         insert (from Jürgen Spitzmüller)
6420
6421 2003-06-01  John Levon  <levon@movementarian.org>
6422
6423         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6424
6425 2003-05-30  André Pönitz  <poenitz@gmx.net>
6426
6427         * rowpainter.C: unify second drawing phase
6428
6429 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * trans_mgr.C: remove one case of current_view
6432
6433         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6434
6435         * paragraph_funcs.h: remove paragraph.h include
6436
6437         * paragraph.h: delete NO_STD_LIST stuff
6438
6439         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6440
6441         * buffer.h: remove paragraph.h include
6442
6443         * ParagraphList.C: delete file
6444
6445         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6446
6447         * toc.C (getTocList): adjust
6448
6449         * paragraph_pimpl.C (validate): adjust
6450
6451         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6452
6453         * paragraph.C (Paragraph): adjust
6454         (getPositionOfInset): use const_iterator, adjust
6455         (bibitem): use const_iterator, adjust
6456         (setInsetOwner): adjust
6457
6458         * iterators.C (operator++): adjust
6459
6460         * InsetList.[Ch]: Replace selfmade iterator with standard
6461         vector::iterator also introduce const_iterator. Remove getPos,
6462         getInset and setInset from InsetTable. Adjust accordingly.
6463
6464         * BufferView.C (lockInset): adjust
6465         (ChangeInsets): adjust
6466
6467         * tabular.[Ch]: delete commented same_id functions
6468
6469 2003-05-28  John Levon  <levon@movementarian.org>
6470
6471         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6472
6473 2003-05-28  André Pönitz  <poenitz@gmx.net>
6474
6475         * metricsinfo.[Ch]: remove 'fullredraw' member
6476
6477 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6478
6479         * lyxtextclass.C (operator): remove caching.
6480
6481 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * text3.C: adjust
6484
6485         * text2.C (cursorBottom): adjust
6486         (setCounter): use ParagraphList::find, adjust
6487
6488         * text.C (workWidth): use ParagraphList::find, adjust
6489
6490         * lyxcursor.C (LyXCursor): adjust
6491
6492         * buffer.C (inset_iterator): adjust
6493
6494         * ParagraphList.h: make iterator(value_type) private, make
6495         ParagraphList a friend of iterator.
6496
6497         * ParagraphList.C (find): new function
6498
6499         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6500
6501 2003-05-27  André Pönitz  <poenitz@gmx.net>
6502
6503         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6504
6505 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6506
6507         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6508
6509 2003-05-26  John Levon  <levon@movementarian.org>
6510
6511         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6512
6513 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * remove same_id from function signatures, adjust.
6516
6517 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6520
6521         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6522
6523         * paragraph.C (Paragraph): get rid of same_ids parameter
6524
6525         * ParagraphList.C (insert): adjust
6526         (push_back): adjust
6527
6528 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6529
6530         * paragraph_funcs.C (breakParagraph): adjust
6531         (breakParagraphConservative): adjust
6532
6533         * buffer.C (readParagraph): adjust
6534
6535         * ParagraphList.C (insert): take a reference instead of a pointer
6536         (insert): adjust
6537
6538         * paragraph.[Ch] (id): new function
6539
6540         * bufferlist.C (newFile): adjust
6541
6542         * ParagraphList.C (ParagraphList): adjust
6543         (assign): adjust
6544         (push_back): take a reference instead of a pointer.
6545
6546         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6547
6548         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6549         instead.
6550
6551         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6552         set else use old code.
6553
6554         * ParagraphList.C: remove all NO_NEXT code and only compile this
6555         code of NO_STD_LIST is set.
6556
6557 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * BufferView_pimpl.C:
6560         * TextCache.C:
6561         * TextCache.h:
6562         * bufferlist.C:
6563         * errorlist.h:
6564         * format.C:
6565         * format.h:
6566         * graph.C:
6567         * lyxfunc.C:
6568         * lyxrc.C:
6569         * graphics/GraphicsConverter.C:
6570         * graphics/PreviewLoader.C: header adjustment
6571
6572 2003-05-23  Angus Leeming  <leeming@lyx.org>
6573
6574         * LaTeXFeatures.[Ch] (useBabel): new method.
6575         * bufferparams.C (writeLaTeX): use it.
6576
6577 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * ParagraphList.h (set): remove unused function.
6580
6581 2003-05-23  André Pönitz  <poenitz@gmx.net>
6582
6583         * BufferView.C:
6584         * BufferView_pimpl.C:
6585         * buffer.C:
6586         * buffer.h:
6587         * lyxfunc.C:
6588         * undo_funcs.C: setUndo reworked
6589
6590         * iterators.[Ch]: add access to topmost ParagraphList
6591
6592         * lyxtext.[Ch] (workWidth): add a const
6593
6594 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6595
6596         * texrow.[Ch] (increasePos): remove function
6597         * exporter.C (export): removed unused var and outdated comment
6598
6599 2003-05-23  Angus Leeming  <leeming@lyx.org>
6600
6601         * latexrunparams.h: rename fragile as moving_arg.
6602         * paragraph.C (simpleTeXOnePar): ditto.
6603         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6604
6605 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6608         (createUndo): ditto
6609         (textUndoOrRedo): comment out a currently unused var.
6610
6611         * paragraph.h (NO_NEXT): enable NO_NEXT
6612
6613         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6614
6615         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6616
6617         * exporter.C (Export): adjust for removeAutoInsets removal.
6618
6619         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6620
6621         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6622
6623         * BufferView.[Ch] (removeAutoInsets): delete function
6624
6625 2003-05-22  Angus Leeming  <leeming@lyx.org>
6626
6627         * latexrunparams.h: add a free_spacing variable.
6628
6629         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6630         to pass moving_arg, as the data is stored in runparams.fragile.
6631
6632         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6633         to Inset::latexOptional or to simpleTeXOnePar.
6634
6635         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6636         free_spacing arg to Inset::latexOptional.
6637
6638         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6639         free_spacing arg.
6640
6641 2003-05-22  Angus Leeming  <leeming@lyx.org>
6642
6643         * latexrunparams.h: add fragile and use_babel variables.
6644
6645         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6646         * buffer.C (makeLaTeXFile): store this returned value in
6647         runparams.use_babel, thus passing it to the inset::latex methods.
6648
6649         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6650         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6651
6652         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6653         longer has a fragile arg, as it is stored in runparams.fragile.
6654
6655         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6656         moving_arg parameter as the data is stored in runparams.fragile.
6657
6658         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6659         a fragile parameter as the data is stored in runparams.fragile.
6660
6661 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6664
6665 2003-05-22  Angus Leeming  <leeming@lyx.org>
6666
6667         * latexrunparams.h: add a 'bool nice' which defaults to false.
6668
6669         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6670         now encapsulated within runparams.
6671
6672         * bufferlist.C (updateIncludedTeXfiles):
6673         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6674
6675 2003-05-22  Angus Leeming  <leeming@lyx.org>
6676
6677         * latexrunparams.h: new file containing struct LatexRunParams.
6678         * Makefile.am: add new file.
6679
6680         * LaTeX.[Ch] (c-tor, run):
6681         * buffer.[Ch] (makeLaTeXFile):
6682         * bufferlist.[Ch] (updateIncludedTeXfiles):
6683         * converter.C (convert, scanLog):
6684         * converter.[Ch] (runLaTeX):
6685         * exporter.C (Export):
6686         * paragraph.[Ch] (simpleTeXOnePar):
6687         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6688         * paragraph_funcs.[Ch] (latexParagraphs):
6689         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6690         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6691         pass around a LatexRunParams parameter.
6692
6693 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * paragraph.[Ch]: remove unused constructor
6696
6697         * ParagraphList.C (erase): new function, taking two iterators
6698
6699 2003-05-22  André Pönitz  <poenitz@gmx.net>
6700
6701         * undo_funcs.C: remove duplicated code
6702
6703         * iterator.[Ch]: operator=
6704
6705 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * tabular.C (SetMultiColumn): ws changes
6708
6709         * rowpainter.C (paintFirst): get rid of a ->previous
6710
6711         * lyx_cb.C (getPossibleLabel): parlist simplification
6712
6713         * BufferView.C (ChangeInsets): simplify slightly.
6714
6715 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6716
6717         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6718         * lfuns.h: new LFUN_SPACE
6719         * lyxfunc.C: protected space has a new lfun
6720         * paragraph_funcs.C: read new space insets
6721         * text3.C:
6722         * factory.C: handle new space insets
6723
6724 2003-05-22  André Pönitz  <poenitz@gmx.net>
6725
6726         * BufferView.C:
6727         * BufferView_pimpl.C:
6728         * buffer.[Ch]:
6729         * lyxfunc.C:
6730         * undo_funcs.C: return a ParIterator from getParFromID.
6731
6732         * iterators.[Ch]: add two const's
6733
6734 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * toc.C (getTocList): adjust
6737
6738         * iterators.[Ch]: rework for parlist
6739
6740         * buffer.C (par_iterator_begin): adjust
6741         (par_iterator_end): adjust
6742
6743         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6744
6745         * BufferView.C (removeAutoInsets): adjust
6746         (ChangeInsets): adjust
6747
6748 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6749
6750         * text.C (top_y): fix bug 1110
6751
6752 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6753
6754         * errorlist.[Ch]: added
6755         * buffer.C:
6756         * BufferView.[Ch]:
6757         * BufferView_pimpl.C:
6758         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6759         instead
6760
6761 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * Makefile.am: ensure that lyx is relinked upon changes to the
6764         various "convenience" libs.
6765
6766 2003-05-20  Angus Leeming  <leeming@lyx.org>
6767
6768         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6769         files are compiled in alphabetical order again.
6770
6771         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6772
6773 2003-05-19  Angus Leeming  <leeming@lyx.org>
6774
6775         * gettext.[Ch]: remove "char const * _(char const *)".
6776
6777 2003-05-19  André Pönitz  <poenitz@gmx.net>
6778
6779         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6780
6781         * Makefile.am:
6782         * BufferView.C:
6783         * DepTable.h:
6784         * LaTeXFeatures.C:
6785         * buffer.C:
6786         * lyxfont.C:
6787         * lyxlex.h:
6788         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6789
6790 2003-05-19  André Pönitz  <poenitz@gmx.net>
6791
6792         * buffer.C:
6793         * lyxlayout.[Ch]:
6794         * lyxtextclass.[Ch]:
6795         * paragraph.C:
6796         * paragraph_funcs.[Ch]:
6797         * text2.C:
6798         * text3.C: more insetenv work
6799
6800 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6801
6802         * ParagraphParameters.C (params2string): small bug fixed
6803
6804 2003-05-16  André Pönitz  <poenitz@gmx.net>
6805
6806         * debug.C:
6807         * bufferview_funcs.C: patch from Kornel Benko to prevent
6808           crash when _(...) is called twice in a statement
6809
6810 2003-05-16  André Pönitz  <poenitz@gmx.net>
6811
6812         * BufferView.C:
6813         * lyxfunc.C:
6814         * text.C:
6815         * text2.C:
6816         * text3.C:
6817         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6818
6819 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * lyx_main.C (init): remove spurious static_cast
6822
6823 2003-05-14  André Pönitz  <poenitz@gmx.net>
6824
6825         * BufferView.C: fix format string
6826
6827 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6828
6829         * BufferView.[Ch] (insertErrors): removed
6830         * BufferView.[Ch] (showErrorList): added
6831         * buffer.C (runChkTeX):
6832         * converter.C (scanLog): call showErrorList instead of inserterrors
6833
6834 2003-05-13  André Pönitz  <poenitz@gmx.net>
6835
6836         * BufferView_pimpl.C:
6837         * buffer.C:
6838         * bufferview_func.C:
6839         * MenuBackend.C:
6840         * lyxfunc.C:
6841         * lyxrc.C:
6842         * tex-accent.C:
6843         * text3.C:
6844         * toc.C:
6845         * tabular_funcs.h: tostr() from its own header
6846
6847         * ParagraphParameters.C:
6848         * ToolbarBackend.C:
6849         * bufferparams.C:
6850         * format.C:
6851         * lyxlex_pimpl.C:
6852         * text3.C: STRCONV()
6853
6854 2003-05-12  André Pönitz  <poenitz@gmx.net>
6855
6856         * BufferView.C:
6857         * BufferView_pimpl.C:
6858         * CutAndPaste.C:
6859         * LaTeX.C:
6860         * LaTeXFeatures.C:
6861         * ParagraphParameters.C:
6862         * buffer.C:
6863         * bufferlist.C:
6864         * bufferparams.C:
6865         * bufferview_funcs.C:
6866         * converter.C:
6867         * counters.C:
6868         * debug.C:
6869         * exporter.C:
6870         * format.C:
6871         * importer.C:
6872         * lyx_cb.C:
6873         * lyx_main.C:
6874         * lyxfont.C:
6875         * lyxfunc.C:
6876         * lyxvc.C:
6877         * paragraph.C:
6878         * paragraph_funcs.C:
6879         * tabular.C:
6880         * tabular_funcs.C:
6881         * text2.C:
6882         * text3.C:  boost::format -> bformat  all over the place
6883
6884
6885 2003-05-09  André Pönitz  <poenitz@gmx.net>
6886
6887         * LColor.[Ch]: Pimpl the #include <map> away
6888
6889 2003-05-09  John Levon  <levon@movementarian.org>
6890
6891         * bufferlist.C: never remove emergency saves
6892
6893 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * Makefile.am: better lib building
6896
6897 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6900         instead.
6901         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6902         (simpleTeXSpecialChars): adjust
6903         (simpleTeXSpecialChars): adjust
6904         * paragraph.C (simpleTeXOnePar): adjust
6905         * buffer.C (makeLaTeXFile): adjust
6906
6907         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6908
6909         * text2.C (changeDepth): parlist cleanup
6910         (getColumnNearX): ditto
6911
6912         * rowpainter.C (getLabelFont): parlist cleanup
6913
6914         * bufferlist.C (newFile): parlist cleanup
6915
6916         * CutAndPaste.C (eraseSelection): parlist cleanup
6917
6918         * BufferView_pimpl.C (trackChanges): parlist cleanup
6919         (dispatch): ditto
6920
6921         * BufferView.C (lockInset): parlist cleanup.
6922         (ChangeInsets): ditto
6923
6924 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * CutAndPaste.h: Update file header.
6927
6928         * CutAndPaste.C: Update file header.
6929         Store the parts cut out of the Document in a limited_stack.
6930         (copySelection): adjust
6931         (pasteSelection): new function, takes the index in the limited stack.
6932         (nrOfParagraphs): adjust
6933         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6934         simplify error inset insertion.
6935         (checkPastePossible): adjust
6936
6937 2003-05-06  John Levon  <levon@movementarian.org>
6938
6939         * text2.C: don't cast wrap inset to float
6940
6941 2003-05-05  André Pönitz  <poenitz@gmx.net>
6942
6943         * iterator.C:
6944         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6945
6946         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6947           few naked Paragraph *.
6948
6949 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6950
6951         * bufferparams.C: Output warning if a document with missing
6952         TeX document class is loaded
6953         * exporter.C: Disable TeX exports if the document class is missing
6954         * lyxtextclass.C:
6955         * lyxtextclass.h:
6956         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6957         isTeXClassAvailable()
6958
6959 2003-05-03  John Levon  <levon@movementarian.org>
6960
6961         * BufferView.h:
6962         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6963         explicit cursor show/hide
6964
6965         * BufferView_pimpl.h:
6966         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6967         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6968
6969         * lyxfunc.C: hide cursor before dispatching.
6970
6971         * lyx_cb.C:
6972         * lyxfind.C:
6973         * text.C:
6974         * text3.C: remove explicit cursor hides
6975
6976 2003-05-02  André Pönitz  <poenitz@gmx.net>
6977
6978         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6979
6980         * undo_funcs.C:
6981         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6982           linked lists
6983
6984         * text2.C: tiny whitespace
6985
6986 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * undo_funcs.C: almost only ws changes.
6989
6990         * ParagraphList.C (splice): just return if pl is empty.
6991
6992 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * ParagraphList.C (splice): new function.
6995
6996         * CutAndPaste.C (pasteSelection): use it
6997
6998 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * CutAndPaste.C (pasteSelection): remove the last next and
7001         previous from this file.
7002
7003 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * CutAndPaste.C (pasteSelection): more clean up, user proper
7006         ParagraphList functions for pasteing.
7007
7008         * ParagraphList.C (insert): new function, three arg insert
7009
7010 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * ParagraphList.C (insert): new function, three arg insert
7013
7014         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7015         not on paragraphs.
7016
7017 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7020
7021 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7024
7025 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7028         (copySelection): clean up a bit.
7029         (pasteSelection): use make_pair
7030
7031         * ParagraphList.C (ParagraphList): implement copy constructor
7032         (operator=): implement, base on copy constructor.
7033         (assign): new func
7034
7035         * paragraph.C (erase): return a bool
7036
7037         * paragraph_pimpl.C (erasePos): remove function, move contents...
7038         (erase): ... here. Return a bool.
7039         (erase): call erase instead of erasePos.
7040
7041 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7042
7043         * ParagraphList.h: define PitPosPair
7044         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7045         ParagraphList, fix a bug on pasting multiple pars
7046         * text2.C: change interface to C&P
7047
7048 2003-04-30  André Pönitz  <poenitz@gmx.net>
7049
7050         * undo_func.C: revert part of yesterday's patch 2
7051
7052 2003-04-30  John Levon  <levon@movementarian.org>
7053
7054         * LColor.C: s/tabular/table/
7055
7056 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text3.C (dispatch): do not convert iterator -> pointer
7059         * undo_funcs.C (setCursorParUndo): ditto
7060         * text_funcs.C (transposeChars): ditto
7061
7062         * text2.C (setLayout): ws changes only
7063
7064         * text.C (breakParagraph): do not convert iterator -> pointer
7065         (insertChar): ditto
7066         (acceptChange): ditto
7067         (rejectChange): ditto
7068         (changeCase): ditto
7069         (Delete): ditto
7070         (backspace): ditto
7071
7072         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7073         pointer
7074
7075 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * text3.C (gotoInset): YABG (yet another bad getChar)
7078
7079 2003-04-29  André Pönitz  <poenitz@gmx.net>
7080
7081         * paragraph.h: make operator= private unimplemented as long as
7082           it is unusable
7083
7084         * ParagraphList.C: whitespace
7085
7086         * paragraph.[Ch]:
7087         * paragraph_pimpl.[Ch]:
7088         * paragraph_funcs.C:
7089         * CutAndPaste.C:
7090         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7091
7092         * text2.C:
7093           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7094
7095 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7098         * paragraph.[Ch] (erase):
7099         * paragraph_pimpl.[Ch] (erase): change return type and value
7100         * text2.C (cutSelection): some rework
7101
7102 2003-04-28  John Levon  <levon@movementarian.org>
7103
7104         * bufferlist.C: changes for unsaved changes dialog
7105
7106 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * bufferlist.C (newFile): set language (messages_) for new
7109         documents also.
7110
7111         * buffer.C (readFile): ws changes only.
7112
7113 2003-04-28  André Pönitz  <poenitz@gmx.net>
7114
7115         * undo_funcs.C:
7116         * lyxfunc.C:
7117         * buffer.[Ch]:
7118         * BufferView_pimpl.C:
7119         * BufferView.C: getParFromID related ParagraphList::iterator changes
7120
7121 2003-04-28  André Pönitz  <poenitz@gmx.net>
7122
7123         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7124           Changes
7125
7126 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * messages.C: remove one more localedir class variable.
7129
7130 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7131
7132         * messages.C (getLocaleDir): singleton generation function
7133         (Pimpl): use it.
7134         (Messages): add a default constructor.
7135
7136         * main.C (main): do not setup localedir here, do not call
7137         gettext_init.
7138
7139         * gettext.C (_): use it.
7140         (gettext_init): delete funciton
7141
7142 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * gettext.C (getLyXMessages): new singleton generating function.
7145
7146         * buffer.C (updateDocLang): adjust
7147
7148         * Makefile.am (messages.o): add target
7149         (main.o): remove target
7150
7151 2003-04-27  John Levon  <levon@movementarian.org>
7152
7153         * bufferlist.C:
7154         * lyx_cb.C:
7155         * lyxfunc.C:
7156         * lyxvc.C: specify cancel button in Alert::prompt
7157
7158 2003-04-26  John Levon  <levon@movementarian.org>
7159
7160         * text3.C:
7161         * lyxfunc.C:
7162         * lfuns.h:
7163         * LyXAction.C: add LFUN_INSET_SETTINGS
7164
7165         * lyxfunc.C: don't enable tabular-feature when there's
7166         just any locking inset
7167
7168 2003-04-26  John Levon  <levon@movementarian.org>
7169
7170         * bufferlist.C: re-add Cancel to buffer close question
7171
7172         * lyxfunc.C: fix import UI a bit
7173
7174 2003-04-25  John Levon  <levon@movementarian.org>
7175
7176         * gettext.C: remove the broken asserts for now
7177
7178 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * messages.C: make case where setlocale cannot comply work better.
7181
7182         * buffer.C (updateDocLang): new function
7183         (changeLanguage): use it
7184         (readFile): use it
7185
7186         * text2.C (setCounter): use B_ a bit.
7187
7188         * lyxlayout.C (Read): be sure to trim the label strings.
7189
7190         * messages.C (Messages): fix typo in comment
7191
7192         * buffer.C (readFile): set message_ after file is loaded.
7193         (makeDocBookFile): remove double return
7194         (changeLanguage): reset message_ upon language change.
7195         (B_): new func, use this to get translated buffer strings.
7196
7197         * main.C: add myself and Jean Marc as authors.
7198
7199 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * messages.[hC]: pimplify Messages, and three different pimpls to be
7202         used in different circumstances.
7203
7204         * gettext.[Ch]: change for use with new message code.
7205
7206 2003-04-24 André Pönitz <poenitz@gmx.net>
7207
7208         * factory.C: support for eqref
7209
7210 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * messages.[Ch]: add missing char
7213
7214         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7215
7216         * messages.[Ch]: New files
7217
7218 2003-04-18  John Levon  <levon@movementarian.org>
7219
7220         * BufferView.h:
7221         * BufferView.C:
7222         * BufferView_pimpl.C:
7223         * lfuns.h:
7224         * LyXAction.C:
7225         * lyxtext.h:
7226         * text2.C: remove layout-copy/paste (bug 778)
7227
7228 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7229
7230         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7231
7232 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7235         if they succeed. Act accordingly.
7236
7237 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * text2.C (setCharFont): adjust
7240         (setCounter): adjust
7241         (insertStringAsLines): adjust
7242
7243         * text.C (leftMargin): adjust
7244         (setHeightOfRow): adjust
7245
7246         * rowpainter.C (paintFirst): adjust
7247         (paintLast): adjust
7248
7249         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7250         (outerHook): ditto
7251         (isFirstInSequence): ditto
7252         (getEndLabel): ditto
7253         (outerFont): adjust
7254
7255         * paragraph.C (getParLanguage): comment out some hard stuff.
7256
7257         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7258         (sgmlError): ditto
7259         (simpleDocBookOnePar): ditto
7260         (makeDocBookFile): use ParagraphList::iterator
7261
7262         * CutAndPaste.C (pasteSelection): adjust
7263
7264 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * text2.C (getFont): adjust
7267         (getLayoutFont): adjust
7268         (getLabelFont): adjust
7269
7270         * paragraph_funcs.C (TeXOnePar): adjust
7271
7272         * buffer.C (simpleLinuxDocOnePar): adjust
7273         (simpleDocBookOnePar): adjust
7274
7275         * CutAndPaste.C (pasteSelection): adjust
7276
7277         * BufferView.C (getEncoding): adjust
7278
7279         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7280
7281 2003-04-16  John Levon  <levon@movementarian.org>
7282
7283         * lyxfind.C: use parlist stuff for search/changes
7284
7285 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7288
7289         * text2.C (deleteEmptyParagraphMechanism): adjust
7290
7291         * text2.[Ch] (ownerParagraph): delete func (both of them
7292
7293 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7296
7297 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * ParagraphList.C: prepare for NO_NEXT
7300
7301 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * text2.C (getFont): adjust
7304         (getLayoutFont): adjust
7305         (getLabelFont): adjust
7306
7307         * paragraph.C (getFont): adjust
7308         (getLabelFont): adjust
7309         (getLayoutFont): adjust
7310
7311         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7312
7313 2003-04-15  John Levon  <levon@movementarian.org>
7314
7315         From Angus Leeming
7316
7317         * lyx_main.C: handle Include in .ui files
7318
7319 2003-04-15  John Levon  <levon@movementarian.org>
7320
7321         * MenuBackend.C: make the doc files length shorter
7322
7323         * ToolbarBackend.h:
7324         * ToolbarBackend.C: handle toolbar placement flags,
7325         Minibuffer
7326
7327 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7330         adjust
7331
7332         * paragraph_funcs.C (TeXOnePar): adjust
7333
7334         * paragraph.C (getLabelFont): add outerfont arg, adjust
7335         (getLayoutFont): ditto
7336         (simpleTeXOnePar): adjust
7337
7338         * paragraph_pimpl.C (realizeFont): delete func
7339
7340 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7343         row argument, constify cur argument.
7344
7345 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * text2.C (getFont): adjust
7348         (getLayoutFont): adjust
7349         (getLabelFont): adjust
7350
7351         * paragraph_funcs.C (TeXOnePar): adjust
7352         (outerFont): new func...
7353         (realizeFont): ...moved out from here, changed this to facilitate
7354         transition
7355
7356         * paragraph.C (getFont): take outerfont as arg, adjust
7357         (simpleTeXOnePar): add outerfont arg, adjust
7358
7359         * buffer.C (simpleLinuxDocOnePar): adjust
7360         (simpleDocBookOnePar): adjust
7361
7362         * CutAndPaste.C (pasteSelection): adjust
7363
7364         * BufferView.C (getEncoding): adjust
7365
7366 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * text2.C (setCharFont): adjust
7369         (setCounter): adjust
7370
7371         * text.C (leftMargin): adjust
7372         (setHeightOfRow): adjust
7373
7374         * rowpainter.C (paintFirst): adjust
7375         (paintLast): adjust
7376
7377         * paragraph_pimpl.C (realizeFont): adjust
7378
7379         * paragraph.C (isFirstInSequence): move from here...
7380         * paragraph_funcs.C (isFirstInSequence): ...to here
7381
7382         * paragraph.C (outerHook): move from here...
7383         * paragraph_funcs.C (outerHook): ...to here
7384
7385         * paragraph.C (depthHook): move from here...
7386         * paragraph_funcs.C (depthHook): ...to here
7387
7388         * paragraph.C (getEndLabel): move from here...
7389         * paragraph_funcs.C (getEndLabel): ...to here
7390
7391         * text2.C (realizeFont): move from here...
7392         * paragraph_funcs.C (realizeFont): ...to here
7393
7394 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7397
7398 2003-04-14  Angus Leeming  <leeming@lyx.org>
7399
7400         * LColor.[Ch]: scrap LColor mathcursor.
7401
7402 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * lyxlex.[Ch] (text): delete function
7405         * trans.C (Load): adjust
7406         * paragraph_funcs.C (readParToken): adjust
7407
7408 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7409
7410         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7411         vector<char> instead of a char[].
7412
7413         * lyxlex_pimpl.C (getString): adjust
7414         (next): adjust
7415         (lex): use getString
7416         (eatLine): adjust
7417         (nextToken): adjust
7418
7419         * lyxlex.C (text): use pimpl_->getString()
7420         (getBool): ditto
7421         (findToken): ditto
7422
7423 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7426         (makeFontEntriesLayoutSpecific): temp var for par.size()
7427         (setLayout): temp var for ownerParagraphs().end()
7428         (fullRebreak): temp var for rows().end()
7429         (selectionAsString): temp var for boost::next(startpit), realize
7430         that the while really is a regular for loop.
7431         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7432         setCursor in one place.
7433         (setParagraph): temp vr for ownerParagraphs().end()
7434         (updateCounters): make the while loop a for loop
7435         (cutSelection): temp var for ownerParagraphs().end()
7436         (updateInset): make the do {} while() a regular for loop
7437         (getCursorX): use temp vars
7438         (setCurrentFont): use temp vars
7439         (getColumnNearX): use temp vars
7440
7441 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * text.C (transformChar): use temp var for getChar
7444         (computeBidiTables): use temp var for row->par()
7445         (fill): move temp vars for row->par() and pit->layout() earlier in
7446         the function.
7447         (labelFill): use temp var for row->par()
7448         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7449         asc and desc, realize that pit never changes and that firstpit is
7450         just a duplicate and not needed. Exchange rit->par() with pit in a
7451         lot of places.
7452         (breakAgain): use a temp var for boost::next(rit)
7453         (breakAgainOneRow): ditto
7454         (breakParagraph): use a temp var for rows().begin()
7455         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7456         (cursorRightOneWord): use temp var for cursor.par() and
7457         cursor.pos(), remove usage of tmpcursor.
7458         (cursorLeftOneWord): use temp var for cursor.par() and
7459         cursor.pos() only set cur at end of function.
7460
7461 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * text.C, text2.C: exchange all usage of Paragraph::next with
7464         boost::next(ParagraphList::iterator)
7465
7466         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7467
7468         * text2.C (cursorTop): simplify implementation
7469         (cursorBottom): ditto
7470         (setParagraph): use ParagraphList::iterator
7471         (setCurrentFont): adjust
7472         (getColumnNearX): adjust
7473         (cursorRight): adjust
7474         (cursorLeft): remove usage of Paragraph::previous
7475         (cursorUpParagraph): ditto
7476         (deleteEmptyParagraphMechanism): slight cleanup
7477
7478         * text.C (isBoundary): take a Paragraph const & instead of a
7479         pointer as arg.
7480         (addressBreakPoint): ditto
7481         (leftMargin): remove usage of Paragraph::previous.
7482         (setHeightOfRow): ditto
7483         (cursorLeftOneWord): ditto
7484         (selectNextWordToSpellcheck): ditto
7485         (Delete): ditto
7486         (backspace): ditto
7487         (breakParagraph): remove one usage of Paragraph::next
7488         (redoParagraph): ditto
7489         (acceptChange): ditto
7490         (insertChar): adjust
7491         (rowBreakPoint): adjust
7492
7493         * bufferview_funcs.C (toggleAndShow): adjust
7494
7495 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7498         methods to access it.
7499         * lyxtext.h:
7500         * text.C: Added updateRowPositions to compute all row positions.
7501         Make top_y and getRowNearY() to use the cached y position
7502
7503 2003-04-11  John Levon  <levon@movementarian.org>
7504
7505         * text.C (rowBreakPoint): reintroduce the labelEnd
7506         checks, code copied from the row fill stuff. Deep voodoo.
7507
7508         * text.C (fill): add a comment and debugging for the
7509         next poor soul.
7510
7511 2003-04-11  John Levon  <levon@movementarian.org>
7512
7513         * text.C: make sure fullrow insets get wrapped to the next line,
7514         even when they're in a manual label
7515
7516 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * text2.C (insertParagraph): make it take ParagraphList::iterator
7519         as arg.
7520         (setLayout): make it return ParagraphList::iterator
7521         (redoParagraphs): ditto
7522         (setCounter): ditto
7523         (checkParagraph): ditto
7524
7525         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7526
7527         * text2.C: adjust several funcs.
7528         (realizeFont): take a ParagraphList::iterator as arg.
7529         (getLayoutFont): ditto
7530         (getLabelFont): ditto
7531         (setCharFont): ditto
7532
7533         * text.C: adjust several funcs.
7534
7535 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7536
7537         * text.C (selectNextWordToSpellcheck): don't accidentally
7538         skip insets
7539
7540 2003-04-10  John Levon  <levon@movementarian.org>
7541
7542         * ToolbarBackend.C (getIcon): special handling for
7543         LFUN_MATH_DELIM
7544
7545 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7546
7547         * text2.C (cursorRight): a getChar assert fixed
7548
7549 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * text2.C (getFont): change to take a ParagraphList::iterator
7552         instead of Paragraph*
7553         Adjust several functions.
7554
7555         * text.C (transformChar): change to take a ParagraphList::iterator
7556         instead of Paragraph*
7557         (singleWidth): ditto
7558         Adjust several functions.
7559
7560         * rowpainter.C: adjust several functions
7561         * rowpainter.h:store a ParagraphList::iterator and not a
7562         Paragraph&.
7563
7564
7565 2003-04-09  John Levon  <levon@movementarian.org>
7566
7567         * lyxfunc.C:
7568         * lfuns.h:
7569         * LyXAction.h:
7570         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7571         and the "help" bits as well
7572
7573 2003-04-09  John Levon  <levon@movementarian.org>
7574
7575         * ToolbarBackend.h:
7576         * ToolbarBackend.C: allow multiple toolbars
7577
7578 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * undo_funcs.C (setCursorParUndo): adjust
7581
7582         * text_funcs.C (transposeChars): adjust
7583
7584         * text3.C (gotoNextInset): adjust
7585         (dispatch): adjust
7586
7587         * text2.C (setLayout): adjust
7588         (changeDepth): adjust
7589         (setFont): adjust
7590         (redoParagraphs): adjust
7591         (selectionAsString): adjust
7592         (setParagraph): adjust
7593         (insertInset): adjust
7594         (cutSelection): adjust
7595         (copySelection): adjust
7596         (pasteSelection): adjust
7597         (insertStringAsLines): adjust
7598         (updateInset): adjust
7599         (setCursor): change to take a ParagraphList::iterator parameter
7600         (setCursorIntern): change to take a ParagraphList::iterator parameter
7601         (setCurrentFont): adjust
7602         (cursorLeft): adjust
7603         (cursorRight): adjust
7604         (deleteEmptyParagraphMechanism): adjust
7605
7606         * text.C (breakParagraph): adjust
7607         (insertChar): adjust
7608         (acceptChange): adjust
7609         (rejectChange): adjust
7610         (selectNextWordToSpellcheck): adjust
7611         (changeCase): adjust
7612         (Delete): adjust
7613         (backspace): adjust
7614
7615         * lyxfind.C (SearchForward): adjust
7616         (SearchBackward): adjust
7617         (nextChange): adjust
7618
7619         * lyxcursor.C (par): adjust
7620
7621         * lyxcursor.h: store a ParagraphList::iterator instead of a
7622         Paragraph*
7623
7624         * lyx_cb.C (getPossibleLabel): adjust
7625
7626         * bufferview_funcs.C (toggleAndShow): adjust
7627
7628         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7629         (dispatch): adjust
7630
7631         * BufferView.C (removeAutoInsets): adjust
7632         (lockedInsetStoreUndo): adjust
7633
7634 2003-04-09  John Levon  <levon@movementarian.org>
7635
7636         * ToolbarBackend.C: try icon without argument
7637         if with argument fails
7638
7639 2003-04-08  John Levon  <levon@movementarian.org>
7640
7641         * ToolbarBackend.h:
7642         * ToolbarBackend.C: add getIcon(), handle tooltip,
7643         and change from "Icon" to "Item".
7644
7645 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7646
7647         * BufferView.C (lockInset): another bad getchar crunched
7648
7649 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7650
7651         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7652         again)
7653
7654 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7655
7656         * lyxfind.C (searchForward, searchBackwards): bug 782
7657
7658 2003-04-07  John Levon  <levon@movementarian.org>
7659
7660         * paragraph.C: remove dead comment
7661
7662         * text.C: remove troublesome depth-fiddling code
7663         in leftMargin() and rightMargin() (bug 1017)
7664
7665         * text.C: fix breaking of rows in nested lists
7666         (bug 1004)
7667
7668         * text2.C (updateCounters): fix up depth values
7669         (bug 1013)
7670
7671 2003-04-07  John Levon  <levon@movementarian.org>
7672
7673         * BufferView_pimpl.C: clear message when doc finishes resizing,
7674         and after a mouse event
7675
7676         * lyxfunc.C: clear message after exiting inset
7677
7678 2003-04-07  John Levon  <levon@movementarian.org>
7679
7680         * bufferview_funcs.C: show math status not outside
7681         status in the statusbar
7682
7683 2003-04-07  John Levon  <levon@movementarian.org>
7684
7685         * lyxfunc.C: note status changed after a depth change
7686
7687 2003-04-04  Angus Leeming  <leeming@lyx.org>
7688
7689         * LaTeX.h: move AuxInfo operator==, != out of line.
7690         Remove LaTeX virtual destructor; nothing derives from it.
7691         Move operator()() out of public area and rename it startscript().
7692         Change protected for private.
7693
7694 2003-04-04  Angus Leeming  <leeming@lyx.org>
7695
7696         * lyxfunc.C:
7697         * text2.C: remove unneeded #includes.
7698
7699 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7700
7701         * text2.C (dEPM): fix the heigth of the next row
7702
7703 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7704
7705         * text.C: squashed an invalid getChar requester + some ws changes
7706
7707 2003-04-03  John Levon  <levon@movementarian.org>
7708
7709         * bufferview_funcs.h:
7710         * bufferview_funcs.C:
7711         * lyxfunc.C:
7712         * lyxtext.h:
7713         * text2.C: make getStatus work for the env depth lfuns
7714
7715 2003-04-03  John Levon  <levon@movementarian.org>
7716
7717         * bufferview_funcs.h:
7718         * bufferview_funcs.C:
7719         * lyxfunc.C:
7720         * lyxtext.h:
7721         * text2.C: parlistize decDepth(), by merging it with incDepth()
7722
7723 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * lyxrow.h: store a ParagraphList::iterator instead of a
7726         Paragraph* and adjust other class functions to suit.
7727
7728         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7729         above.
7730
7731 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7732
7733         * text2.C (setCursor): do not anchor to cursor row for the time being
7734
7735 2003-04-02  John Levon  <levon@movementarian.org>
7736
7737         * LyXAction.C:
7738         * lfuns.h:
7739         * lyx_main.C:
7740         * lyxtext.h:
7741         * text.C:
7742         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7743
7744 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * paragraph.h: make ParagraphList and ParagraphList::iterator
7747         friends of Paragraph.
7748
7749         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7750
7751         * ParagraphList.C: Use the private next_ and previous_ from
7752         Paragraph.
7753
7754 2003-04-01  John Levon  <levon@movementarian.org>
7755
7756         * ToolbarBackend.h:
7757         * ToolbarBackend.C:
7758         * Makefile.am: rename, remove defaults gunk
7759
7760         * MenuBackend.h:
7761         * MenuBackend.C: remove defaults gunk
7762
7763         * Languages.h:
7764         * Languages.C: remove defaults gunk
7765
7766         * lyx_main.h:
7767         * lyx_main.C: error out if files couldn't be found.
7768
7769 2003-04-02  John Levon  <levon@movementarian.org>
7770
7771         * text2.C: make incDepth() use parlist
7772
7773 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * undo_funcs.C (firstUndoParagraph): adjust
7776
7777         * text3.C (gotoInset): adjust
7778         (dispatch): adjust, and rewrite loop.
7779
7780         * text2.C (init): adjust, and rewrite loop.
7781         (redoParagraphs): adjust
7782         (updateInset): adjust, and rewrite loop.
7783         (deleteEmptyParagraphMechanism): adjust
7784
7785         * tabular.C (LyXTabular): adjust
7786         (SetMultiColumn): adjust
7787         (TeXRow): adjust
7788
7789         * lyxtext.[Ch] (ownerParagraph): delete function
7790         (ownerParagraphs): new function returns a ParagraphList.
7791
7792         * BufferView.C (removeAutoInsets): adjust
7793         (insertErrors): adjust
7794         (setCursorFromRow): adjust
7795
7796 2003-04-01  Angus Leeming  <leeming@lyx.org>
7797
7798         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7799         in the frontends.
7800
7801 2003-04-02  John Levon  <levon@movementarian.org>
7802
7803         * lyxtext.h:
7804         * text.C:
7805         * Makefile.am:
7806         * text_funcs.h:
7807         * text_funcs.C: make transposeChars a free function
7808
7809         * lyxrow_funcs.C: remove wrong comment
7810
7811 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * lyxtext.h: adjust
7814         * rowpainter.C: adjust
7815         * text.C: adjust
7816         * text2.C: adjust
7817         * text3.C: adjust
7818
7819         * lyxrow_funcs. [Ch]: new files
7820
7821         * lyxrow.[Ch]: remove next and previous pointers
7822         (next,previous): remove accessor functions
7823         (isParEnd): move to lyxrow_funcs
7824         (lastPos): move to lyxrow_funcs
7825         (nextRowIsAllInset): move to lyxrow_funcs
7826         (lastPrintablePos): move to lyxrow_funcs
7827         (numberOfSeparators): move to lyxrow_funcs
7828         (numberOfHfills): move to lyxrow_funcs
7829         (numberOfLabelHfills): move to lyxrow_funcs
7830         (hfillExpansion): move to lyxrow_funcs
7831
7832         * lyxfunc.C: adjust
7833
7834         * bufferview_funcs.C (toggleAndShow): adjust
7835
7836         * RowList.h: Remove class RowList from file leave just a
7837         std::list<Row>.
7838
7839         * RowList.C: delete file
7840
7841         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7842         and lyxrow_funcs.h
7843
7844 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * text3.C (cursorPrevious): adjust
7847         (cursorNext): adjust
7848         (dispatch): adjust
7849
7850         * text2.C (redoHeightOfParagraph): adjust
7851         (redoDrawingOfParagraph): adjust
7852         (setCursor): adjust
7853
7854         * text.C (breakParagraph): adjust
7855         (insertChar): adjust
7856         (backspace): adjust
7857
7858         * rowpainter.C (RowPainter): adjust
7859         (leftMargin): simplify and adjust
7860         (most rowpainter functions): adjust.
7861
7862         * rowpainter.h: store the row as RowList::iterator not as Row*
7863
7864         * lyxcursor.C (row): taka RowList::iterator as arg
7865         (irow): ditto
7866
7867         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7868         of Row*.
7869
7870 2003-04-01  Angus Leeming  <leeming@lyx.org>
7871
7872         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7873         stuff like bool Bool.
7874
7875 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7876
7877         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7878         rewrite a loop
7879
7880 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7883         RowList::iterator.
7884
7885         * lyxtext.h (rows): drop one version and leve a const variant that
7886         returns a RowList::iterator.
7887
7888 2003-03-31  Angus Leeming  <leeming@lyx.org>
7889
7890         * text.C (fill): ensure that the signature is the same as that in the
7891         header file.
7892
7893 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * text2.C (redoParagraphs): adjust
7896         (updateCounters): adjust
7897         (checkParagraph): adjust
7898         (getColumnNearX): adjust and reformat a bit.
7899
7900         * text.C (top_y): adjust
7901         (workWidth): adjust
7902         (leftMargin): adjust
7903         (prepareToPrint): adjust
7904         (getRow): adjust
7905         (getRowNearY): adjust
7906
7907         * lyxtext.h: make rowlist_ mutable.
7908
7909         * RowList.h: add const_iterator
7910         * RowList.C: adjust for RowList::const_iterator.
7911
7912         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7913         adjust.
7914
7915 2003-03-31  John Levon  <levon@movementarian.org>
7916
7917         * lyxrc.h:
7918         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7919
7920         * lyx_main.C: set default fonts from using lyx_gui funcs
7921
7922         * exporter.C: pdf_mode moved from lyxrc
7923
7924         * lyx_cb.C:
7925         * lyxfunc.C: changes from above
7926
7927 2003-03-31  John Levon  <levon@movementarian.org>
7928
7929         * lyx_main.C: fix to the last fix
7930
7931 2003-03-31  John Levon  <levon@movementarian.org>
7932
7933         * bufferlist.C: "Load original" -> "Load Original"
7934
7935         * converter.C:
7936         * exporter.C:
7937         * importer.C:
7938         * lyx_main.C:
7939         * format.C: more Alert cleanups
7940
7941 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * text2.C (removeParagraph): make it take a RowList::iterator as
7944         arg, adjust.
7945         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7946         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7947
7948         * text.C (anchor_row): make it take a RowList::iterator as arg,
7949         adjust.
7950         (computeBidiTables): make it take a const reference to Row instead
7951         of Row pointer, adjust.
7952         (leftMargin): make it take a RowList::iterator as arg, adjust.
7953         (rowBreakPoint): adjust
7954         (breakAgainOneRow): make it take a RowList::iterator as arg,
7955         adjust.
7956         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7957
7958         * bufferview_funcs.C (toggleAndShow): adjust
7959
7960 2003-03-30  John Levon  <levon@movementarian.org>
7961
7962         * Makefile.am:
7963         * BoostFormat.h:
7964         * boost-inst.C: moved to support
7965
7966         * several files: changes as a result
7967
7968 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * text2.C (LyXText): adjust.
7971         (init): adjust
7972         (removeRow): make it take a RowList::iterator as arg, adjust.
7973         (fullRebreak): adjust
7974         (deleteEmptyParagraphMechanism): adjust
7975         (clearPaint): adjust
7976         (postPaint): adjust
7977
7978         * text.C (top_y): adjust
7979         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7980         (breakAgain): make it take a RowList::iterator as arg, adjust.
7981         (breakParagraph): adjust
7982         (insertChar): adjust
7983         (backspace): adjust
7984
7985         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7986         need_break_row, and refresh_row.
7987
7988         * text3.C (dispatch): adjust
7989
7990         * text2.C (checkParagraph): adjust
7991         (setCursor): adjust
7992         (setCursorFromCoordinates): adjust
7993
7994         * text.C (top_y): adjust
7995         (workWidth): adjust
7996         (getRow): make it return a RowList::iterator, adjust
7997         (getRowNearY): make it return a RowList::iterator, adjust
7998
7999         * text2.C (init): adjust
8000         (insertRow): remove function
8001         (insertParagraph): adjust
8002         (redoParagraphs): adjust
8003         (fullRebreak): adjust
8004         (updateCounters): adjust
8005
8006         * text.C (top_y): rewrite to use RowList iterators.
8007         (top_y): adjust
8008         (setHeightOfRow): rewrite to sue RowList iterators.
8009         (appendParagraph): adjust
8010         (breakAgain): adjust
8011         (breakAgainOneRow): adjust
8012         (breakParagraph): adjust
8013         (getRow): adjust
8014         (getRowNearY): adjust, and remove commented code.
8015
8016         * lyxtext.h (firstRow): delete function
8017         (lastRow): delete function
8018         (rows): new function (const and non-const versions.)
8019         (insertRow): delete function
8020
8021         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8022
8023 2003-03-29  John Levon  <levon@movementarian.org>
8024
8025         * BufferView_pimpl.C: always update scrollbar top
8026         because pasting text when we're anchored could mean we
8027         miss an update altogether
8028
8029 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * text2.C (init): use rowlist_.end() and not 0.
8032         (insertRow): change to take a RowList::iterator as arg, adjust
8033         for this.
8034         (insertParagraph): change to take a RowList::iterator as arg,
8035         adjust for this.
8036         (redoParagraphs): remove some debug msgs.
8037
8038         * text.C (appendParagraph): change to take a RowList::iterator
8039         arg, adjust for this.
8040         (breakAgain): add an assert
8041         (breakAgainOneRow): ditto
8042
8043 2003-03-29  John Levon  <levon@movementarian.org>
8044
8045         * text2.C: do not clear selection after inc/decDepth
8046         (bug 550)
8047
8048 2003-03-29  John Levon  <levon@movementarian.org>
8049
8050         * BufferView.C:
8051         * buffer.C: fix broken strerrors according to Lars
8052
8053 2003-03-29  John Levon  <levon@movementarian.org>
8054
8055         * converters.C: more Alert cleanups
8056
8057 2003-03-29  John Levon  <levon@movementarian.org>
8058
8059         * bufferview_funcs.C: remove pointless Alert
8060
8061         * buffer.C: fix confusing error message when
8062         a template is chmoded 000
8063
8064 2003-03-29  John Levon  <levon@movementarian.org>
8065
8066         * BufferView.C:
8067         * BufferView.h:
8068         * BufferView_pimpl.C: Alert fixes
8069
8070         * Makefile.am:
8071         * tabular.C:
8072         * tabular-old.C: remove unused table compat reading
8073
8074 2003-03-29  John Levon  <levon@movementarian.org>
8075
8076         * BufferView.C:
8077         * buffer.C:
8078         * lyx_cb.h:
8079         * lyx_cb.C: more Alert cleanups
8080
8081         * lyxfunc.C: don't allow chktex if not latex document
8082
8083 2003-03-29  John Levon  <levon@movementarian.org>
8084
8085         * lyx_cb.C:
8086         * BufferView.C:
8087         * buffer.C: warnings pushed down from support/,
8088         kill err_alert
8089
8090 2003-03-29  John Levon  <levon@movementarian.org>
8091
8092         * lyxfunc.C: safety check for C-r (revert)
8093
8094 2003-03-29  John Levon  <levon@movementarian.org>
8095
8096         * bufferlist.h:
8097         * bufferlist.C: several UI fixes using Alert::prompt.
8098         Fix the pointless looping quit code. Fix stupid revert
8099         behaviour (bug 938)
8100
8101         * lyxvc.h:
8102         * lyxvc.C:
8103         * lyx_cb.C: use Alert::prompt
8104
8105         * lyx_main.C: remove a silly question
8106
8107         * lyxfunc.C: remove a couple of silly questions,
8108         use Alert::prompt
8109
8110 2003-03-28  John Levon  <levon@movementarian.org>
8111
8112         * text2.C: fix bug 974 (End on empty par)
8113
8114 2003-03-28  John Levon  <levon@movementarian.org>
8115
8116         * BufferView_pimpl.C:
8117         * LyXAction.C:
8118         * lfuns.h: remove do-nothing math greek lfuns
8119
8120 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * lyxgluelength.h (isValidGlueLength): add default arg on
8123         parameter 2. Remove default arg from friend in class.
8124
8125         * lyxlength.h (isValidLength): add default arg on parameter 2.
8126         Remove default arg from friend in class.
8127
8128         * text2.C (LyXText): adjust, initialize refresh_row.
8129         (init): adjust
8130         (removeRow): adjust
8131         (insertRow): adjust
8132         (insertParagraph): adjst
8133         (redoParagraphs): adjust
8134         (fullRebreak): adjust
8135         (updateCounters): adjust
8136         (deleteEmptyParagraphMechanism): first attempt at fixing a
8137         crashing bug.
8138
8139         * text.C (top_y): adjust
8140         (setHeightOfRow): adjust
8141         (getRow): adjust
8142         (getRowNearY): adjust
8143
8144         * lyxtext.h: include RowList.h
8145         (~LyXText): not needed anymore, deleted.
8146         (firstRow): modify for RowList
8147         (lastRow): new function
8148         Delete firstrow and lastrow class variables, add a Rowlist
8149         rowlist_ class variable.
8150
8151         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8152         paragraph is empty.
8153
8154         * RowList.C (insert): fix case where it == begin().
8155
8156 2003-03-26  Angus Leeming  <leeming@lyx.org>
8157
8158         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8159         the thesaurus dialog.
8160
8161 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8164
8165         * RowList.[Ch]: new files
8166
8167         * ParagraphList.C (erase): handle the case where it == begin
8168         correctly.
8169
8170 2003-03-25  John Levon  <levon@movementarian.org>
8171
8172         * Makefile.am:
8173         * aspell_local.h:
8174         * aspell.C: add new aspell support
8175
8176         * lyxrc.h:
8177         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8178         have it accessible.
8179
8180 2003-03-25  Angus Leeming  <leeming@lyx.org>
8181
8182         * lfuns.h:
8183         * LyXAction.C (init): new LFUN_INSET_INSERT.
8184
8185         * BufferView_pimpl.C (dispatch): split out part of the
8186         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8187
8188         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8189         LFUN_INSET_APPLY.
8190
8191 2003-03-25  Angus Leeming  <leeming@lyx.org>
8192
8193         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8194
8195 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8196
8197         * text2.C:
8198         * text3.C: remove useless row->height(0)
8199
8200 2003-03-25  John Levon  <levon@movementarian.org>
8201
8202         * lyxtext.h:
8203         * text2.C:
8204         * text3.C: rename the refreshing stuff to better names
8205
8206 2003-03-24  John Levon  <levon@movementarian.org>
8207
8208         * BufferView_pimpl.h:
8209         * BufferView_pimpl.C: update layout choice on a mouse
8210         press/release
8211
8212 2003-03-23  John Levon  <levon@movementarian.org>
8213
8214         * Makefile.am: fix commandtags.h reference
8215
8216 2003-03-22  John Levon  <levon@movementarian.org>
8217
8218         * BufferView_pimpl.C:
8219         * lyxtext.h:
8220         * rowpainter.C:
8221         * rowpainter.h:
8222         * text.C:
8223         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8224
8225 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8226
8227         * lyxtext.h:
8228         * text.C: take the rtl methods out of line
8229
8230 2003-03-21 André Pönitz <poenitz@gmx.net>
8231
8232         * metricsinfo.[Ch]: new files containing structures to be passed around
8233         during the two-phase-drawing...
8234
8235 2003-03-21 André Pönitz <poenitz@gmx.net>
8236
8237         * lyxtextclass.C: read 'environment' tag.
8238
8239 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8240
8241         * text2.C (removeRow): fix bug 964
8242
8243 2003-03-20  John Levon  <levon@movementarian.org>
8244
8245         * rowpainter.C:
8246         * text.C:
8247         * text2.C: paint cleanups. Inset::update() dropped font
8248         parameter
8249
8250 2003-03-19  John Levon  <levon@movementarian.org>
8251
8252         * lyxfunc.C: only fitcursor/markDirty if available()
8253
8254 2003-03-19  John Levon  <levon@movementarian.org>
8255
8256         * commandtags.h: rename to ...
8257
8258         * lfuns.h: ... this, and renumber / cleanup
8259
8260 2003-03-19  John Levon  <levon@movementarian.org>
8261
8262         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8263         fit the cursor after an lfun
8264
8265         * BufferView.h:
8266         * BufferView.C:
8267         * BufferView_pimpl.h:
8268         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8269
8270         * LyXAction.C: layout-character should have ReadOnly
8271
8272         * ParagraphParameters.C:
8273         * buffer.C:
8274         * bufferview_funcs.C:
8275         * lyx_cb.C:
8276         * lyxfind.C:
8277         * lyxtext.h:
8278         * text.C:
8279         * text2.C:
8280         * text3.C:
8281         * undo_funcs.C: changes from above
8282
8283 2003-03-18  John Levon  <levon@movementarian.org>
8284
8285         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8286         remove it from update()
8287
8288         * lyxfunc.C: update layout choice after an lfun
8289
8290         * text3.C: remove extra updateLayoutChoice()s
8291
8292 2003-03-18  John Levon  <levon@movementarian.org>
8293
8294         * text.C: top_y change means full repaint, fix
8295         a drawing bug with cursor movement
8296
8297 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8298
8299         * lyxtext.h:
8300         * text.C:
8301         * text2.C: anchor row on setCursor
8302
8303 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8304
8305         * lyxtext.h: remove almost all mutable keywords
8306         * text.C:
8307         * text2.C:
8308         * text3.C: remove const keywords accordingly
8309
8310 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8313         anon namespace
8314         (TeXEnvironment): ditto
8315         (TeXOnePar): ditto
8316
8317 2003-03-17  John Levon  <levon@movementarian.org>
8318
8319         * text.C (rowBreakPoint): remove attempt to fix displayed
8320         math insets inside a manual label
8321
8322 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * lyxtext.h: remove BufferView* as first arg from almost all class
8325         functions.
8326         * other files: adjust.
8327
8328 2003-03-17  John Levon  <levon@movementarian.org>
8329
8330         * lyxtext.h:
8331         * undo_funcs.C:
8332         * text2.C: more paint cleanups
8333
8334         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8335
8336         * rowpainter.h:
8337         * rowpainter.C: remove "smart" background painting code
8338
8339 2003-03-16  John Levon  <levon@movementarian.org>
8340
8341         * lyxtext.h:
8342         * text.C:
8343         * text2.C:
8344         * text3.C: add helper functions for setting refresh_row/y
8345
8346 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8347
8348         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8349         newline inset which *can* get inserted in the pass_thru layouts.
8350         This is primarily for literate documents.
8351
8352 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8353
8354         * buffer.C: increment LYX_FORMAT to 223
8355
8356 2003-03-14 André Pönitz <poenitz@gmx.net>
8357
8358         * textclass.h: prepare for environment handling, ws changes
8359         * lyxlayout.C: read latexheader and latexfooter tags
8360
8361 2003-03-14  John Levon  <levon@movementarian.org>
8362
8363         * text2.C: rewrite ::status() a bit
8364
8365 2003-03-13  John Levon  <levon@movementarian.org>
8366
8367         * lyxtext.h: add some docs
8368
8369 2003-03-13  John Levon  <levon@movementarian.org>
8370
8371         * lyxtext.h:
8372         * text.C:
8373         * text2.C:
8374         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8375
8376 2003-03-13  John Levon  <levon@movementarian.org>
8377
8378         * text3.C: fix appendix redrawing
8379
8380 2003-03-13  John Levon  <levon@movementarian.org>
8381
8382         * text.C (setHeightOfRow):
8383         * rowpainter.h:
8384         * rowpainter.C: make appendix mark have the text
8385           "Appendix" so the user knows what it is
8386
8387         * LColor.h:
8388         * LColor.C: s/appendixline/appendix/ from above
8389
8390 2003-03-13  John Levon  <levon@movementarian.org>
8391
8392         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8393
8394         * text.C: fix a getChar(pos) bug properly
8395
8396 2003-03-13  Angus Leeming  <leeming@lyx.org>
8397
8398         * commandtags.h:
8399         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8400         Probably only temporary. Let's see how things pan out.
8401
8402         * BufferView.C (unlockInset):
8403         * BufferView_pimpl.C (fitCursor):
8404         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8405
8406         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8407         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8408
8409         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8410         new functions that convert ParagraphParameters to and from a string.
8411
8412         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8413         BufferView::Pimpl's dispatch.
8414         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8415
8416 2003-03-13 André Pönitz <poenitz@gmx.net>
8417
8418         * lyxfunc.C:
8419         * text3.C:
8420         * factory.C: make it aware of InsetEnv
8421
8422 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * text2.C (setCursor): never ask for one past last
8425         (setCursor): add some debugging messages.
8426
8427         * text.C (singleWidth): never ask for one past last
8428         (singleWidth): ditto
8429         (leftMargin): ditto
8430         (rightMargin): ditto
8431         (rowBreakPoint): ditto
8432         (setHeightOfRow): ditto
8433         (prepareToPrint): ditto
8434
8435         * rowpainter.C (paintBackground): never ask for one past last
8436         (paintText): never ask for one past last
8437
8438         * paragraph_pimpl.C (getChar): make the assert stricter, never
8439         allow the one past last pos to be taken
8440
8441         * paragraph.C (getChar): ws changes only
8442
8443         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8444         (numberOfSeparators): ditto
8445         (numberOfHfills): ditto
8446
8447 2003-03-12  John Levon  <levon@movementarian.org>
8448
8449         * author.h:
8450         * author.C:
8451         * bufferparams.h:
8452         * bufferparams.C:
8453         * paragraph_funcs.C: fix per-buffer authorlists
8454
8455 2003-03-12  John Levon  <levon@movementarian.org>
8456
8457         * text.C: fix newline in right address
8458
8459 2003-03-12  Angus Leeming  <leeming@lyx.org>
8460
8461         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8462         duplicate those in LyXFunc::dispatch.
8463
8464         * commandtags.h:
8465         * LyXAction.C:
8466         * ToolbarDefaults.C:
8467         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8468         Add LFUN_FONTFREE_UPDATE.
8469
8470         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8471         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8472
8473         * bufferview_func.[Ch]: several new functions to facilliate
8474         transfer of data to and from the character dialog.
8475
8476 2003-03-12  John Levon  <levon@movementarian.org>
8477
8478         * buffer.C:
8479         * paragraph.h:
8480         * paragraph.C:
8481         * paragraph_funcs.C:
8482         * paragraph_pimpl.C:
8483         * sgml.C:
8484         * tabular.C:
8485         * text.C:
8486         * text3.C: remove META_NEWLINE in favour of an inset
8487
8488         * rowpainter.h:
8489         * rowpainter.C: remove paintNewline (done by inset)
8490
8491 2003-03-12  John Levon  <levon@movementarian.org>
8492
8493         * paragraph_pimpl.C: complain about bad getChar()s
8494         for a while at least
8495
8496 2003-03-12  John Levon  <levon@movementarian.org>
8497
8498         * buffer.h:
8499         * buffer.C: move paragraph read into a separate function,
8500         a little renaming to reflect that.
8501
8502         * bufferparams.h:
8503         * bufferparams.C: remove the author_ids map, not necessary now
8504
8505         * factory.h:
8506         * factory.C: moved Buffer::readInset to here
8507
8508         * paragraph_funcs.h:
8509         * paragraph_funcs.C: readParagraph free function moved from
8510         buffer.C
8511
8512         * tabular.C: name change
8513
8514 2003-03-12  John Levon  <levon@movementarian.org>
8515
8516         * buffer.C:
8517         * ParagraphParameters.C: move par params input to
8518         a read() method
8519
8520         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8521         behave like a normal read from the stream wrt reading
8522         a line vs. a \\token
8523
8524 2003-03-12  John Levon  <levon@movementarian.org>
8525
8526         * paragraph.C:
8527         * ParagraphParameters.h:
8528         * ParagraphParameters.C: move output code to a
8529         ::write() method
8530
8531 2003-03-12  John Levon  <levon@movementarian.org>
8532
8533         * BufferView.C (insertLyXFile):
8534         * buffer.h:
8535         * buffer.C:
8536         * tabular.C: use a parlist iterator for creating the
8537           document.
8538
8539 2003-03-12  John Levon  <levon@movementarian.org>
8540
8541         * buffer.C: make current_change static local not
8542           static file-scope
8543
8544 2003-03-12  John Levon  <levon@movementarian.org>
8545
8546         * buffer.C: fix insertStringAsLines for change tracking
8547
8548 2003-03-12  John Levon  <levon@movementarian.org>
8549
8550         * BufferView.C:
8551         * tabular.C:
8552         * buffer.h:
8553         * buffer.C:
8554         * bufferparams.h:
8555         * bufferparams.C: move author list into params. Rename some
8556           functions. Move the header reading into a separate token
8557           loop. Move the header token reading into BufferParams.
8558
8559 2003-03-12  John Levon  <levon@movementarian.org>
8560
8561         * changes.C: put debug inside lyxerr.debugging() checks
8562
8563 2003-03-11 André Pönitz <poenitz@gmx.net>
8564
8565         * factory.C: make it aware of InsetHFill
8566
8567 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8568
8569         * buffer.C (latexParagraphs): move function from here...
8570         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8571         args.
8572
8573 2003-03-10  Angus Leeming  <leeming@lyx.org>
8574
8575         * LyXAction.C (init): fix bug in poplating array with multiple entries
8576         with the same LFUN (spotted by JMarc).
8577
8578 2003-03-10  John Levon  <levon@movementarian.org>
8579
8580         * text.C:
8581         * text2.C: move getColumnNearX() near its
8582         only call site
8583
8584 2003-03-10  John Levon  <levon@movementarian.org>
8585
8586         * text.C: fix break before a minipage
8587
8588 2003-03-10  John Levon  <levon@movementarian.org>
8589
8590         * text.C: fix the last commit
8591
8592 2003-03-09  John Levon  <levon@movementarian.org>
8593
8594         * lyxtext.h:
8595         * text.C:
8596         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8597         bug 365 (don't break before insets unless needed). Don't
8598         return a value > last under any circumstances.
8599
8600 2003-03-09  Angus Leeming  <leeming@lyx.org>
8601
8602         * BufferView_pimpl.C (trackChanges, dispatch): call
8603         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8604
8605 2003-03-09  Angus Leeming  <leeming@lyx.org>
8606
8607         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8608         than Dialogs::showAboutlyx().
8609
8610 2003-03-09  Angus Leeming  <leeming@lyx.org>
8611
8612         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8613         than Dialogs::showTabularCreate().
8614
8615 2003-03-09  John Levon  <levon@movementarian.org>
8616
8617         * lyxtext.h:
8618         * text.C:
8619         * text2.C: 3rd arg to nextBreakPoint was always the same.
8620           Use references.
8621
8622 2003-03-08  John Levon  <levon@movementarian.org>
8623
8624         * lyxrow.C:
8625         * paragraph.C:
8626         * paragraph.h:
8627         * rowpainter.C:
8628         * text.C:
8629         * text2.C: Remove the "main" bit from the "main body"
8630           notion.
8631
8632 2003-03-08  John Levon  <levon@movementarian.org>
8633
8634         * text.C (leftMargin): The left margin of an empty
8635         manual label paragraph should not include the label width
8636         string length.
8637
8638         * text.C (prepareToPrint): don't attempt to measure hfills
8639         for empty manual label paragraphs - the answer should be 0
8640
8641 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * CutAndPaste.C: remove commented code and reindent.
8644
8645 2003-03-08  John Levon  <levon@movementarian.org>
8646
8647         * lyxfunc.h:
8648         * lyxfunc.C: move reloadBuffer()
8649
8650         * BufferView.h:
8651         * BufferView.C: to here
8652
8653         * lyxvc.C: add comment
8654
8655         * vc-backend.h:
8656         * vc-backend.C: call bv->reload() to avoid
8657           getStatus() check on MENURELOAD
8658
8659 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8660
8661         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8662         to an old format .dep file.
8663
8664 2003-03-07  Angus Leeming  <leeming@lyx.org>
8665
8666         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8667         when the LFUN_MOUSE_RELEASE should have been handled by
8668         inset->localDispatch.
8669
8670 2003-03-07  Angus Leeming  <leeming@lyx.org>
8671
8672         * BufferView_pimpl.C (dispatch):
8673         * LyXAction.C (init):
8674         * ToolbarDefaults.C (init):
8675         * commandtags.h:
8676         * lyxfunc.C (getStatus):
8677         remove LFUN_INSET_GRAPHICS.
8678
8679         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8680
8681 2003-03-07  Angus Leeming  <leeming@lyx.org>
8682
8683         * commandtags.h:
8684         * LyXAction.C (init):
8685         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8686
8687         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8688
8689         * commandtags.h:
8690         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8691
8692         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8693         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8694
8695 2003-03-07  Angus Leeming  <leeming@lyx.org>
8696
8697         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8698         remove "ert".
8699
8700 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * ParagraphList.C (front): new function
8703         (back): implement
8704
8705 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8706
8707         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8708         and top_row_offset_. removed var first_y.
8709         * text.C (top_y):
8710         * text2.C (LyXText, removeRow):
8711         * text3.C:
8712         * BufferView_pimpl.C:
8713         use these methods instead of using first_y
8714
8715 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * text2.C (pasteSelection): adjust for checkPastePossible
8718
8719         * CutAndPaste.C: remove Paragraph * buf and replace with
8720         ParagraphList paragraphs.
8721         (DeleteBuffer): delete
8722         (cutSelection): change the tc type to textclass_type
8723         (copySelection): change the tc type to textclass_type
8724         (copySelection): adjust for ParagraphList
8725         (pasteSelection): change the tc type to textclass_type
8726         (pasteSelection): adjust for Paragraphlist
8727         (nrOfParagraphs): simplify for ParagraphList
8728         (checkPastePossible): simplify for ParagraphList
8729         (checkPastePossible): remove unused arg
8730
8731         * ParagraphList.C (insert): handle the case where there are no
8732         paragraphs yet.
8733
8734         * CutAndPaste.h: make CutAndPaste a namespace.
8735
8736         * text3.C (dispatch): adjust
8737
8738         * text.C (breakParagraph): add a ParagraphList as arg
8739
8740         * paragraph_funcs.C (breakParagraph): change to take a
8741         BufferParams and a ParagraphList as args.
8742         (breakParagraphConservative): ditto
8743         (mergeParagraph): ditto
8744         (TeXDeeper): add a ParagraphList arg
8745         (TeXEnvironment): ditto
8746         (TeXOnePar): ditto
8747
8748         * buffer.C (readLyXformat2): adjust
8749         (insertStringAsLines): adjust
8750         (latexParagraphs): adjust
8751
8752         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8753         (cutSelection): adjust
8754         (pasteSelection): adjust
8755
8756         * BufferView_pimpl.C (insertInset): adjust
8757
8758 2003-03-05  Angus Leeming  <leeming@lyx.org>
8759
8760         * commandtags.h:
8761         * LyXAction.C (init):
8762         * BufferView_pimpl.C (dispatch):
8763         * lyxfunc.C (getStatus):
8764         remove LFUN_CHILD_INSERT.
8765
8766         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8767
8768 2003-03-05  Angus Leeming  <leeming@lyx.org>
8769
8770         * commandtags.h:
8771         * LyXAction.C (init):
8772         * src/factory.C (createInset):
8773         * lyxfunc.C (getStatus):
8774         * text3.C (dispatch):
8775         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8776
8777         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8778
8779 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * ParagraphList.C (insert): handle insert right before end()
8782         (erase): fix cases where it can be first or last paragraph.
8783
8784 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8787         Paragraph::next and Paragraph::previous
8788         (TeXOnePar): ditto
8789
8790         * text.C (breakParagraph): adjust
8791
8792         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8793         BufferParams& as arg.
8794         (breakParagraph): use ParagraphList::insert
8795         (breakParagraphConservative): take a Buffer* instead of a
8796         BufferParams& as arg.
8797         (breakParagraphConservative): use ParagraphList::insert.
8798
8799         * buffer.C (insertStringAsLines): un-const it
8800         (insertStringAsLines): adjust
8801
8802         * ParagraphList.C (insert): new function
8803
8804         * CutAndPaste.C (pasteSelection): adjust
8805
8806         * text.C (backspace): adjust
8807
8808         * tabular.C (SetMultiColumn): adjust
8809
8810         * CutAndPaste.C (cutSelection): adjust
8811         (pasteSelection): adjust
8812
8813         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8814         Buffer const * as arg
8815
8816         * ParagraphList.C (erase): new function
8817         * paragraph_funcs.C (mergeParagraph): use it
8818         (mergeParagraph): make it take a Buffer* instead of a
8819         BufferParams* as arg
8820
8821         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8822         as arg
8823         (breakParagraphConservative): ditto
8824
8825         * paragraph.h: remove the breakParagraph friend
8826
8827         * paragraph.C (eraseIntern): new function
8828         (setChange): new function
8829
8830         * paragraph_funcs.C (mergeParagraph): make it take a
8831         ParagraphList::iterator instead of a Paragraph *, adjust
8832         accordingly.
8833
8834         * paragraph.h: move an #endif so that the change tracking stuff
8835         also works in the NO_NEXT case.
8836
8837 2003-03-04  Angus Leeming  <leeming@lyx.org>
8838
8839         * commandtags.h:
8840         * LyXAction.C: new LFUN_INSET_MODIFY.
8841
8842         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8843         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8844
8845 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8846
8847         * several files: ws changes only
8848
8849         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8850         (TeXEnvironment): ditto
8851         (TeXDeeper): ditto
8852
8853         * buffer.C (makeLaTeXFile): adjust
8854         (latexParagraphs): make it take ParagraphList::iterator as args
8855
8856 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * buffer.C (latexParagraphs): adjust
8859
8860         * paragraph.C (TeXOnePar): move function...
8861         (optArgInset): move function...
8862         (TeXEnvironment): move function...
8863         * paragraph_pimpl.C (TeXDeeper): move function...
8864         * paragraph_funcs.C: ...here
8865
8866         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8867
8868 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8869
8870         * buffer.C (readInset): remove compability code for old Figure and
8871         InsetInfo insets
8872
8873 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * buffer.C: ws changes
8876         (readInset):
8877
8878         * BufferView_pimpl.C: ditto
8879         * author.C: ditto
8880         * buffer.h: ditto
8881         * bufferlist.h: ditto
8882         * changes.h: ditto
8883         * lyxfunc.C: ditto
8884
8885 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8886
8887         * converter.[Ch]: split into itself +
8888         * graph.[Ch]
8889         * format.[Ch]
8890         * Makefile.am: += graph.[Ch] + format.[Ch]
8891         * MenuBackend.C
8892         * buffer.C
8893         * exporter.C
8894         * importer.C
8895         * lyx_main.C
8896         * lyxfunc.C
8897         * lyxrc.C: added #include "format.h"
8898
8899 2003-02-27  Angus Leeming  <leeming@lyx.org>
8900
8901         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8902           a label.
8903
8904         * factory.C (createInset): add "label" to the factory.
8905
8906         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8907           string and do no more.
8908
8909 2003-02-27  Angus Leeming  <leeming@lyx.org>
8910
8911         * commandtags.h:
8912         * LyXAction.C (init):
8913         * factory.C (createInset):
8914         * BufferView_pimpl.C (dispatch):
8915           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8916
8917         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8918
8919         * lyxfunc.C (dispatch):
8920         * text3.C (dispatch): pass name to params2string.
8921
8922 2003-02-26  Angus Leeming  <leeming@lyx.org>
8923
8924         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8925           blocks together.
8926           Rearrange the ~includes. Strip out the unnecessary ones.
8927
8928         * factory.C (createInset): reformat.
8929           create new insets for the various LFUN_XYZ_APPLY lfuns.
8930
8931 2003-02-26  John Levon  <levon@movementarian.org>
8932
8933         * lyxrow.h:
8934         * lyxrow.C: add isParStart,isParEnd helpers
8935
8936         * paragraph.h: make isInserted/DeletedText take refs
8937
8938         * paragraph_funcs.h:
8939         * paragraph_funcs.C: remove #if 0'd code
8940
8941         * lyxtext.h:
8942         * text3.C:
8943         * text2.C:
8944         * text.C: use lyxrow helpers above.
8945           Move draw and paint routines to RowPainter.
8946           Make several methods use refs not pointers.
8947           Make backgroundColor() const.
8948           Add markChangeInDraw(), isInInset().
8949           Merge changeRegionCase into changeCase.
8950           Make workWidth() shouldn't-happen code into an Assert.
8951
8952         * rowpainter.h:
8953         * rowpainter.C: new class for painting a row.
8954
8955         * vspace.h:
8956         * vspace.C: make inPixels take a ref
8957
8958 2003-02-26  Angus Leeming  <leeming@lyx.org>
8959
8960         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8961         LFUN_REF_APPLY.
8962
8963 2003-02-25  John Levon  <levon@movementarian.org>
8964
8965         * ispell.C: give the forked command a more accurate name
8966
8967 2003-02-22  John Levon  <levon@movementarian.org>
8968
8969         * toc.h:
8970         * toc.C: make TocItem store an id not a Paragraph *
8971           (bug #913)
8972
8973 2003-02-21  Angus Leeming  <leeming@lyx.org>
8974
8975         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8976           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8977           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8978           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8979           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8980           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8981
8982         * BufferView_pimpl.C (dispatch):
8983         * LyXAction.C (init):
8984         * factory.C (createInset):
8985         * lyxfunc.C (getStatus, dispatch):
8986         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8987
8988 2003-02-21  Angus Leeming  <leeming@lyx.org>
8989
8990         * BufferView_pimpl.C (MenuInsertLyXFile):
8991         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8992         * lyxfunc.C (menuNew, open, doImport):
8993           no longer pass a LyXView & to fileDlg.
8994
8995 2003-02-21  Angus Leeming  <leeming@lyx.org>
8996
8997         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8998         * LyXAction.C: change, BIBKEY to BIBITEM.
8999         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9000         Change InsetBibKey to InsetBibitem.
9001         Change BIBKEY_CODE to BIBITEM_CODE.
9002         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9003         * factory.C: replace insetbib.h with insetbibitem.h.
9004         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9005         * paragraph.C: replace insetbib.h with insetbibitem.h.
9006         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9007         Change bibkey() to bibitem().
9008         * text.C: remove insetbib.h.
9009         * text2.C: replace insetbib.h with insetbibitem.h.
9010         change bibkey() to bibitem().
9011         * text3.C: remove insetbib.h.
9012         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9013
9014 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9015
9016         * lyxrc.C (output): enclose user email in quotes (in case there are
9017         several words)
9018
9019 2003-02-18  John Levon  <levon@movementarian.org>
9020
9021         * buffer.h: add std::
9022
9023 2003-02-17  John Levon  <levon@movementarian.org>
9024
9025         * SpellBase.h:
9026         * ispell.h:
9027         * ispell.C:
9028         * pspell.h:
9029         * pspell.C: reworking. Especially in ispell, a large
9030           number of clean ups and bug fixes.
9031
9032         * lyxfunc.C: fix revert to behave sensibly
9033
9034 2003-02-17 André Pönitz <poenitz@gmx.net>
9035
9036         * LyXAction.C:
9037         * commandtags.h: new LFUN_INSERT_BIBKEY
9038
9039         * layout.h:
9040         * lyxlayout.C:
9041         * buffer.C:
9042         * factory.C:
9043         * text.C:
9044         * text2.C:
9045         * text3.C:
9046         * paragraph.[Ch]:
9047         * paragraph_func.C: remove special bibkey handling
9048
9049 2003-02-17  John Levon  <levon@movementarian.org>
9050
9051         * text.C (Delete): fix case where delete at the end of
9052           the very first paragraph would not merge the pars
9053
9054 2003-02-17  John Levon  <levon@movementarian.org>
9055
9056         * lyxrow.C: fix lastPrintablePos()
9057
9058 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9059
9060         * bufferparams.C (writeLaTeX): add a std:here
9061
9062         * buffer.C: and remove a using directive there
9063
9064 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9065
9066         * buffer.C (makeLaTeXFile): move the code that generates the
9067           preamble...
9068
9069         * bufferparams.C (writeLaTeX): ... in this new method
9070
9071         * LaTeXFeatures.C (getEncodingSet): make const
9072           (getLanguages): make const
9073
9074         * MenuBackend.C (binding): returns the binding associated to this
9075           action
9076           (add): sets the status of each item by calling getStatus. Adds
9077           some intelligence.
9078           (read): add support for OptSubMenu
9079           (expand): remove extra separator at the end of expanded menu
9080
9081 2003-02-15  John Levon  <levon@movementarian.org>
9082
9083         * BufferView.C:
9084         * BufferView_pimpl.C:
9085         * bufferlist.h:
9086         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9087           inset code that had no actual effect. Remove unneeded status
9088           code.
9089
9090 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9093           in preamble
9094
9095 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9096
9097         * text.C (drawLengthMarker): also draw an arrow marker for
9098           symbolic lengths (medskip...)
9099
9100 2003-02-14  John Levon  <levon@movementarian.org>
9101
9102         * tabular.h:
9103         * tabular.C: better method names
9104
9105 2003-02-14  John Levon  <levon@movementarian.org>
9106
9107         * BufferView_pimpl.C:
9108         * bufferlist.C:
9109         * buffer.C:
9110         * converter.C:
9111         * lyx_cb.C:
9112         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9113           it's a more accurate name. Remove some pointless uses.
9114
9115 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9116
9117         * text2.C (LyXText): change order of initilizers to shut off
9118           warnings
9119
9120 2003-02-14  John Levon  <levon@movementarian.org>
9121
9122         * buffer.C: use ParIterator for getParFromID()
9123
9124         * paragraph.h:
9125         * paragraph.C:
9126         * paragraph_pimpl.h:
9127         * paragraph_pimpl.C: remove unused getParFromID()
9128
9129 2003-02-14  John Levon  <levon@movementarian.org>
9130
9131         * buffer.C: remove some very old #if 0'd parse code
9132
9133 2003-02-13  John Levon  <levon@movementarian.org>
9134
9135         * text.h:
9136         * text.C:
9137         * text2.C: move hfillExpansion(), numberOfSeparators(),
9138           rowLast(), rowLastPrintable(), numberofHfills(),
9139           numberOfLabelHfills() ...
9140
9141         * lyxrow.h:
9142         * lyxrow.C: ... to member functions here.
9143
9144         * paragraph.h:
9145         * paragraph.C:
9146         * lyxtext.h:
9147         * text.C: remove LyXText::beginningOfMainBody(), and call
9148           p->beginningOfMainBody() directly. Move the check for
9149           LABEL_MANUAL into the latter.
9150
9151         * text.h:
9152         * text.C:
9153         * text2.C:
9154         * vspace.C:
9155         * BufferView.h:
9156         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9157
9158         * text.h:
9159         * text.C:
9160         * text2.C:
9161         * text3.C:
9162         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9163           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9164
9165 2003-02-13  John Levon  <levon@movementarian.org>
9166
9167         * CutAndPaste.C: remove debug
9168
9169 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * paragraph.C (asString): remove two unused variables
9172
9173         * lyxtextclass.C (readTitleType):
9174           (Read):
9175           (LyXTextClass): handle new members titletype_ and titlename_
9176
9177         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9178
9179 2003-02-09  John Levon  <levon@movementarian.org>
9180
9181         * buffer.h:
9182         * buffer.C: replace hand-coded list with a map for the dep clean
9183
9184 2003-02-08  John Levon  <levon@movementarian.org>
9185
9186         * LaTeX.C: consolidate code into showRunMessage() helper
9187
9188 2003-02-08  John Levon  <levon@movementarian.org>
9189
9190         * lyxfind.C:
9191         * lyxtext.h:
9192         * text2.C:
9193         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9194           and pass the size in explicitly
9195
9196         * BufferView_pimpl.h:
9197         * BufferView_pimpl.C:
9198         * BufferView.h:
9199         * BufferView.C: add getCurrentChange()
9200
9201         * BufferView_pimpl.h:
9202         * BufferView_pimpl.C: handle change lfuns
9203
9204         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9205           for changes. Mark pasted paragraphs as new.
9206
9207         * support/lyxtime.h:
9208         * support/lyxtime.C:
9209         * DepTable.C: abstract time_t as lyx::time_type
9210
9211         * LColor.h:
9212         * LColor.C: add colours for new text, deleted text, changebars
9213
9214         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9215           package use "usenames" option.
9216
9217         * commandtags.h:
9218         * lyxfunc.C:
9219         * LyXAction.C: add change lfuns
9220
9221         * Makefile.am:
9222         * author.h:
9223         * author.C: author handling
9224
9225         * buffer.h:
9226         * buffer.C: add a per-buffer author list, with first entry as
9227           current author. Handle new .lyx tokens for change tracking. Output
9228           author list to .lyx file. Output dvipost stuff to .tex preamble.
9229           Bump lyx format to 222.
9230
9231         * bufferlist.h:
9232         * bufferlist.C: add setCurrentAuthor() to reset current author details
9233           in all buffers.
9234
9235         * bufferparams.h:
9236         * bufferparams.C: add param for tracking
9237
9238         * bufferview_funcs.C: output change info in minibuffer
9239
9240         * Makefile.am:
9241         * changes.h:
9242         * changes.C: add change-tracking structure
9243
9244         * debug.h:
9245         * debug.C: add CHANGES debug flag
9246
9247         * lyxfind.h:
9248         * lyxfind.C: add code for finding the next change piece
9249
9250         * lyxrc.h:
9251         * lyxrc.C: add user_name and user_email
9252
9253         * lyxrow.h:
9254         * lyxrow.C: add a metric for the top of the text line
9255
9256         * lyxtext.h:
9257         * text.C: implement accept/rejectChange()
9258
9259         * lyxtext.h:
9260         * text.C: paint changebars. Paint new/deleted text in the chosen
9261         colours. Strike through deleted text.
9262
9263         * paragraph.h:
9264         * paragraph.C:
9265         * paragraph_pimpl.h:
9266         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9267           in the current change to the insert functions. Rework erase to
9268           mark text as deleted, adding an eraseIntern() and a range-based
9269           erase(). Implement per-paragraph change lookup and
9270           accept/reject.
9271
9272         * paragraph_funcs.C: Fixup paste for change tracking.
9273
9274         * tabular.C: mark added row/columns as new.
9275
9276         * text.C: fix rowLast() to never return -1. Don't allow
9277           spellchecking of deleted text. Track transpose changes. Don't
9278           allow paragraph break or merge where appropriate.
9279
9280         * text2.C: leave cursor at end of selection after a cut.
9281
9282 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9283
9284         * text.C (getLengthMarkerHeight):
9285         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9286         visible on screen too.
9287
9288 2003-02-07  John Levon  <levon@movementarian.org>
9289
9290         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9291
9292 2003-02-05  Angus Leeming  <leeming@lyx.org>
9293
9294         * lyxserver.C (read_ready): revert my patch of 11 September last year
9295         as it sends PC cpu through the roof. Presumably this means that
9296         the lyxserver will no longer run on an Alpha...
9297
9298 2003-01-30  Angus Leeming  <leeming@lyx.org>
9299
9300         * factory.C (createInset): create an InsetCommandParam of type "index"
9301         and use it to 'do the right thing'.
9302
9303         * text2.C (getStringToIndex): ensure that cursor position is always
9304         reset to the reset_cursor position.
9305
9306 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9307
9308         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9309         disabled.
9310
9311 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9312
9313         * bufferview.C:
9314         * lyxcb.C:
9315         * lyxfunc.C: Output messages with identical spelling, punctuation,
9316         and spaces
9317
9318 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9319
9320         * MenuBackend.C (expandFormats): List only viewable export formats
9321         in "View" menu
9322
9323         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9324         message
9325
9326         * lyxfunc.C (getStatus): Make sure that formats other than
9327         "fax" can also be disabled
9328
9329 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9330
9331         * text3.C (dispatch): put the lfuns that insert insets in 3
9332         groups, and call doInsertInset with appropriate arguments.
9333         (doInsertInset): new function, that creates an inset and inserts
9334         it according to some boolean parameters.
9335
9336 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * buffer.C (readFile): remember to pass on 'par' when calling
9339         readFile recursively.
9340
9341 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9342
9343         * MenuBackend.C (expandFormats): add "..." to import formats.
9344
9345 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9346
9347         * paragraph.C (asString): Remove XForms RTL hacks.
9348
9349 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9350         * buffer.C: fix typo
9351
9352 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * Makefile.am (LIBS): delete var
9355         (lyx_LDADD): add @LIBS@ here instead.
9356
9357 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9358
9359         * Clarify the meaning of "wheel mouse jump"
9360
9361 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9362
9363         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9364         tabular in a float
9365
9366 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9367
9368         * importer.C (Loaders): do not preallocate 3 elements in the
9369         vector, since one ends up with 6 elements otherwise
9370
9371 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9372
9373         * DepTable.C (write): write the file name as last element of the
9374         .dep file (because it may contain spaces)
9375         (read): read info in the right order
9376
9377 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9378
9379         * paragraph_pimpl.C (simpleTeXBlanks):
9380         (simpleTeXSpecialChars):
9381         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9382
9383         * tabular.C (latex): add some missing case statements. Reindent.
9384
9385         * MenuBackend.C (expandToc): remove unused variable.
9386
9387 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9388
9389         * LColor.C:
9390         * LaTeX.C:
9391         * LyXAction.C:
9392         * MenuBackend.C:
9393         * buffer.C:
9394         * exporter.C:
9395         * lyxfunc.C:
9396         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9397         and the like.
9398
9399 2003-01-05  John Levon  <levon@movementarian.org>
9400
9401         * BufferView.h:
9402         * BufferView.C: add getEncoding()
9403
9404         * kbsequence.h:
9405         * kbsequence.C: do not store last keypress
9406
9407         * lyxfunc.h:
9408         * lyxfunc.C: store last keypress here instead. Pass encoding
9409           to getISOEncoded()
9410
9411 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9412
9413         * lyx_main.C (init): remove annoying error message when following
9414         symbolic links (bug #780)
9415
9416 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9417
9418         * text.C (insertChar):
9419         * lyxrc.C (getDescription): remove extra spaces
9420
9421 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9422
9423         * lyxrc.C (getDescription): remove extra spaces
9424
9425 2002-12-20  John Levon  <levon@movementarian.org>
9426
9427         * text3.C: hack fix for page up/down across tall rows
9428
9429 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9430
9431         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9432         not been invoked
9433
9434 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9435
9436         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9437         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9438         thesaurus is not compiled in
9439
9440 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9441
9442         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9443
9444 2002-12-16  Angus Leeming  <leeming@lyx.org>
9445
9446         * lyxrc.[Ch]:
9447         * lyx_main.C (init): remove override_x_deadkeys stuff.
9448
9449 2002-12-12  John Levon  <levon@movementarian.org>
9450
9451         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9452           insert. Only remove shift modifier under strict
9453           circumstances.
9454
9455 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9456
9457         * MenuBackend.C (expandToc): fix crash.
9458
9459 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9460
9461         * MenuBackend.C (expandToc): gettext on float names.
9462
9463 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9464
9465         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9466         implement bool empty() [bug 490]
9467
9468 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9469
9470         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9471
9472 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9473
9474         * several files: ws changes
9475
9476 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9477
9478         * text2.C (setCounter): clean up a bit, use boost.format.
9479         (updateCounters): initialize par upon declaration.
9480
9481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9482         if the layout exists. We do not just store the layout any more.
9483         (SwitchLayoutsBetweenClasses): use boost.format
9484
9485 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9486
9487         * converter.C (convert): if from and to files are the same, use a
9488         temporary files as intermediary
9489
9490 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * commandtags.h:
9493         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9494
9495 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9496
9497         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9498
9499 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9500
9501         * tabular.C (asciiPrintCell): use string(size, char) instead of
9502         explicit loop.
9503
9504         * sgml.C (openTag): fix order of arguments to string constructor
9505         (closeTag): ditto
9506
9507         * lyxfunc.C (dispatch): use boost.format
9508
9509         * lots of files: change "c" -> 'c'
9510
9511 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9512
9513         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9514
9515 2002-11-25  Angus Leeming  <leeming@lyx.org>
9516
9517         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9518
9519         * lyx_main.C (init): compile fix.
9520
9521 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9522
9523         * lyx_cb.C (start): boost.formatify
9524         do not include <iostream>
9525
9526         * lengthcommon.C: ws only
9527
9528         * boost-inst.C,BoostFormat.h: add more explict instantations
9529
9530 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * lots of files: handle USE_BOOST_FORMAT
9533
9534 2002-11-21  John Levon  <levon@movementarian.org>
9535
9536         * pspell.C: fix compile
9537
9538 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9539
9540         * lyxfunc.C (dispatch): use boost::format
9541         (open): ditto
9542         (doImport): ditto
9543
9544         * lyxfont.C (stateText): use boost::format
9545
9546         * lyx_main.C (LyX): use boost::format
9547         (init): ditto
9548         (queryUserLyXDir): ditto
9549         (readRcFile): ditto
9550         (parse_dbg): ditto
9551         (typedef boost::function): use the recommened syntax.
9552
9553         * importer.C (Import): use boost::format
9554
9555         * debug.C (showLevel): use boost::format
9556
9557         * converter.C (view): use boost::format
9558         (convert): ditto
9559         (move): ditto
9560         (scanLog): ditto
9561
9562         * bufferview_funcs.C (currentState): use boost::format
9563
9564         * bufferlist.C (emergencyWrite): use boost::format
9565
9566         * buffer.C (readLyXformat2): use boost::format
9567         (parseSingleLyXformat2Token): ditto
9568
9569         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9570
9571         * LaTeX.C (run): use boost::format
9572
9573         * Chktex.C (scanLogFile): use boost::format
9574
9575         * BufferView_pimpl.C (savePosition): use boost::format
9576         (restorePosition): ditto
9577         (MenuInsertLyXFile): ditto
9578
9579         * BoostFormat.h: help file for explicit instation.
9580
9581 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9582
9583         * tabular.C (latex): Support for block alignment in fixed width
9584         columns.
9585
9586 2002-11-17  John Levon  <levon@movementarian.org>
9587
9588         * BufferView_pimpl.C:
9589         * lyx_cb.C:
9590         * lyxfunc.C: split filedialog into open/save
9591
9592 2002-11-08  Juergen Vigna  <jug@sad.it>
9593
9594         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9595         by my last patch (hopefully).
9596
9597 2002-11-08  John Levon  <levon@movementarian.org>
9598
9599         * iterators.h:
9600         * iterators.C:
9601         * buffer.h:
9602         * buffer.C:
9603         * paragraph.h:
9604         * paragraph.C:
9605         * toc.h:
9606         * toc.C: ParConstIterator, and use it (from Lars)
9607
9608 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9609
9610         * lyxtextclass.[Ch]: revise and add doxygen comments
9611
9612 2002-11-07  John Levon  <levon@movementarian.org>
9613
9614         * text.C: fix progress value for spellchecker
9615
9616         * toc.C: fix navigate menu for insetwrap inside minipage
9617
9618         * paragraph_funcs.C: added FIXME for suspect code
9619
9620 2002-11-07  John Levon  <levon@movementarian.org>
9621
9622         * BufferView_pimpl.C: fix redrawing of insets
9623           on buffer switch
9624
9625 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9626
9627         * text2.C (updateCounters): fix bug 668
9628
9629 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9630
9631         * text3.C (dispatch): Do not make the buffer dirty when moving the
9632         cursor.
9633
9634 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9635
9636         * vc-backend.C: STRCONV
9637         (scanMaster): ditto
9638
9639         * text2.C (setCounter): STRCONV
9640
9641         * paragraph.C (asString): STRCONV
9642
9643         * lyxlength.C (asString): STRCONV
9644         (asLatexString): ditto
9645
9646         * lyxgluelength.C (asString): STRCONV
9647         (asLatexString): ditto
9648
9649         * lyxfunc.C (dispatch): STRCONV
9650         (open): ditto
9651
9652         * lyxfont.C (stateText): STRCONV
9653
9654         * importer.C (Import): STRCONV
9655
9656         * counters.C (labelItem): STRCONV
9657         (numberLabel): ditto
9658         (numberLabel): remove unused ostringstream o
9659
9660         * chset.C: STRCONV
9661         (loadFile): ditto
9662
9663         * bufferview_funcs.C (currentState): STRCONV
9664
9665         * buffer.C (readFile): STRCONV
9666         (asciiParagraph): ditto
9667         (makeLaTeXFile): ditto
9668
9669         * Spacing.C (writeEnvirBegin): STRCONV
9670
9671         * LaTeXFeatures.C (getLanguages): STRCONV
9672         (getPackages): ditto
9673         (getMacros): ditto
9674         (getBabelOptions): ditto
9675         (getTClassPreamble): ditto
9676         (getLyXSGMLEntities): ditto
9677         (getIncludedFiles): ditto
9678
9679         * LaTeX.C: STRCONV
9680         (run): ditto
9681         (scanAuxFile): ditto
9682         (deplog): ditto
9683
9684         * LString.h: add the STRCONV macros
9685
9686         * BufferView_pimpl.C (savePosition): STRCONV
9687         (restorePosition): ditto
9688         (MenuInsertLyXFile): ditto
9689
9690         * vc-backend.C (scanMaster): change from submatch[...] to
9691         submatch.str(...)
9692
9693         * funcrequest.C: include config.h
9694
9695         * factory.C: include config.h
9696
9697         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9698
9699         * box.C: include config.h
9700
9701         * LaTeX.C (scanAuxFile): change from submatch[...] to
9702         submatch.str(...)
9703         (deplog): ditto
9704
9705 2002-10-25  Angus Leeming  <leeming@lyx.org>
9706
9707         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9708
9709         * ispell.[Ch] (setError): new method.
9710         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9711         Use setError() insetead of goto END.
9712
9713         * lyx_cb.C (AutoSave): move out child process into new class
9714         AutoSaveBuffer.
9715
9716 2002-10-30  John Levon  <levon@movementarian.org>
9717
9718         * text3.C: make start appendix undoable
9719
9720 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9721
9722         * lyxlength.C (inPixels): Fix returned value.
9723
9724         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9725         environment.
9726
9727 2002-10-24  Angus Leeming  <leeming@lyx.org>
9728
9729         * lyxgluelength.h: no need to forward declare BufferParams
9730         or BufferView, so don't.
9731
9732 2002-10-21  John Levon  <levon@movementarian.org>
9733
9734         * BufferView.C: menuUndo ->undo, redo
9735
9736         * BufferView.h: document, remove dead, make some methods private
9737
9738         * paragraph_funcs.h:
9739         * paragraph_funcs.C:
9740         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9741
9742         * buffer.h:
9743         * buffer.C:
9744         * sgml.h:
9745         * sgml.C: move sgml open/close tag into sgml.C
9746
9747         * bufferview_funcs.h: unused prototype
9748
9749         * lyxfunc.h:
9750         * lyxfunc.C: remove unused
9751
9752         * lyxtext.h:
9753         * text.C: remove unused
9754
9755 2002-10-21  John Levon  <levon@movementarian.org>
9756
9757         * BufferView.h:
9758         * BufferView.C:
9759         * BufferView_pimpl.h:
9760         * BufferView_pimpl.C: fix mouse wheel handling based on
9761           patch from Darren Freeman
9762
9763 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9764
9765         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9766
9767 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9768
9769         * lyxlength.C (inPixels): Fix hanfling of negative length.
9770         Fix LyXLength::MU case.
9771
9772 2002-10-16  John Levon  <levon@movementarian.org>
9773
9774         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9775
9776 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9777
9778         * converter.C (view): add support for $$i (file name) and $$p
9779         (file path) for the viewer command. If $$i is not specified, then
9780         it is appended to the command (for compatibility with old syntax)
9781
9782 2002-10-14  Juergen Vigna  <jug@sad.it>
9783
9784         * undo_funcs.C (textHandleUndo): alter the order in which the
9785         new undopar is added to the LyXText, as we have to set first
9786         the right prev/next and then add it as otherwise the rebuild of
9787         LyXText is not correct. Also reset the cursor to the right paragraph,
9788         with this IMO we could remove the hack in "redoParagraphs()".
9789
9790 2002-10-09  Angus Leeming  <leeming@lyx.org>
9791
9792         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9793         to turn off an optimisation if a new inset is to be inserted.
9794
9795 2002-10-11 André Pönitz <poenitz@gmx.net>
9796
9797         * lyxtext.h: make some functions public to allow access
9798         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9799
9800 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * text3.C (dispatch): when changing layout, avoid an infinite loop
9803         [bug #652]
9804
9805 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9806
9807         * lyxrc.C (read): treat a viewer or converter command of "none" as
9808         if it were empty.
9809
9810         * MenuBackend.C (expandFormats): for an update, also allow the
9811         formats that are not viewable
9812
9813         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9814         script if it is newer than the lyxrc.defaults in user directory
9815
9816 2002-10-07 André Pönitz <poenitz@gmx.net>
9817
9818         * text.C: Vitaly Lipatov's small i18n fix
9819
9820 2002-09-25  Angus Leeming  <leeming@lyx.org>
9821
9822         * ispell.h: doxygen fix.
9823
9824 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9825
9826         * buffer.h (readFile): Add a new argument to the method, to allow
9827         reading of old-format templates.
9828
9829 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9830
9831         * toc.C (getTocList): Get TOC from InsetWrap.
9832
9833 2002-09-16  John Levon  <levon@movementarian.org>
9834
9835         * lyxfunc.C: check tabular for cut/copy too
9836
9837 2002-09-12  John Levon  <levon@movementarian.org>
9838
9839         * LyXAction.C: tidy
9840
9841         * factory.h:
9842         * factory.C: add header
9843
9844         * paragraph_funcs.h:
9845         * paragraph_funcs.C: cleanup
9846
9847 2002-09-11  John Levon  <levon@movementarian.org>
9848
9849         * PrinterParams.h: odd/even default to true
9850
9851 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9852
9853         * PrinterParams.h: update printer parameters for new xforms dialog
9854
9855 2002-09-11  Angus Leeming  <leeming@lyx.org>
9856
9857         * lyxserver.C (read_ready): re-write to make it more transparent
9858         and to make it work in coherent fashion under Tru64 Unix.
9859
9860 2002-09-11  André Pönitz <poenitz@gmx.net>
9861
9862         * commandtags.h:
9863         * LyXAction.C:
9864         * text3.C: implement LFUN_WORDSEL
9865
9866 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9869         make floatlist_ a boost::shared_ptr<FloatList>
9870
9871         * lyxtextclass.C: include FloatList.h
9872         (LyXTextClass): initialize floatlist_
9873         (TextClassTags): add TC_NOFLOAT
9874         (Read): match "nofloat" to TC_NOFLOAT and use it.
9875         (readFloat): modify call to floatlist_
9876         (floats): ditto
9877         (floats): ditto
9878
9879         * FloatList.[Ch] (FloatList): remove commented out float
9880         initialization.
9881         (erase): new function
9882
9883 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9884
9885         * MenuBackend.C (expandToc): fix crash when there is no document
9886         open
9887
9888 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * many files: Add insetwrap.
9891
9892 2002-09-09  John Levon  <levon@movementarian.org>
9893
9894         * text2.C: remove confusing and awkward depth wraparound
9895
9896 2002-09-09  John Levon  <levon@movementarian.org>
9897
9898         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9899
9900         * buffer.h:
9901         * buffer.C: remove getIncludeonlyList()
9902
9903         * paragraph.C:
9904         * lyxfunc.C: remove headers
9905
9906 2002-09-09  Juergen Vigna  <jug@sad.it>
9907
9908         * text.C (getColumnNearX): fix form Michael this is most
9909         probably a cut&paste bug.
9910
9911 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9914
9915         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9916         references, ws changes.
9917
9918         * text2.C (init): update counters after init
9919         (insertParagraph): no need to set counter on idividual paragraphs.
9920         (setCounter): access the counters object in the textclass object
9921         on in the buffer object.
9922         (updateCounters): ditto
9923
9924         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9925         shared_ptr<Counters> to avoid loading counters.h in all
9926         compilation units.
9927         (LyXTextClass): initialize ctrs_
9928         (TextClassTags): add TC_COUNTER, and ...
9929         (Read): use it here.
9930         (CounterTags): new tags
9931         (readCounter): new function
9932         (counters): new funtion
9933         (defaultLayoutName): return a const reference
9934
9935         * counters.C (Counters): remove contructor
9936         (newCounter): remove a couple of unneeded statements.
9937         (newCounter): simplify a bit.
9938         (numberLabel): some small formatting changes.
9939
9940         * buffer.[Ch]: remove all traces of counters, move the Counters
9941         object to the LyXTextClass.
9942
9943 2002-09-06  Alain Castera  <castera@in2p3.fr>
9944
9945         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9946         package to set the horizontal alignment on fixed width columns.
9947
9948         * lyx_sty.C:
9949         * lyx_sty.h: added tabularnewline macro def.
9950
9951         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9952
9953 2002-09-06  John Levon  <levon@movementarian.org>
9954
9955         * LyXAction.C: tooltips for sub/superscript
9956
9957         * MenuBackend.C: a bit more verbose
9958
9959         * lyxfunc.C: tiny clean
9960
9961         * undo_funcs.C: document undo_frozen
9962
9963 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9964
9965         * counters.C (Counters): add missing algorithm counter.
9966
9967         * text2.C (setCounter): lookup the counter with layouts latexname
9968         instead of by section number.
9969         (setCounter): use a hackish way to lookup the correct enum
9970         counter.
9971         a float name->type change
9972         reset enum couners with counter name directly instead of depth value.
9973
9974         * counters.C (Counters): remove the push_backs, change to use the
9975         float type not the float name.
9976         (labelItem): remove unused string, float name->type change
9977
9978         * counters.h: don't include vector, loose the enums and sects vectors
9979
9980 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9981
9982         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9983         (Read): add float->TC_FLOAT to textclassTags
9984         (Read): and handle it in the switch
9985         (readFloat): new function
9986
9987         * FloatList.C (FloatList): comment out the hardcoded float
9988         definitions.
9989
9990         * lyxlayout.h: ws change.
9991
9992 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9995
9996 2002-09-03  Angus Leeming  <leeming@lyx.org>
9997
9998         * BufferView_pimpl.h: qualified name is not allowed in member
9999         declaration: WorkArea & Pimpl::workarea() const;
10000
10001         * factory.C: added using std::endl directive.
10002
10003         * text3.C: added using std::find and std::vector directives.
10004
10005 2002-08-29  André Pönitz <poenitz@gmx.net>
10006
10007         * lyxtext.h:
10008         * text2.C: remove unused member number_of_rows
10009
10010         * Makefile.am:
10011         * BufferView2.C: remove file, move contents to...
10012         * BufferView.C: ... here
10013
10014         * BufferView_pimpl.C:
10015         * factory.C: move more inset creation to factory
10016
10017         * vspace.C: avoid direct usage of LyXText, ws changes
10018
10019         * BufferView.[Ch]:
10020                 don't provide direct access to WorkArea, use two simple
10021                 acessors haveSelction() and workHeight() instead
10022
10023
10024 2002-08-29  John Levon  <levon@movementarian.org>
10025
10026         * BufferView_pimpl.C (dispatch): do not continue when
10027           no buffer
10028
10029 2002-08-28  André Pönitz <poenitz@gmx.net>
10030
10031         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10032
10033         * BufferView.h:
10034         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10035
10036 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10037
10038         * buffer.C: increment LYX_FORMAT to 221
10039
10040         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10041         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10042
10043         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10044
10045         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10046
10047 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * factory.C (createInset): use LyXTextClass::floats
10050
10051         * MenuBackend.C (expandFloatListInsert):
10052         (expandFloatInsert):
10053         (expandToc):
10054
10055         * text2.C (setCounter):
10056
10057         * LaTeXFeatures.C (useFloat):
10058         (getFloatDefinitions):
10059
10060         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10061
10062         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10063         floatlist_, with accessor floats().
10064
10065         * FloatList.h: remove global FloatList
10066
10067 2002-08-26  André Pönitz <poenitz@gmx.net>
10068
10069         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10070
10071         * BufferView.h:
10072         * BufferView2.C:
10073         * BufferView_pimpl.C:
10074         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10075
10076 2002-08-25  John Levon  <levon@movementarian.org>
10077
10078         * LyXAction.C: fix margin note description
10079
10080 2002-08-24  John Levon  <levon@movementarian.org>
10081
10082         * buffer.C:
10083         * bufferlist.C:
10084         * bufferview_funcs.C:
10085         * lyxfont.C:
10086         * undo_funcs.C: cleanups
10087
10088         * lyxfunc.C: disable CUT/COPY when no selection
10089
10090 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10091
10092         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10093         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10094
10095         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10096         Add backward compatibility to "mono", "gray" and "no".
10097
10098 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10099
10100         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10101         (and file_format >= 200).
10102
10103 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10104
10105         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10106
10107 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10108
10109         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10110
10111 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10112
10113         * BufferView_pimpl.C:
10114         * LyXAction.C:
10115         * buffer.C:
10116         * commandtags.h:
10117         * lyxfunc.C:
10118         * paragraph.[Ch]:
10119         * text2.C:
10120         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10121         inset and code to make it  work with the paragraph code. The inset
10122         can be anywhere in the paragraph, but will only do the expected
10123         thing in LaTeX if the layout file contains the parameter line
10124                         OptionalArgs    1
10125         (or more generally, a nonzero value) for that layout.
10126
10127 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10128
10129         * paragraph.h: remove the declaration of undefined counters class
10130         function.
10131
10132 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10133
10134         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10135         Dr. Richard Hawkins.
10136
10137 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10138
10139         * paragraph_funcs.h: remove some unneeded includes
10140
10141         * text.C (backspace): pasteParagraph now in global scipe
10142
10143         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10144         (pasteSelection): ditto
10145
10146         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10147         * paragraph_funcs.C (pasteParagraph): ... here
10148
10149 2002-08-20  André Pönitz <poenitz@gmx.net>
10150
10151         * commandtags.h: new LFUNs for swapping/copying table row/colums
10152
10153         * LyXAction.C:
10154         * lyxfunc.C: support for new lfuns
10155
10156 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10157
10158         * tabular.C:
10159         * buffer.[Ch]: remove NO_COMPABILITY stuff
10160
10161 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10162
10163         * boost.C (throw_exception): new file, with helper function for
10164         boost compiled without exceptions.
10165
10166         * paragraph.h:
10167         * lyxlength.C:
10168         * buffer.C:
10169         * ParameterStruct.h:
10170         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10171
10172         * bufferlist.C (emergencyWriteAll): use boost bind
10173
10174         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10175
10176         * text.C: include paragraph_funcs.h
10177         (breakParagraph): breakParagraph is now in global scope
10178
10179         * paragraph_funcs.[Ch]: new files
10180
10181         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10182         global scope
10183
10184         * buffer.C: include paragraph_funcs.h
10185         (insertStringAsLines): breakParagraph is now in global scope
10186
10187         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10188         paragraph_funcs.C
10189
10190         * CutAndPaste.C: include paragraph_funcs.h
10191         (cutSelection): breakParagraphConservative is now in global scope
10192         (pasteSelection): ditto
10193
10194         * buffer.h: declare oprator== and operator!= for
10195         Buffer::inset_iterator
10196
10197         * bufferlist.C (emergencyWrite): don't use fmt(...)
10198
10199         * text3.C: add using std::endl
10200
10201         * BufferView.C (moveCursorUpdate): remove default arg
10202
10203 2002-08-20  André Pönitz <poenitz@gmx.net>
10204
10205         * buffer.[Ch]: move inline functions to .C
10206
10207         * BufferView2.C:
10208         * BufferView_pimpl.C:
10209         * text.C:
10210         * buffer.[Ch]: use improved inset_iterator
10211
10212         * buffer.C:
10213         * paragraph.[Ch]: write one paragraph at a time
10214
10215 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10218         style if style is not specified.
10219
10220 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10221
10222         * text2.C (setCounter): when searching for right label for a
10223         caption, make sure to recurse to parent insets (so that a caption
10224         in a minipage in a figure float works) (bug #568)
10225
10226 2002-08-20  André Pönitz <poenitz@gmx.net>
10227
10228         * text3.C: new file for LyXText::dispatch() and helpers
10229
10230         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10231
10232         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10233
10234 2002-08-19  André Pönitz <poenitz@gmx.net>
10235
10236         * lyxtext.h:
10237         * text.C: new LyXText::dispatch()
10238
10239         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10240
10241 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10242
10243         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10244
10245         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10246         Hebrew text.
10247
10248 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * Makefile.am: use $(variables) instead of @substitutions@
10251
10252 2002-08-15  André Pönitz <poenitz@gmx.net>
10253
10254         * lyxfunc.C:
10255         * BufferView_pimpl.C: streamlining mathed <-> outer world
10256         interaction
10257
10258         * commandtags.h:
10259         * LyXAction.C: remove unused LFUN_MATH
10260
10261 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10262
10263         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10264
10265 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10266
10267         * paragraph.C (Paragraph): reformat a bit
10268         (cutIntoMinibuffer): use builtin InsetList function instad of
10269         doing it manually.
10270         (getInset): ditto
10271
10272         * buffer.C: include boost/bind.hpp, add using std::for_each
10273         (writeFileAscii): use ParagraphList iterators
10274         (validate): use for_each for validate traversal of paragraphs
10275         (getBibkeyList): use ParagraphList iterators
10276         (resizeInsets): use for_each to resizeInsetsLyXText for all
10277         paragraphs.
10278         (getParFromID): use ParagraphList iterators
10279
10280         * BufferView2.C (lockInset): use paragraph list and iterators
10281
10282 2002-08-14  John Levon  <levon@movementarian.org>
10283
10284         * lyxserver.C: remove spurious xforms include
10285
10286 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10289
10290 2002-08-13  André Pönitz <poenitz@gmx.net>
10291
10292         * LyXAction.[Ch]:
10293         * lyxfunc.C: further cleaning
10294
10295 2002-08-13  André Pönitz <poenitz@gmx.net>
10296
10297         * funcrequest.h: new constructor
10298
10299         * funcrequest.C: move stuff here from .h
10300
10301         * Makefile.am:
10302         * BufferView_pimpl.C:
10303         * LyXAction.C:
10304         * toc.C:
10305         * lyxfunc.C: subsequent changes
10306
10307         * lyxfunc.h: new view() member function
10308
10309         * lyxfunc.C: subsequent changes
10310
10311 2002-08-13  Angus Leeming  <leeming@lyx.org>
10312
10313         * BufferView2.C:
10314         * BufferView_pimpl.C:
10315         * buffer.C:
10316         * converter.C:
10317         * importer.C:
10318         * lyxfunc.C:
10319         * lyxvc.C:
10320         * toc.C:
10321         * vc-backend.C:
10322         changes due to the changed LyXView interface that now returns references
10323         to member variables not pointers.
10324
10325 2002-08-13  Angus Leeming  <leeming@lyx.org>
10326
10327         * WordLangTuple (word, lang_code): return references to strings,
10328         not strings.
10329
10330         * BufferView.h:
10331         * SpellBase.h:
10332         * lyxtext.h: forward-declare WordLangTuple.
10333
10334         * BufferView2.C:
10335         * ispell.C:
10336         * pspell.C:
10337         * text.C: #include "WordLangTuple.h".
10338
10339         * lyxtext.h:
10340         * text.C: (selectNextWordToSpellcheck): constify return type.
10341
10342 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10343
10344         * buffer.C:
10345         * buffer.h:
10346         * lyxtext.h:
10347         * paragraph.C:
10348         * paragraph_pimpl.h:
10349         * text.C:
10350         * text2.C:
10351         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10352         suggested by Angus.
10353         Made updateCounter always count from start of buffer, and removed
10354         second argument (par).
10355         Reverted floats number display to '#'. Perhaps I'll try again when the
10356         code base is sanitized a bit.
10357
10358 2002-08-12  Angus Leeming  <leeming@lyx.org>
10359
10360         * buffer.[Ch] (getLabelList): constify.
10361
10362 2002-08-07  André Pönitz <poenitz@gmx.net>
10363
10364         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10365
10366         * funcrequest.h: extension to keep mouse (x,y) position
10367
10368 2002-08-12  Juergen Vigna  <jug@sad.it>
10369
10370         * BufferView2.C (insertErrors): forbid undo when inserting error
10371         insets.
10372
10373         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10374
10375 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10376
10377         * ParagraphList.[Ch]: new files
10378
10379         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10380
10381         * BufferView2.C (lockInset): ParagraphList changes
10382         * toc.C: ditto
10383         * text2.C: ditto
10384         * bufferlist.C: ditto
10385         * buffer.h: ditto
10386         * buffer.C: ditto
10387
10388 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10389
10390         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10391         unused class variable counter_,
10392
10393         * paragraph.[Ch] (getFirstCounter): delete unused function
10394
10395         * counters.C: include LAssert.h
10396         (reset): add a new function with no arg, change other version to
10397         not have def. arg and to not allow empty arg.
10398
10399         * text2.C (setCounter): remove empty arg from call to Counters::reset
10400
10401 2002-08-11  John Levon  <levon@movementarian.org>
10402
10403         * Makefile.am: add WordLangTuple.h
10404
10405 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10406
10407         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10408         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10409
10410         * insets/insettext.C: InsetList changes
10411
10412         * graphics/GraphicsSupport.C (operator()): InsetList changes
10413
10414         * toc.C (getTocList): InsetList changes
10415
10416         * paragraph_pimpl.[Ch]: InsetList changes
10417
10418         * paragraph.[Ch]: InsetList changes
10419
10420         * buffer.C (inset_iterator): InsetList changes
10421         (setParagraph): ditto
10422         * buffer.h (inset_iterator): ditto
10423         * iterators.C (operator++): ditto
10424         * iterators.h: ditto
10425
10426         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10427
10428         * InsetList.[Ch]: new files, most InsetList handling moved out of
10429         paragraph.C.
10430
10431         * BufferView2.C (removeAutoInsets): InsetList changes
10432         (lockInset): ditto
10433         (ChangeInsets): ditto
10434
10435 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10436
10437         * paragraph_pimpl.h (empty): new function
10438
10439         * paragraph.[Ch] (empty): new function
10440
10441         * other files: use the new Paragraph::empty function
10442
10443 2002-08-09  John Levon  <levon@movementarian.org>
10444
10445         * lyxtext.h: remove unused refresh_height
10446
10447 2002-08-09  John Levon  <levon@movementarian.org>
10448
10449         * Makefile.am:
10450         * sgml.h:
10451         * sgml.C:
10452         * buffer.C:
10453         * paragraph.h:
10454         * paragraph.C: move sgml char escaping out of paragraph
10455
10456         * paragraph.h:
10457         * paragraph.C: remove id setter
10458
10459         * buffer.C:
10460         * paragraph.C:
10461         * paragraph_pimpl.C: remove dead tex_code_break_column
10462
10463         * bufferview_funcs.C: small cleanup
10464
10465         * lyxfunc.C: remove dead proto
10466
10467         * lyxtext.h: make some stuff private. Remove some dead stuff.
10468
10469         * lyxgluelength.C: make as[LyX]String() readable
10470
10471 2002-08-08  John Levon  <levon@movementarian.org>
10472
10473         * LyXAction.h:
10474         * LyXAction.C:
10475         * MenuBackend.C:
10476         * ToolbarDefaults.C:
10477         * lyxfunc.C:
10478         * lyxrc.C:
10479         * toc.C: lyxaction cleanup
10480
10481 2002-08-08  John Levon  <levon@movementarian.org>
10482
10483         * BufferView2.C: small cleanup
10484
10485         * lyxfind.h:
10486         * lyxfind.C: move unnecessary header into the .C
10487
10488 2002-08-08  John Levon  <levon@movementarian.org>
10489
10490         * funcrequest.h: just tedious nonsense
10491
10492         * lyx_main.h:
10493         * lyx_main.C: cleanups
10494
10495         * buffer.C:
10496         * vspace.C: remove dead header lyx_main.h
10497
10498 2002-08-07  Angus Leeming  <leeming@lyx.org>
10499
10500         * Paragraph.[Ch]:
10501         * paragraph_pimpl.h:
10502         Forward declare class Counters in paragraph.h by moving the ctrs member
10503         variable into Paragraph::Pimpl.
10504         (counters): new method, returning a reference to pimpl_->ctrs.
10505
10506         * text2.C: ensuing changes.
10507
10508 2002-08-07  John Levon  <levon@movementarian.org>
10509
10510         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10511
10512         * BufferView_pimpl.C: announce X selection on double/triple
10513           click
10514
10515         * lyx_main.C: use correct bool in batch dispatch
10516
10517         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10518
10519 2002-08-07  André Pönitz <poenitz@gmx.net>
10520
10521         * funcrequest.h: new class to wrap a kb_action and its argument
10522
10523         * BufferView.[Ch]:
10524         * BufferView_pimpl[Ch]:
10525         * LaTeX.C:
10526         * LyXAction.[Ch]:
10527         * lyxfunc.[Ch]:
10528         * lyxrc.C: subsequent changes
10529
10530
10531 2002-08-07  John Levon  <levon@movementarian.org>
10532
10533         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10534           document options change.
10535
10536 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10537
10538         * counters.[Ch]
10539         * text2.C
10540         * paragraph.[Ch]
10541         * makefile.am: move counters functionality over from
10542         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10543
10544 2002-08-06  John Levon  <levon@movementarian.org>
10545
10546         * WordLangTuple.h: new file for word + language code tuple
10547
10548         * SpellBase.h:
10549         * pspell.h:
10550         * pspell.C:
10551         * ispell.h:
10552         * ispell.C:
10553         * lyxtext.h:
10554         * text.C:
10555         * text2.C:
10556         * BufferView.h:
10557         * BufferView2.C: use WordLangTuple
10558
10559         * layout.h:
10560         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10561
10562 2002-08-06  John Levon  <levon@movementarian.org>
10563
10564         * lyx_main.C: fix cmdline batch handling
10565
10566 2002-08-06  André Pönitz <poenitz@gmx.net>
10567
10568         * lyxrc.C: set default for show_banner to true
10569
10570 2002-08-06  John Levon  <levon@movementarian.org>
10571
10572         * pspell.C: fix a crash, and allow new aspell to work
10573
10574 2002-08-06  John Levon  <levon@movementarian.org>
10575
10576         * lyxfunc.C:
10577         * kbmap.C: small cleanup
10578
10579         * vspace.h:
10580         * vspace.C: add const
10581
10582 2002-08-05  John Levon  <levon@movementarian.org>
10583
10584         * LyXAction.C: back to tabular-insert
10585
10586 2002-08-04  John Levon  <levon@movementarian.org>
10587
10588         * BufferView.h:
10589         * BufferView.C: cosmetic change
10590
10591         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10592
10593         * bufferlist.C:
10594         * buffer.h:
10595         * buffer.C:
10596         * lyxcb.h:
10597         * lyxcb.C:
10598         * lyxserver.C:
10599         * lyxvc.C:
10600         * vc-backend.C:
10601         * BufferView2.C: purge all "Lyx" not "LyX" strings
10602
10603         * lyxcursor.h:
10604         * lyxcursor.C: attempt to add some documentation
10605
10606         * lyxfunc.C:
10607         * commandtags.h:
10608         * LyXAction.C:
10609         * ToolbarDefaults.C:
10610         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10611           merge with LFUN_TABULAR_INSERT
10612
10613         * Makefile.am:
10614         * SpellBase.h:
10615         * ispell.h:
10616         * ispell.C:
10617         * pspell.h:
10618         * pspell.C: split up i/pspell implementations into separate
10619           files, many cleanups
10620
10621         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10622
10623         * text2.C: some cleanup
10624
10625         * lyxfunc.C: don't check for isp_command == "none" any more, it
10626           didn't make any sense
10627
10628 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10629
10630         * counters.[Ch]
10631         * text2.C
10632         * paragraph.[Ch]
10633         * makefile.am: move counters functionality over
10634         from text2.C/paragraph.[Ch] to counters.[Ch], and
10635         make proper C++.
10636 2002-08-02  John Levon  <levon@movementarian.org>
10637
10638         * buffer.C: s/lyxconvert/lyx2lyx/
10639
10640 2002-08-02  Angus Leeming  <leeming@lyx.org>
10641
10642         * lyxlex.C: revert John's change as it breaks reading of the user
10643         preamble.
10644
10645 2002-08-02  Angus Leeming  <leeming@lyx.org>
10646
10647         * importer.C (Import):
10648         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10649         changes due to LyXView::view() now returning a boost::shared_ptr.
10650
10651 2002-08-02  John Levon  <levon@movementarian.org>
10652
10653         * lyxlex.C: small cleanup
10654
10655 2002-08-02  John Levon  <levon@movementarian.org>
10656
10657         * text2.C (status): small cleanup, no logic change
10658
10659 2002-08-01  John Levon  <levon@movementarian.org>
10660
10661         * buffer.h:
10662         * buffer.C (writeFile): don't output alerts, caller
10663           handles this
10664
10665         * bufferlist.C:
10666         * lyx_cb.C: from above
10667
10668         * lyxfunc.C: allow to open non-existent files
10669
10670 2002-07-31  John Levon  <levon@movementarian.org>
10671
10672         * lyxserver.C: don't let incidental errors get
10673           in the way (errno)
10674
10675 2002-07-30  John Levon  <levon@movementarian.org>
10676
10677         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10678
10679 2002-07-30  John Levon  <levon@movementarian.org>
10680
10681         * lyxserver.h:
10682         * lyxserver.C: remove I/O callback too
10683
10684 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10687         log.
10688
10689 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * many files: strip,frontStrip -> trim,ltrim,rtrim
10692
10693 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * PrinterParams.h: remove extern containsOnly, and include
10696         support/lstrings.h instead.
10697
10698         * LaTeX.C (scanAuxFile): modify because of strip changes
10699         (deplog): ditto
10700         * buffer.C (makeLaTeXFile): ditto
10701         * bufferparams.C (writeFile): ditt
10702         * lyxfont.C (stateText): ditto
10703         * lyxserver.C (read_ready): ditto
10704         * vc-backend.C (scanMaster): ditto
10705
10706         * BufferView_pimpl.h: ws changes
10707
10708         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10709
10710 2002-07-26  André Pönitz <poenitz@gmx.net>
10711
10712         * kb_sequence.C: remove unnedred usings
10713
10714 2002-07-26  Juergen Vigna  <jug@sad.it>
10715
10716         * lyxfind.C (LyXReplace): we have to check better if the returned
10717         text is not of theLockingInset()->getLockingInset().
10718
10719 2002-07-25  Juergen Vigna  <jug@sad.it>
10720
10721         * lyxfind.C (LyXReplace): don't replace if we don't get the
10722         right LyXText.
10723
10724         * undo_funcs.C (createUndo): remove debugging code.
10725
10726 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10727
10728         * buffer.C (parseSingleLyXformat2Token): Use default placement
10729         when reading old floats.
10730
10731         * FloatList.C (FloatList): Change the default placement of figure
10732         and tables to "tbp".
10733
10734 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * MenuBackend.C: using std::max
10737
10738 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * MenuBackend.C (expandToc):
10741         (expandToc2): code moved from xforms menu frontend. It is now
10742         generic and TOCs are transparent to menu frontends.
10743
10744 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * toc.C (getTocList): protect against buf=0
10747
10748         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10749         Menu as first parameter. Now, this calls itself recursively to
10750         expand a whole tree (this will be useful for TOC handling)
10751         (expandFloatInsert): remove 'wide' version of floats
10752
10753         * MenuBackend.h (submenuname): returns the name of the submenu.
10754         (submenu): returns the submenu itself, provided it has been
10755         created by MenuBackend::expand
10756
10757 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10760         insets which have noFontChange == true. (bug #172)
10761
10762 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10763
10764         * BufferView_pimpl.C: add connection objects and use them...
10765         (Pimpl): here.
10766
10767 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * MenuBackend.C (expandLastfiles):
10770         (expandDocuments):
10771         (expandFormats):
10772         (expandFloatListInsert):
10773         (expandFloatInsert):
10774         (expand): split expand in parts
10775
10776 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * lyx_gui.C: use lyx_gui::exit()
10779
10780 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * LyXAction.C: show the failing pseudo action
10783
10784 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10785
10786         * buffer.C (readFile): Run the lyxconvert script in order to read
10787         old files.
10788
10789 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * LyXAction.C:
10792         * commandtags.h:
10793         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10794
10795 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * LyXAction.C:
10798         * commandtags.h:
10799         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10800
10801 2002-07-22  Herbert Voss  <voss@lyx.org>
10802
10803         * lengthcommon.C:
10804         * lyxlength.[Ch]: add support for the vertical lengths
10805
10806 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * toc.[Ch]: std:: fixes
10809
10810 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * lyxrc.C: do not include lyx_main.h
10813
10814         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10815         for layouts
10816
10817         * lyxrc.C:
10818         * encoding.C:
10819         * bufferlist.C:
10820         * BufferView2.C: include "lyxlex.h"
10821
10822         * tabular.h:
10823         * bufferparams.h: do not #include "lyxlex.h"
10824
10825         * lyxtextclasslist.C (Add): remove method
10826         (classlist): renamed to classlist_
10827
10828         * paragraph_pimpl.C:
10829         * paragraph.C:
10830         * text2.C:
10831         * CutAndPaste.C:
10832         * bufferview_funcs.C:
10833         * bufferlist.C:
10834         * text.C:
10835         * LaTeXFeatures.C:
10836         * buffer.C:
10837         * toc.C (getTocList): use BufferParams::getLyXTextClass
10838
10839         * toc.C (getTocList): use InsetFloat::addToToc
10840
10841         * toc.[Ch]: new files, containing helper functions to handle table
10842         of contents
10843
10844         * lyxfunc.C (dispatch): no need to remove spaces around command
10845         given as a string
10846         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10847         first command of the sequence; it is not very clever, but I do not
10848         have a better idea, actually
10849
10850         * LyXAction.C (LookupFunc): make sure to remove space at the
10851         beginning and end of the command
10852
10853 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * MenuBackend.C (getMenubar): new method: return the menubar of
10856         this menu set
10857         (read): treat differently reading of menu and menubar (in
10858         particular, the menubar has no name now)
10859         (Menu::menubar): remove
10860
10861         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10862         saving is finished
10863
10864 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10865
10866         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10867         a bibitem inset in a RTL paragraph.
10868
10869 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * paragraph_pimpl.C: constify
10872
10873         * BufferView_pimpl.C:
10874         * LaTeX.C:
10875         * lyxfunc.C: fix dispatch in a nicer way
10876
10877 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * lyxfunc.C (dispatch):
10880         * BufferView_pimpl.C:
10881         * BufferView_pimpl.h:
10882         * BufferView.C:
10883         * BufferView.h: rename Dispatch() to dispatch()
10884
10885         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10886
10887         * lyxlayout.C (Read): honor DependsOn tag
10888
10889         * lyxlayout.[Ch] (depends_on): new method
10890
10891         * version.C.in: update lyx_docversion
10892
10893         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10894
10895         * paragraph.C (validate): remove from here...
10896         * paragraph_pimpl.C (validate): ... and move here
10897         (isTextAt): make it const
10898
10899         * buffer.C (getLists): ws cleanup
10900
10901 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10902
10903         * language.C (read): Use iso8859-1 encoding in latex_lang
10904         (this prevents LyX from crashing when using iso10646-1 encoding).
10905
10906 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10907
10908         * text2.C (toggleInset): if cursor is inside an inset, close the
10909         inset and leave cursor _after_ it
10910
10911 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * lyxfunc.C: move minibuffer completion handling out of here
10914
10915 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * BufferView_pimpl.C:
10918         * LaTeX.C: fix dispatch calls
10919
10920 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10921
10922         * text.C (drawChars): Fix Arabic text rendering.
10923
10924 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * LyXAction.C:
10927         * commandtags.h:
10928         * lyxfunc.C: remove message-push/pop
10929
10930         * lyxserver.C:
10931         * lyxfunc.h:
10932         * lyxfunc.C: rationalise some code by removing verboseDispatch
10933           in favour of a bool argument to dispatch()
10934
10935 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10936
10937         * lyx_main.C (init): make sure to read symlinks as absolute paths
10938
10939 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10940
10941         * lyxfunc.h:
10942         * lyxfunc.C: no need for commandshortcut to be a member
10943
10944 2002-07-15  André Pönitz <poenitz@gmx.net>
10945
10946         * converter.C: add support for $$s (scripts from lib/scripts dir)
10947         * lyx_main.C: white space
10948
10949 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * bufferlist.C:
10952         * lyxrc.h:
10953         * lyxrc.C: remove second exit confirmation
10954
10955 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * BufferView.h:
10958         * BufferView.C:
10959         * BufferView2.C:
10960         * BufferView_pimpl.h:
10961         * BufferView_pimpl.C:
10962         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10963
10964 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * MenuBackend.C (expand): add numeric shortcuts to document menu
10967
10968         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10969
10970 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * lyxfont.C (setLyXFamily):
10973         (setLyXSeries):
10974         (setLyXShape):
10975         (setLyXSize):
10976         (setLyXMisc):
10977         (lyxRead):
10978         * debug.C (value):
10979         * buffer.C (asciiParagraph): use ascii_lowercase
10980
10981 2002-07-15  Mike Fabian  <mfabian@suse.de>
10982
10983         * lyxlex_pimpl.C (search_kw):
10984         * lyxlex.C (getLongString):
10985         * converter.h (operator<):
10986         * converter.C (operator<):
10987         * buffer.C (parseSingleLyXformat2Token):
10988         (asciiParagraph):
10989         * ToolbarDefaults.C (read):
10990         * MenuBackend.C (checkShortcuts):
10991         (read):
10992         * LColor.C (getFromGUIName):
10993         (getFromLyXName): use the compare_ascii_no_case instead of
10994         compare_no_case, because in turkish, 'i' is not the lowercase
10995         version of 'I', and thus turkish locale breaks parsing of tags.
10996
10997 2002-07-16  Angus Leeming  <leeming@lyx.org>
10998
10999         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11000         now takes a Buffer const & argument.
11001
11002 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * BufferView.C (resize): check there's a buffer to resize
11005
11006 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * lyxfunc.C: remove dead code
11009
11010         * lyxserver.h:
11011         * lyxserver.C: use lyx_guii::set_read_callback
11012
11013 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11014
11015         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11016         an inset in a RTL paragraph.
11017
11018 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * lyxfunc.C: repaint after a font size update
11021
11022 2002-07-15  André Pönitz <poenitz@gmx.net>
11023
11024         * lyxlength.C: inBP should be able to return negative values
11025
11026 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11027
11028         * lyxfunc.C: use lyx_gui::update_fonts()
11029
11030 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * lyxfunc.C: use lyx_gui::update_color()
11033
11034 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * bufferlist.C:
11037         * lyxfunc.h:
11038         * lyxfunc.C:
11039         * lyxrc.h:
11040         * lyxrc.C: remove file->new asks for name option, and let
11041           buffer-new take an argument
11042
11043 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * BufferView_pimpl.C: remove unneeded extra repaint()
11046
11047 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * LyXAction.C: allow command-sequence with NoBuffer
11050
11051         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11052
11053 2002-07-10  Angus Leeming  <leeming@lyx.org>
11054
11055         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11056
11057 2002-07-09  Angus Leeming  <leeming@lyx.org>
11058
11059         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11060
11061 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * lengthcommon.h: whitespace
11064
11065         * lyxfunc.C: update scrollbar after goto paragraph
11066
11067         * lyxtext.h: factor out page break drawing, and fix it so
11068           page break/added space paints as selected nicely
11069
11070 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * BufferView_pimpl.C: add FIXMEs, clean up a little
11073
11074 2002-07-09  André Pönitz <poenitz@gmx.net>
11075
11076         * lyxfont.[Ch]: support for wasy symbols
11077
11078 2002-07-08  André Pönitz <poenitz@gmx.net>
11079
11080         * BufferView_pimpl.C: apply John's patch for #93.
11081
11082 2002-07-05  Angus Leeming  <leeming@lyx.org>
11083
11084         * BufferView_pimpl.C (buffer): generate previews if desired.
11085
11086         * LColor.h: add "preview" to the color enum.
11087
11088         * LColor.C (LColor): add a corresponding entry to the items array.
11089
11090         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11091         with this buffer.
11092
11093 2002-07-05  Angus Leeming  <leeming@lyx.org>
11094
11095         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11096         The body of the code is now in the method that is passed an ostream &
11097         rather than a file name.
11098         Pass an additional only_preamble parameter, useful for the forthcoming
11099         preview stuff.
11100
11101 2002-07-03  André Pönitz <poenitz@gmx.net>
11102
11103         * lyxfunc.C: simplify getStatus() a bit for math stuff
11104
11105 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11108
11109 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * text.C (changeRegionCase): do not change case of all the
11112         document when region ends at paragraph end (bug #461)
11113
11114 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * paragraph.C (startTeXParParams):
11117         (endTeXParParams): add \protect when necessary
11118
11119 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11120
11121         * BufferView_pimpl.C (workAreaExpose): remove warning
11122
11123 2002-06-27  Angus Leeming  <leeming@lyx.org>
11124
11125         * Makefile.am: add lyxlayout_ptr_fwd.h.
11126
11127 2002-06-26  André Pönitz <poenitz@gmx.net>
11128
11129         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11130
11131 2002-06-25  Angus Leeming  <leeming@lyx.org>
11132
11133         * lyxfunc.C (dispatch): Comment out the call to
11134         grfx::GCache::changeDisplay. The method no longer exists now that the
11135         pixmap generation part of the graphics loader has been moved into
11136         InsetGraphics.
11137
11138 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * text2.C: layout as layout
11141
11142         * text.C: layout as layout
11143
11144         * tabular.C (OldFormatRead): layout as layout
11145
11146         * paragraph_pimpl.C (TeXDeeper): layout as layout
11147         (realizeFont): layout as layout
11148
11149         * paragraph.C (writeFile): layout as layout
11150         (validate): layout as layout
11151         (getFont): layout as layout
11152         (getLabelFont): layout as layout
11153         (getLayoutFont): layout as layout
11154         (breakParagraph): layout as layout
11155         (stripLeadingSpaces): layout as layout
11156         (getEndLabel): layout as layout
11157         (getMaxDepthAfter): layout as layout
11158         (applyLayout): layout as layout
11159         (TeXOnePar): layout as layout
11160         (simpleTeXOnePar): layout as layout
11161         (TeXEnvironment): layout as layout
11162         (layout): layout as layout
11163         (layout): layout as layout
11164
11165         * lyxtextclass.C (compare_name): new functor to work with
11166         shared_ptr, layout as layout
11167         (Read): layout as layout
11168         (hasLayout): layout as layout
11169         (operator): layout as layout
11170         (delete_layout): layout as layout
11171         (defaultLayout): layout as layout
11172
11173         * lyxlayout_ptr_fwd.h: new file
11174
11175         * lyxlayout.C (Read): layout as layout
11176
11177         * lyx_cb.C (MenuInsertLabel): layout as layout
11178
11179         * bufferlist.C (newFile): layout as layout
11180
11181         * buffer.C (readLyXformat2): layout as layout
11182         (parseSingleLyXformat2Token): layout as layout
11183         (insertStringAsLines): layout as layout
11184         (asciiParagraph): layout as layout
11185         (latexParagraphs): layout as layout
11186         (makeLinuxDocFile): layout as layout
11187         (simpleLinuxDocOnePar): layout as layout
11188         (makeDocBookFile): layout as layout
11189         (simpleDocBookOnePar): layout as layout
11190         (getLists): layout as layout
11191
11192         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11193
11194         * CutAndPaste.C (cutSelection): layout as layout
11195         (pasteSelection): layout as layout
11196         (SwitchLayoutsBetweenClasses): layout as layout
11197
11198         * BufferView_pimpl.C (Dispatch): layout as layout
11199         (smartQuote): layout as layout
11200
11201         * BufferView2.C (unlockInset): layout as layout
11202
11203 2002-06-24  André Pönitz <poenitz@gmx.net>
11204
11205         * lyxfunc.C: fix #487
11206
11207 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * lyxrc.h:
11210         * lyxrc.C:
11211         * lyxfunc.C: remove display_shortcuts, show_banner
11212
11213 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * Buffer_pimpl.C: oops, update on resize
11216
11217 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * buffer.C:
11220         * converter.C:
11221         * exporter.C:
11222         * lyxfunc.C:
11223         * BufferView.h:
11224         * BufferView.C: use repaint()
11225
11226         * BufferView_pimpl.h:
11227         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11228           as it's a clearer description. Remove superfluous
11229           redraws.
11230
11231 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * text.C: fix bug 488. Not ideal, but getting
11234           getWord() to work properly for the insets that
11235           matter is more difficult ...
11236
11237 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11238
11239         * BufferView_pimpl.C:
11240         * LyXAction.C:
11241         * commandtags.h:
11242         * lyxfunc.C: remove the six million index lyxfuncs to just
11243           one, and DTRT (bug 458)
11244
11245 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * BufferView.h:
11248         * BufferView.C:
11249         * BufferView_pimpl.h:
11250         * BufferView_pimpl.C: clean up resize() stuff,
11251           and unnecessary updateScreen()s
11252
11253 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * BufferView.h:
11256         * BufferView.C:
11257         * BufferView_pimpl.h:
11258         * BufferView_pimpl.C:
11259         * lyxfind.h:
11260         * lyxfind.C:
11261         * minibuffer.C: remove focus management of workarea,
11262           not needed. Use screen's greyOut()
11263
11264 2002-06-17  Herbert Voss  <voss@lyx.org>
11265
11266         * converter.C: (convert) do not post a message, when converting
11267         fails, let the calling function decide what to do in this case
11268
11269 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * lyxfunc.C: tidy up a little
11272
11273 2002-06-16    <alstrup@diku.dk>
11274
11275         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11276         Got rid of FORMS_H_LOCATION include. Now we are
11277         GUII.
11278
11279 2002-06-15  LyX Development team  <lyx@rilke>
11280
11281         * buffer.[Ch] (sgmlOpenTag):
11282         (sgmlCloseTag): Added support for avoiding pernicious mixed
11283         content. Return number of lines written.
11284
11285         (makeLinuxDocFile):
11286         (makeDocBookFile): Fixed calls to sgml*Tag.
11287         Simple white space clean.
11288
11289         (simpleDocBookOnePar): Simple white space clean.
11290
11291         * tabular.[Ch] (docBook): Renamed to docbook and got another
11292         argument to related with the pernicious mixed content.
11293
11294         (docbookRow): Fixed calls for docbook inset method.
11295
11296 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11297
11298         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11299         so it's X11 independent.
11300
11301         * kb*.[Ch]: ditto.
11302
11303         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11304
11305 2002-06-15  Lyx Development team  <lyx@electronia>
11306
11307         * intl.h: Renamed getTrans to getTransManager.
11308
11309 2002-06-14  Angus Leeming  <leeming@lyx.org>
11310
11311         * Makefile.am: nuke forgotten stl_string_fwd.h.
11312
11313 2002-06-12  Angus Leeming  <leeming@lyx.org>
11314
11315         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11316
11317 2002-06-13  Angus Leeming  <leeming@lyx.org>
11318
11319         * LaTeX.C:
11320         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11321
11322 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11323
11324         * kbmap.C (getiso): add support for cyrillic and greek
11325
11326 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * BufferView.h:
11329         * BufferView.C:
11330         * BufferView_pimpl.h:
11331         * BufferView_pimpl.C: move bogus scrolling logic
11332           to xforms
11333
11334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * lyxfunc.C:
11337         * BufferView_pimpl.C: view->resize() change
11338
11339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * BufferView_pimpl.C: topCursorVisible
11342           prototype change
11343
11344 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * Makefile.am:
11347         * lyx_gui.h:
11348         * lyx_gui.C: move to frontends/
11349
11350         * main.C:
11351         * lyx_main.h:
11352         * lyx_main.C: changes from above
11353
11354 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * intl.C:
11357         * intl.h:
11358         * kbmap.C:
11359         * kbsequence.C:
11360         * lyx_cb.C:
11361         * lyx_main.C: minor tidy
11362
11363 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * BufferView_pimpl.h:
11366         * BufferView_pimpl.C:
11367         * BufferView.h:
11368         * BufferView.C: make painter() const,
11369           remove dead code
11370
11371         * BufferView2.C: use screen() accessor
11372
11373         * lyx_main.h:
11374         * lyx_main.C: some minor cleanup
11375
11376 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.h:
11379         * BufferView_pimpl.C: remove enter/leaveView,
11380           use workHeight()
11381
11382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * BufferView.h:
11385         * BufferView.C:
11386         * BufferView2.C:
11387         * BufferView_pimpl.h:
11388         * BufferView_pimpl.C: only construct screen once,
11389           rename
11390
11391         * lyxrc.C: remove pointless comment
11392
11393 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * BufferView.h:
11396         * BufferView.C: remove active() and belowMouse()
11397
11398         * BufferView_pimpl.h:
11399         * BufferView_pimpl.C: use workarea() not workarea_,
11400           and make it use a scoped_ptr instead
11401
11402 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyx_gui.C: add debug message on BadWindow
11405
11406 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11407
11408         * sp_spell.C: fdopen is not part of the C++ standard.
11409
11410         * paragraph.C (InsetIterator): use >= instead of ==
11411
11412 2002-06-07  Angus Leeming  <leeming@lyx.org>
11413
11414         Fixes needed to compile with Compaq cxx 6.5.
11415         * BufferView_pimpl.C:
11416         * DepTable.C:
11417         * buffer.C:
11418         * converter.C:
11419         * encoding.C:
11420         * lyx_gui.C:
11421         * lyx_main.C:
11422         * lyxtextclasslist.C:
11423         * minibuffer.C:
11424         * sp_spell.C:
11425         * tabular_funcs.C:
11426         * vc-backend.C:
11427         all c-library variables have been moved into namespace std. Wrap
11428         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11429
11430         * lyxlength.C:
11431         * tabular-old.C:
11432         * tabular.C:
11433         Add a using std::abs declaration.
11434
11435         * kbmap.h (modifier_pair):
11436         * paragraph.h (InsetTable, InsetList):
11437         * lyxfont.h (FontBits):
11438         type definition made public.
11439
11440         * bufferlist.C (emergencyWriteAll): the compiler complains that
11441         there is more than one possible lyx::class_fun template to choose from.
11442         I re-named the void specialisation as lyx::void_class_fun.
11443
11444         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11445
11446         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11447         the compiler is is unable to find tostr in write_attribute.
11448
11449 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * buffer.C (sgmlError): hide #warning
11452
11453 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11454
11455         * xtl/*: get rid of xtl, which is not in use anyway
11456
11457         * LyXAction.C (init):
11458         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11459         were unimplemented xtl experimentation
11460
11461 2002-06-04  André Pönitz <poenitz@gmx.net>
11462
11463         * lyxfunc.C: disable array operation on simple formulae
11464
11465 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * converter.C: constify a bit
11468
11469 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyx_gui.C: check xforms version correctly
11472
11473 2002-04-30  Herbert Voss  <voss@lyx.org>
11474
11475         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11476         "keep" option
11477
11478 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11481           attempt to register it with a VCS)
11482
11483 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * lyx_main.C (init): honor variables LYX_DIR_13x and
11486         LYX_USERDIR_13x
11487
11488 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * buffer.h:
11491         * buffer.C:
11492         * lyx_main.C: fix a crash on bad command line,
11493           and give a useful exit status on error
11494
11495         * lyxfunc.C (doImport): allow -i lyx to work
11496
11497 2002-03-30  André Pönitz <poenitz@gmx.net>
11498
11499         * lyxfunc.C: mathed font changes
11500
11501 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * LaTeX.C:
11504         * importer.h:
11505         * importer.C:
11506         * lyx_sty.h:
11507         * lyx_sty.C:
11508         * lyxlex.C:
11509         * lyxrow.h:
11510         * lyxtext.h:
11511         * paragraph.h:
11512         * paragraph.C:
11513         * texrow.h:
11514         * texrow.C:
11515         * text.C:
11516         * trans_mgr.h: srcdocs, and some minor cleanups
11517
11518 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11519
11520         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11521         call getFont all the time)
11522
11523 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * switch from SigC signals to boost::signals
11526
11527 2002-05-29  André Pönitz <poenitz@gmx.net>
11528
11529         * paragraph_pimpl.C (getChar): don't call size() too often...
11530
11531 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * paragraph_pimpl.C (insertChar): do not try to update tables when
11534         appending (pos == size())
11535
11536         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11537         in order to reduce drastically the number of comparisons needed to
11538         parse a large document
11539
11540 2002-05-29  André Pönitz <poenitz@gmx.net>
11541
11542         * text.C:
11543         * text2.C:
11544         * lyxtextclass.C:
11545         * sp_pspell.h:
11546         * textclasslist.[Ch]:
11547         * sp_ispell.h: whitespace change
11548
11549 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11552         lyxaction directly now.
11553
11554 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * trans.C:
11557         * lyxfont.C:
11558         * lyxvc.C: remove unused headers
11559
11560 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * Makefile.am:
11563         * buffer.h:
11564         * undostack.h:
11565         * undostack.C:
11566         * undo_funcs.h:
11567         * undo_funcs.C: some cleanups. Use shared_ptr
11568           and a template for the undo stacks.
11569
11570 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * BufferView_pimpl.h:
11573         * BufferView_pimpl.C:
11574         * kbmap.h:
11575         * kbmap.C:
11576         * kbsequence.h:
11577         * kbsequence.C:
11578         * lyxfunc.h:
11579         * lyxfunc.C:
11580         * text2.C: use key_state/mouse_state
11581
11582 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11585         and LSubstring
11586
11587         * chset.C: change include order
11588         (loadFile): use boost regex and get rid of LRegex and LSubstring
11589
11590         * Makefile.am (BOOST_LIBS): new variable
11591         (lyx_LDADD): use it
11592
11593         * LaTeX.C: change include order.
11594         (scanAuxFile): use boost regex and get rid of LRegex and
11595         LSubstring
11596         (deplog): ditto
11597
11598 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * ColorHandler.h:
11601         * ColorHandler.C:
11602         * FontInfo.h:
11603         * FontInfo.C: moved to frontends/xforms/
11604
11605         * FontLoader.h:
11606         * FontLoader.C: moved into frontends for GUIIzation
11607
11608         * Makefile.am:
11609         * lyx_gui.C:
11610         * lyxfont.C:
11611         * lyxfunc.C: changes from above
11612
11613 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * LColor.C: remove spurious X include
11616
11617         * BufferView_pimpl.C:
11618         * Makefile.am:
11619         * font.h:
11620         * font.C:
11621         * text.C:
11622         * text2.C: move font metrics to frontends/
11623
11624 2002-05-24  Juergen Vigna  <jug@sad.it>
11625
11626         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11627         setting the undo_cursor.
11628
11629         * ParagraphParameters.h: include local includes first.
11630
11631 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * BufferView_pimpl.C:
11634         * BufferView_pimpl.h:
11635         * Makefile.am:
11636         * WorkArea.h:
11637         * WorkArea.C:
11638         * screen.C: move WorkArea into frontends/
11639
11640         * lyxscreen.h:
11641         * screen.C:
11642         * text.C:
11643         * BufferView.C:
11644         * BufferView2.C: move LyXScreen into frontends/
11645
11646         * lyxlookup.h:
11647         * lyxlookup.C:
11648         * lyx_gui.C: move lyxlookup into frontends/xforms/
11649
11650 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * BufferView2.C:
11653         * BufferView_pimpl.C:
11654         * FontLoader.C:
11655         * LyXView.h:
11656         * LyXView.C:
11657         * Makefile.am:
11658         * WorkArea.C:
11659         * XFormsView.h:
11660         * XFormsView.C:
11661         * buffer.C:
11662         * bufferlist.C:
11663         * bufferview_funcs.C:
11664         * converter.C:
11665         * importer.C:
11666         * lyx_cb.C:
11667         * lyx_gui.C:
11668         * lyx_main.C:
11669         * lyx_find.C:
11670         * lyxfunc.C:
11671         * lyxvc.C:
11672         * minibuffer.C:
11673         * text.C:
11674         * text2.C:
11675         * trans.C:
11676         * vc-backend.C: move LyX/XFormsView into frontends/
11677
11678 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * Makefile.am:
11681         * PainterBase.C:
11682         * PainterBase.h:
11683         * Painter.C:
11684         * Painter.h:
11685         * WorkArea.C:
11686         * WorkArea.h:
11687         * screen.C:
11688         * tabular.C:
11689         * text.C:
11690         * text2.C: move Painter to frontends/
11691
11692 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * buffer.C: comment out some some code that depend upon lyx_format
11695         < 220
11696
11697         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11698         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11699
11700         * buffer.h (NO_COMPABILITY): turn off compability
11701
11702         * ColorHandler.C: include scoped_array.hpp
11703
11704         * font.C: Use more specific smart_ptr header.
11705         * Painter.C: ditto
11706         * gettext.C: ditto
11707         * ShareContainer.h: ditto
11708         * lyx_main.h: ditto
11709         * kbmap.h: ditto
11710         * FontInfo.h: ditto
11711         * BufferView_pimpl.h: ditto
11712         * ColorHandler.h: ditto
11713
11714         * kbmap.C (defkey): change call to shared_ptr::reset
11715
11716 2002-05-21  Juergen Vigna  <jug@sad.it>
11717
11718         * buffer.C (insertErtContents): fix to insert ert asis if it is
11719         non empty. Skip it completely if it contains only whitespaces.
11720
11721 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * BufferView_pimpl.C:
11724         * BufferView2.C: clear selection on paste (bug 393)
11725
11726 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * DepTable.C: include ctime
11729
11730 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11731
11732         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11733
11734 2002-05-14  Juergen Vigna  <jug@sad.it>
11735
11736         * text.C (breakParagraph): fixed function to honor the keepempty
11737         layout in the right maner and also to permit the right breaking
11738         algorithm on empty or non empyt keepempty paragraphs.
11739
11740         * paragraph.C (breakParagraph): we have to check also if the par
11741         is really empty (!size()) for isempty otherwise we do the wrong
11742         paragraph break.
11743
11744 2002-05-10  Juergen Vigna  <jug@sad.it>
11745
11746         * buffer.[Ch] : The following are only changes to the ert
11747         compatibility read reading old LaTeX layout and font stuff and
11748         convert it to ERTInsets.
11749
11750         * buffer.h: added isErtInset().
11751
11752         * buffer.C (struct ErtComp): add a fromlayout bool to check
11753         if we're inside a LaTeX layout.
11754         (isErtInset): new helper function.
11755         (insertErtContents): look for other ert insets before this one
11756         and insert the contents there, so that we don't have subsequent
11757         ERT insets with nothing between them. This way we create only one
11758         inset with multiple paragraphs. Also check if we don't insert only
11759         spaces ' ' as they are ignored anyway afterwards in the .tex file
11760         so if we have only spaces we will ignore this latex part in the
11761         new file.
11762         (parseSingleLyXformat2Token \\layout): better compatibility when
11763         reading layout-latex stuff.
11764         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11765         language tag.
11766         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11767         stuff after reading the inset only get the information back from
11768         the stack.
11769
11770 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11771
11772         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11773
11774         * LaTeXFeatures.C (getBabelOptions): New method.
11775
11776 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * BufferView_pimpl.C (Dispatch): work around missing argument for
11779         'layout'
11780
11781 2002-05-08  Juergen Vigna  <jug@sad.it>
11782
11783         * text.C (leftMargin): handle paragraph leftindent.
11784
11785         * paragraph.C (writeFile): write the new \\leftindent tag.
11786         (validate): handle leftindent code.
11787         (TeXEnvironment): handle paragraphleftindent code again.
11788
11789         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11790
11791         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11792         for paragrap_extra indent code and new token \\leftindent.
11793         (latexParagraphs): handle the leftindent as environment.
11794
11795         * ParameterStruct.h: added leftindent support.
11796
11797         * ParagraphParameters.C (leftIndent): added support functions for
11798         the paragraph left indent.
11799
11800         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11801         more appropriate.
11802
11803 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11804
11805         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11806         inside insetERT.
11807
11808         * text.C (computeBidiTables): No bidi in insetERT.
11809
11810         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11811         in RTL documents.
11812
11813 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11814
11815         * version.C.in: pre 5
11816
11817 2002-05-02  José Matos  <jamatos@fep.up.pt>
11818         * buffer.C (makeDocBookFile): white space changes, add newline to
11819         command styles.
11820         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11821
11822         * tabular.C (docBook): fix typo.
11823
11824 2002-05-03  Juergen Vigna  <jug@sad.it>
11825
11826         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11827         change in LyXText as we can not be sure it was not freed.
11828         (drawOneRow): remove unused code.
11829
11830         * text.C (drawInset): redo the calculation of the need_break_row as
11831         it could have a row which was already freed.
11832         (draw): look at the return value of drawInset and return false if
11833         it also returned false.
11834         (paintRowText): look at the return value of draw and return false if
11835         it also returned false.
11836
11837         * lyxtext.h: added bool return type to drawInset() and draw() so that
11838         if we have a change in the row so that the rowbreak has to be redone
11839         we abort drawing as it will be called again.
11840
11841 2002-05-02  Juergen Vigna  <jug@sad.it>
11842
11843         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11844         a change in the maintext also if we're inside an inset.
11845         (Dispatch): set the cursor again after a break line and after the
11846         screen has been updated as it could be we're in a different row.
11847
11848         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11849         to set the cursor behind the pargraph with > size().
11850         (setCursor): check also for the same paragraph when checking where
11851         to put the cursor if we have a NFR inset.
11852
11853         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11854         parts of layout read further up as it still was in the wrong
11855         position.
11856
11857 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * screen.C (drawFromTo): change sine fullRebreak always return
11860         true.
11861
11862         * buffer.C (parseSingleLyXformat2Token): reindent some
11863
11864         * BufferView_pimpl.C (update): change since fullRebreak always
11865         return true.
11866         (Dispatch): git rid of the last hardcoded "Standard"s.
11867
11868 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11869
11870         * text2.[Ch] (fullRebreak): make it return void now that we always
11871         returned true.
11872
11873 2002-04-30  Juergen Vigna  <jug@sad.it>
11874
11875         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11876         ert compatibility check for "latex" layout.
11877
11878 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11881         minipages: use col% instead of p%, and also use the current font.
11882         (makeLaTeXFile): Fix use babel condition.
11883         (parseSingleLyXformat2Token): Correct font when reading old floats.
11884
11885 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11886
11887         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11888         inserting list of floats.
11889
11890 2002-04-25  Herbert Voss  <voss@lyx.org>
11891
11892         * MenuBackend.C (expand): don't add the graphics extensions to the
11893         export menu
11894
11895 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11896
11897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11898         non-existing layout, do not complain if it was the default layout
11899         of the original class (bug #342)
11900
11901 2002-04-24  Juergen Vigna  <jug@sad.it>
11902
11903         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11904         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11905
11906 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11907
11908         * buffer.C (getBibkeyList): If using \bibliography, return the
11909         option field with the reference itself. Enables us to provide natbib
11910         support when using \bibliography.
11911
11912 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11913
11914         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11915
11916         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11917         natbib is provided by the LaTeX class.
11918
11919 2002-04-23  Juergen Vigna  <jug@sad.it>
11920
11921         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11922         Wakeup functions.
11923
11924         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11925
11926 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11929
11930         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11931         ensuremath around textordmasculine, textordfeminine and
11932         textdegree.
11933
11934 2002-04-19  Juergen Vigna  <jug@sad.it>
11935
11936         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11937         reinitializing the buffer otherwise row-dimensions may be wrong.
11938         (update): reset also the selection cursors if they do exits otherwise
11939         their x/y positions may be wrong.
11940
11941         * text2.C (cursorDown): don't enter the inset if we came from a row
11942         above and are one row over the inset.
11943
11944         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11945         really leaving an inset.
11946
11947 2002-04-18  Juergen Vigna  <jug@sad.it>
11948
11949         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11950         of the selected paragraph does not have the selected layout also if
11951         the last one had!
11952
11953         * text2.C (setLayout): fixed bug which did not change last selected
11954         paragraph.
11955
11956         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11957         changed the read and substituted \\end_float with \\end_inset!
11958
11959         * BufferView_pimpl.C (cursorPrevious):
11960         (cursorNext): fixed to make it work with rows heigher than the work
11961         area without moving the cursor only the draw of the row.
11962         (workAreaMotionNotify): fix jumping over high rows.
11963
11964 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11967         Ressler.
11968
11969 2002-04-16  Juergen Vigna  <jug@sad.it>
11970
11971         * text2.C (setCursor): set also the irow().
11972         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11973         (cursorUp):
11974         (cursorDown): support for locking an inset if the x_fix value goes
11975         inside it. That way I can transverse insets too with cursor up/down.
11976
11977         * lyxrow.h: added irow helper function same as other (i) functions.
11978
11979         * BufferView_pimpl.C (cursorPrevious):
11980         (cursorNext): fixed for insets!
11981
11982 2002-04-15  Juergen Vigna  <jug@sad.it>
11983
11984         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11985         position otherwise it is wrong in some cases.
11986
11987         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11988         inside the inset before the call.
11989
11990 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * buffer.[Ch] (getBibkeyList): make it const.
11993
11994 2002-04-12  Juergen Vigna  <jug@sad.it>
11995
11996         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11997
11998         * text2.C (getCursorX): new helper function
11999         (setCursor): compute also ix_
12000         (setCursorFromCoordinates): set also ix.
12001
12002         * lyxcursor.h: added ix_ and helper functions.
12003
12004         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12005
12006         * buffer.C (insertStringAsLines): dont break paragraph if the this
12007         paragraph is inside an inset which does not permit it!
12008
12009         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12010         also with no chars on this paragraph.
12011         (paintRowText): only paint stuff if it's inside the workarea!
12012
12013         * paragraph.C (breakParagraph): honor keepempty flag and break the
12014         paragraph always below not above.
12015
12016         * BufferView2.C (unlockInset): update the paragraph layout on inset
12017         unlock as we changed paragraph in such a case.
12018
12019         * lyxfind.C (LyXFind): clear the former selection if not found!
12020
12021         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12022         again called in insertChar().
12023
12024         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12025         an inset which uses the whole row!
12026         (rightMargin): ditto.
12027         (insertChar): force a rebreak if we inserted an inset!
12028
12029 2002-03-28  Herbert Voss  <voss@lyx.org>
12030
12031         * lyxlength.[Ch]: add inBP() to get the right PS-point
12032         units (BigPoint). With inPixels we have rounding errors
12033
12034 2002-04-11  Juergen Vigna  <jug@sad.it>
12035
12036         * text2.C (setCursorFromCoordinates): set iy to the right value.
12037         (setCursor): add check if row->previous exists!
12038
12039         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12040         an old float_type as this was the case in the old code!
12041
12042         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12043
12044         * BufferView2.C (showLockedInsetCursor): use iy
12045         (fitLockedInsetCursor): ditto
12046
12047         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12048         locked insets as there we have the right value now.
12049
12050         * lyxcursor.C: added iy_ variable and iy functions to set to the
12051         baseline of cursor-y of the locked inset.
12052
12053         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12054         (setCursor): fixed for insets which need a full row.
12055
12056         * text.C (rowLastPrintable): don't ignore the last space when before
12057         an inset which needs a full row.
12058         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12059         as last character of a row when before a inset which needs a full row.
12060
12061 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * version.C.in: update date
12064
12065         * text2.C (fullRebreak): try to always return true and see what
12066         happens...
12067
12068 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12069
12070         * MenuBackend.C (expand): use Floating::listName
12071
12072         * FloatList.C (FloatList): add listName argument to the built-in
12073         floats
12074
12075         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12076         text associated with the float.
12077
12078 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12081
12082 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * ShareContainer.h: add a couple of missing typenames.
12085
12086 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12087
12088         * lyxrc.C (getDescription): use _() correctly rather than N_().
12089
12090 2002-03-28  Herbert Voss  <voss@lyx.org>
12091
12092         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12093         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12094
12095 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12096
12097         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12098         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12099
12100 2002-03-29  Juergen Vigna  <jug@sad.it>
12101
12102         * lyxfunc.C (dispatch): add a missing fitCursor call.
12103
12104         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12105         it was scrolled by a cursor move, so return the bool status.
12106
12107         * BufferView.C (fitCursor): return the bool flag also to the outside
12108         world as this is needed.
12109
12110         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12111
12112         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12113         call the edit() as it is not needed (and wrong) IMO.
12114         (workAreaButtonPress): set the screen_first variable before evt.
12115         unlock the inset as this may change screen_first and then we have
12116         a wrong y position for the click!
12117
12118 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * MenuBackend.C (expand): another translation that I missed
12121
12122 2002-03-28  Juergen Vigna  <jug@sad.it>
12123
12124         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12125
12126         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12127
12128 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12131
12132         * MenuBackend.C (expand): fix export/view/update when there is no
12133         document open.
12134
12135 2002-03-27  Herbert Voss  <voss@lyx.org>
12136
12137         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12138         and text%
12139
12140 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12141
12142         * bufferview_funcs.C (currentState): only show paragraph number
12143         for is DEVEL_VERSION is set.
12144
12145         * lyxfunc.C (dispatch): put warning in INFO channel
12146
12147         * MenuBackend.C (expand): translate the name of floats
12148
12149         * FloatList.C (FloatList): mark the float names for translation
12150
12151         * converter.C (convert): use LibScriptSearch
12152
12153 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * MenuBackend.C (defaults): fix default menu (we might as well get
12156         rid of it...)
12157
12158 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12161         directory.
12162
12163 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12164
12165         * lyxvc.C: reorder includes.
12166
12167 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12170           properly
12171
12172 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * CutAndPaste.C: change layouts earlier on paste
12175           to avoid crashing when calling getFont()
12176
12177 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12180         irritating #error.
12181
12182 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * WorkArea.C: remove 'Pending' debug message.
12185
12186         * most files: ws cleanup
12187
12188         * buffer.[Ch]: ws changes
12189
12190         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12191
12192 2002-03-21  Juergen Vigna  <jug@sad.it>
12193
12194         * tabular.C (SetMultiColumn): collapse also the contents of the
12195         cells and set the last border right. Added a Buffer const * param.
12196
12197 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12200         linking or not.
12201
12202 2002-03-19  Juergen Vigna  <jug@sad.it>
12203
12204         * text2.C (clearSelection): reset also xsel_cache.
12205
12206         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12207         where it needs to be called (John tells us to do so too :)
12208         (selectionLost): reset sel_cache.
12209
12210         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12211
12212 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12213
12214         * text2.C (setCursorIntern): put debuging code in INSETS channel
12215
12216 2002-03-19  André Pönitz <poenitz@gmx.net>
12217
12218         * lyxfunc.C: tiny whitespace change
12219
12220 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12221
12222         * ToolbarDefaults.C (init):
12223         * LyXAction.C (init):
12224         * commandtags.h:
12225         * BufferView_pimpl.C (Dispatch):
12226         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12227
12228 2002-03-19  Allan Rae  <rae@lyx.org>
12229
12230         * exporter.C (Export): removeAutoInsets before doing anything else.
12231         While I've just introduced a dependency on BufferView this really is
12232         the best place to clean the buffer otherwise you need to cleanup in
12233         a dozen places before calling export or cleanup in a dozen functions
12234         that export calls.
12235
12236         * converter.C (runLaTeX):
12237         (scanLog): Better handling of removeAutoInsets and screen updates.
12238
12239         * lyxfunc.C (dispatch): small whitespace changes
12240
12241 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * WorkArea.C (C_WorkAreaEvent): return a value.
12244         (event_cb): return 1 if we handled the event, 0 otherwise.
12245
12246         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12247
12248 2002-03-18  Juergen Vigna  <jug@sad.it>
12249
12250         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12251         (GetAdditionalWidth): ditto.
12252         (RightLine): ditto.
12253         (LeftLine): ditto.
12254
12255         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12256         inset if we're there actually (probably not used right now but this
12257         is the direction to go for unifying code).
12258         (paste): disable code to clear the selection.
12259
12260         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12261         inside an InsetText and move the check further up as it is in the
12262         wrong place.
12263
12264         * text2.C (pasteSelection): set a selection over the pasted text.
12265
12266 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12267
12268         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12269         and libgraphics to build on Cygwin.
12270
12271 2002-03-15  Juergen Vigna  <jug@sad.it>
12272
12273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12274         inserting an Inset into the paragraph. I know this is not the best
12275         fix but we already use current_view in CutAndPaste so we will remove
12276         all of it's using at the same time.
12277
12278         * buffer.C (sgmlError): deactivated function till it is rewritten in
12279         the right mode, now it can create problems.
12280
12281         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12282         before accessing it.
12283
12284 2002-03-14  Juergen Vigna  <jug@sad.it>
12285
12286         * undo_funcs.C (textHandleUndo): do the right thing when updating
12287         the inset after the undo/redo.
12288
12289         * text2.C (setCursor): just some testcode for #44 not ready yet.
12290
12291         * undo_funcs.C (textHandleUndo): set the next() and previous()
12292         pointers of the paragraph to 0 before deleting otherwise we have
12293         problems with the Paragraph::[destructor].
12294
12295         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12296         on a paragraph insertion.
12297
12298 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12299
12300         * buffer.C (asciiParagraph): use += operator for char append to
12301         string.
12302
12303         * paragraph.C (getFontSettings): compare >= not just >
12304         (highestFontInRange): ditto
12305         (setFont): ditto
12306
12307 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * paragraph.C: change several algorithm to be more appripriate for
12310         the problem domain. This is lookip in FontList and in the InsetList.
12311
12312 2002-03-13  André Pönitz <poenitz@gmx.net>
12313
12314         * commandtags.h:
12315         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12316
12317 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * commandtags.h:
12320         * LyXAction.C:
12321         * lyxfunc.C:
12322         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12323
12324 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * Painter.C (display): anon helper function, adjust code for this
12327         change.
12328         (pixmap): remove function.
12329
12330         * Painter.h: remove private display variable.
12331
12332         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12333
12334 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12335
12336         * WorkArea.[Ch]: remove figinset_canvas cruft.
12337
12338 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * lyxtextclass.C (operator): add one item cache optimization.
12341
12342         * bufferlist.h: doxy changes
12343
12344         * bufferlist.C: ws changes
12345
12346         * DepTable.[Ch] (ext_exist): place const in the right spot.
12347
12348         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12349         call resizeInsets.
12350         (workAreaExpose): call resizeInsets when the with BufferView changes.
12351         (Dispatch): adjust for protectedBlank removal
12352         (specialChar): call updateInset if the insert went ok.
12353
12354         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12355         specialChar instead.
12356
12357         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12358
12359         * BufferView.h: doxy change
12360
12361         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12362
12363         * lyxtextclass.C (operator[]): remove non-const version
12364         (defaultLayout): remove non-const version
12365
12366 2002-03-12  Juergen Vigna  <jug@sad.it>
12367
12368         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12369         did resize the LyXText too.
12370
12371         * buffer.C (readLyXformat2): set layout information on newly allocated
12372         paragraphs.
12373
12374         * tabular.C (OldFormatRead): set layout information on the paragraph.
12375
12376 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12377
12378         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12379
12380 2002-03-11  Juergen Vigna  <jug@sad.it>
12381
12382         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12383         plainly wrong.
12384         (resizeCurrentBuffer): force also the insets to resize themselfes.
12385         (moveCursorUpdate): fixed up for InsetText.
12386
12387 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12388
12389         * commandtags.h:
12390         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12391         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12392         value of Dialogs::tooltipsEnabled().
12393         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12394
12395 2002-03-08  Juergen Vigna  <jug@sad.it>
12396
12397         * BufferView_pimpl.C (updateInset): update inset inside inset also
12398         if it isn't inside theLockingInset().
12399
12400 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * buffer.C (asciiParagraph): redo some of the word and line length
12403         handling.
12404         (getLists): look for Caption instead of caption.
12405
12406 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * buffer.C (Buffer): initialize niceFile to true
12409         (makeLaTeXFile):
12410         (makeLinuxDocFile):
12411         (makeDocBookFile): make sure niceFile is true on exit
12412
12413 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12416
12417 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * LyXSendto.C: remove.
12420         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12421         * lyx_gui.C: remove now-redundant comment.
12422         * ColorHandler.h: remove forward declaration of class WorkArea.
12423         * lyxfunc.C: remove #include "WorkArea.h".
12424
12425 2002-03-07  Juergen Vigna  <jug@sad.it>
12426
12427         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12428         got moved away with the DEPM and also set the inset_owner always
12429         right which before could have been omitted.
12430
12431 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12434         wanted layout is not found.
12435
12436 2002-03-07  Juergen Vigna  <jug@sad.it>
12437
12438         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12439
12440 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * paragraph.C (breakParagraph): use default layout not layout of
12443         prev paragraph.
12444         (Paragraph): clear ParagraphParameters.
12445
12446 2002-03-06  Juergen Vigna  <jug@sad.it>
12447
12448         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12449         otherwise it would not be a valid lenght. Fixed a special case in
12450         the minipage compatibility read where we end the document with a
12451         minipage.
12452
12453         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12454         was set as it could be 0 for InsetTexts first entry.
12455
12456 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * paragraph.C (writeFile): if layout is empty write out
12459         defaultLayoutName().
12460
12461         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12462         file without named layout we set layout to defaultLayoutName().
12463
12464 2002-03-06  Juergen Vigna  <jug@sad.it>
12465
12466         * CutAndPaste.C (copySelection): set layout for new paragraph.
12467
12468         * text.C (prepareToPrint): leave ERT inset left aligned
12469         (leftMargin): don't indent paragraphs inside ERT insets
12470
12471 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * paragraph.C (breakParagraph): dont call clear do the work manually
12474
12475         * paragraph.[Ch] (clear): remove function
12476
12477 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * paragraph.C (Paragraph): dont call clear, the work has already
12480         been done.
12481
12482         * lyxtextclass.C (operator): assert if n is empty
12483
12484         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12485         work manually instead.
12486
12487 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12488
12489         * BufferView_pimpl.C: protect selectionLost against text == 0
12490
12491 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * text.C (breakParagraph): fix a setting layout to '0' problem.
12494
12495 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12496
12497         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12498         final location of file, for the included files, and graphics.
12499
12500 2002-03-05  Juergen Vigna  <jug@sad.it>
12501
12502         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12503
12504 2002-03-04  Juergen Vigna  <jug@sad.it>
12505
12506         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12507
12508         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12509         last column of multicolumn cells.
12510         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12511
12512 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12513
12514         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12515         file if it doesn't go to a temporary file.
12516
12517         * buffer.C (sgmlOpenTag):
12518         (sgmlCloseTag):  remove extra newline insertion.
12519
12520 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * text.C (getRowNearY): comment out debug msg
12523
12524 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * text2.C: first -> first_y
12527
12528         * text.C (getRowNearY): add some attemts at a possible
12529         optimization, not working.
12530
12531         * tabular.[Ch]: add BufferParams to several function so that newly
12532         created paragraph can be initialized to he default layotu for the
12533         buffers textclass.
12534
12535         * tabular-old.C (ReadOld): add buf->params to call of Init
12536
12537         * screen.C: rename text->first to text->first_y
12538
12539         * paragraph.C (breakParagraph): always set layout in the broken
12540         paragraph
12541
12542         * lyxtextclass.C (Read): remove lowercase
12543         (hasLayout): ditto
12544         (operator): ditto
12545         (delete_layout): ditto
12546
12547         * lyxtext.h: rename first -> first_y
12548
12549         * lyxlayout.C (Read): remove lowercase
12550         (name): ditto
12551         (setName): ditto
12552         (obsoleted_by): ditto
12553
12554         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12555
12556         * buffer.C (insertErtContents): add params are to InsetERT
12557         (parseSingleLyXformat2Token): add code to check if a paragraphs
12558         layout really exist.
12559         (parseSingleLyXformat2Token): add params to several inset
12560         constructors
12561         (asciiParagraph): remove lowercase, do the layout comparisons with
12562         no_case
12563
12564         * BufferView_pimpl.C (cursorNext): first -> first_y
12565         (resizeCurrentBuffer): first -> first_y
12566         (updateScrollbar): first -> first_y
12567         (scrollCB): first -> first_y
12568         (workAreaMotionNotify): first -> first_y
12569         (workAreaButtonPress): first -> first_y
12570         (checkInsetHit): first -> first_y
12571         (cursorPrevious): first -> first_y
12572         (cursorNext): first -> first_y
12573         (Dispatch): add buffer_->params to severl inset contructors
12574
12575 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * lyxlayout.C (Read): remove some debug info that I forgot.
12578
12579         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12580         clean up the code slightly.
12581         (makeLinuxDocFile): ditto
12582         (makeDocBookFile): ditto
12583
12584         * text2.C: layout as string
12585
12586         * text.C: layout as string
12587
12588         * paragraph_pimpl.C: layout as string
12589
12590         * paragraph.[Ch]: layout as string
12591
12592         * lyxtextclasslist.[Ch]: layout as string
12593
12594         * lyxtextclass.[Ch]: layout as string
12595
12596         * lyxtext.h: layout as string
12597
12598         * lyxlayout.[Ch]: layout as string
12599
12600         * lyx_cb.C: layout as string
12601
12602         * bufferview_funcs.C: layout as string
12603
12604         * bufferparams.C: layout as string
12605
12606         * buffer.C: layout as string
12607
12608         * LyXView.[Ch]: layout as string
12609
12610         * LaTeXFeatures.[Ch]: layout as string
12611
12612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12613
12614         * BufferView_pimpl.C: change current_layout to string, remove
12615         lyx::layout_type.
12616         (Dispatch):
12617         (smartQuote):
12618         (insertInset):
12619         (workAreaButtonRelease): layout as string
12620
12621         * BufferView2.C (unlockInset): adjust
12622
12623         * vspace.C (asLatexCommand): use an explict temp variable.
12624
12625 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * Makefile.am: use FRONTEND_*
12628
12629 2002-03-01  Juergen Vigna  <jug@sad.it>
12630
12631         * tabular.C (SetWidthOfMulticolCell): changed to something better
12632         I hope but still work in progress.
12633         (recalculateMulticolumnsOfColumn): renamed function from
12634         recalculateMulticolCells as it is more appropriate now.
12635         (SetWidthOfCell): calculate multicols better.
12636
12637 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12638
12639         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12640
12641         * lyxfunc.C (processKeySym): print sequence also if it is
12642         `deleted' (complete)
12643
12644         * kbsequence.C (print): print sequence even if it is deleted
12645         (complete would be a better word, actually).
12646
12647         * lyxfunc.C (dispatch): print complete options after a prefix key
12648
12649         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12650
12651 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12652
12653         * text2.C (setCharFont): eliminate setCharFont code duplication.
12654
12655 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12656
12657         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12658         LFUN_TABULAR_FEATURE (bug #177)
12659
12660 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12661
12662         * Makefile.am: remove figure.h
12663
12664 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12665
12666         * Bufferview_pimpl.C:
12667         * CutAndPasteC:
12668         * LaTeX.C:
12669         * LyXSendto.C:
12670         * buffer.C:
12671         * bufferlist.C:
12672         * converter.C:
12673         * language.C:
12674         * lyxfunc.C:
12675         * lyxvc.C:
12676         * paragraph.C:
12677         * text.C:
12678         * text2.C: remove #include "lyx_gui_misc.h".
12679
12680         * LaTeX.C: added #include <cstdio>
12681
12682 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12683
12684         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12685         that the paragraph following this one can have.
12686
12687         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12688
12689         * vspace.C (asLatexCommand): fix bogus gcc warning
12690
12691         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12692
12693 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12694
12695         * text2.C (setLayout): get rid of redundant code
12696
12697 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12698
12699         * text2.C (incDepth): make sure depth cannot be increased beyond
12700         reasonable values.
12701
12702 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12705         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12706
12707         * PainterBase.h (image):
12708         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12709         a LyXImage const *.
12710
12711 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12712
12713         * BufferView.C:
12714         * BufferView.h:
12715         * BufferView_pimpl.C:
12716         * BufferView_pimpl.h:
12717         * LaTeXFeatures.C:
12718         * LyXAction.C:
12719         * LyXView.C:
12720         * Makefile.am:
12721         * UpdateList.h:
12722         * UpdateList.C:
12723         * buffer.C:
12724         * figure.h:
12725         * figureForm.C:
12726         * figureForm.h:
12727         * figure_form.C:
12728         * figure_form.h:
12729         * lyx_cb.C:
12730         * lyx_gui.C:
12731         * lyx_gui_misc.C:
12732         * lyxfunc.C:
12733         * sp_base.h:
12734         * sp_ispell.h:
12735         * sp_pspell.h:
12736         * sp_spell.C: remove fig inset, and the crap house of
12737           cards that follows it
12738
12739 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * Makefile.am:
12742         * lyxserver.C:
12743         * os2_defines.h:
12744         * os2_errortable.h:
12745         * nt_defines.h: move .h into support/
12746
12747         * vms_defines.h: remove
12748
12749         * WorkArea.C: add space in debug output
12750
12751         * text2.C:
12752         * paragraph.C:
12753         * buffer.C: add WITH_WARNINGS
12754
12755         * vc-backend.h:
12756         * vc-backend.C:
12757         * bufferlist.C: s/retrive/retrieve/, add docs
12758
12759         * vspace.h:
12760         * vspace.C:
12761         * kbmap.h:
12762         * lyxlength.h:
12763         * lyxgluelength.h:
12764         * length_common.h:
12765         * chset.h:
12766         * chset.C: add docs
12767
12768         * lyxgui.C: add ID to X error handler
12769
12770         * lyxtestclass.c: fix typo
12771
12772 2002-02-26  Juergen Vigna  <jug@sad.it>
12773
12774         * tabular_funcs.C (write_attribute): changed so that some default
12775         attributes are not written at all.
12776         (getTokenValue): set default values before trying to read the
12777         value so we have the return value always set as default if we don't
12778         find the token we search for.
12779
12780         * tabular.C (Write): write bools as bools not as strings!
12781
12782 2002-02-22  Juergen Vigna  <jug@sad.it>
12783
12784         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12785         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12786
12787         * text.C (leftMargin): don't add an indent for paragraphs inside
12788         tabular cells (fix #208).
12789
12790 2002-02-21  José Matos  <jamatos@fep.up.pt>
12791
12792         * tabular.C (docBook): fixed support for long tables.
12793
12794 2002-02-20  Juergen Vigna  <jug@sad.it>
12795
12796         * text2.C (getFont): get the drawing font of the Inset if this
12797         paragraph is inside an inset (only important for InsetERT for now).
12798
12799         * buffer.C (insertErtContents): use new lanugage params in ERT
12800         constructor.
12801
12802         * CutAndPaste.C: commenting out seemingly uneeded code.
12803
12804 2002-02-19  Allan Rae  <rae@lyx.org>
12805
12806         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12807         Iterators might be simple to use but they also get invalidated.
12808         (removeAutoInsets): renamed saved cursor tracking variables and added
12809         some comments to clarify what everything does.
12810
12811 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * Chktex.C:
12814         * LaTeX.C:
12815         * LyXSendto.C:
12816         * converter.C:
12817         * lyx_cb.C:
12818         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12819         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12820
12821         * lyxfunc.C:
12822         * vc-backend.h: remove #include "support/syscall.h"
12823
12824         * LaTeX.C:
12825         * LyXSendto.C:
12826         * converter.C: rearrange #includes in Lars' approved fashion.
12827
12828         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12829         forward declare class Timeout in the header file.
12830
12831         * XFormsView.C: changes due to the above.
12832
12833         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12834         similar to LyXView.
12835
12836         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12837         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12838
12839 2002-02-18  José Matos  <jamatos@fep.up.pt>
12840
12841         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12842         insets contents.
12843
12844 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12845
12846         * a lot of small ws changes
12847         * add a lot of using std::XXX
12848         * use std construcs some places where approp.
12849         * use some exisint stuff from lyxfunctional where approp.
12850         * Make file changes to use partial linking (lets test this now...)
12851
12852 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12853
12854         * Chktex.C:
12855         * buffer.C:
12856         remove #include "support/syscontr.h" as it's redundant. Always has been.
12857
12858         * Chktex.C:
12859         * LaTeX.C:
12860         * LyXSendto.C:
12861         * converter.C:
12862         * lyx_cb.C:
12863         * vc-backend.C:
12864         change Systemcalls::System to Systemcalls::Wait and
12865         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12866         No change of functionality, just reflects the stripped down Systemcalls
12867         class.
12868
12869 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * debug.[Ch]: add a GRAPHICS type to the enum.
12872
12873 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12876
12877         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12878         there is an inset.
12879
12880 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12881
12882         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12883         match the changes below.
12884
12885         * text2.C (toggleInset): if there is not editable inset at cursor
12886         position, try to see if cursor is _inside_ a collapsable inset
12887         and close it.
12888
12889 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12892         document menu has a nice checkbox
12893
12894 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * lyxlength.C (asLatexString): change PW to output as percent of
12897         \textwidth.
12898
12899         * lengthcommon.C: change '%' to 't%'
12900
12901         * lyxfunc.C (dispatch): a few comments from Martin
12902
12903 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * WorkArea.h:
12906         * WorkArea.C:
12907         * BufferView_pimpl.h:
12908         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12909           the X selection.
12910
12911 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12912
12913         * vspace.C (inPixels): fix compiler warning
12914
12915 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12916
12917         * lyxfunc.C (getStatus): fix status message for disabled commands.
12918
12919 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * BufferView_pimpl.C: fix crash on close buffer
12922         during selection (#227)
12923
12924 2002-01-27  Herbert Voss  <voss@lyx.org>
12925
12926         * buffer.C: link old Figure to new graphic inset
12927
12928 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12929
12930         * FontLoader.C (getFontinfo): Change the latex font names in order
12931         to match the names of type1inst.
12932
12933 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12936
12937         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12938         (extchanged): ditto
12939         (ext_exist): ditto
12940         (remove_files_with_extension): ditto
12941         (remove_file): ditto
12942         (write): ditto
12943
12944         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12945         document is smaller than the work area height. Do not initialize
12946         static variables to 0.
12947
12948 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12949
12950         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12951
12952         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12953         LFUN_LAYOUT_PARAGRAPHS.
12954
12955         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12956         tabular. It is possible to provide a possible cell, which will
12957         typically be the actcell from the corresponding insettabular
12958
12959         * lyxfunc.C (getStatus): small cleanup; disable
12960         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12961         true
12962
12963 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12966
12967         * paragraph.C (startTeXParParams):
12968         (endTeXParParams): new methods. The LaTeX code to
12969         start/end paragraph formatting
12970         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12971         empty (fixes bug #200)
12972
12973         * vspace.C (inPixels): adapt to the change below
12974         (inPixels): [later] more cleanups (remove unused variables)
12975
12976         * lyxlength.C (inPixels): change to use a width and a height as
12977         parameter.
12978
12979 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12980
12981         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12982         Replaced with \paperwidth
12983
12984         * DepTable.C (insert): add std:: qualifier
12985
12986 2002-01-18  Allan Rae  <rae@lyx.org>
12987
12988         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12989         updated also?
12990
12991         * text.C (drawInset): Turned out I didn't know enough about how
12992         rebreaking worked.  This fixes most of the redraw problems.  I see
12993         an occasional cursor trail when a line is broken now and the cursor
12994         placement can seem out by a few pixels also after a rebreak.
12995
12996 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * buffer.C (parseSingleLyXformat2Token): update because minipage
12999         width is now a LyXLength
13000
13001         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13002
13003         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13004         math insets
13005
13006 2002-01-17  Juergen Vigna  <jug@sad.it>
13007
13008         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13009
13010         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13011         is set correctly and the inset is updated correctly.
13012
13013 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13014
13015         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13016         the beginning of the loop.
13017
13018 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * lyxrc.C: improve help for use_scalable_fonts
13021
13022 2002-01-17  Allan Rae  <rae@lyx.org>
13023
13024         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13025
13026 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13027
13028         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13029         make sure to set their inset_owner to the right value (bug #171)
13030
13031 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13032
13033         * DepTable.h
13034         * DepTable.C: Implement mtime checking to reduce time spent doing
13035         CRCs.
13036
13037 2002-01-16  Juergen Vigna  <jug@sad.it>
13038
13039         * tabular.C (GetAdditionalHeight): one of error fixed.
13040
13041         * lyxrc.C (output): small fix in writing use_pspell.
13042
13043 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13044
13045         * sp_base.h: #include LString.h
13046
13047 2002-01-16  Allan Rae  <rae@lyx.org>
13048
13049         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13050         Can someone check this please?
13051
13052         * text.C (drawInset): It was possible that p.row would be removed by
13053         breakAgainOneRow upsetting a few other settings.  There may be another
13054         small tweak possible by setting need_break_row = 0 when p.row has been
13055         removed but I don't know enough about the logic here.
13056
13057 2002-01-15  Allan Rae  <rae@lyx.org>
13058
13059         * text.C (insertChar): removed conditional truism.
13060
13061         * BufferView2.C (removeAutoInsets): More tweaks.
13062         cur_par_prev could be a stray pointer.  Check for trailing empty line
13063         in case last line was cur_par and only had an error inset on it.
13064
13065 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13068         absolute
13069
13070         * vc-backend.C (most methods):
13071         * exporter.C (Export):
13072         * converter.C (convert):
13073         (runLaTeX):
13074         * LyXSendto.C (SendtoApplyCB):
13075         * lyxfunc.C (dispatch):
13076         (menuNew):
13077         (open):
13078         (doImport):
13079         * lyx_cb.C (AutoSave):
13080         (InsertAsciiFile):
13081         * BufferView_pimpl.C (MenuInsertLyXFile):
13082         * buffer.C (runChktex): use Buffer::filePath().
13083
13084         * buffer.h: rename filename to filename_; rename filepath to
13085         filepath_ and make it private
13086         (filePath): new method
13087
13088         * buffer.C (writeFile): use fileName()
13089         (getLatexName):
13090
13091         * lyx_main.C (init): fix starting  of LyX when the binary is a
13092         link from so,ewhere else.
13093
13094         * minibuffer.C: include <cctype> for isprint
13095
13096 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13097
13098         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13099         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13100         name clash with InsetCollapsable's width function.
13101
13102 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * lastfiles.C: include <iterator>
13105
13106 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13109         std::count.
13110
13111         * buffer.C (makeLaTeXFile): ditto.
13112         Also make loop operation more transparent.
13113
13114 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * ToolbarDefaults.C: remove trailing comma closing namespace.
13117
13118         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13119
13120         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13121         as in WorkArea.
13122
13123         * trans.C (Load): comment out unused variable, allowed.
13124
13125 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13126
13127         * minibuffer.[Ch] (append_char): new method to recieve input from the
13128         drop-down completion browser. If a key was pressed, then recieve this
13129         char and append it to the existing string.
13130         (peek_event): modify the positioning data passed to the completion
13131         browser so that it can be placed above the minibuffer rather than below.
13132 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * LyXAction.C (init): alloe error-next for readonly documents.
13135
13136         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13137         count.
13138
13139 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * bufferlist.C (readFile): create the buffer _after_ checking that
13142         the file exists.
13143
13144         * lyxfunc.C (verboseDispatch): fix handling of arguments
13145
13146         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13147
13148         * lyxrc.C: use string::erase() instead of initializing to "".
13149
13150
13151 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * BufferView_pimpl.h:
13154         * BufferView_pimpl.C:
13155         * WorkArea.h:
13156         * WorkArea.C:
13157         * text2.C: tell X when we have made a selection for copying
13158
13159 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13160
13161         * BufferView_pimpl.C (MenuInsertLyXFile):
13162         * lyxfunc.C (menuNew):
13163         (open):
13164         (doImport): add shortcuts to directory buttons
13165
13166         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13167         open a float)
13168
13169         * lyxfunc.C (setStatusMessage):
13170         (getStatusMessage): new methods
13171         (getStatus):use setStatusMessage instead of setErrorMessage
13172         (dispatch): when function is disabled, set error message here
13173         [instead of in getStatus previously]
13174
13175         * BufferView_pimpl.C (workAreaButtonRelease): update
13176         toolbar/menubar here too.
13177
13178 2002-01-13  Allan Rae  <rae@lyx.org>
13179
13180         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13181         Now seems indestructible.  Remaining task is to audit all other
13182         code affected by deleteEmptyParagraphMechanism.  One small quirk
13183         left is that an empty document with an error in the preamble can
13184         be made to report an error but no error box appears.  I don't know
13185         where it goes.
13186         (removeAutoInsets): Improved comments.
13187
13188 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * Thesaurus.h:
13191         * Thesaurus.C: update for Aiksaurus 0.14
13192
13193 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * text2.C (firstParagraph): removed member function, all uses
13196         replaces with ownerParagraph
13197         (redoParagraphs): here
13198         (updateInset): here
13199         (toggleAppendix): here
13200         * BufferView2.C (insertErrors): here
13201         (setCursorFromRow): here
13202
13203 2002-01-13  Allan Rae  <rae@lyx.org>
13204
13205         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13206         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13207         There is still a way to segfault this although you may have to do this
13208         multiple times: Have an InsetERT with an unknown command in it.
13209         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13210         <down-arrow>, <Enter> again, View->DVI, BANG!
13211
13212         * text2.C (setCursor):
13213         (deleteEmptyParagraphMechanism):
13214         * lyxtext.h (setCursor):
13215         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13216         Making use of the return value may help fix other bugs.
13217
13218 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13221
13222         * LyXView.C (updateMenubar): call MenuBar::update here
13223         (updateToolbar): but not here
13224         (showState): do not update toolbar/menubar
13225
13226         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13227         should need to care about that.
13228
13229         * lyxfunc.C (verboseDispatch): simplify a bit
13230         (getStatus): have a version which takes a pseudoaction, and
13231         another which requires a (kb_action,string).
13232
13233         * LyXAction.C (retrieveActionArg): make it work also when action
13234         is not a pseudo-action.
13235         (getActionName): simplify a bit
13236         (helpText):
13237
13238 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * lyxfunc.C (verboseDispatch): new families of methods with
13241         several ways to specify a command and a bool to indicate whether
13242         the command name and shortcut should be displayed in minibuffer
13243         (eventually, we could extend that to a finer bitmask like
13244         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13245         (dispatch): the pristine dispatch command which just, well,
13246         dispatchs! Note it still sets its result to minibuffer; I'm not
13247         sure we want that.
13248
13249         * lyxfunc.h: remove setHintMessage
13250
13251         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13252
13253 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13254
13255         * BufferView_pimpl.C (specialChar): delete new inset if we have
13256         not been able to insert it.
13257
13258         * kbmap.C: revert to using int instead of kb_action, since all we
13259         are dealing with is pseudo-actions.
13260
13261         * LyXAction.C (searchActionArg): change to return int instead of
13262         kb_action, since the result is a pseudoaction.
13263
13264 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13265
13266         * buffer.C (insertErtContents): Fix (partially) the font bug.
13267
13268 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13271         as the other one is broken on my machine!
13272
13273 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13274
13275         * commandtags.h:
13276         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13277
13278 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13281         reflect their actual use. Provide compatibility code for older lyxrc
13282         files.
13283
13284         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13285         FL_NORMAL_STYLE.
13286         change names of popup font variables in line with the changes to lyxrc.C
13287
13288 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * buffer.C (asciiParagraph): avoid outputing a word twice after
13291         an inset.
13292
13293         * lyxrc.C (getDescription): document that document_path and
13294         template_path can be empty.
13295
13296 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * LaTeXFeatures.C (getMacros):
13299         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13300
13301         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13302
13303         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13304         getPackages.
13305         (getPackages): rename feature "floats" to "float". Use an array to
13306         iterate over 'simple' features (i.e. just a \usepackage). Add
13307         handling of "amsmath" (renamed from "amsstyle").
13308
13309 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13310
13311         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13312         features list.
13313
13314 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13315
13316         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13317         FuncStaus::FuncStatus & FuncStaus::some_method().
13318
13319 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13320
13321         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13322         of the func_satus stuff. Edited and massaged in various ways by
13323         JMarc.
13324
13325         * lyxfunc.C (getStatus): use FuncStatus
13326
13327 2002-01-08  Juergen Vigna  <jug@sad.it>
13328
13329         * text.C (nextBreakPoint): use function Inset::isChar().
13330
13331         * paragraph.C (TeXOnePar): use function
13332         Inset::forceDefaultParagraphs.
13333
13334         * buffer.C (latexParagraphs): use function
13335         Inset::forceDefaultParagraphs.
13336
13337 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * lyx_gui.C (init): set the style of the menu popups to
13340         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13341
13342 2002-01-07  Juergen Vigna  <jug@sad.it>
13343
13344         * text.C (setHeightOfRow): small fix
13345         (prepareToPrint): don't look at alignment if we don't have the place
13346         for doing it.
13347
13348 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * box.C: New file. Move the Box methods and functions out of box.h,
13351         following Lars' suggestion.
13352
13353 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13354
13355         * box.h: #include "support/LOstream.h", needed for inlined function.
13356
13357         * lyxtextclass.C:
13358         * lyxtextclasslist.C: added some using std declarations.
13359
13360 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * box.h: make signed dimensions to allow insets wider than
13363           the screen (bug #162)
13364
13365         * BufferView_pimpl.C: add some insetHit debug
13366
13367 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * vc-backend.C: add FIXME
13370
13371 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * lyxfunc.C (getStatus): enable code for showing math font status
13374         in toolbar/menu.
13375
13376 2002-01-07  Juergen Vigna  <jug@sad.it>
13377
13378         * text.C (nextBreakPoint): removed debug output not needed anymore.
13379
13380 2002-01-06  Juergen Vigna  <jug@sad.it>
13381
13382         * text.C (nextBreakPoint): fixed up this function we had this bug
13383         since ever but now hopefully we break row better.
13384         (insertChar): we have to check if an inset is the next char as it
13385         could now happen that a large inset is causing a break.
13386
13387 2002-01-05  Juergen Vigna  <jug@sad.it>
13388
13389         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13390         if it doesn't like to be drawed.
13391
13392 2002-01-04  Juergen Vigna  <jug@sad.it>
13393
13394         * BufferView2.C (lockInset): forgot to set a cursor.
13395
13396         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13397
13398 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13399
13400         * FormMathsPanel.C:
13401         * FormMathsPanel.h
13402         * MathsSymbols.C:
13403         * form_maths_panel.C:
13404         * form_maths_panel.h:
13405         * form_maths_panel.fd: implemented sub- and super- buttons in math
13406         panel.
13407
13408         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13409         (or ^ space) to be used as in TeX (req'd by André).
13410
13411         * lyxfunc.C: Allow ^ and _ again to be used both as
13412         super/subscript (mathed) and as themselves (in text).
13413
13414 2002-01-03  Allan Rae  <rae@lyx.org>
13415
13416         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13417         "LyX" or the filename of the current buffer if it has one.  This is a
13418         modified form of John Levon's patch.
13419
13420         * XFormsView.C (setWindowTitle): also set icon title.
13421
13422         * LyXView.h (setWindowTitle): signature changed.
13423         * XFormsView.h (setWindowTitle): ditto.
13424
13425 2002-01-02  Juergen Vigna  <jug@sad.it>
13426
13427         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13428
13429 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * screen.C (topCursorVisible): introduce a temp var for
13432         text->cursor.row(), handle the case where this row is null. (kindo
13433         hachish)
13434
13435         * text2.C (setCursor): add a couple of asserts.
13436
13437         * paragraph.h (inset_iterator): add -> operator
13438
13439         * paragraph.[Ch] (autoDeleteInsets): remove member function
13440
13441         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13442         cursor pos correctly and handle inset deletion by itself.
13443         (insertErrors): move iterator declaration out of for expression
13444
13445         * lyxtextclass.C: add <algorithm>
13446
13447         * Makefile.am: added the new files to sources, removed layout.C
13448
13449         * layout.C: removed file
13450
13451         * layout.h: remove LYX_DUMMY_LAYOUT
13452
13453         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13454         layout.
13455
13456         * lyxlayout.[Ch]:
13457         * lyxtextclass.[Ch]:
13458         * lyxtextclasslist.[Ch]: new files
13459
13460         * include order changes to a lot of files, also changes because of
13461         the six new files.
13462
13463 2001-12-27  Juergen Vigna  <jug@sad.it>
13464
13465         * buffer.C (asciiParagraph): more fixes.
13466
13467         * tabular.C (ascii): make ascii export support export of only the
13468         data separated by a column-delimiter.
13469         (ascii): better support for ascii export.
13470
13471         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13472
13473 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * tabular_funcs.C: use a "using std::getline" instead of the
13476         previous fix from Angus (necessary for cxx + lyxstring)
13477
13478 2001-12-24  Juergen Vigna  <jug@sad.it>
13479
13480         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13481
13482         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13483         problems. First check a minipage also if we have some ert-contents
13484         (not only on par->size(), second set the right depth of the paragraph
13485         on the relink to the root-paragraph-list!
13486
13487         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13488         which then did not anymore update the main paragraphs on undo/redo!
13489
13490 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13491
13492         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13493         code. Support all font-changing funcs (even those which are not in
13494         menu currently). Support for reporting font settings in
13495         mathed (disabled until Andre provides a function on mathed's side).
13496
13497         * func_status.h (toggle): small helper function to set toggle
13498         state on a flag.
13499
13500 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13501
13502         * tabular_funcs.C: getline -> std::getline
13503
13504 2001-12-21  Juergen Vigna  <jug@sad.it>
13505
13506         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13507         accessed and could be 0 (I couldn't generate this but it seems
13508         Michael could!).
13509
13510 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13513         * tabular_funcs.h: here and include iosfwd
13514
13515 2001-12-20  Juergen Vigna  <jug@sad.it>
13516
13517         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13518         inside inset but undo_par was.
13519
13520 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * Thesaurus.C: always include <config.h> in sources.
13523
13524         * Painter.h:
13525         * lyxlookup.h:
13526         * box.h: do not include <config.h> in header files
13527
13528         * text.C (paintLastRow): remove unused variable
13529
13530         * text.C (transformChar):
13531         (insertChar):
13532         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13533
13534         * Painter.C (text):
13535         * font.C (width): rewrite to use uppercase() instead of
13536         islower/toupper.
13537
13538         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13539
13540 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * lyxfind.C: clean up of find failure position change
13543
13544 2001-12-20  Juergen Vigna  <jug@sad.it>
13545
13546         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13547
13548         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13549         (TeXRow): added to LaTeX a single tabular row.
13550         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13551         (Latex): simplified and finally good LT-h/f support.
13552         (various_functions): just small adaptions for LT-h/f support.
13553
13554         * tabular_funcs.[hC]: added and moved here all not classfunctions
13555         of LyXTabular.
13556
13557 2001-12-19  Juergen Vigna  <jug@sad.it>
13558
13559         * tabular.[Ch]: better support for longtabular options (not finished
13560         yet!)
13561
13562 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13563
13564         * text.C (paintLastRow): use the label font instead of the font of
13565         the last character to compute the size of *_BOX. This makes more
13566         sense and avoids a crash with empty paragraphs.
13567         Use Painter::rectangle to draw EMPTY_BOX.
13568
13569 2001-12-19  Juergen Vigna  <jug@sad.it>
13570
13571         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13572         the paragraphs if the replaced paragraph is not the first one!
13573         Tried to delete not used paragraphs but does not work yet so for
13574         now it's inside #ifdef's and by default off!
13575
13576 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * MenuBackend.C: include "lyx_main.h" instead of declaring
13579         lastfiles (actually was declared as LastFiles* instead of a
13580         scoped_ptr).
13581
13582 2001-12-17  Juergen Vigna  <jug@sad.it>
13583
13584         * tabular.C (AppendColumn): applied John's fix
13585
13586 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * BufferView.h:
13589         * BufferView.C:
13590         * BufferView_pimpl.h:
13591         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13592
13593         * Makefile.am:
13594         * box.h: new start of class for above
13595
13596         * lyxfunc.C: ignore space-only minibuffer dispatches.
13597           Show the command name when it doesn't exist
13598
13599         * minibuffer.C: don't add empty lines to the history
13600
13601         * minibuffer.C: add a space on dropdown completion
13602
13603 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * text.C: fix line above/below drawing in insets
13606
13607 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * lyxlength.C (LyXLength): Initialize private variables.
13610
13611 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13612
13613         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13614         when inserting error insets.
13615
13616 2001-12-13  Juergen Vigna  <jug@sad.it>
13617
13618         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13619         actually sometimes the before-paragraph.
13620         (setUndo): don't clear the redostack if we're not actually undoing!
13621
13622 2001-12-06  Juergen Vigna  <jug@sad.it>
13623
13624         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13625         and fixed redoing of main paragraph, so we can use it now ;)
13626
13627         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13628
13629 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13630
13631         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13632         Juergen's request
13633
13634 2001-12-13  André Pönitz <poenitz@gmx.net>
13635
13636         * undostack.[Ch]:
13637         * undo_func.C: minor cleanup
13638
13639 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13640
13641         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13642         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13643         font in urw-fonts package which is marked as -urw-fontspecific and
13644         does not work (incidentally, changing the encoding in the
13645         fonts.dir of this package to -adobe-fontspecific fixes the
13646         problem).
13647
13648         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13649         is a crash when undoing first paragraph (Juergen, please take a
13650         look). THis does not mean the undo fix is wrong, just that it
13651         uncovers problems.
13652
13653         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13654         the (Paragraph*) version when needed instead of duplicating the
13655         code.
13656
13657         * text.C (workWidth): use Inset::parOwner to find out where the
13658         inset has been inserted. This is a huge performance gain for large
13659         documents with lots of insets. If Inset::parOwner is not set, fall
13660         back on the brute force method
13661
13662         * paragraph_pimpl.C (insertInset):
13663         * paragraph.C (Paragraph):
13664         (cutIntoMinibuffer): set parOwner of insets when
13665         inserting/removing them
13666
13667         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13668
13669 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13670
13671         * commandtags.h:
13672         * LyXAction.C:
13673         * lyx_main.C:
13674         * lyxfunc.C:
13675         * mathed/formulabase.C:
13676         * mathed/math_cursor.[Ch]:
13677         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13678
13679
13680 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * lyxlength.[Ch] (operator!=): new function
13683
13684 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13685
13686         * text.C (workWidth): use Inset::parOwner to find out where the
13687         inset has been inserted. This is a huge performance gain for large
13688         documents with lots of insets. If Inset::parOwner is not set, fall
13689         back on the brute force method
13690
13691         * paragraph_pimpl.C (insertInset):
13692         * paragraph.C (Paragraph):
13693         (cutIntoMinibuffer): set parOwner of insets when
13694         inserting/removing them
13695
13696         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13697
13698 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13699
13700         * tabular-old.C (getTokenValue):
13701         * tabular.C (getTokenValue):
13702         (write_attribute): new versions for LyXLength
13703         (everywhere): adjust the use of widths
13704
13705         * tabular.h: change the type of widths from string to LyXLength
13706
13707 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13708
13709         * paragraph.C: fixed missing line number count when exporting
13710         Environments to LaTeX file
13711
13712         * buffer.C: added informational message for checking line numbers.
13713
13714 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13715
13716         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13717         paragraph, do the 'double space' part, but not the 'empty
13718         paragraph' one.
13719
13720         * text.C (workWidth): small optimization
13721         (getLengthMarkerHeight): use minimal size for negative lengths.
13722
13723 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13724
13725         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13726
13727         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13728
13729 2001-12-11  André Pönitz <poenitz@gmx.net>
13730
13731         * FontLoader.C:
13732         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13733
13734 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * text2.C: keep selection on a setFont()
13737
13738 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13739
13740         * lyx_cb.C: another bv->text misuse, from insert label
13741
13742 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * kbsequence.h:
13745         * kbsequence.C: re-instate nmodifier mask
13746
13747 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13748
13749         * lyx_main.h: make lyxGUI private.
13750
13751 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * lyxfind.C: place the cursor correctly on failed search
13754
13755 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13756
13757         * text.C (getLengthMarkerHeight): for small heights, the arrows
13758         are not always on top/bottom of the text
13759         (drawLengthMarker): smaller arrows; take the left margin in
13760         account; draw also vfills.
13761         (paintFirstRow):
13762         (paintLastRow): remove special code for vfill and standard spaces,
13763         since everything is handled in drawLengthMarker now.
13764
13765 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * buffer.C (insertErtContents): try to handle font and language
13768         interaction a bit better.g
13769
13770         * ColorHandler.C (updateColor): change the hash to cover the whole
13771         LColor enum, ws cleanup
13772         (getGCLinepars): ditto
13773         (getGCLinepars): only lookup in the linecache once.
13774
13775 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13776
13777         * iterators.C (operator++): Make the iterator more robust
13778
13779         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13780         (John's patch)
13781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13782
13783 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13784
13785         * lyxtext.h:
13786         * text.C: better added space drawing
13787
13788 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * LyXView.C:
13791         * BufferView2.C: fix layout combo update on inset unlock
13792
13793 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13794
13795         * Makefile.am: don't compile unused files
13796
13797 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13798
13799         * lyxfunc.C:
13800         * commandtags.h:
13801         * LyXAction.C: remove old LFUN_LAYOUTNO
13802
13803 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * paragraph_pimpl.h:
13806         * paragraph_pimpl.C: isTextAt() doesn't need font param
13807
13808 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13809
13810         * lyxlex.h:
13811         * lyxlex.C: little cleanup
13812
13813 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * BufferView_pimpl.C: fix insertAscii for insets
13816
13817 2001-12-05  Juergen Vigna  <jug@sad.it>
13818
13819         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13820         set the right font on the "multi" paragraph paste!
13821
13822 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * trans_decl.h:
13825         * trans_mgr.[Ch]:
13826         * trans.[Ch]:
13827         * lyxgluelength.C:
13828         * lyxlength.C: remove out-commented code.
13829
13830         * BufferView_pimpl:
13831         * CutAndPaste.C:
13832         * DepTable.C:
13833         * buffer.C:
13834         * chset.C:
13835         * lastfiles.C:
13836         * lyxlex.C:
13837         * lyxlex_pimpl.C:
13838         * lyxserver.C:
13839         * screen.C:
13840         * tabular-old.C:
13841         * tabular.C:
13842         * text.C:
13843         * trans_mgr.C:
13844         * vc-backend.C: change "while(" to "while ("
13845
13846         * lyxlength.[Ch]: add zero function to check if length is zero or
13847         not
13848         * lyxgluelength.C: use it
13849
13850 2001-12-05  Allan Rae  <rae@lyx.org>
13851
13852         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13853         Works for 2.95.3, from what I understand of Garst's reports this should
13854         work for other g++ versions.  We're screwed if the abs(int) definition
13855         changed between bugfix releases of gcc.
13856
13857 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * text.C: fix chapter label offset !
13860
13861 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * lyxtext.h:
13864         * text.C: fix hfill at end of line, clean up
13865
13866 2001-12-04  Juergen Vigna  <jug@sad.it>
13867
13868         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13869         that we force an update of the inset and it's owners if neccessary.
13870
13871 2001-12-03  Juergen Vigna  <jug@sad.it>
13872
13873         * text.C (rowLast): simplified code
13874
13875 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * lyxfunc.C: fix show options on timeout
13878
13879 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * screen.C (topCursorVisible): scroll half a page when the cursor
13882         reached top of bottom of screen
13883
13884 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13885
13886         * minibuffer.C: deactivate on loss of focus
13887
13888 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * vspace.[Ch] (operator!=): add operator.
13891
13892 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * BufferView_pimpl.C: refuse to open an inset when
13895         there's a selection.
13896
13897 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13898
13899         * BufferView_pimpl.C: allow to click on RHS of full row insets
13900
13901 2001-11-30  Juergen Vigna  <jug@sad.it>
13902
13903         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13904         insets for undo reasons.
13905
13906 2001-11-28  André Pönitz <poenitz@gmx.net>
13907
13908         * vspace.[Ch]: cosmetical changes
13909
13910 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * LyXAction.h:
13913         * LyXAction.C:
13914         * lyxfunc.h:
13915         * lyxfunc.C:
13916         * kbmap.h:
13917         * kbmap.C:
13918         * lyxrc.C:
13919         * kbsequence.h:
13920         * kbsequence.C: part re-write of old kb code
13921
13922         * Painter.C:
13923         * WorkArea.C: remove Lgb_bug_find_hack
13924
13925 2001-11-30  José Matos <jamatos@fep.up.pt>
13926
13927         * buffer.C (makeDocBookFile): add a comment to point a hack.
13928         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13929         Fixed a double write of labels.
13930
13931 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13932
13933         * LaTeX.C:
13934         * LaTeX.h Fixed bug in LaTeX class where it would not
13935         re-run latex if no depfiles were changed, but the .dvi was removed.
13936
13937 2001-11-28  André Pönitz <poenitz@gmx.net>
13938
13939         * all the files from the change on 2001/11/26:
13940         use lyx::layout_type instead of LyXTextClass::size_type
13941         use lyx::textclass_type instead of LyXTextClassList::size_type
13942
13943 2001-11-29  Juergen Vigna  <jug@sad.it>
13944
13945         * text.C: added support for paragraph::isFreeSpacing()
13946
13947         * buffer.C: same as above
13948
13949         * paragraph.h: inserted isFreeSpacing() function to enable
13950         FreeSpacing inside InsetERT.
13951
13952         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13953         of the paragraph's in the cut/copy buffer to 0!
13954
13955         * text2.C (removeRow): remove the assert as it can!
13956
13957         * lyxtext.h: added helper function firstRow returning firstrow and
13958         made firstrow private again.
13959
13960         * BufferView2.C (lockInset): don't relock if we're already locked!
13961
13962         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13963         the only paragraph.
13964         (removeRow): added Assert::(firstrow)
13965
13966         * debug.C: forgot to add INSETTEXT here.
13967
13968 2001-11-28  Juergen Vigna  <jug@sad.it>
13969
13970         * sp_spell.C (initialize): changed error text to more general
13971         spellchecker command use (not only ispell!)
13972
13973         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13974
13975         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13976
13977 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13978
13979         * vspace.C: initialise lyxgluelength on failure
13980
13981 2001-11-28  Allan Rae  <rae@lyx.org>
13982
13983         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13984         declaration & definition that looks like a function declaration.
13985
13986 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * BufferView2.C (copy):
13989         (copyEnvironment): do not clear the selection when doing a copy.
13990
13991         * text.C (paintFirstRow): compilation fix
13992
13993 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13994
13995         * tabular.C (Latex): correct line count when writing latex.
13996
13997 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * paragraph_pimpl.h:
14000         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14001           bug a bit
14002
14003 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14004
14005         * text.C:
14006         * LColor.h:
14007         * LColor.C: change vfillline->added_space
14008
14009         * text.C: add markers and text for added space
14010
14011         * vspace.C: fix comment
14012
14013 2001-11-28  André Pönitz <poenitz@gmx.net>
14014
14015         * paragraph.C: whitespace changes
14016         * all the other files from the change on 2001/11/26:
14017         change *::pos_type into lyx::pos_type
14018
14019 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14022         language of the document when inserting error insets.
14023
14024 2001-11-26  André Pönitz <poenitz@gmx.net>
14025
14026         * BufferView_pimpl.[Ch]:
14027         *       CutAndPaste.C:
14028         * buffer.[Ch]:
14029         * lyxcursor.[Ch]:
14030         * lyxfind.C:
14031         * lyxfunc.C:
14032         * lyxrow.[Ch]:
14033         * paragraph.[Ch]:
14034         * paragraph_pimpl.[Ch]:
14035         * sp_spell.C:
14036         * text.C:
14037         * text2.C: reduce header dependencies, introduce type for positions
14038
14039 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * <various>: change to use Alert.h
14042
14043 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14044
14045         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14046         when encountering an unknown token.
14047         (readLyXformat2): Show an error message if there were unknown tokens.
14048
14049 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * BufferView2.C:
14052         * BufferView_pimpl.C:
14053         * buffer.C:
14054         * paragraph.h:
14055         * text.C:
14056         * text2.C: use par->isInset()
14057
14058 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * paragraph_pimpl.h:
14061         * paragraph_pimpl.C: cleanup
14062
14063 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * text2.C (removeRow):
14066         * text.C (setHeightOfRow): remove useless (and costly) call to
14067         getRow.
14068
14069 2001-11-20  Allan Rae  <rae@lyx.org>
14070
14071         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14072         Now need Inset*::checkInsertChar() to return true for appropriate
14073         cases so that the characters in the minibuffer will actually be
14074         inserted.
14075
14076 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14077
14078         * text.C: change the order of the includes.
14079         (workWidth): initialize it at once.
14080         (workWidth): make maxw unsigned
14081         (setHeightOfRow): remove unused variable (inset)
14082         (selectSelectedWord): remove unused variable (inset)
14083         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14084
14085 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14088         server is not running.
14089         (openConnection):
14090         (closeConnection): add debug info when server is disabled.
14091
14092         * ColorHandler.C (getGCForeground): send debug message to GUI
14093         channel.
14094
14095         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14096
14097         * kbmap.C (bind): modify because return conventions of
14098         kb_sequence::parse have changed.
14099
14100         * kbsequence.C (parse): only ignore spaces and not any stupid
14101         control character. This avoids tests like s[i] <= ' ', which are
14102         guaranteed to fail with 8bit characters and signed chars.
14103         Change return code to string::npos when there have been no error
14104         (0 was a bad idea when error is at first character)
14105
14106 2001-11-14  José Matos  <jamatos@fep.up.pt>
14107
14108         * buffer.h:
14109         * buffer.C (simpleDocBookOnePar): removed unused argument.
14110
14111 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14112
14113         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14114         insets which are part of a word. Paragraph::isLetter takes care of
14115         that now. Use Paragraph::isInset to identify insets.
14116         (selectSelectedWord): do not test for hyphenation break.
14117
14118         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14119         that protected spaces are considered as spaces.
14120
14121         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14122         Inset::isLetter.
14123
14124 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * lyxserver.h:
14127         * lyxserver.C: fix it. and small cleanup.
14128
14129 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * BufferView_pimpl.C: use inline helpers
14132
14133         * LaTeXFeatures.h:
14134         * LaTeXFeatures.C: fix typos
14135
14136         * Spacing.h:
14137         * Spacing.C: move spacing_string into class
14138
14139         * ToolbarDefaults.C: move stuff into namespace anon
14140
14141         * layout.h: update enum
14142
14143         * lyxfunc.C: use better debug
14144
14145         * minibuffer.h: fix typo
14146
14147         * debug.h:
14148         * debug.C:
14149         * WorkArea.C: add and use Debug::WORKAREA
14150
14151         * lyxtext.h:
14152         * text.C:
14153         * text2.C: code re-organisation, inline helpers
14154
14155 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14156
14157         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14158         std::vector.empty().
14159
14160 2001-11-09  Allan Rae  <rae@lyx.org>
14161
14162         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14163         '\n's after tables.  Tabular and ERT inset work now makes this no
14164         longer necessary.
14165
14166 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * minibuffer.h:
14169         * minibuffer.C: fix crash, improve drop-down completion
14170
14171 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * lyxserver.h:
14174         * lyxserver.C: invalidate fd's when doing endPipe()
14175
14176 2001-11-08  José Matos  <jamatos@fep.up.pt>
14177
14178         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14179         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14180
14181         * paragraph.h:
14182         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14183
14184 2001-11-07  José Matos  <jamatos@fep.up.pt>
14185
14186         * buffer.h:
14187         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14188         const qualifier.
14189
14190         * buffer.C (sgmlOpenTag):
14191         * buffer.C (sgmlCloseTag): removed debug info.
14192
14193         * buffer.h (sgmlOpenTag):
14194         * buffer.h (sgmlCloseTag): made public.
14195
14196 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * buffer.C (saveParamsAsDefaults):
14199         * lyx_cb.C (MenuLayoutSave): remove
14200
14201         * LyXAction.C (init):
14202         * commandtags.h:
14203         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14204
14205 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * buffer.C (setPaperStuff): removed from here...
14208
14209         * bufferparams.C (setPaperStuff): ... and moved there.
14210
14211 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * minibuffer.h:
14214         * minibuffer.C:
14215         * XFormsView.C: add support for drop-down completion
14216
14217 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14218
14219         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14220         commands.
14221
14222 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14223
14224         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14225         disabled.
14226
14227 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * lyx_main.C: change ref to known bugs
14230
14231 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14232
14233         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14234         to work around older babel problems.
14235
14236 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14237
14238         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14239
14240 2001-10-24  Juergen Vigna  <jug@sad.it>
14241
14242         * tabular-old.C (ReadOld): below variable changes reflected.
14243
14244         * tabular.[Ch]: added ltType struct for longtable header/footer
14245         defines and changed all instances where they are used. Added
14246         future support for double top/bottom rows.
14247
14248 2001-10-24  José Matos  <jamatos@fep.up.pt>
14249
14250         * buffer.h (docbookHandleCaption):
14251         * buffer.C (docbookHandleCaption): removed unused function.
14252         (makeDocBookFile): moved docbook supported version to v4.1.
14253
14254 2001-10-24  José Matos  <jamatos@fep.up.pt>
14255
14256         * tabular.h:
14257         * tabular.C (docbookRow): new function to export docbook code of a row.
14258         (DocBook): now honors the longtable flags.
14259
14260 2001-10-23  José Matos  <jamatos@fep.up.pt>
14261
14262         * LaTeXFeatures.h:
14263         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14264         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14265
14266         * buffer.C (makeLinuxDocFile):
14267         (makeDocBookFile): reworked the preamble, more clean, and with
14268         support for lyx defined entities. Changed the document declaration
14269         to be more XML friendly.
14270
14271         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14272         if we need to output XML that should be done with a filter.
14273
14274 2001-10-22  Juergen Vigna  <jug@sad.it>
14275
14276         * sp_pspell.h (class PSpell): add alive function needed in the
14277         controller to see if the spellchecker could be started.
14278
14279 2001-10-22  Juergen Vigna  <jug@sad.it>
14280
14281         * buffer.C (insertStringAsLines): modify the font for inserting
14282         chars in certain conditions by calling checkInsertChar(font).
14283
14284 2001-10-19  Juergen Vigna  <jug@sad.it>
14285
14286         * text.C (workWidth): use getRow instead of wrong algorithm.
14287         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14288
14289 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14290
14291         * lyxserver.h:
14292         * lyxserver.C:
14293         * lyx_main.h:
14294         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14295
14296 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14297
14298         * text.C (workWidth): do not search for the exact row when
14299         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14300         optimization for big documents.
14301
14302 2001-10-18  Juergen Vigna  <jug@sad.it>
14303
14304         * text.C (workWidth): new function with added Inset * parameter.
14305
14306 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14309
14310         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14311         change return type of getColumnNearX.
14312
14313
14314         * text.C (changeRegionCase): use uppercase/lowercase instead of
14315         toupper/tolower.
14316         (leftMargin):
14317         (rightMargin): simplify code by factoring out the uses of
14318         textclasslist.
14319         (labelFill):
14320         (numberOfHfills):
14321         (setHeightOfRow):
14322         (appendParagraph): use Paragraph::size_type
14323
14324 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14325
14326         * vspace.C (asLatexString): add a missing break
14327
14328 2001-10-15  Herbert Voss  <voss@perce.de>
14329
14330         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14331
14332 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14335         is not available.
14336
14337 2001-10-10  André Pönitz <poenitz@gmx.net>
14338
14339         * lyxfunc.C: removed greek_kb_flag.
14340
14341 2001-10-10  Herbert Voss  <voss@perce.de>
14342
14343         * lyx_main.C: delete global string help_lyxdir.
14344
14345 2001-10-09  Herbert Voss  <voss@perce.de>
14346
14347         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14348
14349         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14350
14351         * lyx_main.C: added global string help_lyxdir.
14352
14353         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14354
14355 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14356
14357         * lyxrc.C (set_font_norm_type): support iso8859-4
14358
14359 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14360
14361         * LaTeX.C (deplog): add another regex for MikTeX
14362
14363 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14364
14365         * lyxrc.C (set_font_norm_type): support iso8859-3
14366
14367 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14368
14369         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14370
14371         * LaTeXFeatures.C: remove special case of french and index
14372
14373         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14374         before \begin{document}). This solves several incompatibilities.
14375
14376 2001-10-03  Garst Reese  <reese@isn.net>
14377
14378         * lyx_cb.C: change CheckTex error msg.
14379
14380 2001-10-03  José Matos  <jamatos@fep.up.pt>
14381
14382         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14383
14384 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * .cvsignore: update
14387
14388         * lyx_main.C (commandLineVersionInfo): use new style version info.
14389
14390         * buffer.C (writeFile):
14391         (makeLaTeXFile):
14392         (makeLinuxDocFile):
14393         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14394
14395         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14396
14397         * version.h: update to use stuff in version.C
14398
14399         * version.C.in: new file. Contains version information determined
14400         at compile time. This is a merging of version.h and
14401         version_info.h.in.
14402
14403 2001-10-03  Juergen Vigna  <jug@sad.it>
14404
14405         * BufferView_pimpl.C (update): don't change "dirty" status in
14406         updateInset call.
14407
14408 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14409
14410         * WorkArea.C (c-tor): re-position version string slightly.
14411
14412 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14415         revert to previous code.
14416
14417         WorkArea.[Ch]: (show, destroySplash): methods removed.
14418
14419         WorkArea.C: rework code so that it's an amalgam of the codes before and
14420         after the splash screen was moved to WorkArea.
14421
14422 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * lyxrc.C (read):
14425         * vspace.C (inPixels):
14426         (lyx_advance):
14427         * kbmap.C (bind):
14428         * buffer.C (insertStringAsLines):
14429         (asciiParagraph): fix types to be large enough
14430
14431         * lyxlex_pimpl.h: change member status from short to int
14432
14433         * layout.h: fix type of endlabeltype
14434
14435         * kbmap.C (bind):
14436         * kbsequence.C (parse): change return type to string::size_type
14437
14438         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14439         variable
14440
14441         * Bullet.C (bulletSize):
14442         (bulletEntry): do not use short ints as parameters
14443
14444         * BufferView2.C (insertLyXFile): change a char to an int.
14445
14446         * WorkArea.C (WorkArea): remove unneeded floats in computation
14447
14448 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14449
14450         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14451
14452         * paragraph.C (asString): Do not ignore newline/hfill chars when
14453         copying to the clipboard.
14454
14455 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14456
14457         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14458         after a multi-line inset.
14459
14460 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * paragraph.C (validate): Set NeedLyXFootnoteCode
14463
14464 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14465
14466         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14467         and decrease-error to decrease.
14468
14469 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14472         it more readable (should be equivalent)
14473
14474 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14475
14476         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14477
14478 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14481         of a cursor (row, etc.) after a character has been deleted
14482         (deleteEmptyParagraphMechanism): call the method above on _all_
14483         cursors held by the LyXText when a double space has been
14484         detected/deleted.
14485
14486 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14487
14488         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14489         pixmap.
14490         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14491
14492         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14493         background. Use greyOut() and the new show() methods to toggle between
14494         the foreground and background. Add code to remove the splash after
14495         its initial showing.
14496
14497         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14498         (create_forms): no longer call Dialogs::showSplash.
14499
14500 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * .cvsignore: add version_info.h
14503
14504 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14505
14506         * version_info.h.in: new file
14507
14508         * Makefile.am: add version_info.h.in
14509
14510         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14511         version_info.h instead of VERSION_INFO
14512
14513 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14514
14515         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14516         The ERT inset now returns string().
14517
14518 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14519
14520         * lyxtext.h, text.C (selectNextWord): renamed as
14521         selectNextWordToSpellcheck.
14522
14523         * text.C (selectNextWordToSpellcheck): Modified to not select
14524         words inside an ERT inset.
14525
14526 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * lyx_cb.C (MenuLayoutSave): change a bit the question
14529
14530         * sp_base.h: include <sys/types.h>
14531
14532 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14535
14536 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14537
14538         * several files: fix typos in user-visible strings
14539
14540 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14541
14542         * text2.C (pasteSelection): do not set the selection, since it
14543         will be cleared later. Actually, the intent was to fix the way the
14544         selection was set, but I figured rmoving the code was just as good.
14545
14546 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14547
14548         * FontLoader.C (available): Check if font is available without
14549         loading the font.
14550
14551 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14552
14553         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14554
14555 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14556
14557         * lyxrc.[Ch]: added display_graphics variable and associated code.
14558
14559 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14560
14561         * bufferparams.C (hasClassDefaults): new method. Returns true if
14562         the buffer parameters correspond to known class defaults
14563
14564 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14565
14566         * XFormsView.C (show): set minimum size to the main window.
14567
14568 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * text2.C (copySelection):
14571         (cutSelection):
14572         * lyxfind.C (LyXReplace):
14573         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14574         LyXText::selectionAsString.
14575
14576         * paragraph.C (asString): add "label" argument to the second form
14577
14578         * text2.C (selectionAsString): add "label" argument and pass it to
14579         Paragraph::asString.
14580
14581 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14582
14583         * lyx_main.C (commandLineHelp): remove version information
14584
14585 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14586
14587         * lyx_main.C: add -version commandline option
14588
14589 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * paragraph.h: make the optional constructor arg required instead.
14592         some modifications to other files because of this.
14593
14594         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14595
14596         * lyxserver.C (C_LyXComm_callback): make it static
14597
14598         * lyx_main.C (error_handler): make it static
14599
14600         * lyx_gui.C (LyX_XErrHandler): make it static
14601
14602         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14603
14604         * WorkArea.C: make the extern "C" methods static.
14605
14606         * Makefile.am (lyx_LDADD): simplify
14607
14608 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14609
14610         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14611         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14612
14613         * LyXAction.C (init):
14614         * lyxfunc.C (dispatch): associated code removal.
14615
14616 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * lyxfont.h (isSymbolFont): shut off warning
14619
14620         * text.C (setHeightOfRow):
14621         (getVisibleRow): fix crash with empty paragraphs which have a
14622         bottom line
14623
14624 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14625
14626         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14627         code.
14628
14629 2001-09-04  José Matos  <jamatos@fep.up.pt>
14630         * buffer.C
14631         * buffer.h
14632         * tabular.C (docbook): rename docBook method to docbook.
14633
14634 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14635
14636         * Makefile.am: add dependencies to main.o.
14637
14638 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14639
14640         * FontLoader.C (available): Return false if !lyxrc.use_gui
14641
14642 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14643
14644         * FontInfo.C (query):
14645         * converter.C (view):
14646         * importer.C (Import):
14647         * exporter.C (Export): Can not -> cannot.
14648
14649 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14650
14651         * BufferView_pimpl.C: allow to create index inset even if
14652           string is empty
14653
14654 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14655
14656         * buffer.C (getLists): replace boost::tie code with an explicit pair
14657         as boost::tie can break some compilers.
14658
14659         * iterators.h: Added a std:: declaration to the return type of
14660         ParIterator::size.
14661
14662 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14665           case.
14666
14667 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14668
14669         * iterators.[Ch]: New files. Provide paragraph iterators.
14670
14671         * buffer.C (changeLanguage): Use paragraph iterators.
14672         (isMultiLingual): ditto
14673
14674         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14675
14676 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14677
14678         * FontLoader.C: Support for cmr font.
14679
14680 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14683         (available): New method.
14684
14685         * FontInfo.C (getFontname): Use scalable fonts even when
14686         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14687         found.
14688
14689 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14690
14691         * converter.C (Formats::view): reverted! Incorrect fix.
14692
14693 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14694
14695         * converter.C (Formats::view): only output the -paper option
14696         if the dvi viewer is xdvi, thereby fixing bug #233429.
14697
14698 2001-08-23  Herbert Voss  <voss@perce>
14699
14700         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14701
14702 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14703
14704         * Spacing.h (Spacing): Set space to Default on in the default
14705         constructor.
14706
14707 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14708
14709         * vc-backend.h (RCS::versionString): add RCS to version
14710         (CVS::versionString): add CVS to version
14711
14712         * vc-backend.C (scanMaster): do not add CVS to version.
14713         (scanMaster): do not add RCS to version
14714
14715         * lyxvc.C (versionString): new method
14716
14717         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14718
14719 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * Spacing.C (set): initialize fval
14722
14723 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14724
14725         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14726         " or \.
14727
14728 2001-08-16  Juergen Vigna  <jug@sad.it>
14729
14730         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14731
14732 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * BufferView_pimpl.C:
14735         * figureForm.C:
14736         * lyxtext.h:
14737         * text2.C: setParagraph takes linespacing now
14738
14739 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * LyxAction.C: add internal LFUN_CITATION_INSERT
14742
14743         * LyXView.C: actually apply fix
14744
14745         * bufferlist.C: fix open non-existent file
14746
14747         * lyxfind.C: fix indentation
14748
14749         * lyxfunc.C: remove unneeded assert, fix typo
14750
14751 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * MenuBackend.C: use "Floatname List"
14754
14755 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14756
14757         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14758         when converting LaTeX layout to insetERT.
14759         Generate a non-collapsed float when reading old float
14760
14761 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14762
14763         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14764         ERT insets.
14765
14766 2001-08-13  Juergen Vigna  <jug@sad.it>
14767
14768         * text.C (fill): return 0 instead of 20 as this seems to be the more
14769         correct value.
14770
14771 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14772
14773         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14774         lyxrc.font_norm.
14775
14776 2001-08-13  Juergen Vigna  <jug@sad.it>
14777
14778         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14779         casesensitive off.
14780         (SearchBackward): comment out the unlocking of the inset_owner this
14781         should not be needed!
14782
14783 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14784
14785         * Many files: Remove inherit_language, and add latex_language
14786
14787         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14788         collapsible insets.
14789
14790 2001-08-10  Juergen Vigna  <jug@sad.it>
14791
14792         * text.C (prepareToPrint): fixed hfill-width in draw!
14793
14794         * BufferView2.C (selectLastWord): save the selection cursor as this
14795         now is cleared in the function LyXText::clearSelection!
14796
14797 2001-08-08  Juergen Vigna  <jug@sad.it>
14798
14799         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14800         BACKSPACE type functions.
14801
14802         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14803         is only cutted from the document but not put in the cut-buffer, where
14804         still the old stuff should be.
14805
14806         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14807
14808         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14809
14810         * tabular.C (SetWidthOfCell): fixed special case where the width
14811         was not updated!
14812         (LeftLine): handle '|' in align_special.
14813         (RightLine): ditto
14814         (LeftAlreadyDrawed): ditto
14815         (SetWidthOfCell): ditto
14816
14817 2001-08-07  Juergen Vigna  <jug@sad.it>
14818
14819         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14820
14821 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14824         * lyxlex.[hC]: ditto
14825
14826 2001-08-06  Juergen Vigna  <jug@sad.it>
14827
14828         * text.C (getVisibleRow): fix up row clearing a bit.
14829
14830 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * minibuffer.C: make sure the X server sees the changes in the input.
14833
14834 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * paragraph.C (getFont): split into...
14837         (getLabelFont): this
14838         (getLayoutFont): and this
14839         * paragraph_pimpl.C (realizeFont): calling this
14840
14841         * text2.C (getFont): split into...
14842         (getLayoutFont): this
14843         (getLabelFont): and this
14844         (realizeFont): all three calling this
14845
14846         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14847         files where used.
14848
14849 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14852
14853 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14854
14855         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14856         layouts from the Quote inset insertion.
14857
14858 2001-08-03  Juergen Vigna  <jug@sad.it>
14859
14860         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14861
14862         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14863         only if status not is already CHANGED_IN_DRAW (second level).
14864
14865         * text.C (draw): don't set the need_break_row when inside an
14866         InsetText LyXText.
14867
14868 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * buffer.C (parseSingleLyXformat2Token): handle more latex
14871         conversion cases.
14872
14873         * bufferview_funcs.[hC]: change function names to
14874         begin with small char, adjust other files.
14875
14876 2001-08-02  André Pönitz <poenitz@gmx.net>
14877
14878         * lyxfunc.C:
14879         BufferView_pimpl.C: remove broken special code for math-greek
14880
14881 2001-08-02  Juergen Vigna  <jug@sad.it>
14882
14883         * BufferView_pimpl.C (update): redone this function so that we
14884         update the text again if there was a CHANGE_IN_DRAW.
14885
14886         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14887         (drawFromTo): added a new internal bool which is used by draw() and
14888         redraw() function.
14889         (general): some cursor drawing problems fixed.
14890
14891 2001-08-01  Juergen Vigna  <jug@sad.it>
14892
14893         * lyxfind.C (LyXFind): fixed
14894         (SearchForward): ditto
14895         (SearchBackward): ditto
14896
14897         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14898         spurius drawing of the cursor in the main area.
14899
14900         * text2.C (status): small fix which could lead to a segfault!
14901         (clearSelection): remove unneeded BufferView param.
14902
14903 2001-08-01  André Pönitz <poenitz@gmx.net>
14904
14905         * lyxfunc.C: small change due to changed mathed interface
14906
14907 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14910
14911 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * lyxfunc.c: fail gracefully if file doesn't exist
14914
14915         * LyXSendto.C:
14916         * buffer.C:
14917         * lyxfunc.C:
14918         * BufferView_pimpl.C: IsDirWriteable() proto changed
14919
14920         * LyXView.C: fix updateWindowTitle() to store the last title
14921
14922 2001-07-31  Juergen Vigna  <jug@sad.it>
14923
14924         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14925         the font (wrong since using of Paragraph::highestFontInRange).
14926
14927         * paragraph.C (highestFontInRange): added a default_size parameter.
14928
14929         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14930         (setHeightOfRow): reformat
14931
14932 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * converter.[hC] + affected files: move to (inital-char)lowercase
14935         function names.
14936
14937         * ParagraphParameters.C (ParagraphParameters): remove commented code
14938
14939         * PainterBase.[Ch]: remove commented code
14940
14941         * LaTeXFeatures.h: add "bool floats" for float.sty
14942
14943         * LaTeXFeatures.C (LaTeXFeatures): init floats
14944         (require): handle float
14945         (getPackages): do it with floats
14946
14947 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * BufferView_pimpl.C (Dispatch): improve handling of
14950         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14951
14952         * commandtags.h: #include lyxfont.h here temporarily to avoid
14953         keybinding bug.
14954
14955         * bufferlist.h: include LString.h here.
14956
14957 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14958
14959         * text2.C (getStringToIndex): new method.
14960
14961 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14962
14963         * *: Reduced header file dependencies all over.
14964
14965 2001-07-30  Baruch Even  <baruch@lyx.org>
14966
14967         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14968
14969 2001-07-29  Baruch Even  <baruch@lyx.org>
14970
14971         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14972
14973 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * ParameterStruct.h (endif): add a default constructor to make
14976         sure that all variables is initialized.
14977
14978         * ParagraphParameters.C (ParagraphParameters): adjust
14979
14980 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14983         index; also, check that there is something to index, and that it
14984         does not span over several paragraphs.
14985         (doubleClick): use WHOLE_WORD_STRICT for double click.
14986
14987         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14988
14989         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14990         scheme.
14991
14992 2001-07-26  Baruch Even  <baruch@lyx.org>
14993
14994         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14995         an InsetFig figure, backwards compatible reading of old figure code.
14996
14997 2001-07-27  Juergen Vigna  <jug@sad.it>
14998
14999         * text2.C: font.realize function adaption.
15000
15001         * text.C (draw): add a warnings lyxerr text if needed.
15002
15003         * layout.C: font.realize function adaption.
15004
15005         * language.C: add inherit_language and implement it's handlings
15006
15007         * bufferview_funcs.C (StyleReset): remove language parameter from
15008         font creation (should be language_inherit now).
15009
15010         * bufferparams.C (writeFile): handle ignore_language.
15011
15012         * paragraph.C (getFontSettings): the language has to be resolved
15013         otherwise we have problems in LyXFont!
15014
15015         * lyxfont.C (lyxWriteChanges): added document_language parameter
15016         (update): removed unneeded language parameter
15017
15018         * paragraph.C (validate): fixed wrong output of color-package when
15019         using interface colors for certain fonts in certain environments,
15020         which should not seen as that on the final output.
15021
15022 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * BufferView_pimpl.C:
15025         * Thesaurus.h:
15026         * Thesaurus.C:
15027         * Makefile.am:
15028         * commandtags.h:
15029         * LyXAction.C: add thesaurus support
15030
15031         * lyxfind.h:
15032         * lyxfind.C: add "once" parameter, for thesaurus, to not
15033           move to the next match
15034
15035 2001-07-26  Juergen Vigna  <jug@sad.it>
15036
15037         * lyxfont.C (realize): honor ignore_language too!
15038         (resolved): ditto.
15039
15040         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15041
15042         * text.C (draw): one place more for ignore_language to not draw
15043         itself!
15044
15045 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15046
15047         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15048
15049 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15050
15051         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15052         the minipage conversion problem.
15053
15054 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15057         insert an inset.
15058
15059 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * BufferView.h: don't forward declare WorkArea
15062
15063         * BufferView.C: don't include WorkArea.h
15064
15065 2001-07-25  André Pönitz <poenitz@gmx.net>
15066
15067         * commandtags.h:
15068         * LyXAction.C:
15069         * lyxfunc.C:  new LFUN 'math-space'
15070
15071         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15072
15073 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15074
15075         * text2.C (toggleInset): call open/close
15076
15077 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * lyxfunc.C (dispatch): add debug for the disabled case
15080
15081         * font.C (buttonText): make similar to rectText
15082
15083         * buffer.C (readInset): comment out parsing of insetlist and
15084         insttheorem
15085
15086         * PainterBase.C (rectText): small correction
15087
15088         * BufferView_pimpl.C: comment out insettheorem and insetlist
15089         * LyXAction.C: ditto
15090         * commandtags.h: ditto
15091
15092 2001-07-24  Juergen Vigna  <jug@sad.it>
15093
15094         * text.C (draw): honor the ignore_language.
15095
15096         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15097
15098 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15101         char inset.
15102
15103 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15104
15105         * lyxtext.h: remove unused (and unimplemented) methods
15106
15107 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15108
15109         * text.C (getVisibleRow): honor background color
15110
15111         * PainterBase.h:
15112         * Painter.h: remove default color argument for fillRectangle
15113
15114         * text.C (backgroundColor): new method
15115
15116 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15117
15118         * text.C (getVisibleRow): adjust
15119
15120         * font.[Ch] (rectText): new method, metrics
15121         (buttonText): new method, metrics
15122
15123         * PainterBase.[hC]: make rectText and buttonText always draw and take
15124         fewer paramteres.
15125
15126 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15127
15128         * ToolbarDefaults.C (read):
15129         * MenuBackend.C (read): allow escaping in all strings
15130
15131         * BufferView_pimpl.C (insertAndEditInset): new method.
15132         (Dispatch): use insertAndEditInset whenever appropriate.
15133
15134         * BufferView_pimpl.C (insertNote): removed
15135
15136         * BufferView_pimpl.C (smartQuote): new method, moved from
15137         BufferView; if an insetquote cannot be inserted, insert a '"'
15138         character instead.
15139
15140         * BufferView2.C: remove insertCorrectQuote();
15141
15142         * lyxfunc.C (getStatus): Add support for all remaingin
15143         inset-insert lfuns.
15144
15145         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15146
15147         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15148         command (necessary to pass " as parameter of self-insert.
15149
15150         * text.C (selectWordWhenUnderCursor):
15151         (selectWord): add word_location parameter
15152         (selectWordWhenUnderCursor): same + remove special code for word
15153         boundary.
15154         (selectNextWord): use kind() to guess type of insetspecialchar,
15155         not latex().
15156
15157         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15158         (insertErtContents): create ert insets as collapsed.
15159         (readInset): better compatibility code for Info inset.
15160
15161 2001-07-20  Juergen Vigna  <jug@sad.it>
15162
15163         * lyxfunc.C (dispatch): use always LyXFind now!
15164
15165         * text2.C (init): add a reinit flag so that the LyXText can be
15166         reinited instead of deleted and reallocated (used in InsetText).
15167
15168         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15169
15170         * text.C: ditto
15171
15172         * text2.C: ditto
15173
15174 2001-07-18  Juergen Vigna  <jug@sad.it>
15175
15176         * text.C (selectNextWord): handle insets inside inset by calling
15177         always the bv->text functions so that we can go up the_locking_inset!
15178
15179         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15180         in strange locations when inside an inset!
15181
15182         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15183         handling to include insets.
15184
15185         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15186
15187 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * LyXAction.C (init):
15190         * commandtags.h:
15191         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15192         LIGATURE_BREAK, since the name is so stupid.
15193
15194 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15195
15196         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15197         InsetInfos.
15198
15199         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15200
15201         * sp_form.[Ch]: remove.
15202
15203         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15204
15205         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15206         InsetInfo.
15207
15208         * src/buffer.C (readInset): ditto.
15209
15210 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15211
15212         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15213         menuSeparator(), endOfSentenceDot(), ldots() and
15214         hyphenationPoint(), which are therefore removed.
15215         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15216
15217         * LyXAction.C (init):
15218         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15219
15220         * paragraph.C (getWord): removed.
15221
15222         * BufferView_pimpl.C (Dispatch): use last word or selection for
15223         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15224
15225         * lyx_main.C (queryUserLyXDir): do not ask before creating
15226         user_dir, except if it has been named explicitely.
15227
15228 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15229
15230         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15231         a document of zero size.
15232
15233 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15234
15235         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15236         approriately in the c-tor and in require().
15237         (getPackages): output the appropriate LaTeX for natbib support.
15238
15239         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15240         variables "use_natbib" and "use_numerical_citations" when reading the
15241         LyX file.
15242         (readInset): read the various natbib cite commands.
15243         (validate): white-space change.
15244
15245         * bufferparams.[Ch]: new variables "bool use_natbib" and
15246         "bool use_numerical_citations".
15247         (writeFile): output them in the LyX file.
15248
15249 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15250
15251         * lyxfunc.C (getStatus): add support for all the inset insertion
15252         commands.
15253
15254         * text2.C (insertInset):
15255         * paragraph.C (insetAllowed):
15256         * BufferView_pimpl.C (insertInset): update to take in account the
15257         renaming of insertInsetAllowed
15258
15259         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15260
15261         * text2.C (getInset): new method. returns inset at cursor position.
15262
15263         * BufferView_pimpl.C (Dispatch): changes because of this.
15264
15265         * LyXAction.C (init): rename open-stuff to inset-toggle.
15266
15267         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15268
15269         * text2.C (toggleInset): renamed from openStuff; use
15270         Inset::open().
15271
15272 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15273
15274         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15275
15276         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15277
15278 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15279
15280         * buffer.C (readLyXformat2): Add filename to the error dialog
15281
15282 2001-07-18  Juergen Vigna  <jug@sad.it>
15283
15284         * tabular.C (GetCellNumber): put an assert here instead of the check!
15285
15286 2001-07-17  Juergen Vigna  <jug@sad.it>
15287
15288         * BufferView_pimpl.C (toggleSelection): adapted too.
15289
15290         * text.C (selectNextWord): adapted for use with insets.
15291         (selectSelectedWord): ditto
15292
15293 2001-07-17  Juergen Vigna  <jug@sad.it>
15294
15295         * sp_spell.C (PSpell): fix initialitation order.
15296
15297 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * paragraph.C: spacing
15300
15301 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15302
15303         * sp_spell.C: repair language selection for pspell
15304
15305 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15306
15307         * lyxfunc.h: change more methods to begin with lower char.
15308
15309 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15312         for unknown layouts.
15313
15314 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15315
15316         * buffer.C (readLyXformat2): Generate an error dialog if there are
15317         unknown layouts.
15318
15319 2001-07-16  Juergen Vigna  <jug@sad.it>
15320
15321         * sp_spell.C: always compile ISpell part.
15322
15323         * lyxrc.C: added use_pspell entry and it's handling.
15324
15325 2001-07-13  Juergen Vigna  <jug@sad.it>
15326
15327         * sp_spell.C: removed double includes.
15328
15329 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         Consistent use of Lsstream.h:
15332         * Lsstream.h: added using std::stringstream for consistencies sake.
15333
15334         * buffer.C: removed using std::stringstream
15335
15336         * lyxfont.C (stateText):
15337         * paragraph.C (asString):
15338         * text.C (selectNextWord, selectSelectedWord):
15339         * text2.C (setCounter):
15340         * vspace.C (asString, asLatexString):
15341         std::ostringstream -> ostringstream.
15342
15343 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15344
15345         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15346         * commandtags.h: add LFUN_HELP_ABOUTLYX
15347         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15348
15349 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15350
15351         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15352         cursorToggle()
15353         * lyx_gui_misc.C: remove spellchecker
15354         * lyxfunc.C: showSpellchecker
15355         * sp_base.h: added
15356         * sp_ispell.h: added
15357         * sp_pspell.h: added
15358         * sp_spell.C: added
15359         * sp_form.[Ch]: removed
15360         * spellchecker.[Ch]: removed
15361
15362 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15363
15364         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15365         is set.
15366         (simpleTeXSpecialChars): Simply print the input character without
15367         any special translation if pass_thru is set.
15368
15369         * layout.h: Added bool pass_thru to layout class for being able to
15370         implement pass through of a paragraph for Literate Programming.
15371
15372         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15373         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15374         * layout.C (Read): add "passthru" to list of layout tags and add
15375         code to set the pass_thru boolean when it is read.
15376
15377 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15378
15379         * trans_decl.h: remove allowed from KmodInfo
15380
15381         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15382         remove allowed code
15383         (Load): adjust
15384
15385         * paragraph_pimpl.C (erase): use boost::prior
15386
15387         * Painter.C (text): use data() instead of c_str() when length is
15388         also provided.
15389         * WorkArea.C (putClipboard): ditto
15390         * font.h (width): ditto
15391
15392         * BufferView2.C: use it-> instead of (*it). for iterators
15393         * texrow.C: ditto
15394         * paragraph_pimpl.C: ditto
15395         * paragraph.C: ditto
15396         * minibuffer.C: ditto
15397         * language.C: ditto
15398         * kbmap.C: ditto
15399         * encoding.C: ditto
15400         * counters.C: ditto
15401         * converter.C: ditto
15402         * chset.C: ditto
15403         * Variables.C: ditto
15404         * TextCache.C: ditto
15405         * MenuBackend.C: ditto
15406         * LyXAction.C: ditto
15407         * LColor.C: ditto
15408         * FloatList.C: ditto
15409         * DepTable.C: ditto
15410         * ColorHandler.C (LyXColorHandler): ditto
15411
15412 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15415
15416         * text2.C (openStuff): reintroduce this method (which had been
15417         nuked in NEW_INSETS frenzy).
15418
15419         * lyxfunc.C (Dispatch): when an action has not been handled, use
15420         its name in the error message, not its number.
15421
15422         * paragraph.C (inInset): change method name to begin with lowercase.
15423
15424         * undo_funcs.C:
15425         * text2.C: updates because of this.
15426
15427 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * ToolbarDefaults.C (add): add spaces in error message
15430
15431 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15434         (readLyXformat2): rename return_par to first_par, use lyxlex's
15435         pushToken and remove the manual push handling.
15436         (parseSingleLyXformat2Token): add another ert comp. variable:
15437         in_tabular, rename return_par to first_par. handle newlines better
15438
15439 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15442
15443 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * text2.C (getParFromID): removed
15446
15447         * buffer.C (getParFromID): new method moved form lyxtext.
15448         * BufferView2.C (insertErrors): adjust
15449         (setCursorFromRow): adjust
15450         * BufferView_pimpl.C (restorePosition): adjust
15451         * lyxfunc.C (Dispatch): adjust
15452         * undo_funcs.C (textUndo): adjust
15453         (textRedo): adjust
15454         (textHandleUndo): adjust
15455         (textHandleUndo): adjust
15456
15457 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * buffer.C: up' the LYX_FORMAT
15460
15461         * lyxfont.h: turn NO_LATEX on as default
15462
15463         * buffer.C (insertErtContents): new methods of tex style compability.
15464         (parseSingleLyXformat2Token): use it several places.
15465         * tabular.C (OldFormatRead): and here
15466
15467 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15468
15469         * text2.C: remove some commented code.
15470         reindent file.
15471
15472         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15473         * trans.C: changes because of the above.
15474
15475 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15476
15477         * text2.C (setCounter): Fix counters bug with bibliography layout.
15478
15479 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15482         own member functions
15483         (simpleTeXSpecialChars): ditto
15484
15485 2001-07-06  Juergen Vigna  <jug@sad.it>
15486
15487         * a lot of files: changed the access to LyXText::status and the
15488         call of undo-functions.
15489
15490         * undo.[Ch]: added a inset_id to the undo informations.
15491
15492         * undo_funcs.[Ch]: added and moved here all undo functions.
15493
15494         * lyxtext.h: give the status enum a weight, made status_ a private
15495         variable and made accessor functions for it, removed the whole bunch
15496         of undo-functions as they are now in their own file, make some
15497         functions publically available. Added function ownerParagraph with
15498         int parameter.
15499
15500         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15501         made InInset() a const function, added getParFromID() function.
15502
15503         * buffer.[Ch]: added const version for inset_iterator functions,
15504         added getInsetFromID() function.
15505
15506         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15507         changed undo functions for new version.
15508
15509 2001-07-05  Juergen Vigna  <jug@sad.it>
15510
15511         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15512         unknow mechanism does not call the proper constructor but only this
15513         one also if I request the other!?
15514
15515 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15518
15519         * text2.C (LyXText): use initialization lists.
15520
15521         * lyxtext.h (Selection): initialize set_ and mark_
15522         (init): remove method
15523
15524 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15527
15528 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * screen.[Ch]: change method names to begin with lowercase
15531
15532         * BufferView_pimpl.C (updateScrollbar): simplify further and
15533         hopefully make it a bit faster.
15534
15535 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15538         calling directly xforms functions.
15539
15540         * Painter.C (Painter):
15541         * lyx_cb.C (MenuWrite):
15542         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15543         fl_display.
15544
15545         * lyx_gui.C: remove bogus guiruntime extern declaration.
15546
15547 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15550         in NEW_INSETS
15551         (redoDrawingOfParagraph): ditto
15552         (redoParagraphs): ditto
15553         (cutSelection): don't create a object for CutAndPaste use the
15554         static method directly
15555         (pasteSelection): ditto
15556
15557         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15558         LyXview (+ rename)
15559
15560 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15561
15562         * modifications to some other files because of this.
15563
15564         * Makefile.am (lyx_SOURCES): add XFormsView
15565
15566         * XFormsView.[Ch]: new files
15567
15568         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15569         the main window. Move the gui dependent stuff to XFormsView
15570
15571 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * tabular.C (GetCellInset): update cur_cell also in the row/col
15574         version of this function.
15575
15576         * lyxfunc.C: no need to include figure_form.h here.
15577
15578         * FontLoader.h:
15579         * lyxfunc.h:
15580         * lyxscreen.h:
15581         * text2.C:
15582         * lyxvc.C: no need to include forms.h here.
15583
15584 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15587
15588         * lyxfunc.C (Dispatch):
15589         * Spacing.C (set):
15590         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15591         constructor argument.
15592
15593 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15594
15595         * paragraph.C (Paragraph): dont't clear, and just set layout.
15596         (makeSameLayout): use params's copy contructor.
15597
15598         * ParagraphParameters.[Ch] (makeSame): delete method
15599
15600 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15601
15602         * Variables.[Ch]: fix indentation, rename set to isSet
15603
15604 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15605
15606         * lyxfunc.C (Dispatch): fix typo
15607
15608 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15609
15610         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15611         upper_bound.
15612
15613         * bufferlist.C: include assert.h for emergencyWrite().
15614
15615 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15618           give up at last (bug #425202) !
15619
15620 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15621
15622         * lyx_gui_misc.C:
15623         * sp_form.h:
15624         * sp_form.C:
15625         * spellchecker.h:
15626         * spellchecker.C: strip spellchecker options and bring up
15627           preferences tab instead
15628
15629 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15632         the istringstream constructor
15633
15634 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15635
15636         * paragraph.C (getLayout): fix return value
15637
15638         * paragraph.h: do not declare getLayout as inline.
15639
15640         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15641
15642 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15643
15644         * lyxcursor.h (operator<): new func
15645         (operator>): new func
15646         (operator>=): new func
15647         (operator<=): new func
15648
15649         * text.C (changeCase): use selection.start and selection.end
15650         (changeRegionCase): require from to be <= to. Require par to be a
15651         valid paragraph.
15652
15653         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15654
15655 2001-06-27  Juergen Vigna  <jug@sad.it>
15656
15657         * text.C (cursorLeftOneWord): changed to return the cursor and added
15658         overlay with BufferView * parameter which calls this one.
15659         (getWord): added
15660         (selectWord): use new getWord function.
15661         (changeCase): renamed from changeWordCase as and extended to work
15662         also on selections.
15663
15664         * lyxtext.h: added enum word_location
15665
15666         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15667         changeCase as this operates now also on selections.
15668
15669 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15670
15671         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15672
15673         * many files: send debug output to Debug::INFO instead of
15674         Debug::ANY.
15675
15676         * converter.C (View):
15677         (Convert):
15678         (Move): send debug output to Debug::FILES instead of console.
15679
15680 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15681
15682         * lyxfunc.C (getStatus): use func_status
15683
15684         * func_status.h: new header, describing the results of
15685         LyXFunc::getStatus;
15686
15687         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15688         LFUN_MATH_HALIGN.
15689
15690 2001-06-25  The LyX Project  <jug@sad.it>
15691
15692         * buffer.C (sgmlOpenTag):
15693         (sgmlCloseTag):
15694         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15695
15696 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * text2.C: remove some dead code
15699
15700         * tabular.C (GetCellInset): store the last cell checked (gotten)
15701
15702         * tabular.h: add the helper for the speedup
15703
15704         * lyxtext.h: remove some dead code
15705
15706 2001-06-26  The LyX Project  <Asger>
15707
15708         * paragraph.C: Change export to LaTeX of alignment to
15709         \begin{center} and family for better roundtrip work with reLyX.
15710
15711         * Tune the math drawing a bit.
15712
15713 2001-06-25  The LyX Project  <Asger>
15714
15715         * LColor.C (LColor): New color for math background. New color
15716         for buttons.
15717
15718 2001-06-25  The LyX Project  <jug@sad.it>
15719
15720         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15721
15722         * lyxfunc.C (Open):
15723         * bufferlist.C (newFile): do not restrict to files ending with
15724         .lyx
15725
15726         * BufferView_pimpl.C (MenuInsertLyXFile):
15727
15728 2001-06-24  The LyX Project  <jug@sad.it>
15729
15730         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15731         of compare_no_case
15732
15733 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * lyxtext.h: rename most methods to begin with a small char.
15736         Lots of changes because of this.
15737
15738         * paragraph.C (Paragraph): do not call fitToSize
15739         (erase): call Pimpl::erase
15740         (insertChar): call Pimpl::insertChar
15741         (insertInset): call Pipl::insertInset
15742         (breakParagraph): do not call fitToSize
15743         (breakParagraphConservative): do not call fitToSize
15744         (fitToSize): remove method
15745
15746         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15747
15748 2001-06-24  The LyX Project  <Asger>
15749
15750         * Fix Qt compilation^2
15751
15752 2001-06-24  The LyX Project  <jug@sad.it>
15753
15754         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15755         depthHook(getDepth()-1).
15756
15757         * paragraph.h:
15758         * ParagraphParameters.h:
15759         * ParameterStruct.h: change type of depth to unsigned int ==
15760         depth_type. Many adaptations to other files before of that.
15761
15762 2001-06-24  The LyX Project  <Asger>
15763
15764         * Fix Qt compilation.
15765
15766 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * paragraph.h: renamed several methods to begin with small letter.
15769         several changes to many parts of the code because of this.
15770
15771 2001-06-23  The LyX Project  <jug@sad.it>
15772
15773         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15774         rewritten to discard all double spaces when KeepEmpty is off
15775         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15776         to only handle newlines but not fiddle with spaces and friends.
15777
15778         * lyxfunc.C (MenuNew): when doing 'new from template', use
15779         template_path as default directory
15780
15781 2001-06-23  The LyX Project  <Asger>
15782
15783         * Clean-up of header file includes all over
15784         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15785
15786 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * paragraph.h: renamed from lyxparagraph.h
15789
15790 2001-06-23  Asger  <lyx@violet.home.sad.it>
15791
15792         * Buffer.h: Removed Buffer::resize
15793         * BufferList.h: Removed BufferList::resize
15794         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15795         the document lazily when we change the width, or the font settings.
15796
15797 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15798
15799         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15800
15801 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15802
15803         * buffer.h: remove out of date comment
15804
15805 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15806
15807         * lyxscreen.h:
15808         * screen.C: fix "theoretical" GC leak
15809
15810 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * LaTeX.C (scanAuxFile):
15813         (deplog): remove trailing \r when reading stream (useful under
15814         win32)
15815
15816 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15817
15818         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15819         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15820         and BufferView::theLockingInset(Inset*), so should use them and not
15821         access bv_->text->the_locking_inset directly.
15822
15823         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15824
15825 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15826
15827         * Makefile.am:
15828         * tex-defs.h: remove old unused file
15829
15830 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15831
15832         * BufferView_pimpl.C: fix typo, remove minibuffer message
15833           when buffer has loaded
15834
15835 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15836
15837         * lyxfunc.C (Dispatch): use stringstream
15838         (MenuNew): use stringstream
15839         (Open): use stringstream
15840
15841         * importer.C (Import): use stringstream
15842
15843         * bufferview_funcs.C (CurrentState): use stringstream
15844
15845         * LaTeX.C (run): use stringstream
15846
15847         * BufferView_pimpl.C (savePosition): use stringstream
15848         (restorePosition): use stringstream
15849         (MenuInsertLyXFile): use stringstream
15850
15851 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * BufferView.C:
15854         * Bullet.C:
15855         * ColorHandler.C:
15856         * FontInfo.C:
15857         * FontLoader.C:
15858         * LColor.C:
15859         * LaTeXFeatures.C:
15860         * Painter.C:
15861         * gettext.C:
15862         * lyx_gui_misc.C:
15863         * lyxserver.C:
15864         * vspace.C: removed // -*- C++ -*- as first line.
15865
15866         * lyxfind.h:
15867         * version.h: added // -*- C++ -*- as first line.
15868
15869 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15870
15871         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15872
15873         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15874         of string
15875
15876 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15879         of floats.
15880
15881 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * gettext.C: include LString.h even when --disable-nls is on.
15884
15885 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15886
15887         * converter.h (Get): changed argument type from int to
15888         FormatList::size_type to avoid unnecessary conversion.
15889
15890         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15891         before using it.
15892
15893 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * gettext.h: include LString.h even when --disable-nls is on.
15896
15897 2001-06-07  Juergen Vigna  <jug@sad.it>
15898
15899         * text.C (BreakAgain): subst spaces with tabs.
15900
15901         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15902         (resizeInsetsLyXText): set force on resizeLyXText.
15903
15904 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * gettext.h (gettext_init):
15907         (locale_init): use a real definition instead of a macro
15908
15909 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15910
15911         * Bufferview_pimpl.C:
15912         * LColor.h:
15913         * LColor.C: further lcolor tidies
15914
15915 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * BufferView_pimpl.C (updateScrollbar): simplify.
15918
15919         * BufferView2.C: don't include insets/insetinfo.h, change
15920         prototype for insertInset and call the Pimpl version. let
15921         updateInset call Pimpl version.
15922
15923         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15924         gotoInset to BufferView::Pimpl
15925
15926 2001-06-01  Juergen Vigna  <jug@sad.it>
15927
15928         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15929         inside a LockingInset (is the update needed at all?).
15930
15931 2001-05-31  Juergen Vigna  <jug@sad.it>
15932
15933         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15934         here not the old one otherwise how should we compare it afterwards
15935         if it's the same!
15936
15937 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15938
15939         * lyxfont.C:
15940         * tabular.C:
15941         * tabular-old.C:
15942         * FontInfo.C: bring C functions into global namespace when
15943         necessary
15944
15945 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15946
15947         * LString.h: make sure config.h has been loaded before LString.h.
15948
15949         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15950         (one for each char read by EatLine!).
15951
15952         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15953         variables.
15954
15955 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15956
15957         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15958         to the same as the par we break from
15959
15960 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15963
15964         * MenuBackend.C (expand): also create menu entries for wide
15965         versions of the floats.
15966
15967         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15968
15969         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15970
15971         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15972         frontends/Makefile.am
15973
15974         * text2.C: adjust
15975         * text.C: adjust
15976
15977
15978         * tabular.C (getTokenValue): add std::
15979
15980         * tabular-old.C (getTokenValue): add std::
15981         (getTokenValue): ditto
15982         (getTokenValue): ditto
15983
15984         * screen.C (ToggleSelection): adjust
15985
15986         * lyxtext.h: put selection cursors inside a Selection struct.
15987
15988         * lyxfunc.C (moveCursorUpdate): adjust
15989
15990         * lyxfont.C (latexWriteStartChanges): add std::
15991
15992         * lyxfind.C: adjust
15993
15994         * font.h: delete with(char const *, LyXFont const &)
15995
15996         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15997
15998         * FontInfo.C (getFontname): add std::
15999
16000         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16001         (workAreaButtonPress): adjust
16002         (tripleClick): adjust
16003         (update): adjust
16004         (moveCursorUpdate): adjust
16005         (Dispatch): adjust
16006
16007         * BufferView2.C (gotoInset): adjust
16008
16009 2001-05-30  Juergen Vigna  <jug@sad.it>
16010
16011         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16012         to check pspell I add this as default as I now have new pspell
16013         libraries and they seem to use this.
16014
16015 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * text2.C (CutSelection): make the cursor valid before the call to
16018         ClearSelection.
16019
16020 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16023         relied on 0 terminated strings and other horrors. Bug found due to
16024         the new assert in lyxstring!
16025
16026         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16027         KP_ keys.
16028
16029 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16032         to latinkeys.bind.
16033
16034         * lyxfunc.C (processKeySym): change method of getting to the
16035         self-insert char.
16036
16037         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16038         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16039         * BufferView_pimpl.[Ch]: here as private methods.
16040
16041 2001-05-28  Juergen Vigna  <jug@sad.it>
16042
16043         * text.C (SetHeightOfRow): added the update() call again as it is
16044         needed to initialize inset dimensions!
16045
16046 2001-05-16  Juergen Vigna  <jug@sad.it>
16047
16048         * text2.C (SetCharFont): Add new function with BufferView * and
16049         bool toggleall parameters for setting insets internal fonts.
16050         (SetFont): Freeze the undo as we may change fonts in Insets and
16051         all this change should be inside only one Undo!
16052
16053         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16054         setting font's in insets as for them we have the SetFont function!
16055
16056 2001-05-15  Juergen Vigna  <jug@sad.it>
16057
16058         * text2.C (ClearSelection): to be sure we REALLY don't have any
16059         selection anymore!
16060
16061         * tabular.C (TeXCellPreamble): fixed the left border problem for
16062         multicolumn cells.
16063
16064 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16065
16066         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16067         dependancy file
16068
16069 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16072         LFUN_BREAKPARAGRAPH.
16073
16074         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16075         help test to "internal only", similar for LFUN_INSERT_URL
16076
16077         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16078         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16079         auto_region_delete and deadkeys.
16080
16081 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16082
16083         * LColor.h:
16084         * LColor.C: remove some dead entries, tidy a little
16085
16086 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16087
16088         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16089         commented code.
16090         (Dispatch): implement LFUN_ESCAPE
16091
16092         * commandtags.h: add LFUN_ESCAPE
16093
16094         * LyXAction.C (init): add entry for LFUN_ESCAPE
16095
16096         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16097         Remove commented code.
16098         (insertNote): moved here
16099         (open_new_inset): moved here
16100
16101         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16102         BufferView_pimpl
16103
16104 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * kbmap.C (findbinding): clean it up and make it work correctly.
16107
16108         * lyx_main.C (init): do not pass argc and argv as parameters
16109
16110 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16111
16112         * buffer.C: fix path for OS/2 & Win32
16113
16114         * lyx_gui.C:
16115         * lyx_main:
16116         * lyx_main.C: Added os:: class.
16117
16118         * os2_defines.h: update
16119
16120 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16123         better by trying again with reduced state.
16124
16125 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16126
16127         * lyxrc.C (read): print error about invalid key sequence only when
16128         debugging (because not all latinX keysyms are known to some X
16129         servers)
16130
16131         * kbsequence.C (getiso): add a few std:: qualifiers
16132         (getiso): comment out extra return statement.
16133
16134 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16135
16136         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16137         handling.
16138         (Dispatch): enhance the accent inset a bit. (not perfect)
16139
16140 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16143
16144 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * bufferlist.C (emergencyWrite): fix assert() call
16147
16148 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16149
16150         * text.C (InsertChar): Added trivial patch to only send the "you
16151         can not do multiple spaces this way" message once during a
16152         session.
16153
16154 2001-05-08  Baruch Even  <baruch@lyx.org>
16155
16156         * Makefile.am: Changed order of libraries to get LyX to link properly
16157         with the gnome frontend.
16158
16159 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16160
16161         * LaTeXFeatures.h: add a std:: qualifier
16162
16163 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * paragraph.C (String): use stringstream
16166
16167 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16168
16169         * paragraph.C (writeFile): remove footflag arg
16170
16171         * buffer.C (makeLaTeXFile): use stringstream
16172         (latexParagraphs): remove footnot gurba
16173
16174         * LaTeXFeatures.C (getPackages): use stringstream
16175         (getMacros): likewise
16176         (getTClassPreamble): likewise
16177         (getFloatDefinitions): new method
16178
16179         * paragraph.C (writeFile): reindent
16180         (Erase): reindent
16181
16182         * WorkArea.h: revert the xpos + etc changes.
16183
16184         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16185
16186         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16187
16188         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16189         (pasteSelection): likewise
16190         * text2.C (CreateUndo): likewise
16191
16192 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16193
16194         * minibuffer.C (peek_event): temporarily reduce the functionality
16195         of the minibuffer (to allow args on lfuns)
16196
16197         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16198         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16199
16200         * buffer.C (readInset): add compability reading of old float
16201         lists, add reading of new style float list.
16202         (readInset): avoid reevaluation of inscmd.getCmdName()
16203         (getLists): reindent
16204
16205         * MenuBackend.C (MenuItem): implement parsing of
16206         md_floatlistinsert and md_floatinsert.
16207         (expand::LastFiles): move initalizaton of iterators out of loop,
16208         avoid reevaluation.
16209         (expand::Documents): introduce typdedef vector<string> Strings,
16210         and use it.
16211         (expand::ExportFormats): introduce typedef vector<Format const *>
16212         Formats, and use it.
16213         (expand): implement FloatListInsert and FloatInsert.
16214
16215         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16216         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16217         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16218
16219         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16220         handling.
16221         (Dispatch::LFUN_FLOAT_LIST): implement
16222
16223 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16224
16225         * LaTeX.C (run): Fix problem with --export code.
16226
16227 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16228
16229         * BufferView.[Ch] (workarea): removed.
16230         (getClipboard) new method; wrapper for workarea()->getClipboard()
16231
16232         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16233         bug.
16234
16235         * WorkArea.h (width, height, xpos, ypos): These methods all
16236         returned the dimensions of the work_area sub-area of WorkArea,
16237         resulting in a position error if the WorkArea were resized. Now
16238         return the dimensions of the entire WorkArea.
16239
16240         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16241
16242 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * LaTeX.C (deplog): correct the syntax of regex reg1
16245
16246 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * undo.C: remove !NEW_INSETS cruft
16249
16250 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16251
16252         * text2.C: remove !NEW_INSETS cruft
16253
16254         * text.C: remove !NEW_INSETS cruft
16255
16256         * tabular.C: remove !NEW_INSETS cruft
16257
16258         * spellchecker.C: remove !NEW_INSETS cruft
16259
16260         * lyxtext.h: remove !NEW_INSETS cruft
16261
16262         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16263
16264         * lyxfunc.C: remove !NEW_INSETS cruft
16265
16266         * lyxfind.C: remove !NEW_INSETS cruft
16267
16268         * lyx_cb.C: remove !NEW_INSETS cruft
16269
16270         * figureForm.C: remove  !NEW_INSETS cruft
16271
16272         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16273
16274         * buffer.[Ch]: remove !NEW_INSETS cruft
16275
16276         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16277
16278         * CutAndPaste.C: remove !NEW_INSETS cruft
16279
16280         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16281
16282         * BufferView2.C: remove !NEW_INSETS cruft
16283
16284         * BufferView.h: remove !NEW_INSETS cruft
16285
16286 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16287
16288         * Lsstream.h: include LString.h before the sstream headers to
16289         fix problem with gcc 2.95.3 and lyxstring
16290
16291 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16292
16293         * lyx_main.C: add using directives when needed for C functions
16294         declared in std:: namespace.
16295
16296 2001-04-27  Juergen Vigna  <jug@sad.it>
16297
16298         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16299         (SetHeightOfRow): comment out the update call should not be needed!
16300
16301 2001-04-13  Juergen Vigna  <jug@sad.it>
16302
16303         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16304         (LyXTabular): tried to minimize operator= operations (and realized
16305         hopfully Lars wish).
16306
16307 2001-04-27  Juergen Vigna  <jug@sad.it>
16308
16309         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16310
16311 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16312
16313         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16314
16315         * buffer.C (readInset): hack to make listof algorithm work
16316
16317         * BufferView_pimpl.C: hack to make listof algorithm work
16318
16319 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16320
16321         * LyXAction.C: removed all !NEW_INSETS cruft
16322         (init): moved lfun_item in method
16323
16324         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16325
16326 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16327
16328         * BufferView2.C (theLockingInset): white space.
16329
16330 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * minibuffer.C: include <iostream>
16333
16334         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16335
16336         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16337
16338         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16339
16340         * text.[Ch] (TransposeChars): new method
16341
16342 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * call message directly through LyXView instead of through LyXFunc
16345         * BufferView2.C: adjust
16346         * BufferView_pimpl.C: adjust
16347         * FontLoader.C: adjust
16348         * buffer.C: adjust
16349         * bufferview_funcs.C: adjust
16350         * converter.C: adjust
16351         * figureForm.C: adjust
16352         * importer.C: adjust
16353         * lyx_cb.C: adjust
16354         * lyx_gui_misc.C: adjust
16355         * lyxfunc.C: adjust
16356         * lyxvc.C: adjust
16357         * text2.C: adjust
16358         + more files in subdirs
16359
16360         * lyxparagraph.h (size): move up int file
16361         (GetLayout): ditto
16362
16363         * adjust all uses of Assert to lyx::Assert.
16364
16365         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16366         lyxfunctional in namespace lyx
16367         * layout.C (hasLayout): ditto
16368         (GetLayout): ditto
16369         (GetLayout): ditto
16370         (delete_layout): ditto
16371         (NumberOfClass): ditto
16372         * converter.C (GetFormat): ditto
16373         (GetNumber): ditto
16374         (Add): ditto
16375         (Delete): ditto
16376         (SetViewer): ditto
16377         * bufferlist.C (getFileNames): ditto
16378         (emergencyWriteAll): ditto
16379         (exists): ditto
16380         (getBuffer): ditto
16381         * MenuBackend.C (hasSubmenu): ditto
16382         (hasMenu): ditto
16383         (getMenu): ditto
16384         * BufferView_pimpl.C (getInsetByCode): ditto
16385
16386 2001-04-18  Juergen Vigna  <jug@sad.it>
16387
16388         * vspace.C (asLatexString): fixed the 100% problem.
16389
16390 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * lyxfunc.C (Dispatch):
16393         * minibuffer.C:
16394         * minibuffer.h: add a few std:: qualifiers
16395
16396 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * minibuffer.[Ch]: reimplement so that commands is initiated and
16399         run from lyxfunc, simplified som handling, and made the completion
16400         and history code for complete. wip.
16401
16402         * lyxfunc.C (processKeySym): call message
16403         (miniDispatch): new temporary method
16404         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16405         (LFUN_MESSAGE): implement
16406         (LFUN_MESSAGE_PUSH): implement
16407         (LFUN_MESSAGE_POP): implement
16408         (initMiniBuffer): the initial/defualt minibuffer message.
16409
16410         * lyxfont.[Ch]: inline some more getters
16411
16412         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16413
16414         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16415
16416         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16417         (AutoSave): use LFUN_MESSAGE
16418         (Reconfigure): ditto
16419
16420         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16421
16422         * figureForm.C: use LFUN_MESSAGE
16423
16424         * converter.C (runLaTeX): use LFUN_MESSAGE
16425
16426         * bufferview_funcs.C: use LFUN_MESSAGE
16427         (Melt): ditto
16428         (changeDepth): ditto
16429
16430         * bufferparams.h: use boost::
16431
16432         * bufferlist.h: inherit privately from noncopyable
16433
16434         * bufferlist.C (loadLyXFile): remove some commented code.
16435
16436         * buffer.C (runChktex): use LFUN_MESSAGE
16437
16438         * ShareContainer.h: inherit privately from noncopyable
16439
16440         * ParagraphParameters.[hC] (depth): inline it.
16441
16442         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16443         methods.
16444         (message): new method
16445         (messagePush): ditto
16446         (messagePop): ditto
16447         (show): init minibuffer
16448         (showState): direct call
16449
16450         * LaTeX.[Ch]: inherit privately from noncopyable
16451         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16452         instead of WriteStatus.
16453
16454         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16455
16456         * BufferView_pimpl.C (buffer): don't init minibuffer
16457         (workAreaButtonPress): use LFUN_MESSAGE
16458         (workAreaButtonRelease): ditto
16459         (savePosition): ditto
16460         (restorePosition): ditto
16461         (MenuInsertLyXFile): ditto
16462         (workAreaExpose): don't init minibuffer
16463         (update): remove commented code, simplify
16464
16465         * BufferView2.C (openStuff): use LFUN_MESSAGE
16466         (toggleFloat): ditto
16467         (menuUndo): ditto
16468         (menuRedo): ditto
16469         (copyEnvironment): ditto
16470         (pasteEnvironment): ditto
16471         (copy): ditto
16472         (cut): ditto
16473         (paste): ditto
16474         (gotoInset): ditto
16475         (updateInset): remove some commented code
16476
16477         * lastfiles.h: inherit privately from noncopyable
16478         * layout.h: ditto
16479         * lyx_gui.h: ditto
16480         * lyx_main.h: ditto
16481         * lyxlex.h: ditto
16482         * lyxlex_pimpl.h: ditto
16483
16484         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16485         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16486         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16487
16488         * LyXAction.h: inherit privately from noncopyable, add methods
16489         func_begin, func_end, returning iterators to the func map.
16490
16491         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16492         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16493         (func_begin): new method
16494         (func_end): new method
16495
16496         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16497         and not)
16498         (copySelection): ditto
16499         (pasteSelection): ditto
16500
16501         * BufferView.C: whitespace change
16502         * BufferView.h: inherit privately from noncopyable
16503
16504 2001-04-16  Allan Rae  <rae@lyx.org>
16505
16506         * tabular-old.C (l_getline):
16507         * spellchecker.C (sc_check_word):
16508         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16509         an unrecognised preprocessor directive.  So ensure they're wrapped.
16510
16511 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16512
16513         * src/exporter.C (Export): Give an error message when path to file
16514         contains spaces.
16515
16516 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * LaTeX.C (deplog): Always check that foundfile exists.
16519
16520 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * lyx_main.h:
16523         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16524
16525 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16526
16527         * tabular.[Ch] (getLabelList): implement new method
16528
16529         * minibuffer.h: comment ouf setTiimer
16530
16531         * minibuffer.C (ExecutingCB): constify res
16532         (peek_event): constify s
16533         (Set): constify ntext
16534         (Init): constify nicename
16535
16536         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16537
16538         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16539         (savePosition): use two params to Minibuffer::Set
16540         (restorePosition): ditto
16541
16542 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16543
16544         * lyx_main.C: include language.h
16545
16546         * Makefile.am (lyx_main.o): add language.h
16547
16548 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16549
16550         * exporter.C:
16551         * paragraph.C:
16552         * screen.C:
16553         * tabular.C:
16554         * CutAndPaste.C: include gettext.h
16555
16556         * lyxfont.h: remove old hack with ON and OFF.
16557
16558         * lyxparagraph.h:
16559         * lyxfont.h: do not include language.h...
16560
16561         * BufferView2.C:
16562         * LaTeXFeatures.C:
16563         * Painter.C:
16564         * bufferview_funcs.C:
16565         * font.C:
16566         * lyxfont.C:
16567         * text.C:
16568         * text2.C:
16569         * trans_mgr.C:
16570         * paragraph.C: ... but do it here instead
16571
16572 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16575
16576         * tabular.C: small reformat
16577
16578         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16579         NEW_INSETS version
16580         (GetChar): ditto
16581         (BreakParagraph): ditto
16582         (SetOnlyLayout): ditto
16583         (SetLayout): ditto
16584
16585         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16586         with one arg less.
16587
16588         * lastfiles.C: removed most using decl, add std:: where needed
16589
16590         * buffer.C: ws changes
16591
16592         * MenuBackend.C (class compare_format): put into anon namespace
16593         (expand): constify label, names, action, action2
16594         (expand):
16595
16596         * text.C (SingleWidth): constify font
16597         (IsBoundary): constify rtl2
16598         (GetVisibleRow): constify ww
16599
16600         * LaTeX.C (deplog): constify logfile
16601
16602         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16603         start_x, end_x
16604         (workAreaExpose): constify widthChange, heightChange
16605
16606         * lyxrow.C (par): moved
16607         (height): moved
16608         (next): moved
16609         * lyxrow.h: as inlines here
16610
16611         * lyxfont.h (shape): moved from lyxfont.C
16612         (emph): moved from lyxfont.C
16613
16614         * lyxfont.C (LyXFont): use initialization list for all
16615         constructors
16616         (shape): move to lyxfont.h as inline
16617         (emph): move to lyxfont.h as inline
16618
16619
16620 2001-04-04  Juergen Vigna  <jug@sad.it>
16621
16622         * vspace.C: had to include stdio.h for use of sscanf
16623
16624 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16625
16626         * BufferView.h:
16627         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16628         independent of xforms.
16629
16630 2001-04-02  Juergen Vigna  <jug@sad.it>
16631
16632         * spellchecker.C: fixed namespace placing!
16633
16634 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16635
16636         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16637         the LyXParagraph * is 0.
16638
16639 2001-03-29  Juergen Vigna  <jug@sad.it>
16640
16641         * vspace.C: added support for %, c%, p%, l%.
16642         (stringFromUnit): added helper function.
16643         (asLatexString): changed to give right results for the %-values.
16644
16645         * buffer.C: convert the widthp in a width%.
16646
16647 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16648
16649         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16650         figureForm.[Ch].
16651
16652         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16653         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16654
16655         * lyx_cb.[Ch]: see above.
16656
16657         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16658         form1.[Ch].
16659
16660         * form1.[Ch]:
16661         * lyx.[Ch]: replaced by figure_form.[Ch].
16662
16663         * lyx_gui.C:
16664         * lyx_gui_misc.C:
16665         * lyxfunc.C: changed headers associated with above changes.
16666
16667 2001-03-27  Juergen Vigna  <jug@sad.it>
16668
16669         * BufferView_pimpl.C: set the temporary cursor right!
16670
16671 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16672
16673         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16674
16675 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16676
16677         * LString.h: removed "using std::getline"!
16678
16679         * BufferView_pimpl.C (Dispatch): changes due to changes in
16680         InsetInclude::Params.
16681
16682         * buffer.C (tag_name): removed redundant break statements as they were
16683         producing lots of warnings with my compiler.
16684
16685 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16686
16687         * LString.h: add "using std::getline" when using the real <string>.
16688
16689 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16690
16691         * buffer.C: removed bitset usage.
16692         PAR_TAG moved to an anonymous name space.
16693         (tag_name): new funtion, also in the anonymous namespace.
16694         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16695         (makeDocBookFile): clean code. Completed transition from string arrays
16696         to string vectors.
16697         (SimpleDocBookOnePar): code clean.
16698
16699 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16700
16701         * tabular.C: add some comments.
16702
16703 2001-03-22  Juergen Vigna  <jug@sad.it>
16704
16705         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16706         compatibility read a bit and fixed bug with minipage in different
16707         depth.
16708
16709 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16710
16711         * buffer.C (pop_tag): removed.
16712         (push_tag): removed.
16713         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16714         array replaced with vector. Added support for CDATA sections.
16715         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16716         at any nest level.
16717         (makeDocBookFile): XML conformant declaration of CDATA section,
16718         fixed bug related to <emphasis> in the first paragraph char.
16719         (sgmlOpenTag): exclude empty tags.
16720         (sgmlCloseTag): ditto.
16721
16722         * buffer.h (pop_tag): removed.
16723         (push_tag): removed.
16724
16725 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16726
16727         * language.h (Languages): added size_type and size().
16728
16729 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16730
16731         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16732         response on compability reading of minipages. One probliem is that
16733         the old usage of minipages was «flertydig»
16734
16735         * several files here and in subdirs: don't use static at file
16736         scope use anon namespaces instead.
16737
16738 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16739
16740         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16741         LaTeX output. This is necessary for Literate document
16742         processing.
16743
16744 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16745
16746         * buffer.C: insert hfill when needed.
16747
16748         * tabular.C (l_getline): use string::erase, small whitespace change.
16749
16750         * BufferView_pimpl.C: try the anon namespace.
16751         * WorkArea.C: ditto
16752
16753 2001-03-16  Juergen Vigna  <jug@sad.it>
16754
16755         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16756         otherwise it won't open options-dialogs.
16757
16758         * buffer.C: honor pextraWidth(p) on converting minipages.
16759
16760         * tabular.C (l_getline): changed the functions to strip trailing \r.
16761
16762 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16763
16764         * BufferView_pimpl.C:
16765         * minibuffer..C: added "using SigC::slot" declaration.
16766
16767 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16768
16769         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16770
16771         * text2.C: ditto
16772
16773         * text.C: ditto
16774
16775         * paragraph.C: ditto
16776
16777         * lyxtext.h: NO_PEXTRA
16778
16779         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16780
16781         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16782         * ParameterStruct.h: ditto
16783         * ParagraphParameters.h: ditto
16784         * lyxparagraph.h: ditto
16785
16786 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16787
16788         * buffer.C: add compability for minipage alignment.
16789         (latexParagraphs): remove unwanted pextra check.
16790
16791         * several files: remove CXX_WORKING_NAMESPACES
16792
16793         * buffer.C (pop_tag): tie is in namespace boost
16794
16795         * BufferView.h: noncopyable is in namespace boost
16796         * lyxlex.h: ditto
16797         * lyx_main.h: ditto
16798         * lyx_gui.h: ditto
16799         * layout.h: ditto
16800         * lastfiles.h: ditto
16801         * bufferlist.h: ditto
16802         * ShareContainer.h: ditto
16803         * LyXView.h: ditto
16804         * LyXAction.h: ditto
16805         * LaTeX.h: ditto
16806
16807 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16808
16809         * Merging changes from BRANCH_MVC back into HEAD.
16810
16811         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16812
16813 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16814
16815         * BufferView_pimpl.C: change from intl.C
16816
16817         * combox.h:
16818         * combox.C:
16819         * Makefile.am: move combox.*
16820
16821         * form1.h:
16822         * form1.C:
16823         * lyx_gui.C:
16824         * intl.h:
16825         * intl.C: remove dialog (covered by prefs)
16826
16827 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16828
16829         * lyxfunc.C (Dispatch): removed redundant break statement.
16830
16831 2001-03-14  Juergen Vigna  <jug@sad.it>
16832
16833         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16834
16835 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16836
16837         * buffer.C: add hack to fix compability reading of minipages.
16838
16839 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16840
16841         * buffer.C (getLists): Cleanup.
16842
16843 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16844
16845         * lyxfont.C (update): don't honor toggleall on font size.
16846
16847 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16848
16849         * bmtable.c:
16850         * bmtable.h:
16851         * Makefile.am: moved to frontends/xforms/
16852
16853         * lyx_gui_misc.C:
16854         * lyxfunc.C:
16855         * BufferView_pimpl.C: changes for moved mathpanel
16856
16857 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16858
16859         * gettext.h: fix gettext_init() in --disable-nls
16860
16861 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16862
16863         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16864
16865 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16866
16867         * lyx.C:
16868         * lyx.h: strip external form
16869
16870 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16871
16872         * BufferView_pimpl.C: add comment, destroySplash()
16873
16874 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16875
16876         * BufferView_pimpl.C:
16877         * LyXAction.C:
16878         * buffer.C:
16879         * commandtags.h:
16880         * lyxfunc.C: use re-worked insetinclude
16881
16882 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16883
16884         * buffer.C: add using std::stringstream.
16885
16886         * lyx_cb.C: readd using std::ios.
16887
16888         * buffer.C: add using std::map.
16889
16890         * BufferView_pimpl.C: add using std::vector.
16891
16892         * ShareContainer.h: add std:: to swap.
16893
16894         * buffer.h: add some typedefs
16895         * buffer.C (getLists): use them
16896         (getLists): renamed from getTocList.
16897         add a counter for the different float types and use it in the
16898         generated string.
16899         (getLists): use the same counter for the NEW_INSETS and the "non"
16900         NEW_INSETS
16901
16902         * lyx_cb.h: remove unused items, includes, using etc.
16903
16904         * ShareContainer.h: remove some commented code, add more comments
16905         and "documentation".
16906
16907 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16908
16909         * buffer.C (getTocList): make the list also when NEW_INSETS is
16910         defined.
16911
16912         * buffer.h: remove TocType
16913
16914         * buffer.C (getTocList): change to return a map<string,
16915         vector<TocItem> >, implement for dynamic number of list.
16916
16917         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16918         * text2.C (PasteSelection): adjust
16919         * CutAndPaste.C (pasteSelection): adjust
16920
16921         * FloatList.C (FloatList): update from the new_insets branch.
16922         * Floating.[Ch]: ditto
16923         * LaTeXFeatures.C: ditto
16924         * buffer.C: ditto
16925         * lyxlex_pimpl.C: ditto
16926
16927         * paragraph.C (Last): remove when NEW_INSETS is defined.
16928
16929         * other file: changes because of the above.
16930
16931 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16932
16933         * lyxparagraph.h: rename next to next_, previous to previous_,
16934         make them private for NEW_INSETS. Rename Next() to next(),
16935         Previous() to previous().
16936
16937         * other files: changes because of the above.
16938
16939 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16940
16941         * BufferView.h:
16942         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16943         problem.
16944
16945 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * main.C (main): pass lyx_localedir to gettext_init().
16948
16949         * gettext.h: remove locale_init and gettext_init macros
16950
16951         * gettext.C (locale_init): new function
16952         (gettext_init): new function
16953
16954         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16955         setlocale().
16956
16957 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16958
16959         * Moved credits to frontends:
16960         * credits.[Ch]: removed
16961         * credits_form.[Ch]: removed
16962         * lyx_gui_misc.C: remove credits stuff
16963         * Makefile.am:
16964
16965 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16966
16967         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16968
16969         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16970         unneeded destructor.
16971
16972         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16973         a standalone pointer again.
16974
16975         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16976
16977 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16978
16979         * Makefile.am:
16980         * filedlg.h:
16981         * filedlg.C:
16982         * LyXAction.C:
16983         * ToolbarDefaults.C:
16984         * bufferlist.C:
16985         * commandtags.h:
16986         * form1.C:
16987         * form1.h:
16988         * lyx_cb.C:
16989         * lyx_cb.h:
16990         * lyxfunc.h:
16991         * lyxfunc.C:
16992         * BufferView_pimpl.C: use new file dialog in GUII
16993
16994         * lyx_cb.h:
16995         * lyx_cb.C: remove LayoutsCB to Toolbar
16996
16997 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16998
16999         * ShareContainer.h (get): add std:: qualifier
17000
17001 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17002
17003         * ShareContainer.h: define a proper ShareContainer::value_type
17004         type (and use typename to please compaq cxx)
17005
17006 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17007
17008         * lyxparagraph.h: move serveral local vars to
17009         ParameterStruct/ParagraphParameters., use ShareContainer in
17010         FontTable., make vars in FontTable private and add getter and
17011         setter.
17012
17013         * paragraph.C: changes because of the above.
17014
17015         * lyxfont.h: remove copy constructor and copy assignment. (the
17016         default ones is ok), move number inside FontBits. move inlines to
17017         lyxfont.C
17018
17019         * lyxfont.C: add number to initializaton of statics, move several
17020         inlines here. constify several local vars. some whitespace
17021         cleanup. Dont hide outerscope variables.
17022
17023         * Spacing.h: add two new constructors to match the set methods.
17024
17025         * ShareContainer.h: new file, will perhaps be moved to support
17026
17027         * ParameterStruct.h: new file
17028
17029         * ParagraphParameters.h: new file
17030
17031         * ParagraphParameters.C: new file
17032
17033         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17034         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17035
17036         * BufferView_pimpl.C: ParagraphParameter changes.
17037         * buffer.C: Likewise.
17038         * bufferview_funcs.C: Likewise.
17039         * text.C: Likewise.
17040         * text2.C: Likewise.
17041
17042 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * lyxfind.C (LyXReplace): do not redefine default argument in
17045         implementation.
17046         (IsStringInText): ditto
17047         (SearchForward): ditto
17048         (SearchBackward): ditto
17049
17050 2001-03-06  Juergen Vigna  <jug@sad.it>
17051
17052         * lyxfind.C (IsStringInText): put parentes around expressions.
17053
17054 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17055
17056         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17057
17058 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17059
17060         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17061
17062         * stl_string_fwd.h: add comment
17063
17064         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17065
17066         * tabular.h:
17067         * tabular.C: remove unused DocBook methods
17068
17069         * intl.C:
17070         * language.C:
17071         * paragraph.C:
17072         * buffer.C:
17073         killed DO_USE_DEFAULT_LANGUAGE
17074
17075 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17076
17077         * lyx_gui.C: do not include language.h.
17078
17079         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17080         arguments in function implementation.
17081
17082 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17083
17084         * BufferView_pimpl.C: add <ctime>
17085
17086 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17087
17088         * BufferView_pimpl.C: add using std::find_if
17089
17090 2001-02-27  José Matos  <jamatos@fep.up.pt>
17091
17092         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17093         by OnlyPath.
17094
17095 2001-02-11  José Matos  <jamatos@fep.up.pt>
17096
17097         * buffer.C (makeDocBookFile): command styles now have a parameter as
17098         "title" by default.
17099
17100 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17101
17102         * layout_forms.[Ch]: removed
17103         * lyx_cb.[Ch]: out character
17104         * lyx_gui.C: out character
17105         * lyx_gui_misc.C: out character
17106         * bufferview_funcs.C: : out character,
17107         added toggleall as parameter in ToggleAndShow
17108
17109 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17110
17111         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17112
17113         * text2.C (SetCurrentFont): Disable number property at boundary.
17114
17115 2001-02-26  Juergen Vigna  <jug@sad.it>
17116
17117         * lyxfunc.C (getStatus): added a string argument override function so
17118         that this is correctly called from LyXFunc::Dispatch if it contains a
17119         do_not_use_argument which is used!
17120         (Dispatch): added check for "custom" export and call appropriate func.
17121
17122 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17123
17124         * lyxrc.C: Add language_command_local, language_use_babel and
17125         language_global_options.
17126
17127         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17128
17129         * buffer.C (makeLaTeXFile): Use language_use_babel and
17130         language_global_options.
17131
17132 2001-02-23  Juergen Vigna  <jug@sad.it>
17133
17134         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17135         which works with LyXText and putted it inside BufferView. Here now we
17136         only call for that part the BufferView::Dispatch() function.
17137
17138         * BufferView.C (Dispatch): added.
17139
17140         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17141         functions which needs to use a LyXText over from LyXFunc.
17142         (MenuInsertLyXFile): added
17143         (getInsetByCode): added
17144         (moveCursorUpdate): added
17145         (static TEXT): added
17146
17147 2001-02-22  Juergen Vigna  <jug@sad.it>
17148
17149         * BufferView_pimpl.C (update): call a status update to see if LyXText
17150         needs it.
17151
17152 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17153
17154         * vc-backend.C (revert): implement for CVS
17155         (getLog): implement for CVS
17156
17157 2001-02-20  Juergen Vigna  <jug@sad.it>
17158
17159         * text2.C (ClearSelection): added BufferView param for inset_owner call
17160
17161         * lyxfunc.C (TEXT): added this function and use it instead of
17162         directly owner->view()-text of getLyXText().
17163
17164 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17165
17166         * src/layout_forms.C: out preamble
17167         * src/layout_forms.h: out preamble
17168         * src/lyx_cb.C: out preamble
17169         * src/lyx_cb.h: out preamble
17170         * src/lyx_gui.C: out preamble
17171         * src/lyx_gui_misc.C: out preamble
17172         * src/lyxfunc.C: connect with guii preamble
17173
17174 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17175
17176         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17177
17178 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17179
17180         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17181         whether to run bibtex.
17182
17183 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17184
17185         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17186
17187 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17188
17189         * Makefile.am (lyx_SOURCES): removed bibforms.h
17190
17191         * vspace.h: doxygen
17192
17193         * text.C (GetVisibleRow): make several local vars const
17194
17195         * tabular.C: small cleanup.
17196
17197         * lyxserver.C (callback): use compare instead of strncmp
17198
17199         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17200         inlines to after class or to paragraph.C
17201
17202         * lyxfont.h: remove friend operator!=
17203
17204         * converter.h: move friend bool operator< to non friend and after
17205         class def.
17206
17207         * combox.h: small cleanup
17208
17209         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17210         to inlines after class def.
17211
17212         * buffer.C (pop_tag): use string operations instead of strcmp
17213
17214         * bmtable.c: doxygen, small cleanup
17215
17216         * LaTeX.h: remove friend operator==
17217
17218 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17219
17220         * screen.C:
17221         * lyxrc.[Ch]:
17222         * lyxfunc.C:
17223         * lyxfont.[Ch]:
17224         * lyx_cb.C:
17225         * intl.[Ch]:
17226         * commandtags.h:
17227         * buffer.C:
17228         * WorkArea.[Ch]:
17229         * LyXAction.C:
17230         * BufferView_pimpl.C:
17231         * BufferView.[Ch]: remove cruft
17232
17233 2001-02-14  Juergen Vigna  <jug@sad.it>
17234
17235         * lyxfunc.C: removed #if 0 unused code
17236
17237         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17238
17239         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17240
17241         * text2.C (SetSelection): added a BufferView * parameter
17242
17243 2001-02-13  Juergen Vigna  <jug@sad.it>
17244
17245         * lyxfunc.C (Dispatch): fixed protected blank problem.
17246         * BufferView2.C (protectedBlank): added LyxText * parameter.
17247
17248         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17249         (AppendColumn): same as above for column_info.
17250
17251         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17252         (moveCursorUpdate): use a LyXText param for support of InsetText.
17253
17254         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17255         (tripleClick): ditto
17256
17257         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17258
17259         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17260
17261         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17262
17263         * text2.C (SetSelection): set correct update status if inset_owner
17264         (ToggleFree): ditto
17265
17266 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17267
17268         * tabular.C: remove some commented code.
17269
17270 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17271
17272         * BufferView_pimpl.C: call hideSplash()
17273
17274         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17275
17276         * include_form.h:
17277         * bibforms.h: remove
17278
17279         * lyxfunc.C:
17280         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17281           add LFUN_CHILD_CREATE
17282
17283         * counters.h: fix tiny typo
17284
17285         * lyx_cb.C:
17286         * lyx.h:
17287         * lyx_gui.C:
17288         * lyx.C: move splash to frontends/xforms/
17289
17290         * lyx_gui_misc.C: move Include and Bibform to frontends
17291
17292         * lyxvc.h: clarify comment
17293
17294         * vspace.C: tiny housekeeping
17295
17296 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17297
17298         * text.C (PrepareToPrint): RTL Fix.
17299
17300         * paragraph.C (GetUChar): New method.
17301         (String):  Use GetUChar.
17302
17303         * buffer.C (asciiParagraph): Use GetUChar.
17304
17305 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17306
17307         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17308
17309 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17310
17311         * buffer.h:
17312         * buffer.C: rename to getLogName(), handle
17313           build log / latex log nicely
17314
17315 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17316
17317         * MenuBackend.C:
17318         * MenuBackend.h: remove support for reference menuitem type.
17319
17320 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17321
17322         * BufferView_pimpl.C: housekeeping
17323         * BufferView_pimpl.h:
17324         * LyXView.h:
17325         * Makefile.am:
17326         * Timeout.C:
17327         * Timeout.h:
17328         * minibuffer.h: move Timeout GUI-I
17329
17330 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17331
17332         * lyxrc.C (read): Update converters data-structures.
17333
17334 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17335
17336         * LaTeX.h (operator!=): add operator != for Aux_Info
17337
17338 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17339
17340         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17341
17342         * LaTeXLog.C: deleted, useful code moved to Buffer
17343
17344         * buffer.h:
17345         * buffer.C: new function getLatexLogName()
17346
17347         * lyx_gui_misc.C:
17348         * lyx_gui.C:
17349         * lyxvc.C:
17350         * lyxvc.h:
17351         * lyxfunc.C: use frontends for LaTeX and VC logs
17352
17353 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * LaTeX.h: yet another std:: that Allan forgot.
17356
17357         * Variables.C (set): renamed from isset(), because this clashes
17358         with some HP-UX macros (grr).
17359
17360 2001-02-06  Allan Rae  <rae@lyx.org>
17361
17362         * LaTeX.h: Another bug fix.  Missing std:: this time.
17363
17364 2001-02-04  Allan Rae  <rae@lyx.org>
17365
17366         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17367         floats problem. I've left it commented out because it's not quite
17368         correct.  It should also test that the current object is a table or
17369         figure inset.  But I haven't gotten around to figuring out how to do
17370         that.  I *think* it'll be something like: "table" == inset.type()
17371
17372         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17373         bool.
17374
17375 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17376
17377         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17378         all the citation/databases/styles in the auxilary file.
17379         (run): Rerun latex if there was a babel language error.
17380
17381 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17382
17383         * text.C (Backspace): Preserve the font when changing newline char
17384         with a space.
17385         (BreakParagraph): If the cursor is before a space, delete the space.
17386
17387         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17388
17389 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17390
17391         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17392         new argument (code).
17393         (ChangeCitationsIfUnique): New method.
17394
17395         * paragraph.C (GetPositionOfInset): Handle bibkey.
17396
17397 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * BufferView_pimpl.h: change type of Position::par_pos to
17400         LyXParagraph::size_type.
17401
17402 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17403
17404         * BufferView_pimpl.C (savePosition, restorePosition): Write
17405         messages to minibuffer.
17406
17407 2001-01-28  José Matos  <jamatos@fep.up.pt>
17408
17409         * buffer.C (makeDocBookFile): adds support for document language.
17410         A silly restriction on the name of LatexCommand types where removed.
17411         Added support for CDATA sections, allows to chars unescaped, used
17412         among others in code, to avoid escape < and >.
17413
17414 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17415
17416         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17417         saved positions instrad of a stack. Furthermore, a position is
17418         stored using paragraph id/paragraph position.
17419
17420         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17421         Remove LFUN_REF_BACK.
17422
17423 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17424
17425         * converter.C (dvipdfm_options): New method.
17426
17427 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17428
17429         * vspace.C (isValidLength): Fix for empty input string.
17430
17431 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17432
17433         * LyXAction.C (init): change description of LFUN_FIGURE to
17434         "Insert Graphics"
17435
17436 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17437
17438         * LaTeX.C: add using directive
17439
17440 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17441
17442         * MenuBackend.C (expand): Fix the sorting of the formats.
17443
17444 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17445
17446         * lyx_main.C: tiny error message fix
17447
17448 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17449
17450         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17451         calling fl_initialize(). This fixes the problem with ',' as
17452         decimal separator in text files.
17453
17454 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17455
17456         * trans.C (process): Fix the keymap bug.
17457
17458 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17459
17460         * LaTeX.C (scanAuxFiles): New method. Provides support for
17461         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17462         (scanLogFile) Scan for "run BibTeX" messages.
17463
17464         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17465         OT1 font encoding. Also, load the aecompl package if the ae
17466         package is loaded.
17467
17468         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17469
17470 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17471
17472         * texrow.C (increasePos): turn two error messages into debug
17473         messages.
17474
17475 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17476
17477         * LaTeX.C (scanAux): Handle the \@input macro.
17478         (runBibTeX): Use scanAux().
17479
17480         * language.C (latex_options_): New field.
17481
17482         * LaTeXFeatures.C (getMacros): Add language macros.
17483
17484         * buffer.C (makeLaTeXFile): Small fix.
17485
17486 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17489
17490         * text2.C: add a using directive.
17491
17492 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17493
17494         * BufferView2.C:
17495         * lyx_gui_misc.h:
17496         * lyxfr1.C:
17497         * lyxfunc.C: kill LyXBell.
17498
17499 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * text.C (IsBoundary): Remove the error message
17502
17503         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17504
17505         * lyxrc.C (setDefaults): Correct initialization value for
17506         font_norm_type.
17507
17508 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17509
17510         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17511         gotoError().
17512
17513         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17514         and GotoNextNote().
17515
17516         * src/LyXAction.C: Added reference-next.
17517
17518         * text.C (InsertChar): Use contains instead of strchr.
17519
17520         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17521
17522 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17523
17524         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17525         alignment commands (when needed).
17526
17527         * text.C (InsertChar): Add ':' to number separator chars.