]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2b44c46b547ae71a21eeb33510f6cd50c0ca46c7
[lyx.git] / src / ChangeLog
1 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
4
5 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
8         directory is missing.
9
10 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * text2.C: fixed the fix, extended to other case.
13
14 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * text2.C: fix for cursor up/down stuck in math [bug 1792]
17
18 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * text2.C (cursorUp): get rid of a crash
21         * text.C (x2pos): add an assert
22
23 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * lyxfunc.C (getStatus): fix warning when assertions are disabled
26
27         * text3.C: 
28         * lyxfunc.C: 
29         * dociterator.C: include <boost/current_function.hpp>, which is
30         needed when assertions are disabled.
31
32 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
33
34         * text2.C: fix for stuck cursor when traversing two 
35         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
36
37 2005-02-25  Andreas Vox  <avox@arcor.de>
38
39         * output_docbook.C (makeParagraph): suppress trailing newline
40         after a run of paragraphs
41
42 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
43
44         * paragraph.C: fix for confused change tracker when pasting
45         text that begins with a lineseparator. [bug 1827]
46         (setChange(0, Change::INSERTED);)
47
48         * paragraph_funcs.C: fix for lost changes on triple-paste
49         in change tracking mode [bug 1827] (par.setChange()).
50
51 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * text2.C (updateCounters, setCounter, expandLabel): move to
54         buffer_funcs.
55
56         * buffer_funcs.C (updateCounters): turn into a free standing
57         function and add a buffer parameter. Remove dead code for tracking
58         labelstring change.
59         (setCounter): change into a free-standing function which gets a
60         dociterator as argument. Use this iterator to fix captions in a
61         simple way. When no float is found above the caption, use the
62         labelstring of the caption layout as default.
63
64         * text.C (breakParagraph, backspace): 
65         * text2.C (init, setLayout, changeDepth):
66         * text3.C (dispatch): 
67         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
68         updateCounters.
69
70         * dociterator.C (forwardPar): make it much faster by calling
71         forwardPos() only when really necessary.
72
73         * output_docbook.C (makeCommand): adapt to expandLabel move.
74
75         * cursor.C: remove unused variable
76
77 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
78
79         * paragraph_funcs.C: fix crash when pasting insets in change 
80         tracking mode [bug 1277] (honour change type in moveItem).
81
82 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
83
84         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
85
86 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * BufferView.C (setCursor): change to use a DocIterator.
89         (gotoLabel): use BufferView::setCursor (other part of bug 781).
90         (putSelectionAt): adapt to BufferView::setCursor change.
91
92         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
93         moved here from LyXText and rewritten to use proper cursor
94         methods. Fixes bug 1787, 616 and 835.
95
96         * BufferView_pimpl.C (restorePosition): set the cursor correctly
97         when inside an inset (part of bug 781).
98         (dispatch): adapt to change of BufferView::setCursor.
99         (getStatus, dispatch): handle LFUN_GOTOERROR,
100         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
101
102         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
103         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
104         * text3.C (gotoNextInset, gotoInset): removed.
105
106 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
109
110 2005-02-15  Angus Leeming  <leeming@lyx.org>
111
112         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
113         can be used meaningfully in a comparison.
114
115 2005-02-13  André Pönitz  <poenitz@gmx.net>
116
117         * bufferview_funcs.C (coordOffset): improve cursor drawing
118
119 2005-02-13  André Pönitz  <poenitz@gmx.net>
120
121         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
122         * Cursor.C (dispatch): use fixIfBroken
123         * lyxfunc.C (getStatus): use fixIfBroken
124
125 2005-02-15  Angus Leeming  <leeming@lyx.org>
126
127         * lyx_main.C (error_handler):
128         * lyxfunc.C:
129         * lyxrc.C (setDefaults):
130         s/GetEnv/getEnv/.
131         #include "environment.h".
132
133         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
134
135 2005-02-15  Angus Leeming  <leeming@lyx.org>
136
137         * lyxserver.C (startPipe): squash MSVC warning "local variable
138         'fd' used without having been initialized".
139
140 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
141
142         * BufferView_pimpl.C: revert accidental commit.
143
144 2005-02-14  André Pönitz  <poenitz@gmx.net>
145
146         * dociterator.[Ch]: new member forwardPosNoDescent(),
147         which doesn't enter nested insets.
148         * text2.C (setFont): use forwardPosNoDescent() instead
149         of ForwardPos() (fixes crash on font change).
150
151 2005-02-13  Angus Leeming  <leeming@lyx.org>
152
153         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
154         only if lyxrc.path_prefix is not empty.
155
156 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
157
158         * bufferparams.C (readGraphicsDriver): prevent crash
159
160 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
161
162         * text2.C (setCounter): check for inInset() == 0
163
164 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
167         but use update() to get correct screen display; use convert
168         instead of istringstream. 
169         (getStatus): handle LFUN_GOTO_PARAGRAPH 
170
171         * lyxfunc.C (dispatch, getStatus): do not handle
172         LFUN_GOTO_PARAGRAPH here.
173
174 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * text3.C (dispatch): size() -> depth()
177
178         * text2.C: remove some debug output
179
180         * paragraph.C: ws changes only
181
182         * lyxfunc.C (getStatus): size() -> depth()
183
184         * dociterator.h (clear, push_back, pop_back, internalData,
185         operator[], resize, empty): new functions
186         Make StableDocIterator and operator== be friends. Don't inherit
187         from std::vector use a privat class variable slices_ instead.
188         Modify to fit.
189
190         * dociterator.C: update because of not inheriting from std::vector
191         anymore. Call explictly to slices_ instead. Use depth() instead of
192         size() and top() instead of back()
193
194         * cursor.C: chagne size() -> depth and back() -> top(). Also
195         remove some direct operator[](i) calls in favour of foo[i]
196         (getFont): remove some dead code
197
198         * bufferview_funcs.C (coordOffset): size() -> depth()
199
200         * buffer.C: ws changes only
201
202         * CutAndPaste.C (eraseSelection): back() -> top()
203
204         * BufferView_pimpl.C (selectionRequested): back() -> top()
205
206         * BufferView.C (setCursor): size() -> depth()
207
208 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
209
210         * text3.C (cursorPrevious): return true if depm changed something
211         (cursorNext): ditto
212         (dispatch): rename sl to oldTopSlice, remove moving use the new
213         NoUpdate func attrib instead. Make sure that needsUpdate is set
214         for function that have NoUpdate, but where depm might have changed
215         the buffer anyway.
216
217         * text2.C (cursorLeft): make us return true if depm changed
218         something
219         (cursorRight): ditto
220         (cursorUpParagraph): ditto
221         (curosrDownParagraph): ditto
222         (cursorUp, cursorDown): ditto, make sure to read comments in code
223         (deleteEmptyParagraphMechanism): remove an assert, also return
224         true if just a single char was deleted.
225
226         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
227         cursor that we modify, to avoid modifying an active cursor before
228         we call setCursor. This allows depm to run. Also return true if
229         depm deleted something.
230
231         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
232         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
233         cursorDownParagraph, cursorPrevious and cursorNext, return true if
234         something was changed in the buffer because of them (ie. depm run)
235
236         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
237         debug messages. Make update by default be false. Make sure that
238         the result of update is retained throught several calls down to
239         dispatch.
240
241         * LyXAction.h: add a new func_attrib: NoUpdate
242
243         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
244         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
245         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
246         and LFUN_WORDLEFT
247         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
248
249 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
252         bv_->owner(), bv_->buffer() by direct references to the private
253         members.
254         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
255         (getStatus): isSavedPosition() is in BufferView::Pimpl.
256         (fitCursor): center() is in BufferView::Pimpl.
257         (getStatus, trackChanges, dispatch): no need for a temporary buf
258         variable
259         (fitCursor, workAreaDispatch): use workarea().workheight()
260
261 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
262
263         * CutAndPaste.C (pasteSelectionHelper): fix a crash
264
265 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * buffer.C: format up to 241.
268         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
269         break if pasting into ERT
270         * lyxfunc.C (getStatus): suppress mathpanel and
271         LFUN_DIALOG_SHOW_NEW_INSET in ERT
272
273 2005-02-01  Angus Leeming  <leeming@lyx.org>
274
275         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
276
277 2005-02-01  Angus Leeming  <leeming@lyx.org>
278
279         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
280         calling fs::is_directory().
281
282 2005-01-31  Angus Leeming  <leeming@lyx.org>
283
284         * lyx_main.C (priv_exec): specify explicitly the relative location
285         of the top level build directory when run in-place.
286
287 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
290         LyXText containing the cursor, not the top-level one.
291
292         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
293         true.
294         (insertStringAsLines): rename par to pit; use temporary variable
295         par to hold a Paragraph; do not store par.layout() in a variable,
296         since the pointer may die when breaking paragraphs; pass pars to
297         breakParagraph() instead of Buffer::paragraphs().
298
299 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
300
301         * lyxlex_pimpl.h: #include <fstream>.
302
303         * BufferView.[Ch] (getLyXText): add a const version.
304
305         * BufferView_pimpl.C: add debug aids.
306
307         * RowList_fwd.h:
308         * buffer.h:
309         * lyxrow.h:
310         * paragraph_funcs.h: add commentary explaining what the class does.
311
312
313         * coordcache.[Ch]: add lots of commentary.
314         (startUpdating, doneUpdating): debug aids.
315         (arrays, insets, parPos, getParPos): accessors to private data.
316
317         * cursor_slice.[Ch] (text): add a const version.
318         * dociterator.[Ch] (text, innerText): add const versions.
319
320         * lyxtext.h (breakParagraph): change the keep_layout arg to a
321         bool.
322
323         * paragraph.C (getRow, pos2ros): add asserts.
324
325         * paragraph.h: add commentary. Lots of.
326
327         * paragraph.[Ch] (metrucs, draw): removed.
328
329         * cursor.C:
330         * rowpainter.[Ch]: const-correct changes.
331
332         * text.C: various obvious clean-ups. Removal of ancient cruft.
333         Bug fixes, even.
334
335 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
336
337         * vc-backend.C (find_file): rewrite to use boost.filesystem
338         (scanMaster): ditto
339
340         * main.C (main): set default name check for boost.filesystem to
341         no check
342
343         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
344         (open): ditto
345         (doImport): ditto
346         (actOnUpdatedPrefs): ditto
347
348         * lyx_main.C (init): rewrite to use boost.filesystem
349         (queryUserLyXDir): ditto
350
351         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
352         (getContentsOfAsciiFile): ditto
353
354         * lastfiles.C (readFile): rewrite to use boost.filesystem
355
356         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
357
358         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
359         (loadLyXFile): ditto
360
361         * buffer.C (Buffer): adjust for destroydir
362         (getLogName): rewrite to use boost.filesystem
363         (setFileName): ditto
364         (save): use fs::copy_file (from fs_extras)
365
366         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
367
368         * LaTeX.C (run): rewrite to use boost.filesystem
369         (scanAuxFiles): ditto
370         (handleFoundFile): ditto
371
372 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
373
374         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
375
376         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
377
378 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
379
380         * lyxlayout.[Ch]: change some vars from float to double
381
382         * buffer.C (readFile): make a local var const
383
384         * Several files: use convert<> instead of atoi,strToXXX and friends
385
386 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
387
388         * LaTeXFeatures.[Ch]: Add a static list packages_ that
389         holds the contents of packages.lst. New functions getAvailable
390         and isAvailable to parse and check that list, resp.
391
392         * LyXAction.C:
393         * lfuns.h:
394         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
395
396         * bufferparams.[Ch]: new param output_changes.
397
398         * Buffer.C: increase file format to 240.
399         Use output_changes and isVailable.
400
401         * changes.[Ch]:
402         * paragraph.C:
403         * paragraph_pimpl.C: Use output_changes and isVailable.
404
405 2005-01-23  Angus Leeming  <leeming@lyx.org>
406
407         * output_latex.C: #include "insetbibitem.h", rather than
408         forward declare function bibitemWidest.
409
410 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
411
412         * lyx_main.C (init): make it compile on the Mac.
413
414 2005-01-20  Angus Leeming  <leeming@lyx.org>
415
416         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
417         (setLyXMisc): (char string literal) != (char string literal) is
418         performing a comparison on the addresses. Convert one operand
419         explicitly to string to guarantee expected behaviour.
420         From MSVC warning.
421
422 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
423
424         * buffer.C:
425         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
426
427         * output_plaintext.C: remove unneeded #include gzstream.h.
428
429 2005-01-20  Angus Leeming  <leeming@lyx.org>
430
431         * SpellBase.h: rename some of the elements of the Result enum.
432
433         * aspell_local.h:
434         * ispell.h:
435         * pspell.h:
436         * aspell.C (check):
437         * ispell.C (check):
438         * pspell.C (check): ditto
439
440 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
441
442         * buffer.C: add #include <fstream>.
443
444         * lyx_main.C (init): Compile fix.
445
446         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
447
448 2005-01-20  Angus Leeming  <leeming@lyx.org>
449
450         * mover.h: change commentary to reflect the changed meaning of
451         the $$s placeholder.
452
453 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * output_linuxdoc.C (linuxdocParagraphs): silence warning
456
457         * lyxfind.C (MatchString::operator()): remove bogus semicolon
458
459 2005-01-20  Angus Leeming  <leeming@lyx.org>
460
461         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
462         printing diagnostic data by not dereferecing an iterator past the
463         end.
464
465 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
466
467         * buffer.C (readHeader): use "&&" rather than "and".
468
469         * lyxserver.h (inPipeName, outPipeName): make these const.
470
471 2005-01-19  Angus Leeming  <leeming@lyx.org>
472
473         * lyx_main.C (error_handler, init): protect SIGHUP with
474         #ifdef SIGHUP guards.
475
476 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
479
480 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * text.C (setHeightOfRow): add a margin at the top and bottom of
483         the document (bug 1761)
484
485 2005-01-17  Angus Leeming  <leeming@lyx.org>
486
487         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
488         with "python ". Workaround for a brain-dead Windows.
489
490 2005-01-16  Angus Leeming  <leeming@lyx.org>
491
492         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
493         for MacOSX and Windows to use prependEnvPath.
494         Strip out the hard-coded block to add elements to the PATH for
495         MacOSX and replace it with a call to prependEnvPath using the
496         contents of LyXRC::path_prefix.
497         (queryUserLyXDir): strip out the code to run reconfigure, instead
498         returning a boolean indicating the necessity to do so.
499         (reconfigureUserLyXDir): contains the code to reconfigure the
500         user support directory. Is now called after the various LyXRC data
501         files have been read.
502
503         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
504
505 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
506
507         * converter.[Ch] (convert): take a new parameter try_default. Use
508         a default converter (imagemagick) if try_default is true.
509
510 2005-01-13  Angus Leeming  <leeming@lyx.org>
511
512         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
513         os::cygwin_path_fix.
514         (write): output LyXRC::cygwin_path_fix as necessary.
515
516 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
517
518         * lyxrc.h:
519         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
520
521 2005-01-12  Angus Leeming  <leeming@lyx.org>
522
523         * lyx_main.C (init): set the PATH variable to include the
524         directory containing the LyX binary when running on Mac or Windows.
525
526 2005-01-12  Angus Leeming  <leeming@lyx.org>
527
528         * lyx_main.C (init): remove cruft that purports to set the locale
529         dir. It doesn't and is not needed anyway.
530
531 2005-01-10  Angus Leeming  <leeming@lyx.org>
532
533         * Makefile.am: remove the lyx_main.C special casing.
534
535         * BufferView_pimpl.C:
536         * bufferlist.C:
537         * exporter.C:
538         * lyx_cb.C:
539         * lyx_main.C:
540         * lyxfunc.C:
541         * messages.C: use support/package.h to provide the paths to the
542         various directories used by LyX.
543
544 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
547         layout if pasting into an empty paragraph)
548
549 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * tex-accent.C: add <string>
552
553 2005-01-06  José Matos  <jamatos@lyx.org>
554
555         * ParagraphParameters.C (write): put every parameter in its own line.
556         * paragraph.C (write): reduce number of consecutive empty lines exported.
557         * buffer.C (LYX_FORMAT): increase file format to 239.
558
559 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
560
561         * everywhere: change support/tostr.h -> support/convert.h
562
563         * tabular.C: make all write_attributes templates, tostr -> convert
564
565         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
566         (emptyTag): and -> &&, and fix type for ret from getChar
567         (getFirstWord): fix type for ret from getChar
568         (onlyText): and -> &&
569         (simpleDocBookOnePar): and not -> && !, fix type for ret from
570         getChar
571
572         * toc.C (goTo, action):
573         * text3.C (dispatch):
574         * text.C (currentState):
575         * tex-accent.C (DoAccent):
576         * sgml.C:
577         * lyxrc.C:
578         * lyxfunc.C (menuNew):
579         * lyxfinc.C (replace):
580         * counters.C (laberItem):
581         * bufferview_funcs.C (font2string):
582         * bufferparams.C (writeFile):
583         * buffer.C (readFile):
584         * Spacing.C (set):
585         * MenuBackend.C: tostr -> convert
586
587         * LaTeX.C (runMessage): fix format
588         (scanAuxFiles): tostr -> convert
589
590         * BufferView_pimpl.C (savePosition): fix format
591         (restorePosition): ditto
592         (dispatch): ditto
593
594 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
595
596         * Spacing.[Ch]: New method getValueAsString().
597
598         * Spacing.[Ch]:
599         * bufferparams.C:
600         * ParagraphParameters.C:
601         * lyxlayout.C:
602         * text.C:
603         * text3.C: store/read spacing value as string.
604
605         * rowpainter.C: change float value (spacing_val) to double.
606
607         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
608         broken custom document spacing).
609
610 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
613         namespace, also more use of temp references and const
614
615         * cursor.[Ch] (getStatus): move to lyxfunc.C
616
617         * bufferparams.C: reformat slightly
618
619         * bufferview_funcs.C (font2string): constify arg
620
621         * changes.C:
622         * converter.C:
623         * counters.C:
624         * bufferlist.C:
625         * buffer_funcs.C: (many funcs): constify arg on function
626         definitions, also make more local vars const, also add ASSERTS on
627         pointer args.
628
629         * buffer.C (LYX_FORMAT): put const in correct place
630         (many funcs): constify arg on function definitions, also make
631         more local vars const
632
633         * aspell_local.h: remove "struct" from typdef setup
634
635         * aspell.C (check): make word_ok const
636         (nextMiss): simplify slightly
637         (error): ditto
638
639 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
640
641         * lyxrc.[Ch]: store all float values as strings.
642         use int (not float) for lyxrc.dpi.
643
644 2005-01-04  Angus Leeming  <leeming@lyx.org>
645
646         * lyx_cb.C (Reconfigure):
647         * lyx_main.C (queryUserLyXDir):
648         to run the <system_lyxdir>/configure correctly on Windows, prefix
649         the path to the script with "sh " when generating the string that
650         is passed to system().
651
652 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
653
654         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
655
656 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * lyxlength.C (asLatexString): get rid of setprecision
659
660 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * text2.C (setLayout): remove unused variable endpit.
663         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
664
665         * paragraph.C (onlyText): remove unused variable style.
666
667         * cursor.C (bruteFind): remove unused variables beg and end.
668
669         * Makefile.am (dist_noinset_DATA): not needed anymore
670
671         * cheaders/*: remove.
672
673 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
674
675         * text3.C: fix LFUN_MATH_MODE.
676
677 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * buffer_funcs.C (countWords): new function. Counts words between
680         two iterators.
681
682         * BufferView_pimpl.C (getStatus, dispatch): handle
683         LFUN_WORDS_COUNT.
684
685         * LyXAction.C (init):
686         * lfuns.h: add LFUN_WORDS_COUNT.
687
688 2004-12-19  Angus Leeming  <leeming@lyx.org>
689
690         * buffer.C (save): s/slashify_path/internal_path/.
691
692 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
693
694         * lyxfind.C (findChange): do not search for end of pars, because
695         the change tracker cannot handle this (fixes bug 1719).
696
697 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * paragraph.[Ch] (autoBreakRows): remove
700
701         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
702
703         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
704         avoid using the paragraph one
705
706         * text2.C (LyXText, insertStringAsLines): adjust
707
708 2004-12-16  Angus Leeming  <leeming@lyx.org>
709
710         * bufferlist.C:
711         * lyx_main.C:
712         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
713
714 2004-12-14  Angus Leeming  <leeming@lyx.org>
715
716         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
717
718         * bufferlist.C (emergencyWrite):
719         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
720         GetEnvPath("HOME").
721
722 2004-12-14  Angus Leeming  <leeming@lyx.org>
723
724         * main.C: (main): no longer pass pointers to os::init.
725
726 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
727
728         * undo.C (textUndoOrRedo): simplify logic, fix a crash
729         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
730
731 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
732
733         * lyxfunc.C:
734         * text3.C: remove selection_possible global flag
735
736 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * text2.C (getSelectionSpan): remove
739         (changeDepth, changeDepthAllowed): adjust
740
741 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
742
743         * Makefile.am (BOOST_LIBS): use boost variables
744
745 2004-12-03  José Matos  <jamatos@lyx.org>
746
747         * buffer.C: format up to 238.
748
749 2004-12-03  José Matos  <jamatos@lyx.org>
750
751         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
752
753 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * cursor.C (goUpDown): remove call to idxUpDown2
756
757 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
758
759         * tabular.[Ch]: use size_t-like types for cell, row and column
760         indices
761
762 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * lyxfunc.C (getStatus): do not lose previous information when
765         calling BufferView::getStatus; do not set a default "Command
766         disabled" message at the beginning, but just before returning.
767
768 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
769
770         * cursor.h (getStatus): add better comment from src/cursor.C
771
772 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * text3.C (getStatus): return false when the lfun is not handled
775
776 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * broken_headers.h: remove
779
780         * Makefile.am (lyx_SOURCES): remove broken_headers.h
781
782 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
783
784         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
785         offset_ref accessors
786
787         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
788         top_y_, merge fitcursor with update
789         (updateScrollbar, scrollDocView, fitCursor, center, update): new
790         coord scheme
791         (metrics): introduce
792         (workAreaDispatch): adapt to new coord scheme
793         (redoCurrentBuffer): remove
794
795         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
796
797         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
798         CurStatus enum.
799
800         * coordcache.[Ch]: add paragraph cache and helpers
801
802         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
803         adjust everywhere
804
805         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
806         (targetX, setTargetX): introduce
807
808         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
809         baseline -> ascent, as the rest of lyx
810
811         * lyxtext.h: remove redoParagraphs, updateParPositions,
812         fullRebreak, redoParagraphInternal. move dist to anon namespace in
813         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
814         have ascent/descent (ascent is ascent of first par)
815
816         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
817         step of BufferView
818
819         * paragraph.[Ch]: unify dimension handling with the rest of lyx
820
821         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
822
823         * pariterator.C: fix infinite loop introduced in par->pit renaming
824
825         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
826         in insets and LyXText, draw two off-screen paragraphs using
827         NullPainter, and adapt to new coord scheme
828
829         * text.C:
830         * text2.C:
831         * text3.C: adapt lfun handlers to the new coord scheme, which
832         means: there's only guaranteed coord information for onscreen pars
833         plus one above and one below. This implies that one can do search
834         from y coordinates in the range [-1,workHeight]
835
836 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
837
838         * rename a lot of InsetOld to InsetBase
839
840 2004-11-25  Angus Leeming  <leeming@lyx.org>
841
842         * BufferView_pimpl.C:
843         * lyx_cb.C:
844         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
845
846 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
849         call BufferView::getStatus if LCursor::getStatus did nothing
850         (setStatusMessage, getStatusMessage): removed.
851
852         * FuncStatus.C (message): new methods. Used to provide an error
853         message indicating why a command is disabled.
854         (clear, |=, FuncStatus): update for message.
855
856 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
857
858         * lyxfunc.C (dispatch): always call sendDispatchMessage
859
860 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * BufferView.C:
863         * BufferView_pimpl.C:
864         * CutAndPaste.C:
865         * FontIterator.C:
866         * buffer.C:
867         * cursor.C:
868         * cursor_slice.[Ch]:
869         * dociterator.[Ch]:
870         * lyxfind.C:
871         * paragraph_funcs.C:
872         * pariterator.C:
873         * rowpainter.C:
874         * text.C:
875         * text2.C:
876         * text3.C:
877         * undo.C: par->pit renaming
878
879 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * tabular.C (cellstruct): use initialization, store a shared_ptr
882         to insettext instead of the insettext directly, adjust to fit.
883         (operator=):  new function
884         (swap): new function
885         (rowstruct): use initialization
886         (columnstruct): use initialization
887         (ltType): use initialization
888
889
890         * lyxlength.h (swap): new function
891
892         * LColor.[Ch] (operator=): use the common semantics
893
894 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * lyxfind.C (findNextChange): update the bufferview after setting
897         the selection.
898
899 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
902         number of InsetOptArgs has already been inserted.
903
904         * output_latex.C (latexOptArgInsets): new method. This outputs all
905         the optarg insets, up to the limit defined in the layout file.
906         (optArgInset): removed
907         (TeXOnePar): call latexOptArgInsets; correctly update texrow
908
909 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * paragraph.C (isLetter): remove special spellchecker-related
912         code; return true also for digits
913         (isWord, isKomma): remove
914
915         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
916         * lyxfind.C (MatchString()): use isLetter instead of isWord
917
918 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * pariterator.h (operatir=): comment out un-implemented member
921         function.
922
923         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
924         static cast.
925
926 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * lyxfont.h: include LColor.h to satisfy concept checks.
929
930 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
931
932         * pariterator.h: add typdefs for value_type, difference_type,
933         pointer and reference to satisfy concept checks. Also add default
934         constructor for same reason.
935
936         * pariterator.C (operator++): add post-increment operator to
937         satisfy concept checks.
938
939         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
940         checks.
941
942         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
943
944         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
945         checks. Also rename base_type to BaseType to follow naming
946         standard better.
947
948         * FloatList.h: include Floating.h to satisfy concept checks.
949
950 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         * lyxfunc.C (getStatus): when the origin of the request is menu or
953         toolbar, and the LyXView does not have focus, do as if there was
954         no buffer (bug 1720)
955
956         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
957         FuncRequest to individual entries of LFUN_SEQUENCE
958
959 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
960
961         * output_latex.C (TeXOnePar): override runparams.moving_arg
962         according to the needprotect value of the current paragraph (bug
963         1739)
964
965         * paragraph.C (simpleTeXOnePar): no need to override
966         runparams.moving_args here
967
968 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
969
970         * vspace.C: fix off-by-one-error, related to fix #1682
971
972 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * lengthcommon.C: a more general fix for bug 1682
975
976 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
977
978         * text.C (backspace): fix crash
979
980 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * format.[Ch] (getFormatFromFile): new method
983         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
984
985 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
988
989 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * lyxfunc.C (dispatch): remove the verbose argument
992         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
993         instead
994
995         * kbmap.C (defkey): set the origin of func to KEYBOARD
996
997         * MenuBackend.C (MenuItem):
998         * ToolbarBackend.C (add): set the origin of func to UI
999
1000         * funcrequest.[Ch]: add origin member, which indicates which part
1001         of LyX requests an action
1002
1003 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1004
1005         * converter.C (move): don't lie in the error message
1006         * converter.h (isReachable, move): document
1007
1008 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * buffer.C: remove unused using lyx::support::atoi
1011         * paragraph_funcs.C: ditto
1012
1013 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * bufferlist.C (exists): use bind and equal_to instead of
1016         compare_memfun
1017         (getBuffer): ditto
1018         * lyxtextclasslist.C (NumberOfClass): ditto
1019
1020         * cursor.C (insert): use for_each instead of explicit for loop
1021
1022         * bufferlist.C (getFileNames): use std::transform and
1023         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1024
1025         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1026         for loop
1027
1028         * buffer.C (changeLanguage): use for_each instead of explicit for
1029         loop
1030         (hasParWithID): implement using getParFromID
1031
1032         * LaTeXFeatures.C: ws change only
1033
1034         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1035         to cleanup a bit.
1036
1037         * BufferView_pimpl.C (trackChanges): use for_each instead of
1038         expilicit for loop
1039
1040 2004-11-04  André Pönitz  <poenitz@gmx.net>
1041
1042         * undo.h:
1043         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1044
1045         * dociterator.C (asDocIterator): use hard assert again.
1046
1047 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * lyxlength.C (asLatexString): rewrite so that it does not use
1050         snprintf anymore
1051
1052 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * text3.C (specialChar, dispatch): make sure cursor moves to the
1055         right after inserting an inset
1056
1057 2004-11-02  José Matos  <jamatos@lyx.org>
1058
1059         * output_docbook.C (docbook):
1060         * paragraph.C (getID):
1061         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1062         garantee that the output is always legal.
1063
1064         * tabular.C (docbook):
1065         * outputprams.[Ch]: remove mixed contents.
1066
1067 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1068
1069         * text2.C (setCounter): prevent endless loop
1070
1071 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1072
1073         * exporter.C (copyFile): use the mover instead of support::copy()
1074         * exporter.C (Export): pass format and latex name to copyFile()
1075         * exporter.h (addExternalFile): document
1076         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1077
1078 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1079
1080         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1081
1082 2004-10-30  José Matos  <jamatos@lyx.org>
1083
1084         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1085         text and no inset or font change. This allows to use CDATA
1086         sections just for the whole paragraph.
1087
1088 2004-10-30  José Matos  <jamatos@lyx.org>
1089
1090         * paragraph.C (getFirstWord): remove unused variable.
1091
1092 2004-10-30  José Matos  <jamatos@lyx.org>
1093
1094         * paragraph.C (getFirstWord): the content should always be escaped
1095         there.
1096         (simpleDocBookOnePar):
1097         * output_docbook.C (makeEnvironment): replace reference to CDATA
1098         to style pass_thru.
1099
1100 2004-10-30  José Matos  <jamatos@lyx.org>
1101
1102         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1103
1104 2004-10-30  José Matos  <jamatos@lyx.org>
1105
1106         * output_docbook.C (makeParagraphs):
1107         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1108         standard paragraph has only a given type of content drop the wrapper.
1109
1110 2004-10-29  José Matos  <jamatos@lyx.org>
1111
1112         * output_docbook.C (makeEnvironment):
1113         * sgml.C (openTag):
1114         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1115
1116 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1117
1118         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1119         (cleanID): sanitize any id.
1120
1121 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1122
1123         * buffer.C, lyxlex_pimpl.C:
1124         * lyxlex_pimpl.C (setFile):
1125         s/getExtFromContents/getFormatFromContents/
1126
1127 2004-10-28  José Matos  <jamatos@lyx.org>
1128
1129         * output_docbook.C (makeEnvironment): move id to broadest possible
1130         scope.
1131
1132         * sgml.C (openTag): apply substitution of <> for all attributes.
1133
1134 2004-10-28  José Matos  <jamatos@lyx.org>
1135
1136         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1137         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1138         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1139
1140         * sgml.[Ch]: new version for open and closeTag for paragraph and
1141         for strings. Now they handle the ids of paragraphs.
1142
1143 2004-10-26  Angus Leeming  <leeming@lyx.org>
1144
1145         * Makefile.am: add mover.[Ch].
1146
1147         * converter.C (convert, move): use the new Movers to move external
1148         files to the temp directory.
1149
1150         * lyx_main.C (init): ensure that the global system_movers data
1151         is initialised.
1152
1153         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1154         preferences file.
1155
1156         * mover.[Ch]: new files, defining a Mover as a utility to move an
1157         external file between directories and, if necessary, manipulate this
1158         file using a helper script.
1159
1160 2004-10-25  José Matos  <jamatos@lyx.org>
1161
1162         * output_docbook.C (makeCommand): merge two if's that tested the
1163         same condition.
1164
1165 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * sgml.C (escapeString): fix warning in a better way
1168
1169 2004-10-25  José Matos  <jamatos@lyx.org>
1170
1171         * sgml.C (escapeString): import the require boosts header file for
1172         tie, and avoid a signed unsigned comparison.
1173
1174 2004-10-25  José Matos  <jamatos@lyx.org>
1175
1176         * sgml.h: add #include <string>
1177
1178 2004-10-25  José Matos  <jamatos@lyx.org>
1179
1180         * sgml.[Ch] (escapeString): new function to escape all the string.
1181
1182 2004-10-24  José Matos  <jamatos@lyx.org>
1183
1184         * paragraph.[Ch] (getFirstWord): new function to get the first
1185         word. Useful for description.
1186         (simpleDocBookOnePar): remove depth argument, add another that
1187         says where to start the paragraph.
1188
1189         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1190         use the new functions to fix cleanly the support for descriptions.
1191
1192 2004-10-24  José Matos  <jamatos@lyx.org>
1193
1194         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1195         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1196         * output_linuxdoc.C (linuxdocParagraphs):
1197         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1198         add buffer as argument.
1199
1200 2004-10-24  José Matos  <jamatos@lyx.org>
1201
1202         * output_docbook.C (makeEnvironment, searchEnvironment): place
1203         CDATA inside paragraphs and fix scope for listitems.
1204
1205 2004-10-24  José Matos  <jamatos@lyx.org>
1206
1207         * output_docbook.C: remove using statement for stack.
1208
1209 2004-10-23  José Matos  <jamatos@lyx.org>
1210
1211         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1212         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1213         docbook. The new scheme is recursive and makes use of iterators, the
1214         same as latex export works.
1215         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1216         directly with the paragraph contents. This code was moved up to
1217         output_docbook.C (docbookParagraphs).
1218         * sgml.C (openTag, closeTag): removed unneeded newlines.
1219         (closeEnvTags) removed.
1220
1221 2004-10-23  André Pönitz  <poenitz@gmx.net>
1222
1223         * undo.C (textUndoOrRedo):
1224         * dociterator.C (asDocIterator): work around crash
1225
1226         * cursor.C (getStatus): replace ASSERT by more verbose error message
1227           and manual correction of the problem. Should increase stability
1228           while providing more sensible information.
1229
1230 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1233
1234         * bufferlist.C (previous, next): new methods
1235
1236         * lfuns.h:
1237         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1238
1239 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1240
1241         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1242         entities to preamble.
1243
1244 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1245
1246         * messages.C (Pimpl): strip off translation context information
1247
1248 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1251         the cursor is correct (bug 1694)
1252
1253 2004-10-13  José Matos  <jamatos@lyx.org>
1254
1255         * output_docbook.C (docbookParagraphs): fix closing tags in the
1256         end of the document.
1257
1258 2004-10-09  José Matos  <jamatos@lyx.org>
1259
1260         * buffer.C: format up to 237.
1261         * bufferparams.C (write): use tostr to convert booleans to strings.
1262
1263 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1266
1267 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * LaTeX.C: implement use of babel language in xindy.
1270
1271 2004-10-05  José Matos  <jamatos@lyx.org>
1272
1273         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1274         Add new translators to help reading and writing the lyx file.
1275
1276 2004-10-05  José Matos  <jamatos@lyx.org>
1277
1278         * ParagraphParameters.C (read):
1279         * text.C (readParToken): replace nexToken by more appropriate lex
1280         methods.
1281
1282 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1283
1284         * LaTeX.C (runMakeIndex):
1285         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1286         (usually 'makeindex') configurable.
1287
1288         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1289         with a variable rather than with a number.
1290
1291 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * output_latex.C (TeXOnePar): make sure font setting is the first
1294         thing that gets output (and the last at the end). Should fix bug
1295         1404.
1296
1297 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1298
1299         * pch.h: use proper signal include
1300
1301         * LaTeX.h: Use preferred calling of Boost.Signal
1302         * buffer.h: ditto
1303
1304 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1305
1306         * pch.h: dont include <boost/function/function0.hpp>
1307
1308         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1309
1310         * paragraph_pimpl.h: remove usage of ShareContainer
1311
1312         * paragraph_pimpl.C: remove initialization of ShareContainer.
1313
1314 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         Fix bug #1666
1317
1318         * BufferView.C (putSelectionAt): change the semantics when
1319         backwards == true: now, this just swaps cursor and anchor wrt the
1320         forward case
1321
1322         * BufferView.h (putSelectionAt): add some documentation
1323
1324         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1325         make sure backwardChar is done at least once (to avoid getting
1326         stuck)
1327         (findNextChange): use putSelectionAt in the forward direction
1328         (operator()): use Paragraph::isWord
1329
1330 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1331
1332         * Spacing.C (set): c_str fix
1333
1334 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * lyx_cb.C (Reconfigure): quote the name of configure script in
1337         case it contains spaces
1338
1339 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1340
1341         * client: new dir
1342
1343         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1344         (BOOST_LIBS): use top_buildir when looking for the file
1345
1346 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1347
1348         * pch.h: do not use include boost/format.hpp, multiple symbols
1349                 will result (gcc bug)
1350
1351
1352 2004-08-23  José Matos  <jamatos@lyx.org>
1353
1354         * bufferparams.C (readToken): fix reading of the author field.
1355
1356 2004-08-20  José Matos  <jamatos@lyx.org>
1357
1358         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1359
1360 2004-08-20  José Matos  <jamatos@lyx.org>
1361
1362         * lyxlex.[Ch] (findToken): remove function.
1363
1364         * ParagraphParameters.C (findToken):
1365         * bufferparams.C (findToken): replace call for previous function
1366         with local copy. This local function has one more argument, the
1367         read string argument.
1368
1369 2004-08-16  José Matos  <jamatos@lyx.org>
1370
1371         * ParagraphParameters.C (write):
1372         * Spacing.C (writeFile):
1373         * bufferparams.C (writeLaTeX):
1374         * lyx_cb.C (Reconfigure):
1375         * paragraph.C (write):
1376         * tabular.C (write): remove unnecessary space at end of line.
1377
1378
1379 2004-08-16  José Matos  <jamatos@lyx.org>
1380
1381         * text.C (readParagraph): remove debug message.
1382
1383 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1384
1385         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1386         crash
1387
1388         * output_plaintext.C (asciiParagraph): set depth correctly
1389
1390         * outputparams.h: add member depth
1391
1392         * paragraph_funcs.C (ownerPar): remove.
1393
1394         * text2.C (setCounter): remove first_pit; comment out some
1395         non-working code that uses ownerPar
1396
1397         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1398         uses ownerPar
1399
1400 2004-08-16  José Matos  <jamatos@lyx.org>
1401
1402         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1403         For the same level of importance use the same chanel to report problems.
1404         (read): add code to deal with \begin_body and \end_body.
1405
1406
1407 2004-08-15  José Matos  <jamatos@lyx.org>
1408
1409         * lyxlex.C (getString): fix comment, buffer::readBody is now
1410         buffer:readDocument.
1411
1412         * tex-strings.C (string_papersize): Default -> default,
1413         Custom -> custom, for consistency with other options.
1414
1415 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1416
1417         * pch.h: new file
1418
1419         * Makefile.am: support pch
1420
1421 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * text.C (readParToken): remove the static LyXFont variable and
1424         pass it as a parameter instead. This fixes a nasty bug where an
1425         inset will be inserted with a bad font in some situations
1426         (readParagraph): adapt
1427
1428         * text2.C (setCounter): reduce number of calls to pars_[pit]
1429
1430         * text.C (singleWidth): add an assert, fix a test
1431
1432         * rowpainter.C (paintText): reduce number of calls to singleWidth
1433
1434         * paragraph.C (isHfill):
1435         (isNewline): ws only
1436
1437 2004-08-14  André Pönitz  <poenitz@gmx.net>
1438
1439         * text.C:
1440         * text2.C:
1441         * rowpainter.C:
1442         * lyxtext.h (several functions): use a Paragraph & argument
1443         instead of par_type
1444
1445 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1448
1449         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1450
1451         * text.C (singleWidth): remove useless test
1452
1453 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1454
1455         * tabular.h: remove bogus comments
1456
1457         * tabular.C (getDescentOfRow):
1458         (isPartOfMultiColumn): add assertions
1459
1460         * lyxlength.C (inPixels): remove #warning
1461
1462 2004-08-14  André Pönitz  <poenitz@gmx.net>
1463
1464         * paragraph.h: inline getChar()
1465
1466         * BufferView.h: remove unused declarations
1467
1468 2004-08-14  José Matos  <jamatos@lyx.org>
1469
1470         * Buffer.[Ch] (readDocument): new name for old readBody.
1471         * Buffer.C: new file format, new keywords: \begin_document,
1472         \begin_header, \begin_body, \end_body.
1473
1474         * bufferparams.C (readToken): replace all calls to lex.nextToken
1475         by lex.next(). Do the same to eatLine except where really needed.
1476
1477         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1478         line when writing to the lyx file.
1479
1480         * output_plaintext.C (asciiParagraph): fix Bibliography style
1481         handling.
1482
1483         * text.C (read): fix end of file handling.
1484
1485 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1486
1487         * MenuBackend.C (Menu::operator[]): new method to access
1488         individual menu items
1489         (Menu::hasFunc): new method. search for an item that corresponds
1490         to a given func
1491         (MenuBackend::specialMenu): new method
1492         (MenuBackend::expand): if a special menu has been set, skip
1493         entries whose func() appears in this menu
1494
1495 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1496
1497         * text3.C: use Debug::DEBUG a bit more
1498
1499         * text.C (leftMargin): try to simplify a tiny bit change var x to
1500         l_margin. Dont output the wide margins always.
1501         (rightMargin): no margin in inner texts
1502
1503         * rowpainter.h (nestMargin): new func
1504         (changebarMargin): new func
1505         (rightMargin): new func
1506
1507         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1508         now functions.
1509         (paintLast): ditto
1510
1511         * factory.C (createInset): modify setDrawFrame
1512
1513         * cursor.C: use Debug::DEBUG a bit more
1514
1515 2004-08-14  André Pönitz  <poenitz@gmx.net>
1516
1517         * coordcache.[Ch]:
1518         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1519         cache for all insets in (at least partially) visible (top-level)
1520         paragraphs.
1521
1522         * BufferView_pimpl.C: reset external coord cache before every update.
1523         This means the coord cache only contains valid entries.
1524
1525 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1526
1527         bug 1096
1528         * BufferView_pimpl.C (getInsetByCode): move function out of class
1529         and change in to a template in anon namespace. Also fix to do what
1530         suits us better.
1531
1532 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1533
1534         bug 1305
1535         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1536         of char
1537         (breakParagraph): rename par to par_offset and use a local
1538         reference. Add code to keep the language over a rebreak.
1539         (breakParagraphConservative): rename par to par_offset, use a
1540         local reference
1541         (mergeParagraph): ditto
1542         (outerHook): ditto
1543         (isFirstInSequence): ditto
1544         (outerFont): rename pit to par_offset
1545
1546         * paragraph.C: ws change
1547         * paragraph.h: ditto
1548         * text3.C: ditto
1549         * text.C: ditto
1550
1551 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1554         treatment for ']'
1555
1556         * paragraph.C (simpleTeXOnePar): when we have a \item with
1557         optional argument, enclose the argument with curly brackets (in
1558         case it contains a closing square bracket)
1559
1560         * text2.C (editXY):
1561         * text2.C (editXY):
1562         * text3.C (checkInsetHit): constify
1563
1564 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1567         documents (bug 1629)
1568
1569 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         Fix toggling of collapsable insets with the mouse (bug 1558)
1572
1573         * lyxfunc.C (dispatch): adapt to LCursor changes
1574
1575         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1576         make sure that dispatch is not invoked twice
1577
1578         * cursor.C (needsUpdate): new method
1579         (dispatch): return void
1580         (result): new method, to access the DispatchResult of the cursor.
1581
1582 2004-08-13  José Matos  <jamatos@lyx.org>
1583
1584         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1585
1586 2004-08-13  André Pönitz  <poenitz@gmx.net>
1587
1588         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1589
1590         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1591           multiple cells
1592
1593 2004-08-12  André Pönitz  <poenitz@gmx.net>
1594
1595         * text3.C: take out the 'cursor right' form insertInset and only
1596         do it in those places when it is really needed. Fixes crash on
1597         C-m...
1598
1599 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1602
1603         * BufferView_pimpl.C (setBuffer): initialize the current font of
1604         the underlying LyXText
1605
1606 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1607
1608         * kbsequence.C (print): use UI native formatting for menu
1609         shortcuts
1610
1611         * text.C (insertChar): call Paragraph::insertChar with a font
1612         argument (cosmetic)
1613
1614         * paragraph.C (insertInset, insertChar): the version that takes a
1615         LyXFont argument is now a wrapper around the other one (the
1616         opposite used to be true).
1617
1618         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1619         argument. Font setting is done in Paragraph now.
1620
1621 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1622
1623         * outputparams.h: add new members intitle and lang.
1624
1625         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1626         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1627
1628 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1629
1630         * text3.C (dispatch): remove special handling of button 4 and 5,
1631         it is now taken care of in the frontend code.
1632
1633 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1634
1635         * Spacing.h: add <string> (STLPort compile fix)
1636
1637 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1638
1639         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1640
1641 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1642
1643         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1644         to bool.
1645
1646         * converter.C (showMessage): inherit from unary_function, make
1647         operator() const.
1648
1649         * buffer.C (writeFile): initialize retval
1650
1651         * InsetList.h: rename private variable list to list_
1652         * InsetList.[Ch]: adjust accordingly.
1653
1654 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1655
1656         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1657         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1658         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1659         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1660         * ParagraphParameters.C, LaTeXFeatures.C: replace
1661         "support/std_sstream.h" with <sstream>
1662
1663 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1664
1665         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1666         * lyxsocket.C (LyXServerSocket): ditto
1667         (serverCallback): ditto
1668
1669 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1670
1671         * LaTeXFeatures.C: check release date when loading jurabib.
1672
1673 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1674
1675         * lyxserver.C (startPipe): call register_socket_callback
1676         (endPipe): call unregister_socket_callback
1677
1678 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1679
1680         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1681         (LyXServerSocket): register the callback
1682         (LyXServerSocket): unregister the callback
1683         (fd): delete function
1684         (serverCallback): improve error checking and setup the callbacks.
1685         (dataCallback): change arg to fd.
1686         (writeln): new func (copied fro the client socket) used for server
1687         write to client.
1688         (LyXDataSocket): simplify
1689         (~LyXDataSocket): close ann unregiser callback
1690         (server): delete function
1691         (fd): delete function
1692         (readln): small changes, improve some std::string usage
1693         (writeln): constify a bit
1694
1695 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1698         Qt frontend
1699
1700 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1703         after it has been populated
1704
1705 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * text2.C (insertInset): move cursor when inserting inset.
1708
1709 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * kbmap.C (findbindings): a couple of new methods. returns a
1712         container of kb_sequence objects. The real work is done by the
1713         private recursive version
1714         (printbindings): uses findbindings to print out a bracketed list
1715         of bindings (renamed from findbinding).
1716
1717         * MenuBackend.C (binding): use kb_keymap::findbindings
1718
1719         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1720
1721 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1722
1723         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1724
1725 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1726
1727         * paragraph.C (isWord): return true on insets that report
1728         isLetter().
1729
1730         * text.C (getWord): use Paragraph::isWord to decide what is in a
1731         word and what is not; fix bug 1609.
1732
1733 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1734
1735         * tex-strings.C: add "none" to string_paperpackages[], fixes
1736         off-by-one-error in the paperpackage selection.
1737
1738         * lyxlex.[Ch]:
1739         * tex-strings.[Ch]: char const * string[n]
1740         -> char const * const string[]
1741
1742 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1745         command, return early.
1746
1747 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1748
1749         * debug.h: add DEBUG to enum and fix size of ANY.
1750
1751         * debug.C: add support for Debug::DEBUG
1752         (showTags): cast errorTags.level to unsigned int
1753
1754         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1755         (redoCurrentBuffer): ditto
1756         (updateScrollbar): ditto
1757         * cursor.C (dispatch): ditto
1758         * text2.C (setLayout): ditto
1759         (setFont): ditto
1760         (updateCounters): ditto
1761         (editXY): ditto
1762         (deleteEmptyParagraphMechanism): ditto
1763
1764 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1765
1766         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1767         annotations to cleanup the Makefile slightly.
1768
1769 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1770
1771         * lyxrc.C: do not set user_email to a default value but use empty
1772         instead. The entry used to be translated, which does not work
1773         since at the point where lyxrc is constructed there is no
1774         translation service available
1775
1776         * messages.C (getLocaleDir): remove and use directly
1777         lyx_localedir() instead
1778
1779 2004-06-02  Angus Leeming  <leeming@lyx.org>
1780
1781         Fix crash caused by dereferencing null pointer 'exportdata' in
1782         OutputParams by creating a new ExportData variable on the heap,
1783         storing it in a boost::shared_ptr.
1784         The crash was triggered when generating an Instant Preview
1785         of an external inset.
1786
1787         * Makefile.am: add outputparams.C
1788
1789         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1790         (c-tor): allocate memory to it.
1791
1792         * exporter.C (c-tor): associated changes.
1793
1794 2004-06-01  Angus Leeming  <leeming@lyx.org>
1795
1796         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1797         contains data before calling isInset(0). (Bug 1513.)
1798
1799 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1800
1801         * exporter.C (checkOverwrite): new method
1802         * exporter.C (copyFile): new method
1803         * exporter.C (Export): copy referenced files to the document dir
1804         * exporter.[Ch]: new class ExportedFile
1805         * exporter.[Ch]: new class ExportData. Contains currently the
1806         names of referenced external files
1807         * outputparams.h: add exportdata member.
1808
1809 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1810
1811         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1812         version.C-tmp
1813
1814 2004-05-19  Angus Leeming  <leeming@lyx.org>
1815
1816         * LaTeXFeatures.C:
1817         * ToolbarBackend.C:
1818         * bufferparams.C:
1819         * lyxfunc.C: small changes due to the introduction of namespace
1820         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1821
1822 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1823
1824         * text3.C (dispatch): supress update when only moving the cursor
1825         * cursor.C (selHandle): remove commented code
1826
1827 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1828
1829         * paragraph.C (startTeXParParams): correct column count
1830         * CutAndPaste.C (pasteSelection): remove const_cast
1831         * output_docbook.C (docbookParagraphs): remove const_cast
1832         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1833         const_cast and return ParagraphList::const_iterator
1834         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1835         * output_plaintext.C (writeFileAscii): remove const_cast
1836         * paragraph.[Ch] (simpleTeXOnePar): make const
1837         * paragraph_funcs.C (outerPar): use const iterators
1838         * paragraph_pimpl.C (validate): use const iterators
1839         * text.C (setHeightOfRow): use const iterators
1840
1841 2004-05-17  Angus Leeming  <leeming@lyx.org>
1842
1843         * lfuns.h:
1844         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1845
1846         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1847         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1848         if the citation engine has changed.
1849
1850 2004-05-14  José Matos  <jamatos@lyx.org>
1851
1852         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1853         if the textclass does not provide it. Have it different for sgml and
1854         xml.
1855         support the language of document.
1856         * output_docbook.C (docbookParagraphs):
1857         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1858         first anchor as the id of the paragraph, remove special case code.
1859         * sgml.C (escapeChar): escape only < & >.
1860
1861 2004-05-14  Angus Leeming  <leeming@lyx.org>
1862
1863         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1864         dependencies on src/frontends/controllers/biblio.h. Define a
1865         CiteEngine_enum wrapper class to enable the enum to be forward
1866         declared.
1867
1868 2004-05-12  Angus Leeming  <leeming@lyx.org>
1869
1870         * buffer.C: up LYX_FORMAT to 234.
1871         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1872         use_numerical_citations with a single biblio::CiteEngine cite_engine
1873         variable.
1874         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1875
1876 2004-05-13  José Matos  <jamatos@lyx.org>
1877
1878         * converter.h:
1879         * converter.C (Converter, readFlags): add xml member.
1880         * outputparams.h: add XML flavor.
1881         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1882
1883 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1884
1885         * lyxfunc.C (dispatch):
1886         (getStatus): fix handling of LFUN_SEQUENCE
1887
1888 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1889
1890         * debug.C (showLevel): do not forget the end-of-line marker
1891
1892 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * kbmap.C (read): do not stop parsing a bind file when an error
1895         occurs (bug 1575)
1896
1897 2004-04-29  Angus Leeming  <leeming@lyx.org>
1898
1899         * cursor.C:
1900         * factory.C:
1901         * pariterator.C:
1902         * text2.C: wrap a bunch of #warning statements
1903         inside #ifdef WITH_WARNINGS blocks.
1904
1905 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1906
1907         * buffer.C: increment format to 233.
1908
1909 2004-04-28  Angus Leeming  <leeming@lyx.org>
1910
1911         * BufferView_pimpl.C:
1912         * lyxfunc.C:
1913         * text3.C:
1914         s/updateToolbar()/updateToolbars()/
1915         s/Toolbar.h/Toolbars.h/
1916
1917 2004-04-28  Angus Leeming  <leeming@lyx.org>
1918
1919         * BufferView.[Ch] (c-tor):
1920         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1921         No longer passes these data to the WorkArea generator.
1922
1923 2004-04-28  Angus Leeming  <leeming@lyx.org>
1924
1925         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1926
1927 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1928
1929         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1930
1931 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * output_latex.C (TeXEnvironment): make sure that there is a line
1934         break before \end{foo} for the last paragraph of a document
1935         (TeXOnePar): if the paragraph is at the end of the document (or
1936         inset) and the language has to be reset, then make sure that the
1937         line break is _before_ the language command, not after (fixes bug
1938         1225); also make sure that the language reset command is the first
1939         thing after the paragraph (to ensure proper nesting of
1940         environments and thus fix bug 1404)
1941
1942 2004-04-21  John Levon  <levon@movementarian.org>
1943
1944         * ToolbarBackend.h:
1945         * ToolbarBackend.C: make "name" be a programmatic name
1946         and a gui_name field.
1947
1948         * lyxfunc.C: display the minibuffer on M-x
1949
1950 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1953         (bug 1526)
1954
1955 2004-04-19  Angus Leeming  <leeming@lyx.org>
1956
1957         * BufferView_pimpl.C (setBuffer): changed preview interface.
1958
1959         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1960         possible values.
1961
1962 2004-04-19  John Levon  <levon@movementarian.org>
1963
1964         * BufferView_pimpl.C:
1965         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1966
1967 2004-04-05  Angus Leeming  <leeming@lyx.org>
1968
1969         * text.C (redoParagraphs): add call to updateCounters(), thereby
1970         fixing the missing "Figure #:" label from the caption of a
1971         figure float.
1972
1973 2004-04-13  Angus Leeming  <leeming@lyx.org>
1974
1975         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1976         cursor is clicked out of an inset.
1977
1978 2004-04-13  Angus Leeming  <leeming@lyx.org>
1979
1980         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1981         than an InsetOld one.
1982
1983 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1984
1985         * format.[Ch]: add editor to Format
1986         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1987         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1988
1989 2004-04-08  André Pönitz  <poenitz@gmx.net>
1990
1991         * metricsinfo.h: remove PainterInfo::width member
1992
1993 2004-04-08  Angus Leeming  <leeming@lyx.org>
1994
1995         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1996         "\providecommand" rather than "\newcommand", thereby preventing
1997         clashes with packages that define "\boldsymbol" themselves.
1998         Eg, beamer.
1999
2000 2004-04-08  Angus Leeming  <leeming@lyx.org>
2001
2002         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2003         thereby squashing an unnecessary warning.
2004
2005 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2006
2007         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2008         setBuffer()
2009
2010 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * BufferView.C (setCursor): call redoParagraph (some insets could
2013         have been opened)
2014         (putSelectionAt): remove the 'double update' trick
2015
2016         * BufferView_pimpl.C (fitCursor): call refreshPar
2017         (workAreaDispatch): remove an uneeded update call
2018         (dispatch): remove some manual update calls
2019
2020         * cursor.[Ch]: remove cached_y_, updatePos
2021         (selHandle): set noUpdate when appropriate
2022
2023         * lyxfunc.C (dispatch): track if we need an update
2024
2025         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2026
2027         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2028         (paintSelection): cheap optimization, do not call cursorX when not
2029         needed
2030         (paintPars): change signature
2031         (refreshPar): add
2032         (paintText): adjust
2033         (paintTextInset): adjust
2034
2035         * text.C: adjust
2036
2037 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * lengthcommon.C: compilation fix: remove explicit array size from
2040         unit_name[] and friends
2041
2042 2004-04-05  Angus Leeming  <leeming@lyx.org>
2043
2044         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2045
2046         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2047         present only for the preferences dialog.
2048         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2049
2050 2004-04-05  Angus Leeming  <leeming@lyx.org>
2051
2052         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2053         to enable the frontends to export changes to lyxrc correctly.
2054
2055         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2056
2057 2004-04-07  André Pönitz  <poenitz@gmx.net>
2058
2059         * cursor.[Ch] (selClear, adjust): remove math
2060
2061         * cursor_slice.C: more agressive assert
2062
2063         * lyxfunc.C:
2064         * BufferView_pimpl.C: rework mouse event dispatch
2065
2066         * dociterator.C:
2067         * paragraph.C:
2068         * text2.C:
2069         * text3.C: adjust
2070
2071 2004-04-05  André Pönitz  <poenitz@gmx.net>
2072
2073         * cursor.[Ch] (valign, halign...): remove unneeded functions
2074
2075 2004-04-05  Angus Leeming  <leeming@lyx.org>
2076
2077         * lyxlength.[Ch] (unit_name et al.): const-correct.
2078
2079 2004-04-05  Angus Leeming  <leeming@lyx.org>
2080
2081         * BufferView_pimpl.C:
2082         * buffer.C:
2083         * counters.C:
2084         * cursor.C:
2085         * lyxfunc.C
2086         * paragraph.C:
2087         * pariterator.C:
2088         * text.C:
2089         * text2.C:
2090         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2091
2092 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2095
2096 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2099         * BufferView_pimpl.[Ch] (getStatus)
2100         * BufferView.[Ch] (getStatus): add
2101         * lyxfunc.C (getStatus): move lfuns handled in
2102         BufferView::dispatch to te function above
2103         * Cursor.C (setSelection): set selection() = true
2104
2105 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2108
2109 2004-03-31  Angus Leeming  <leeming@lyx.org>
2110
2111         * lyxfunc.C (dispatch): Fall through to the generic
2112         Dialogs::show("preamble").
2113
2114 2004-03-31  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyxfunc.C (dispatch): Fall through to the generic
2117         Dialogs::show("spellchecker").
2118
2119 2004-03-31  Angus Leeming  <leeming@lyx.org>
2120
2121         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2122         preferences dialog.
2123
2124 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2125
2126         * BufferView.C
2127         * cursor.[Ch]
2128         * dociterator.[Ch]:
2129         * insetiterator.[Ch]:
2130         * lyxfind.C:
2131         * lyxfunc.C:
2132         * pariterator.[Ch]:
2133         * text2.C:
2134         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2135
2136 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2139         insets where we are putting the cursor.
2140
2141 2004-03-31  Angus Leeming  <leeming@lyx.org>
2142
2143         * lfuns.h:
2144         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2145
2146         * lyxrc.[Ch] (read, write): overloaded member functions taking
2147         a std::[io]stream arguments.
2148
2149         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2150
2151 2004-03-31  Angus Leeming  <leeming@lyx.org>
2152
2153         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2154         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2155
2156         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2157         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2158
2159 2004-03-31  Angus Leeming  <leeming@lyx.org>
2160
2161         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2162         the LFUN_ALL_INSETS_TOGGLE code.
2163
2164 2004-03-30  Angus Leeming  <leeming@lyx.org>
2165
2166         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2167         has died. Fall through to the generic Dialogs::show("document").
2168
2169 2004-03-30  Angus Leeming  <leeming@lyx.org>
2170
2171         * lfuns.h:
2172         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2173         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2174
2175         * lyxfunc.C (getStatus, dispatch): define the actions for these
2176         lfuns. Little more than a cut and pste job from ControlDocument.C
2177
2178         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2179
2180 2004-03-30  Angus Leeming  <leeming@lyx.org>
2181
2182         * lfuns.h:
2183         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2184         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2185
2186         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2187         open/closed state of ollapsable insets. Usage:
2188
2189         all-inset-toggle <state> <name>, where
2190         <state> == "open" || "closed" || "toggle" and
2191         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2192
2193         * lyxtext.h, text2.C (toggleInset): removed.
2194
2195         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2196         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2197         now passes LFUN_INSET_TOGGLE to the found inset.
2198
2199         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2200         is now invoked as "all-insets-toggle toggle branch".
2201
2202 2004-03-30  Angus Leeming  <leeming@lyx.org>
2203
2204         * dociterator.C:
2205         * insetiterator.C:
2206         * pariterator.[Ch]: added/corrected header blurb.
2207
2208 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * dociterator.[Ch]: add an inset_ member
2211         (backwardPos): implemented
2212         (backwardPos, forwardPos): use inset_ when the stack is empty.
2213         (doc_iterator_begin, doc_iterator_end): implemented
2214         * pariterator.[Ch]: adjust, add begin, end
2215         * insetiterator.[Ch]: adjust, add begin, end
2216         * cursor.C:
2217         * document.C:
2218         * BufferView.C:
2219         * BufferView_pimpl.C:
2220         * CutAndPaste.C: adjust
2221
2222 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2223
2224         * buffer.C: increment file format to 232.
2225         * LaTeXFeatures.C: add bibtopic package.
2226         * bufferparams.[Ch]: param \use_bibtopic.
2227
2228         * lyxrc.[Ch]: add lyxrc bibtex_command
2229         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2230
2231         * buffer.C: increment file format to 231.
2232
2233 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * dociterator.C: implement forwardPar
2236         * iterators.[Ch]: remove, replaced by
2237         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2238         * BufferView.C:
2239         * BufferView_pimpl.C:
2240         * CutAndPaste.C:
2241         * buffer.C:
2242         * bufferview_funcs.C:
2243         * cursor.C:
2244         * lyxfind.C
2245         * lyxfunc.C
2246         * paragraph_funcs.C
2247         * toc.C:
2248         * Makefile.am: adjust
2249
2250 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * CutAndPaste.C (pasteSelection): fix 2 crashes
2253         (eraseSelection): fix a crash
2254         * paragraph_funcs.C: remove a warning
2255
2256 2004-03-28  Angus Leeming  <leeming@lyx.org>
2257
2258         * lfuns.h:
2259         * LyXAction.C (init): new LFUN_PRINT.
2260
2261         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2262
2263 2004-03-27  Angus Leeming  <leeming@lyx.org>
2264
2265         * lfuns.h:
2266         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2267
2268         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2269
2270 2004-03-27  Angus Leeming  <leeming@lyx.org>
2271
2272         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2273         insetlist always contains non-null pointers to insets.
2274
2275 2004-03-26  Angus Leeming  <leeming@lyx.org>
2276
2277         * src/BufferView_pimpl.C:
2278         * src/CutAndPaste.C:
2279         * src/buffer.C:
2280         * src/iterators.C:
2281         * src/output_plaintext.C:
2282         * src/outputparams.h:
2283         * src/paragraph_funcs.C:
2284         * src/rowpainter.C:
2285         * src/text.C:
2286         * src/text2.C:
2287         * src/frontends/controllers/ControlErrorList.C:
2288         * src/frontends/gtk/FileDialogPrivate.C:
2289         * src/frontends/gtk/GPainter.C:
2290         * src/frontends/gtk/GToolbar.C:
2291         * src/frontends/qt2/QRef.C:
2292         * src/mathed/math_scriptinset.C: squash compiler warnings.
2293
2294 2004-03-26  Angus Leeming  <leeming@lyx.org>
2295
2296         * ispell.C (LaunchIspell::start):
2297         * lyx_cb.C (AutoSaveBuffer::start):
2298         invoke run(DontWait) rather than runNonBlocking().
2299
2300 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2303
2304 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * kbsequence.C (print): adjust
2307
2308         * kbmap.C (printKeySym): rename and change signature
2309         (printKey): use LyXKeySym::print()
2310
2311 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2312
2313         * undo.C: add using std::advance to compile for stlport
2314
2315 2004-03-24  Angus Leeming  <leeming@lyx.org>
2316
2317         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2318         it leads to a crash when no buffer is present.
2319
2320 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2321             Martin Vermeer  <martin.vermeer@hut.fi>
2322
2323         * lyxfunc.C (dispatch):
2324         * bufferparams.C (readToken): use the new LColor::setColor
2325
2326         * LColor.[Ch] (setColor): new version that takes two strings as
2327         argument and creates a new color entry if necessary
2328
2329 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2330
2331         * buffer.C (makeLaTeXFile): if the main latex file that is
2332         processed is usually a subdocument of some master, then pretend
2333         for a while that it is actually the master
2334
2335 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2336
2337         * buffer.C (getLabelList):
2338         (getBibkeyList): use getMasterBuffer()
2339         (getMasterBuffer): new method. Returns the main document in the
2340         case where one is using included documents.
2341
2342 2004-03-25  André Pönitz  <poenitz@gmx.net>
2343
2344         * Makefile.am:
2345         * iterators.[Ch]:
2346         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2347
2348         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2349
2350         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2351         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2352
2353         * ParameterStruct.h: merge with ParagraphParameters
2354
2355         * lyxtext.h: remove LyXText::parOffset() and getPar()
2356
2357         * text3.C: Remove all 'manual' update calls. We do now one per user
2358         interaction which is completely sufficient.
2359
2360         * Bidi.C:
2361         * BufferView.[Ch]:
2362         * BufferView_pimpl.C:
2363         * FontIterator.[Ch]:
2364         * MenuBackend.C:
2365         * ParagraphParameters.[Ch]:
2366         * buffer.C:
2367         * buffer.h:
2368         * bufferlist.C:
2369         * cursor.[Ch]:
2370         * cursor_slice.[Ch]:
2371         * dociterator.[Ch]:
2372         * errorlist.[Ch]:
2373         * factory.C:
2374         * lfuns.h:
2375         * lyxfind.C:
2376         * lyxfunc.C:
2377         * output_docbook.[Ch]:
2378         * output_latex.[Ch]:
2379         * output_linuxdoc.[Ch]:
2380         * output_plaintext.[Ch]:
2381         * paragraph.[Ch]:
2382         * paragraph_funcs.[Ch]:
2383         * paragraph_pimpl.[Ch]:
2384         * rowpainter.C:
2385         * tabular.[Ch]:
2386         * text.C:
2387         * text2.C:
2388         * toc.C:
2389         * undo.[Ch]: adjust
2390
2391         * frontends/controllers/ControlDocument.C:
2392         * frontends/controllers/ControlErrorList.C:
2393         * frontends/controllers/ControlSpellchecker.C:
2394         * insets/inset.C:
2395         * insets/inset.h:
2396         * insets/insetbase.h:
2397         * insets/insetbibitem.C:
2398         * insets/insetbox.C:
2399         * insets/insetbranch.C:
2400         * insets/insetcaption.C:
2401         * insets/insetcharstyle.C:
2402         * insets/insetcharstyle.h:
2403         * insets/insetcollapsable.C:
2404         * insets/insetcollapsable.h:
2405         * insets/insetert.C:
2406         * insets/insetfloat.C:
2407         * insets/insetfoot.C:
2408         * insets/insetmarginal.C:
2409         * insets/insetnote.C:
2410         * insets/insetoptarg.C:
2411         * insets/insettabular.C:
2412         * insets/insettext.C:
2413         * insets/insettext.h:
2414         * insets/insetwrap.C:
2415         * mathed/math_mboxinset.C:
2416         * mathed/math_nestinset.C:
2417         * mathed/math_scriptinset.C:
2418         * mathed/math_scriptinset.h:
2419         * support/types.h:
2420
2421 2004-03-24  Angus Leeming  <leeming@lyx.org>
2422
2423         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2424         deal with any child processes that have finished but are waiting to
2425         communicate this fact to the rest of LyX.
2426
2427 2004-03-24  Angus Leeming  <leeming@lyx.org>
2428
2429         64-bit compile fixes.
2430
2431         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2432         (c-tor): pass lyx::pos_types rather than ints.
2433
2434         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2435         lyx::pos_type.
2436
2437         * text.C (Delete): compile fix.
2438         (getPar): ensure that function declaration is the same as that in
2439         the header file.
2440
2441 2004-03-23  Angus Leeming  <leeming@lyx.org>
2442
2443         * ispell.C (LaunchIspell):
2444         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2445         a boost::shred_ptr rather than a std::auto_ptr.
2446
2447 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2448
2449         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2450         handle LFUN_FILE_INSERT_*
2451
2452         * lyxrc.C (setDefaults, getDescription, output, read):
2453         * lyxrc.h: remove ps_command
2454
2455 2004-03-22  Angus Leeming  <leeming@lyx.org>
2456
2457         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2458         Ensure that error_handler is processed once only and that all data
2459         is saved before attempting to output any warning messages.
2460
2461         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2462
2463 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2464
2465         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2466
2467 2004-03-19  André Pönitz  <poenitz@gmx.net>
2468
2469         * cursor.[Ch] (reset): take main text inset as argument
2470
2471         * BufferView: adjust
2472         * BufferView_pimpl.C: adjust
2473
2474         * paragraph.[Ch]: fix completely broken operator=()
2475
2476 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * LColor.C (getFromLyXName): make sure that the color name is used
2479         as lowercase.
2480
2481 2004-03-17  Angus Leeming  <leeming@lyx.org>
2482
2483         * lfuns.h:
2484         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2485
2486         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2487         dialog and to kill a forked process.
2488
2489 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * text2.C (setCursorFromCoordinates): fix font problem
2492
2493 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2494
2495         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2496         bogus "rebuild cursor" code
2497
2498 2004-03-11  André Pönitz  <poenitz@gmx.net>
2499
2500         * buffer.[Ch]: use InsetText instead of LyXText as container for
2501         the main lyx text.
2502
2503         * dociterator.[Ch]: drop the BufferView * member which is not needed
2504         anymore after the change to buffer.C
2505
2506         * paragraph_funcs.C:
2507         * text.C:
2508         * text2.C:
2509         * BufferView.[Ch]:
2510         * BufferView_pimpl.[Ch]:
2511         * cursor.[Ch]:
2512         * cursor_slice.[Ch]: adjust
2513
2514         * text3.C: fix bug in mathDispatch
2515
2516 2004-03-08  André Pönitz  <poenitz@gmx.net>
2517
2518         * undo.[Ch]: use 'StableDocumentIterator' as base for
2519         the Undo struct.
2520
2521 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2522
2523         * LaTeXFeatures.C:
2524         * bufferparams.[Ch]: add jurabib support and param.
2525
2526         * LaTeX.C: add FIXME/comment.
2527
2528 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2529
2530         * buffer.C: increment file format to 230.
2531
2532 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2533
2534         * cursor.C (dispatch): avoid infinite loops
2535
2536 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2537
2538         * rowpainter.C (paintSelection): fix x coordinates
2539
2540 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2541
2542         * text.C (rowBreakPoint): fix breaking before displayed insets
2543
2544 2004-03-01  André Pönitz  <poenitz@gmx.net>
2545
2546         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2547
2548         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2549
2550         * Makefile.am:
2551         * BufferView.C:
2552         * BufferView_pimpl.C:
2553         * buffer.C:
2554         * lyxfind.C:
2555         * lyxfunc.C:
2556         * text.C:
2557         * text2.C:
2558         * text3.C: adjust
2559
2560 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * lyxtext.h:
2563         * text.C:
2564         * text2.C:
2565         * rowpainter.C:
2566         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2567         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2568
2569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * Bidi.[Ch] (computeTables): const correctness
2572         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2573         fill_hfill, fill_label_hfill and x from Row
2574         * lyxtext.h: prepareToPrint returns a RowMetrics
2575         * rowPainter.C: adjust
2576         * text.C (prepareToPrint): use width, not textWidth. adjust
2577         (redoParagraphInternal, cursorX): adjust
2578         * text2.C (getColumnNearX): adjust
2579         (init): put a default value to the top LyXText::width
2580
2581 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2582
2583         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2584
2585 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * lyxtext.h: add FontIterator class
2588
2589         * text.C (FontIterator, operator*, operator->, operator++): add
2590         (rowBreakPoint, setRowWidth): adjust (fixing a
2591         rebreaking bug)
2592
2593 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2594
2595         * BufferView_pimpl.C (workAreaDispatch): allow also
2596         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2597
2598 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2599
2600         * text.C (rowBreakPoint): fix a bug showing with very large insets
2601
2602 2004-02-25  André Pönitz  <poenitz@gmx.net>
2603
2604         * text3.C:
2605         * cursor.[Ch]: move some mathed specific code to mathed
2606
2607 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2608
2609         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2610         use_tempdir in preferences
2611         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2612         tempfile creation
2613         * lyx_main.C: ensure that tempdir is valid
2614         * lyxlex.h: correct typo
2615         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2616         * paragraph.[Ch] (isMultiLingual): make const
2617         * cursor.[Ch] (openable): make const
2618
2619 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2620
2621         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2622
2623 2004-02-20  André Pönitz  <poenitz@gmx.net>
2624
2625         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2626
2627         * cursor.[Ch]: prepare for localized getStatus()
2628
2629         * lyxtext.h:
2630         * tabular.C:
2631         * text.C:
2632         * text2.C:
2633         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2634
2635 2004-02-20  André Pönitz  <poenitz@gmx.net>
2636
2637         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2638
2639 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * text2.C (setCursorFromCoordinates): switch to absolute coords
2642         (cursorUp): adjust
2643         (cursorDown): adjust
2644         * text3.C (dispatch): adjust
2645
2646 2004-02-16  André Pönitz  <poenitz@gmx.net>
2647
2648         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2649           insets/ChangeLog)
2650
2651         * cursor_slice.[Ch]: remove unneeded acessor function
2652
2653         * lyxtext.h: rename rtl() to isRTL()
2654
2655         * rowpainter.C:
2656         * tabular.C:
2657         * text.C:
2658         * text2.C:
2659         * text3.C: adjust
2660
2661 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * rowpainter.C (paintSelection): coord fix
2664
2665 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2666
2667         * Spacing.C: compile fix
2668
2669 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2670
2671         * cursor.C (dispatch): restore current_ before returning
2672
2673 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2674
2675         * text2.C (cursorUp, cursorDown): fix coords
2676         (moveUp): fix crash
2677
2678 2004-02-12  André Pönitz  <poenitz@gmx.net>
2679
2680         * lyxtext.h:
2681         * text.C:
2682         * text2.C:
2683         * text3.C: add LCursor & parameter to most cursor movement functions
2684           remove usage of LyXText::cursorRow() and cursorPar()
2685
2686         * cursor.[Ch]: add textRow() needed members
2687
2688         * BufferView.C:
2689         * BufferView_pimpl.C:
2690         * paragraph.[Ch]:
2691         * BufferView.C:
2692         * BufferView_pimpl.C: adjust
2693
2694 2004-02-11  André Pönitz  <poenitz@gmx.net>
2695
2696         * lyxfunc.C:
2697         * BufferView.[Ch]:
2698         * BufferView_pimpl.C: shift undo/redo handling
2699
2700         * cursor.[Ch]: fix mathed crash
2701
2702         * lyxfind.C:
2703         * lyxtext.h: move selectionAsText to LCursor
2704
2705         * output_latex.C:
2706         * paragraph.C:
2707         * text.C:
2708         * text2.C:
2709         * text3.C: adjust
2710
2711         * rowpainter.C: fix excessive drawing
2712
2713 2004-02-06  André Pönitz  <poenitz@gmx.net>
2714
2715         * BufferView.[Ch]:
2716         * BufferView_pimpl.[Ch]:
2717         * text3.C: move some text specific LFUN handling
2718
2719 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2720
2721         * text3.C (checkInsetHit): adjust coords
2722         * text2.C (getColumnNearX): adjust coords
2723         (edit): adjust coords
2724         * text.C (getRowNearY): add two asserts
2725
2726 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2727
2728         * converter.C:
2729         * format.C: add using std::distance to compile on gcc 2.95/stlport
2730
2731 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2732
2733         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2734
2735 2004-02-04  André Pönitz  <poenitz@gmx.net>
2736
2737         * BufferView.[Ch] (insertInset):
2738         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2739
2740         * text2.C:
2741         * text3.C: adjust
2742
2743 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2746         on the default clause of the switch
2747         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2748         wasn't catched by LCursor::dispatch
2749
2750 2004-02-03  André Pönitz  <poenitz@gmx.net>
2751
2752         * BufferView.C:
2753         * cursor.[Ch]: some additional asserts
2754
2755         * undo.[Ch]: remove LyXText dependency in interface
2756
2757         * lyxfunc.C: adjust
2758
2759         * lyxtext.h (firstPar, lastPar): remove dead functions
2760
2761         * text.C:
2762         * text2.C:
2763         * text3.C:
2764         * paragraph.[Ch]: adjust
2765
2766 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * lyxfind.C (find): fix argument order in call to ::find
2769
2770 2004-02-02  André Pönitz  <poenitz@gmx.net>
2771
2772         * cursor.[Ch]: remove direct access to anchor
2773
2774         * text.C: remove findText() hack
2775
2776 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * iterators.[Ch] (lockPath): remove in favour of...
2779         * BufferView.[Ch] (setCursor): this addition
2780         * BufferView.C (putSelectionAt): adjust
2781         * undo.C (performUndoOrRedo): adjust
2782         * lyxfunc.C (dispatch): adjust
2783
2784 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2785
2786         * iterators.C (lockPath): add a missing slice
2787         * undo.C (performUndoOrRedo): remove redundant positioning code
2788
2789 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2790
2791         * vc-backend.C (scanMaster): ";" -> ';'
2792
2793 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2794
2795         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2796         std::binary_function
2797
2798         * lyxtextclass.C (compare_name): rename to...
2799         (LayoutNamesEqual): ...this
2800
2801         * lyxlex_pimpl.C (compare_tags): inherit from
2802         std::binary_function, put back into anon namespace
2803
2804         * lyxfind.C (MatchString): inherig from std::binary_function
2805         (findChange): use empty() istead of !size()
2806
2807         * format.C (FormatNamesEqual): new functor
2808         (getFormat): use it
2809         (getNumber): use it
2810         (add): use it
2811         (erase): use it
2812         (setViewer): use it
2813
2814         * converter.C (compare_Converter): rename to...
2815         (ConverterEqual): ...this, and fixup a bit.
2816         (getConverter): use it, and make function const
2817         (getNumber): use it, and make function const
2818         (add): use it
2819         (erase): use it:
2820
2821         * bufferlist.C: add using boost::bind
2822
2823         * MenuBackend.C (MenuNamesEqual): new functor
2824         (hasMenu): use it, and make function const
2825         (hasSubmenu): use nested bind to get rid of compare_memfun.
2826
2827 2004-01-30  André Pönitz  <poenitz@gmx.net>
2828
2829         * BufferView_pimpl.C:
2830         * cursor.C:
2831         * cursor.h:
2832         * cursor_slice.[Ch]:
2833         * lyxfunc.C:
2834         * lyxtext.h:
2835         * paragraph_funcs.C:
2836         * paragraph_funcs.h:
2837         * rowpainter.C:
2838         * text.C:
2839         * text2.C:
2840         * text3.C: move some of the edit(x,y) handling to the insets
2841         some coordinate changes.
2842
2843 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2844
2845         * text.C: add using statements for std::advance and std::distance
2846
2847         * paragraph.C: add using statement for std::distance
2848
2849         * lyxfind.C: add using statement for std::advance
2850
2851         * cursor.C (region): remove std:: from swap
2852         (openable): use nucleus in stead of operator->
2853
2854         * BufferView.C: add using statements for std::distance and std::swap
2855
2856 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2857
2858         * iterators.C: Remove the pimple, move the needed structures to
2859         the header file. Create accessor for the positions stack.
2860         (asPosIterator): remove function
2861
2862         * PosIterator.C (PosIterator): move constructors to top of file
2863         (PosIterator): reimplement the constructor taking a ParIterator in
2864         terms of setFrom.
2865         (setFrom): new function
2866         (operator!=): inline it
2867
2868 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2869
2870         * lyxfind.C (replaceAll): use std::advance
2871
2872         * iterators.h: inherit from std::iterator.
2873
2874         * PosIterator.C (advance, distance): remove
2875         * PosIterator.h: interit from std::iterator.
2876
2877 2004-01-26  André Pönitz  <poenitz@gmx.net>
2878
2879         * BufferView.[Ch]:
2880         * BufferView_pimpl.[Ch]:
2881         * InsetList.[Ch]:
2882         * PosIterator.[Ch]:
2883         * buffer.h:
2884         * bufferview_funcs.C:
2885         * cursor.[Ch]:
2886         * cursor_slice.h:
2887         * factory.[Ch]:
2888         * iterators.[Ch]:
2889         * lyxfind.C:
2890         * lyxfunc.C:
2891         * lyxtext.h:
2892         * output_docbook.C:
2893         * output_latex.C:
2894         * output_linuxdoc.C:
2895         * output_plaintext.C:
2896         * paragraph.[Ch]:
2897         * paragraph_funcs.[Ch]:
2898         * paragraph_pimpl.[Ch]:
2899         * rowpainter.C:
2900         * tabular.C:
2901         * tabular.h:
2902         * text.C:
2903         * text2.C:
2904         * text3.C: more IU:  dumps most of the rest of the mathcursor
2905     implementation into cursor.[Ch]; "globalize" a bit of it.
2906
2907 2004-01-25  Angus Leeming  <leeming@lyx.org>
2908
2909         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2910
2911 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2912
2913         * LaTeXFeatures.h: add nice_ and nice() const
2914         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2915
2916 2004-01-20  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView.[Ch]:
2919         * BufferView_pimpl.C:
2920         * PosIterator.C:
2921         * bufferview_funcs.C:
2922         * cursor.[Ch]:
2923         * cursor_slice.[Ch]:
2924         * factory.C:
2925         * iterators.C:
2926         * lyx_cb.C:
2927         * lyxfind.C:
2928         * lyxfunc.C:
2929         * lyxtext.h:
2930         * rowpainter.C:
2931         * text.C:
2932         * text2.C:
2933         * text3.C:
2934         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2935           LCursor and mathcursor parts to LCursor and InsetBase.
2936
2937 2004-01-15  André Pönitz  <poenitz@gmx.net>
2938
2939         * cursor_slice.[Ch]: add a few covienience functions
2940
2941         * funcrequest.[Ch]: remove BufferView * member
2942
2943         * BufferView_pimpl.C:
2944         * cursor.C:
2945         * factory.[Ch]:
2946         * lyxfind.[Ch]:
2947         * lyxfunc.C:
2948         * lyxtext.h:
2949         * text3.C:
2950         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2951
2952 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2953
2954         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2955         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2956
2957 2004-01-13  André Pönitz  <poenitz@gmx.net>
2958
2959         * textcursor.[Ch]:
2960         * lyxtext.h: hide cursor and selection anchor behind accessor function
2961
2962         * BufferView.C:
2963         * BufferView_pimpl.[Ch]:
2964         * PosIterator.C:
2965         * bufferview_funcs.C:
2966         * cursor.h:
2967         * lyxfind.C:
2968         * lyxfunc.C:
2969         * text.C:
2970         * text2.C:
2971         * text3.C:
2972         * undo.C: adjust
2973
2974         * cursor.h:
2975         * cursor_slice.[Ch]: some integer type changes for inset unification
2976
2977         * lyxcursor.[hC]: remove, it's CursorSlice now.
2978
2979         * Makefile.am:
2980         * BufferView_pimpl.[Ch]:
2981         * bufferview_funcs.C:
2982         * cursor_slice.C:
2983         * lyxtext.h:
2984         * text.C:
2985         * text2.C:
2986         * text3.C:
2987         * textcursor.[Ch]: adjust
2988
2989 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * text2.C (undoSpan): add and use
2992         * text.C (breakParagraph): use undoSpan (fix bug 578)
2993         * lyxtext.h: adjust
2994
2995 2004-01-08  Angus Leeming  <leeming@lyx.org>
2996
2997         * BufferView_pimpl.C (MenuInsertLyXFile):
2998         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2999         * lyxfunc.C (menuNew, open, doImport):
3000         FileFilterList change to the FileDialog open and save functions.
3001
3002 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3003
3004         * ShareContainer.h: make isEqual and isUnique adaptable
3005
3006         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3007
3008 2004-01-07  Angus Leeming  <leeming@lyx.org>
3009
3010         * LyXAction.C:
3011         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3012
3013         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3014
3015         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3016         functions replacing find, replace and replaceAll.
3017
3018         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3019         LFUN_WORDFIND(FORWARD|BACKWARD).
3020
3021 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * text.C (breakParagraph): remove an outdated #warning
3024
3025 2004-01-07  André Pönitz  <poenitz@gmx.net>
3026
3027         * lyxfind.C: somewhat clearer logic
3028
3029         * text.C: prevent crash in cursorX on unitialized row cache
3030
3031 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3032
3033         * lyxcursor.[Ch] (operator>): add
3034         * textcursor.C (selStart, selEnd): use std::min and std::max
3035
3036 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3037
3038         * Chktex.C: include boost/format.hpp
3039
3040 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3041
3042         * InsetList.C: replace functor MathcIt with adaptable functor
3043         InsetTablePosLess
3044         (insetIterator): modify accordingly
3045
3046         * BranchList.h: move the BranchNamesEqual functor here from...
3047         * BranchList.C: ... to here
3048
3049         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3050         SameName and match.
3051         (add): replace a finding loop with std::find_if.
3052
3053 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * output_docbook.C: moving LatexParam functionality into
3056         .layout files
3057
3058 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3059
3060         * buffer.C: increment format to 229.
3061
3062 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3063
3064         * LaTeXFeatures.C:
3065         * lyx_sty.[Ch]: remove minipageindent_def
3066
3067         * LyXAction.C:
3068         * factory.C:
3069         * lfuns.h:
3070         * lyxfunc.C:
3071         * text3.C: remove LFUN_INSET_MINIPAGE
3072
3073 2003-12-28  Angus Leeming  <leeming@lyx.org>
3074
3075         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3076
3077 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * text2.C (setParagraph): fix off-by-one crash
3080
3081 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3082
3083         * output_docbook.C: header stuff for AGU
3084
3085 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3086
3087         * text2.C (redoCursor): remove
3088         * text.C:
3089         * text3.C:
3090         * BufferView_pimpl.C: remove calls to redoCursor and
3091         setCursor(cursor.par(), cursor.pos()) all around
3092
3093 2003-12-15  Angus Leeming  <leeming@lyx.org>
3094
3095         * buffer.C: up the format to 228.
3096
3097 2003-12-15  André Pönitz  <poenitz@gmx.net>
3098
3099         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3100         slices
3101
3102         * Makefile.am:
3103
3104         * BufferView_pimpl.C:
3105         * cursor.[Ch]:
3106         * lyxcursor.[Ch]:
3107         * rowpainter.[Ch]:
3108         * lyxtext.h:
3109         * text.C:
3110         * text2.C:
3111         * text3.C: adjust
3112
3113 2003-12-15  Angus Leeming  <leeming@lyx.org>
3114
3115         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3116         than getFromGUIName to manipulate the color.
3117
3118 2003-12-14  Angus Leeming  <leeming@lyx.org>
3119
3120         * BranchList.[Ch]: minimize the API.
3121         (Branch::getBranch, getColor): now return a 'const &'.
3122         (Branch::setSelected) now returns a bool set to true if the
3123         selection status changes.
3124         (BranchList::clear, size, getColor, setColor, setSelected,
3125         allBranches, allSelected, separator): removed.
3126         (BranchList::find): new functions, returning the Branch with
3127         the given name.
3128         (BranchList::add, remove): return a bool indicating that
3129         the operation was successful.
3130
3131         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3132         new InsetBranch::isBranchSlected member function.
3133
3134         * LColor.[Ch]: mimimize the API.
3135         (fill): renamed as addColor and made private.
3136         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3137         versions of these functions taking a string arg have been removed.
3138
3139         * bufferparams.C (readToken):
3140         * lyxfunc.C (dispatch):
3141         * lyxrc.C (read): changes due to the altered BranchList and
3142         LColor APIs.
3143
3144         * factory.C (createInset, readInset): changes due to altered
3145         InsetBranch c-tor.
3146
3147 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3148
3149         * factory.C:
3150         * lyxfunc.C: remove insetminipage. "minipage-insert"
3151         now produces a frameless minipage box inset.
3152
3153 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * textcursor.[Ch] (selStart,selEnd): add new methods
3156         remove selection::start, end, use LyXCursor::operator<
3157         * lyxcursor.[Ch] (operator<): add
3158         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3159         * BufferView.[Ch] (unsetXSel): add
3160         * text2.C (clearSelection): use unsetXSel,adjust
3161         * text.C: adjust
3162         * text3.C: adjust
3163         * rowpainter.C: adjust
3164         * bufferview_funcs.C (put_selection_at): adjust
3165
3166 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3167
3168         * BufferView_pimpl.C: small coord. correction
3169
3170 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3171
3172         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3173         dragging over the splash screen.
3174
3175 2003-12-11  Angus Leeming  <leeming@lyx.org>
3176
3177         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3178         as it is now handled in LyXText::dispatch.
3179
3180         * text3.C (doInsertInset): remove a level of nesting.
3181
3182 2003-12-11  Angus Leeming  <leeming@lyx.org>
3183
3184         * factory.C (createInset): changes due to the changed interface to
3185         InsetCommandMailer::string2params.
3186
3187 2003-12-10  Angus Leeming  <leeming@lyx.org>
3188
3189         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3190         'dialog-show-new-inset <inset name>'
3191
3192 2003-12-10  Angus Leeming  <leeming@lyx.org>
3193
3194         * buffer.C: up the format to 227.
3195
3196         * factory.C: the box inset is now identified simply by 'Box'.
3197
3198 2003-12-10  Angus Leeming  <leeming@lyx.org>
3199
3200         * buffer.C: up the format to 226.
3201
3202         * factory.C: the note inset is now identified simply by 'Note'.
3203
3204 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3207         when a pit is enough. Standarize a couple of loops.
3208
3209 2003-12-05  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3212         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3213         data to the re-worked "log" dialog.
3214
3215 2003-12-03  André Pönitz  <poenitz@gmx.net>
3216
3217         * PosIterator.C:
3218         * iterators.C:
3219         * lyxtext.h:
3220         * output_latex.C:
3221         * paragraph_funcs.C:
3222         * text.C:
3223         * text2.C: use Inset::getText instead of Inset::getParagraph
3224
3225 2003-12-03  André Pönitz  <poenitz@gmx.net>
3226
3227         * buffer.[Ch]:
3228         * lyxtext.h:
3229         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3230         InsetText::read() as LyXText::read()
3231
3232 2003-12-02  Angus Leeming  <leeming@lyx.org>
3233
3234         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3235         type. Add a comment in the implementation that the function uses
3236         the stream's bad() function rather than fail() as the std::streams
3237         would do.
3238
3239 2003-12-02  André Pönitz  <poenitz@gmx.net>
3240
3241         * lyxlex.[Ch]: make interface more similar to std::stream
3242
3243         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3244
3245 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3246
3247         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3248
3249 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3250
3251         * vspace.[Ch]: remove VSpace::NONE
3252
3253 2003-12-01  André Pönitz  <poenitz@gmx.net>
3254
3255         * buffer.[Ch]:
3256         * lyxtext.h: move ParagraphList member to LyXText
3257         rename LyXText::ownerParagraphs to LyXText::paragraph
3258
3259         * CutAndPaste.C:
3260         * bufferview_funcs.C:
3261         * iterators.[Ch]:
3262         * lyx_cb.C:
3263         * paragraph.C:
3264         * rowpainter.C:
3265         * tabular.C:
3266         * text.C:
3267         * text2.C:
3268         * text3.C: adjust
3269
3270         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3271
3272         * undo.C: fix cursor positioning
3273
3274 2003-12-01  John Levon  <levon@movementarian.org>
3275
3276         * BufferView_pimpl.C: fix a crash on exit with
3277         a buffer open
3278
3279 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3280
3281         * BranchList.C: fix setSelected() method.
3282
3283 2003-11-28  André Pönitz  <poenitz@gmx.net>
3284
3285         * ParagraphParameters.[Ch]:
3286         * ParameterStruct.h: remove space above/below from Paragraph to
3287          InsetVSpace
3288
3289         * BufferView_pimpl.C:
3290         * factory.C:
3291         * lyxfunc.C:
3292         * lyxtext.h:
3293         * output_latex.C:
3294         * paragraph.C:
3295         * paragraph_funcs.C:
3296         * rowpainter.[Ch]:
3297         * text.C:
3298         * text2.C:
3299         * text3.C: adjust
3300
3301 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * factory.C: Syntax change for CharStyles
3304
3305 2003-11-28  André Pönitz  <poenitz@gmx.net>
3306
3307         * BufferView.[Ch]:
3308         * BufferView.[Ch]:
3309         * buffer.[Ch]:
3310         * buffer.[Ch]: move LyXText member
3311
3312 2003-11-28  André Pönitz  <poenitz@gmx.net>
3313
3314         * BufferView.[Ch]: make LyXText * text a private member
3315
3316         * BufferView_pimpl.C:
3317         * cursor.C:
3318         * iterators.C:
3319         * lyx_cb.C:
3320         * lyxfind.C:
3321         * lyxtext.h:
3322         * rowpainter.[Ch]:
3323         * text.C:
3324         * text2.C:
3325         * undo.C: adjust
3326
3327         * output_plaintext.C: cleanup
3328
3329 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3330
3331         * buffer.C:
3332         * lyxtextclass.[Ch]: parametrize SGML document header
3333
3334 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3335
3336         * converter.[Ch]:
3337         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3338         getFlavor().
3339
3340 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * text2.C (setFont): rework using PosIterator (no more recursive)
3343         (setCharFont): no more needed
3344         (setLayout): no more selection cursors fiddling (done by redoCursor)
3345         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3346         destroy remaining ones)
3347
3348 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3351         * lyxtext.h: ditto
3352         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3353         selection cursors
3354         * lyxfunc.C: adjust
3355         * text3.C: adjust + re-allow multi par depth changes
3356         * textcursor.C: simplify a bit
3357
3358 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3359
3360         * src/buffer.C:
3361         * src/lyxlayout.C:
3362         * src/lyxlayout.h:
3363         * src/lyxtext.h:
3364         * src/output_docbook.C:
3365         * src/output_latex.C:
3366         * src/paragraph.C:
3367         * src/paragraph.h:
3368         * src/sgml.C:
3369         * src/sgml.h:
3370         * src/text2.C: Introducing a number of tags parametrizing various
3371         XML formats that we may want to support
3372
3373 2003-11-25  André Pönitz  <poenitz@gmx.net>
3374
3375         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3376
3377         * lyxtext.h (leftMargin/rightMargin): simplify interface
3378
3379         * rowpainter.C:
3380         * text.C:
3381         * text2.C:
3382         * text3.C: adjust
3383
3384 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3385
3386         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3387         master file to any child files. Fixes bug 546.
3388
3389 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3392
3393 2003-11-24  André Pönitz  <poenitz@gmx.net>
3394
3395         * rowpainter.C: simplification
3396
3397         * text2.C (updateCounters): remove call to redoParagraph on
3398         changed labels as this is far too expensive.
3399
3400 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3401
3402         * converter.C (convert): fix a crash: this function gets
3403         called with buffer == 0 from importer code.
3404
3405 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3406
3407         * text3.C (cursorPrevious): make sure that we do not compare
3408         iterators form different containers.
3409         (cursorNext): ditto
3410
3411         * rowpainter.C (paintSelection): make sure that we do not compare
3412         iterators from different containers.
3413
3414         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3415         iterators from different ParagraphList containers.
3416         [NEXT] ditto
3417
3418         * text2.C (LyXText): change order of initialization slightly
3419         (operator=): new function. copy all variables except cache_par_
3420         (moveUp): make sure that we do not compare iterators from
3421         different ParagraphList constainers.
3422         (moveDown): ditto
3423
3424         * text.C (firstPar): new function
3425         (lastPar): new function
3426         (endPar): new function
3427
3428         * lyxtext.h: move things around and group public functions, public
3429         variables, private functions, private variables
3430
3431 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3432
3433         * factory.C: change call to InsetERT constructor to avoid
3434         additional invocation of method status
3435         * text2.C (toggleInset): remove redundant update() call
3436         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3437         instead of a Bufferview pointer
3438
3439 2003-11-21  André Pönitz  <poenitz@gmx.net>
3440
3441         * rowpainter.C: simplification
3442
3443 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * text3.C (dispatch): make possible to extend a word/row selection
3446         with the mouse
3447
3448 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * lyxtext.h: x0_,y0_ -> xo_,yo_
3451         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3452         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3453         * rowpainter.C (paintRows): paint full paragraphs
3454
3455 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3458         screen coordinates)
3459
3460 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * lyxtext.h: add x0_, y0_
3463         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3464         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3465
3466 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3467
3468         * text2.C (setCursorIntern): move the x_target update here *
3469         * text3.C: change some bv() to true/false in calls to
3470         cursorUp/Down/Right/Left
3471         * cursor.C: use helper function.
3472
3473 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3476         * paragraph_funcs.[Ch]: correct comment
3477         * rowpainter.C: do not paint selections away from bv->cursor()
3478         Fix a long standing selection painting bug.
3479         * text3.C: generalize mouse-selection code to LyXTexts other that
3480         top one
3481         * textcursor.C: do not use y coords if we can use par offsets
3482
3483 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3486         cursor position after e.g. inset insert)
3487
3488 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * lyxfind.C (replace): adjust to locking removal + some
3491         code simplification
3492
3493 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3496         of the path
3497
3498 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3499
3500         * lyxlayout.[Ch]:
3501         * output_docbook.C: XML sanitation: new layout
3502         parameters InnerTag and CommandDepth
3503
3504 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3505
3506         * BufferView_pimpl.C:
3507         * factory.C:
3508         * text3.C: Fix the insertion and modification of button-style
3509         insets
3510
3511 2003-11-13  André Pönitz  <poenitz@gmx.net>
3512
3513         * InsetList.[Ch]: remove deleteLyXText
3514
3515         * paragraph.[Ch]: cache beginOfBody position
3516
3517         * Bidi.C:
3518         * text.C:
3519         * text2.C:
3520         * text3.C: remove superfluous update() calls
3521
3522         * vspace.C: cleanup
3523
3524 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3525
3526         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3527         * BufferView.C (fitLockedInsetCursor): remove
3528         * cursor.[Ch] (getDim): add
3529         * text.C (getRowNearY): add faster version
3530         * text3.C: remove some update calls
3531
3532 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3533
3534         * LaTeXFeatures.C:
3535         * LyXAction.C:
3536         * MenuBackend.C:
3537         * MenuBackend.h:
3538         * dispatchresult.h:
3539         * factory.C:
3540         * lfuns.h:
3541         * lyxfunc.C:
3542         * lyxtextclass.C:
3543         * lyxtextclass.h:
3544         * text3.C: The Character Style /XML short element patch.
3545
3546 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3547
3548         * text3.C:
3549         * factory.C: Small step to solving 'unable to insert some insets'
3550         problem
3551
3552 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * cursor.[Ch] (updatePos): new function for updating the y
3555         position of the tip inset
3556         * bufferview_funcs.C (put_selection_at):
3557         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3558
3559 2003-11-11  André Pönitz  <poenitz@gmx.net>
3560
3561         * text.C: remove big comment on invalid Paragraph pointers as it is
3562         not valid anymore
3563
3564 2003-11-11  André Pönitz  <poenitz@gmx.net>
3565
3566         * text_funcs.[Ch]: merge with ...
3567
3568         * text.C: ... this
3569
3570         * lyxtext.h:
3571         * text2.C:
3572         * text3.C: adjust
3573
3574         * Makefile.am: remove text_funcs.[Ch]
3575
3576 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * cursor.C (getPos): return absolute cached y coord
3579
3580         * BufferView_pimpl.C (fitCursor): new simplistic code
3581         (workAreaDispatch): add a fitCursor call
3582
3583 2003-11-10  André Pönitz  <poenitz@gmx.net>
3584
3585         * BufferView.[Ch]:
3586         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3587
3588 2003-11-10  André Pönitz  <poenitz@gmx.net>
3589
3590         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3591         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3592         indicate that the cursor needs to leave an inset
3593
3594         * lyxtext.h: remove inset locking
3595
3596         * cursor.[Ch]: re-implement functionality provided by inset locking
3597
3598         * BufferView.[Ch]:
3599         * BufferView_pimpl.[Ch]:
3600         * LyXAction.C:
3601         * bufferview_funcs.[Ch]:
3602         * factory.C:
3603         * funcrequest.[Ch]:
3604         * iterators.C:
3605         * lyx_cb.C:
3606         * lyxfind.C:
3607         * lyxfunc.C:
3608         * text.C:
3609         * text2.C:
3610         * text3.C:
3611         * undo.C: adjust
3612
3613 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * PosIterator.[Ch]: replace the stack with a vector, add inset
3616         accesor
3617         * iterators.[C]: adjust
3618
3619 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3622         replaced
3623         * paragraph_funcs.C (readParToken): put the correct id in the
3624         error item, not the id of the top paragraph
3625
3626 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3629         * bufferview_funcs.C (put_selection_at): use the above
3630
3631 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3634
3635 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3636
3637         * output_linuxdoc.h:
3638         * output_plaintext.h:
3639         * output.h:
3640         * output_docbook.h: add #include statements
3641
3642 2003-11-05  José Matos  <jamatos@lyx.org>
3643
3644         * output_docbook.[Ch]:
3645         * output_latex.[Ch]:
3646         * output_linuxdoc.[Ch]:
3647         * output_plaintext.[Ch]: New files for output formats.
3648         * output.[Ch]: New file for helper functions.
3649
3650         * buffer.[Ch]:
3651         * paragraph_funcs.[Ch]: output functions moved to new files.
3652
3653         * outputparams.h: rename of latexrunparams.h
3654
3655         * LaTeX.[Ch]:
3656         * buffer.[Ch]:
3657         * bufferlist.[Ch]:
3658         * converter.[Ch]:
3659         * exporter.C:
3660         * paragraph.[Ch]:
3661         * paragraph_funcs.[Ch]:
3662         * paragraph_pimpl.[Ch]:
3663         * tabular.[Ch]: rename ascii to plaintext
3664         and LatexRunParams to OutputParams.
3665
3666 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * iterators.[Ch] (text): require bv argument
3669         * undo.C (recordUndo):
3670         * lyxfunc.C (dispatch):
3671         * bufferview_funcs.C (put_selection_at): adjust
3672
3673 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3674
3675         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3676
3677 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3680         nestings
3681
3682 2003-11-04  André Pönitz  <poenitz@gmx.net>
3683
3684         * cursor.[Ch]: restructure
3685
3686         * BufferView.[Ch]:
3687         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3688
3689         * iterators.[Ch] (asCursor): remove
3690
3691         * lfuns.h: remove LFUN_INSET_EDIT
3692
3693         * lyxfunc.C:
3694         * tabular.C:
3695         * text.C:
3696         * text2.C:
3697         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3698
3699 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * lyxfind.[Ch]: complete overhaul
3702         * BufferView_pimpl.C:
3703         * lyxfunc.C: adjust
3704         * paragraph.[Ch] (insert): add
3705
3706 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * BufferView.[Ch]:
3709         * lyxtext.h:
3710         * text.C: remove dead spellcheck code
3711
3712 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * dispatchresult.h: add a val setter
3715
3716         * cursor.C (dispatch): use a tempvar for data_[i]
3717
3718 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3719
3720         * PosIterator.[Ch]: compile fix
3721
3722 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3723
3724         * text.C (cursorPar): deactivate the cursor cache
3725
3726 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3727
3728         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3729
3730 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * text3.C (dispatch): adjust for new DisptchResult semantics.
3733
3734         * lyxfunc.C (dispatch): handle update when return from
3735         Cursor::dispatch, adjust for new DispatchResult semantics.
3736
3737         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3738         DispatchResult(true) mean to not update. Add class functions for
3739         setting dispatched and update, as well as reading.
3740
3741         * cursor.C (dispatch): don't handle update here
3742
3743 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3746         * trans_mgr.C: adjust
3747
3748         * paragraph_funcs.C (readParToken): exception safety
3749
3750         * lyxvc.h: store the vcs pointer in a scoped_ptr
3751         * lyxvc.C: adjust
3752
3753         * lyxsocket.C (serverCallback): exception safety
3754
3755         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3756
3757         * ispell.C (clone): make it return a auto_ptr
3758
3759         * factory.C (createInset): exception safety
3760         (readInset): exception safety
3761
3762         * bufferlist.C (newBuffer): exception safety
3763
3764         * Thesaurus.C (Thesaurus): use initialization for aik_
3765
3766         * MenuBackend.C (expandToc): exception safety.
3767
3768 2003-11-03  André Pönitz  <poenitz@gmx.net>
3769
3770         * buffer.C:
3771         * buffer.h:
3772         * bufferview_funcs.C: remove getInsetFromId()
3773
3774         * lyxcursor.[Ch]:
3775         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3776
3777         * lyxfunc.C:
3778         * text2.C:
3779         * text3.C: adjust
3780
3781 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3782
3783         * PosIterator.C (distance, advance): new
3784         * bufferview_funcs.[Ch] (put_selection_at): new
3785         * iterators.[Ch] (lockPath): new
3786
3787 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * iterators.[Ch] (asPosIterator): added
3790         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3791         * PosIterator.[Ch]: added
3792
3793 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * text3.C:
3796         * lyxfunc.C:
3797         * cursor.C (dispatch):
3798         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3799
3800         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3801         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3802         contructor, add a class function dispatched. Remove operator>=
3803
3804 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * debug.C: only use the default constructor for debugstream
3807         (lyxerr) here.
3808
3809         * main.C (main): include debug.h and setup the lyxerr streambuf
3810         here.
3811
3812 2003-10-31  José Matos  <jamatos@lyx.org>
3813
3814         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3815
3816         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3817         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3818         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3819         * paragraph_pimpl.C (simpleTeXSpecialC):
3820         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3821         add LatexRunParams argument.
3822
3823         * exporter.C (Export): change call accordingly.
3824
3825         * latexrunparams.h: add new member to take care of the other backends.
3826 2003-10-30  José Matos  <jamatos@lyx.org>
3827
3828         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3829         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3830         factorise code for paragraph output.
3831         * buffer.[Ch]:
3832         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3833         move functions.
3834
3835 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * text3.C (dispatch):
3838         * lyxfunc.C (dispatch):
3839         * cursor.C (dispatch):
3840         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3841
3842         * dispatchresult.h: make the dispatch_result_t ctor explicit
3843
3844 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3845
3846         * sgml.[Ch]:
3847         * buffer.C: small refactoring of docbook stuff
3848
3849 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3852         meaning.
3853
3854 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3857         operator dispatch_result_t, and operators for == != and >=
3858
3859         * cursor.C (dispatch): adjust for operator dispatch_result_t
3860         removal. comment out call to update
3861
3862         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3863
3864 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * text3.C:
3867         * text2.C:
3868         * text.C:
3869         * lyxtext.h:
3870         * lyxfunc.C:
3871         * cursor.C:
3872         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3873         (dispatch):
3874
3875         * dispatchresult.h: new file, DispatchResult broken out of
3876         insets/insetbase.h
3877
3878         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3879
3880 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * text.C (rowBreakPoint): put a hack inside #if 0
3883
3884 2003-10-28  André Pönitz  <poenitz@gmx.net>
3885
3886         * lyxtext.h:
3887         * metricsinfo.C:
3888         * paragraph_funcs.C:
3889         * rowpainter.C:
3890         * text.C:
3891         * text2.C: general cleanup (lots of small stuff)
3892
3893 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * text2.C (cursorEnd): simple fix to the "end key goes to one
3896         before the end on last row" bug
3897
3898 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * text.C (backspace): fix the "zombie characters"
3901
3902 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3903
3904         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3905
3906 2003-10-27  André Pönitz  <poenitz@gmx.net>
3907
3908         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3909
3910         * factory.C: handle new InsetPagebreak, InsetLine
3911
3912         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3913         and move handling into new InsetPagebreak, InsetLine
3914
3915         * BufferView_pimpl.C:
3916         * LyXAction.C:
3917         * ParagraphParameters.C:
3918         * ParameterStruct.h:
3919         * lyxfunc.C:
3920         * lyxtext.h:
3921         * paragraph.C:
3922         * paragraph.h:
3923         * paragraph_funcs.C:
3924         * paragraph_pimpl.C:
3925         * rowpainter.C:
3926         * text.C:
3927         * text2.C:
3928         * text3.C: adjust
3929
3930 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * text.C:
3933         * lyxrow_funcs.[Ch]:
3934         * Bidi.C:
3935         * paragraph.C:
3936         * lyxtext.h:
3937         * rowpainter.C:
3938         * text2.C:
3939         * text3.C: remove lastPos uses in favour of Row::endpos
3940
3941 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * undo.C (performUndoOrRedo): fix two crashes by setting a
3944         cursor by hand and reordering some calls. Use bv->lockInset instead
3945         of inset->edit because the latter loses cursor information
3946
3947 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3950         by Martin
3951         (rowBreakPoint): fix width. change point to point + 1.
3952         Add a missing check.
3953
3954 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3955
3956         * MenuBackend.C:
3957         * lyxfunc.C: fix (at least partly) the problems
3958         with the Nav menu and headers inside branch insets
3959         reported by Kayvan
3960
3961 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * paragraph.C (getChar): add strong asserts
3964
3965         * lyxrow_funcs.C (lastPos): remove hideous hack
3966
3967         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3968         (fill): adjust to that (avoid an infinite loop)
3969
3970 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3973
3974 2003-10-23  André Pönitz  <poenitz@gmx.net>
3975
3976         * RowList_fwd.h: change list<> to vector<> to gain speed
3977         after suggestion from Alfredo
3978
3979 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * lyxtext.h: move the bidi stuff from here...
3982         * text.C: and here
3983         * text2.C: and here
3984         * Bidi.[Ch]: ... to here
3985
3986 2003-10-23  André Pönitz  <poenitz@gmx.net>
3987
3988         * lyxtext.h:
3989         * text.C (isLastRow, isFirstRow): new functions
3990
3991         * paragraph.h: new width cache member
3992
3993         * rowpainter.C: replace RowList::iterator with Row & where possible
3994
3995         * lyxfunc.C: replace several view()->text with a single call
3996
3997         * toc.C: fix 'unused' warning
3998
3999 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4002         when woring with stream::pos_type
4003         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4004
4005 2003-10-22  André Pönitz  <poenitz@gmx.net>
4006
4007         * lyxtext.h:
4008         * text.C: use Row & instead of RowList::iterator
4009
4010         * lyxrow.h: rename end() to endpos()
4011
4012         * rowpainter.C:
4013         * text.C:
4014         * text2.C: adjust
4015
4016 2003-10-22  Angus Leeming  <leeming@lyx.org>
4017
4018         * buffer.[Ch] (fully_loaded): new member function, returning true
4019         only when the file has been loaded fully.
4020         Used to prevent the premature generation of previews and by the
4021         citation inset to prevent computation of the natbib-style label.
4022
4023         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4024         templates are all set up.
4025
4026         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4027
4028 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4029
4030         * text.C: fixed an "oops" in the "is a bit silly"
4031         bug fix
4032
4033 2003-10-21  André Pönitz  <poenitz@gmx.net>
4034
4035         * FuncStatus.[Ch]: small stuff, whitespace
4036
4037         * lyxfont.[Ch]: operator<<() for debug reasons
4038
4039         * lyxfunc.C:
4040         * lyxrow_funcs.C:
4041         * lyxtext.h: whitespace, spelling
4042
4043         * paragraph.C: naming of variables
4044
4045         * text.C:
4046         * text2.C: small stuff
4047
4048
4049 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4050
4051         * text.C: (1) finish off the inset display() work;
4052         (2) fix the "is a bit silly" bug (accessing char
4053         past end of par).
4054
4055 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4056
4057         * text.C: re-introduce display() for insets, fixing the
4058         various bugs (stretch of line above, math inset
4059         positioning, ...)
4060
4061 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4062
4063         * text.C (rightMargin): remove spurious semicolon
4064
4065         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4066         1415)
4067
4068 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4069
4070         * text3.C: fix one crash due to wrong cursor def
4071
4072 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * vc-backend.C (scanMaster): make the regex static
4075
4076         * LaTeX.C (scanAuxFile): make the regexs static
4077
4078         * text3.C (doInsertInset, dispatch, dispatch):
4079         * text2.C (cursorUp, cursorDown):
4080         * text.C (selectNextWordToSpellcheck):
4081         * BufferView_pimpl.C (dispatch):
4082         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4083
4084 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4085
4086         * lyxsocket.C: include <cerrno>
4087
4088 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * lyxfunc.C (dispatch): remove textcache stuff
4091
4092         * bufferlist.C (release): remove textcache stuff
4093         (closeAll): ditto
4094
4095         * TextCache.C: delete file
4096         * TextCache.h: delete file
4097
4098         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4099
4100         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4101         delete of the bv_->text.
4102         (resizeCurrentBuffer): remove texcache stuff
4103         (workAreaResize): ditto
4104
4105 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4108         action.
4109
4110 2003-10-16  André Pönitz  <poenitz@gmx.net>
4111
4112         * lyxrow.[Ch]:
4113         * paragraph.h:
4114         * rowpainter.C:
4115         * text.C:
4116         * text2.C:
4117         * text3.C: speed up by storing y positions per paragraph plus per-row
4118         offset instead of having a 'full' y position in the row.
4119
4120 2003-10-15  André Pönitz  <poenitz@gmx.net>
4121
4122         * iterators.[Ch]:
4123         * iterators.[Ch]:
4124         * undo.[Ch]: make undo aware of inner insets
4125
4126 2003-10-14  Angus Leeming  <leeming@lyx.org>
4127
4128         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4129         static member functions LyX::ref() and LyX::cref.
4130         (lastfiles): new accessor functions for the new lastfiles_ member var.
4131         (addLyXView, views_): add a new LyXView to the list of views_.
4132         (updateInset): loop over all LyXViews to call their own updateInset
4133         member function, returning a pointer to the Buffer owning the inset.
4134
4135         * BufferView_pimpl.C (loadLyXFile):
4136         * MenuBackend.C (expandLastfiles):
4137         * bufferlist.C (MenuWrite, QuitLyX):
4138         lastfiles is no longer a global variable.
4139         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4140
4141         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4142         static function. Access through LyX::cref().emergencyCleanup().
4143
4144 2003-10-14  André Pönitz  <poenitz@gmx.net>
4145
4146         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4147
4148         * undo.[Ch]: restoring part of 'undo in insets'
4149
4150         * Makefile.am:
4151         * undo_funcs.[Ch]: merge with undo.[Ch]
4152
4153         * tabular.C: small cleansing stuff
4154
4155 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * paragraph_funcs.C (readParToken): report unknown insets as error
4158         boxes. Use the outer paragraph as location (also for unknown
4159         tokens).
4160
4161         * factory.C (readInset): do not abort on reading an unknown inset.
4162         Eat it and return 0.
4163
4164 2003-10-13  Angus Leeming  <leeming@lyx.org>
4165
4166         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4167
4168         * lyxrc.C: displayTranslator is now a function,
4169         declared in GraphicsTypes.h.
4170
4171 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4172
4173         * format.C: new placeholder $$a to pass the socket address.
4174
4175         * bufferlist.[Ch]: new function getBufferFromTmp.
4176
4177         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4178           files in the temporary dir.
4179
4180 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4181
4182         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4183
4184         * Makefile.am: add lyxsocket.[Ch].
4185
4186         * lyx_main.C (error_handler): handle SIGPIPE.
4187
4188 2003-10-13  André Pönitz  <poenitz@gmx.net>
4189
4190         * BufferView_pimpl.C:
4191         * lyxtext.h:
4192         * text.C:
4193         * text2.C:
4194         * text3.C:
4195         * undo_funcs.[Ch]: use paroffset_type instead of
4196           ParagraphList::iterators to prevent multiple conversion
4197           (and get a more robust interface)
4198
4199 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4202         * lyxtext.h: ditto
4203         * text3.C (dispatch): ditto
4204
4205 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4208         move the onlyfile, use onlyfile instead of foundfile in a couple
4209         of places.
4210
4211         * DepTable.C (update): flush the error stream a bit more
4212
4213 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * lyxserver.C (callback): adjust
4216
4217         * lyxfunc.C (getStatus): add a missing brace in commented code
4218         (ensureBufferClean): reindent
4219         (dispatch): delete version taking a string
4220
4221 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * LaTeX.C (deplog): move found file handlig from here...
4224         (handleFoundFile): .. to new function here.
4225         (deplog): make sure to discover several files mentioned on the
4226         same log line.
4227
4228 2003-10-10  André Pönitz  <poenitz@gmx.net>
4229
4230         * lyxfunc.C:
4231         * lyxtext.h:
4232         * tabular.C:
4233         * text.C:
4234         * text2.C:
4235         * text3.C: fix some of the tabular crashes
4236
4237 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4238
4239         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4240
4241         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4242
4243 2003-10-09  André Pönitz  <poenitz@gmx.net>
4244
4245         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4246
4247         * BufferView.C:
4248         * BufferView_pimpl.C:
4249         * bufferview_funcs.C:
4250         * lyx_cb.C:
4251         * lyxcursor.C:
4252         * lyxfind.C:
4253         * lyxfunc.C:
4254         * lyxtext.h:
4255         * text.C:
4256         * text2.C:
4257         * text3.C:
4258         * text_funcs.[Ch]:
4259         * textcursor.[Ch]:
4260         * undo_funcs.C: adjust
4261
4262 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * text2.C (incrementItemDepth): new function, use a backtracking
4265         algorithm to discover the correct item depth.
4266         (resetEnumCounterIfNeeded): new function, use a backtracking
4267         algorithm to discover if counter reset is needed.
4268         (setCounter): use them. Simplify a bit. Add different labels for
4269         different item depths for itemize.
4270
4271         * paragraph.C (Paragraph): remove initialization of enumdepth
4272         (operator=): ditto
4273
4274         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4275         enumerate and itemize. Change the type of itemdepth to signed char.
4276
4277 2003-10-08  André Pönitz  <poenitz@gmx.net>
4278
4279         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4280           thing assignable.
4281         * text.C:
4282         * text2.C: adjust
4283
4284         * tabular.[Ch]: fix crash after 'row-insert'
4285
4286 2003-10-08  Angus Leeming  <leeming@lyx.org>
4287
4288         Fix doxygen warnings.
4289
4290         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4291         Remove CutAndPaste:: prefix from header file declaration.
4292
4293         * LColor.h (fill): remove LColor:: prefix from declaration.
4294
4295         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4296         use lyx::depth_type rather than Paragraph::depth_type so that
4297         header file and .C file match.
4298
4299         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4300
4301         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4302         * aspell.C: \file aspell_local.C -> \file aspell.C
4303         * gettext.C: \file gettext.C -> \file src/gettext.C
4304         * gettext.h: \file gettext.h -> \file src/gettext.h
4305         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4306         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4307         * text.C: \file text.C -> \file src/text.C
4308
4309         * toc.C: move comment so that doxygen is not confused.
4310
4311 2003-10-07  Angus Leeming  <leeming@lyx.org>
4312
4313         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4314
4315 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4316
4317         * aspell.C:
4318         * aspell_local.h: add forgotten std::string's.
4319
4320 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4321
4322         * LaTeXFeatures.C:
4323         * LyXAction.C:
4324         * factory.C:
4325         * lfuns.h:
4326         * lyxfunc.C:
4327         * text3.C: The Box patch. Fancybox support, minipage, parbox
4328
4329 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4330
4331         * CutAndPaste.h:
4332         * DepTable.h:
4333         * FloatList.h:
4334         * LaTeXFeatures.h:
4335         * ParagraphParameters.h:
4336         * TextCache.h:
4337         * Thesaurus.h:
4338         * bufferlist.h:
4339         * exporter.h:
4340         * importer.h:
4341         * lastfiles.h:
4342         * lyxfind.h:
4343         * lyxfont.h:
4344         * lyxlex.h:
4345         * lyxtextclasslist.h:
4346         * messages.h:
4347         * paragraph.h:
4348         * paragraph_pimpl.C:
4349         * textcursor.h: add <string> and other small fixes to make Lars'
4350         std::string patch compile with STLport.
4351
4352 2003-10-06  Angus Leeming  <leeming@lyx.org>
4353
4354         * LColor.h: Add missing #include <string>.
4355
4356 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * All most all file in all subdirs: Make <string> be the prefered
4359         way of getting to std::string, add using declarations.
4360
4361 2003-10-06  André Pönitz  <poenitz@gmx.net>
4362
4363         * metricsinfo.C: initialize LyXFont before changing attribute.
4364         (fixes the 'math in \emph is upright' bug)
4365
4366 2003-10-06  André Pönitz  <poenitz@gmx.net>
4367
4368         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4369
4370 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4371
4372         * graph.C:
4373         * paragraph_pimpl.C: Small fixes to build using STLport
4374
4375 2003-10-02  André Pönitz  <poenitz@gmx.net>
4376
4377         * lyxfunc.C:
4378         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4379
4380 2003-10-01  André Pönitz  <poenitz@gmx.net>
4381
4382         * factory.C: assert early
4383
4384 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * lyx_main.C: remove the global debug object
4387
4388         * debug.h: adjust for new debugstream
4389
4390         * debug.C: adjust for new debugstream and keep the global debug
4391         object here.
4392
4393 2003-09-22  Angus Leeming  <leeming@lyx.org>
4394
4395         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4396         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4397         an incomplete class LyXFont.
4398
4399 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4400
4401         * factory.C: bug fix in branches
4402
4403 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * lyxfunc.C (processKeySym): adjust
4406         (dispatch): adjust
4407         (dispatch): change arg name from ev to func, adjust
4408         (sendDispatchMessage): ditto
4409
4410         * lyx_main.C (defaultKeyBindings): adjust keybindings
4411         (deadKeyBindings): ditto
4412
4413         * kbsequence.C (addkey): return a FuncRequest
4414
4415         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4416
4417         * kbmap.C (bind): take a FuncRequest as arg, adjust
4418         (read): adjust
4419         (lookup): adjust
4420         (defkey): change to take a FuncRequest as arg, adjust
4421         (findbinding): take a FuncRequest as arg, adjust.
4422
4423         * funcrequest.h (operator=): added
4424
4425         * funcrequest.C (FuncRequest): default kb_action changed from
4426         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4427
4428         * buffer.C (dispatch): simplify
4429         (dispatch): adjust to take a FuncRequest as arg, adjust
4430
4431         * boost.C (assertion_failed): change assertion message slightly
4432
4433         * ToolbarBackend.C (read): simplify
4434
4435         * MenuBackend.C (binding): adjust call to findbinding, add a
4436         message if no binding is found.
4437         (read): simplify
4438         (expandToc): correct by adding a empty FuncRequest
4439
4440         * LyXAction.C: include <boost/assert.hpp>
4441         (isPseudoAction): delete function
4442         (LookupFunc): change name to...
4443         (lookupFunc): this. change return type to FuncRequest.
4444         (getActionName): take kb_action as arg, simplify
4445         (funcHasFlag): add an assert, simplify.
4446
4447 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * toc.C (action): return a FuncRequest, simplify
4450
4451         * lyxfunc.C (processKeySym): adjust
4452         (getStatus): delete version that takes an int.
4453         (getStatus): adjust
4454         (dispatch): delete version that takes action as int
4455         (dispatch): adjust
4456         (sendDispatchMessage): simplify and adjust
4457
4458         * funcrequest.C (getArg): take unsigned int as arg
4459
4460         * ToolbarBackend.C (read): adjust
4461         (add): delete version that takes func as a string.
4462         (getIton): take a FuncRequest as arg
4463
4464         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4465         action.
4466
4467         * MenuBackend.C (MenuItem): add a new construct that only takes a
4468         Kind, simplify the constructor use for submenus.
4469         (add): adjust
4470         (expandLastfiles): adjust
4471         (expandDocuments): adjust
4472         (expandFormats): adjust
4473         (expandFloatListInsert): adjust
4474         (expandFloatInsert): adjust
4475         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4476
4477         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4478         Remove class variables lyx_pseudo_map and lyx_arg_map
4479
4480         * LyXAction.C (searchActionArg): delete function
4481         (getPseudoAction): delete function
4482         (retrieveActionArg): delete function
4483         (LookupFunc): make it return kb_action, simplify.
4484         (getActionName): simplify
4485
4486         * factory.C (createInset): fix new bug
4487
4488 2003-09-19  Angus Leeming  <leeming@lyx.org>
4489
4490         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4491         masterFilename_ parameter in the include inset.
4492
4493         * factory.C (createInset): changes due to the changes to InsetInclude.
4494
4495 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4496
4497         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4498
4499 2003-09-18  Angus Leeming  <leeming@lyx.org>
4500
4501         * buffer.C:
4502         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4503         Inset::fillWithBibKeys.
4504         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4505
4506 2003-09-18  Angus Leeming  <leeming@lyx.org>
4507
4508         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4509         variables.
4510         (ctor): pass and store a 'Buffer const &'
4511         (buffer): new member function.
4512
4513         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4514         '*this' to the LaTeXFeatures ctor.
4515
4516 2003-09-18  Angus Leeming  <leeming@lyx.org>
4517
4518         * LColor.h:
4519         * lyxfont.C:
4520         * lyxfont.h:
4521         * lyxtext.h:
4522         * text.C: rename EnumLColor as LColor_color.
4523
4524 2003-09-18  Angus Leeming  <leeming@lyx.org>
4525
4526         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4527         remove #include "insets/insetbase.h" from cursor.h.
4528
4529 2003-09-18  Angus Leeming  <leeming@lyx.org>
4530
4531         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4532         InsetOld_code to remove #include "inset.h".
4533
4534         * iterators.C: add #include "insets/inset.h"
4535
4536 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * BufferView.C: remove more locking stuff that apparently doesn't
4539         do anything sensible.
4540
4541 2003-09-16  André Pönitz  <poenitz@gmx.net>
4542
4543         * paragraph.[Ch]:
4544         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4545           performance boost.
4546
4547 2003-09-16  Angus Leeming  <leeming@lyx.org>
4548
4549         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4550
4551         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4552         arg/return type.
4553
4554         * paragraph.h: remove #include "lyxfont.h". Forward declare
4555         LyXFont_size.
4556
4557 2003-09-16  Angus Leeming  <leeming@lyx.org>
4558
4559         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4560         of support/textutils.h.
4561         (isWord): move the contents of support/textutils.h's IsWordChar here.
4562
4563         * buffer.C:
4564         * lyxfind.C:
4565         * rowpainter.C:
4566         * text.C:
4567         * text2.C: add #include "paragraph.h".
4568
4569         * rowpainter.C:
4570         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4571
4572 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * main.C:
4575         * lyx_main.C:
4576         * lyx_cb.C:
4577         * buffer.C:
4578         * LaTeX.C: use namespace alias for lyx::support::os
4579
4580 2003-09-16  Angus Leeming  <leeming@lyx.org>
4581
4582         * bufferparams.C:
4583         * bufferview_funcs.C:
4584         * factory.C:
4585         * lyxfunc.C:
4586         * paragraph_pimpl.C:
4587         * rowpainter.C:
4588         * text.C: add #include "LColor.h".
4589
4590 2003-09-16  Angus Leeming  <leeming@lyx.org>
4591
4592         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4593         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4594         return LyXFont &.
4595         Store the FontBits::color variable as an int rather than as an
4596         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4597         file.
4598
4599         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4600         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4601         string calls together.
4602
4603         * lyxrc.C: add #include "LColor.h".
4604
4605 2003-09-15  Angus Leeming  <leeming@lyx.org>
4606
4607         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4608         a cow_ptr.
4609
4610 2003-09-15  Angus Leeming  <leeming@lyx.org>
4611
4612         * LColor.h: add an EnumLColor wrapper for LColor::color.
4613
4614         * lyxfont.[Ch] (color, setColor, realColor):
4615         * lyxtext.h, text.C (backgroundColor):
4616         pass EnumLColor args to/from the functions, rather than LColor::color
4617         ones.
4618
4619         * lyxfont.h:
4620         * lyxtext.h: forward declare EnumLColor.
4621
4622         * lyx_main.C: add #include "LColor.h".
4623
4624 2003-09-15  Angus Leeming  <leeming@lyx.org>
4625
4626         * .cvsignore: add lyx-gtk.
4627
4628 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * Chktex.C
4631         * LaTeX.C
4632         * LaTeXFeatures.C
4633         * ParagraphParameters.C
4634         * Spacing.C
4635         * buffer.C
4636         * bufferparams.C
4637         * bufferview_funcs.C
4638         * chset.C
4639         * counters.C
4640         * funcrequest.C
4641         * lyxfont.C
4642         * lyxgluelength.C
4643         * lyxlength.C
4644         * paragraph.C
4645         * paragraph_funcs.C
4646         * text3.C
4647         * vc-backend.C: remove usage of STRCONV
4648
4649 2003-09-15  Angus Leeming  <leeming@lyx.org>
4650
4651         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4652         explicitly define the color passed to the painter.
4653
4654 2003-09-15  Angus Leeming  <leeming@lyx.org>
4655
4656         * bufferparams.C (BufferParams): reorder member initializers to avoid
4657         compiler warning.
4658
4659 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4662         * text.C (updateRowPositions): remove an unusual nop
4663
4664 2003-09-12  André Pönitz  <poenitz@gmx.net>
4665
4666         * BufferView_pimpl.C:
4667         * Bullet.C:
4668         * layout.h:
4669         * lyxfunc.C:
4670         * lyxlayout.[Ch]:
4671         * lyxtextclass.C:
4672         * rowpainter.C:
4673         * text.C:
4674         * text2.C:
4675         * Counters.[Ch]: finish the 'automatic counters' job
4676
4677 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4678
4679         * aspell.C: include <boost/assert.cpp> (compile fix)
4680
4681 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4682
4683         * boost.C (assertion_failed): use lyx::support::abort instead of
4684         assert.
4685
4686 2003-09-10  Angus Leeming  <leeming@lyx.org>
4687
4688         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4689         with their _fwd progeny.
4690
4691 2003-09-09  Angus Leeming  <leeming@lyx.org>
4692
4693         134 files throughtout the source tree: replace 'using namespace abc;'
4694         directives with the appropriate 'using abc::xyz;' declarations.
4695
4696 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4697
4698         * boost.C (emergencyCleanup): moved here from LAssert.c
4699         (assertion_failed): new function, called by BOOST_ASSERT
4700
4701         * several files: change Assert to BOOST_ASSERT
4702
4703 2003-09-09  Angus Leeming  <leeming@lyx.org>
4704
4705         * buffer.[Ch]: Add an Impl class and move Buffer's member
4706         variables into it. As a result move several header files out of
4707         buffer.h.
4708
4709         Add header files to lots of .C files all over the tree as a result.
4710
4711 2003-09-09  Angus Leeming  <leeming@lyx.org>
4712
4713         * buffer.[Ch]: make Buffer's member variables private. Add
4714         accessor functions.
4715
4716         Lots of changes all over the tree as a result.
4717
4718 2003-09-08  Angus Leeming  <leeming@lyx.org>
4719
4720         * graph.C: #include <config.h>.
4721
4722 2003-09-08  Angus Leeming  <leeming@lyx.org>
4723
4724         * BranchList.C:
4725         * BufferView.C:
4726         * BufferView_pimpl.C:
4727         * CutAndPaste.C:
4728         * DepTable.C:
4729         * LaTeX.C:
4730         * LaTeXFeatures.C:
4731         * LyXAction.C:
4732         * MenuBackend.C:
4733         * TextCache.C:
4734         * aspell.C:
4735         * buffer.C:
4736         * bufferlist.C:
4737         * changes.C:
4738         * chset.C:
4739         * converter.C:
4740         * counters.C:
4741         * debug.C:
4742         * graph.C:
4743         * ispell.C:
4744         * lyx_cb.C:
4745         * lyxfind.C:
4746         * lyxfunc.C:
4747         * lyxlex_pimpl.C:
4748         * lyxrc.C:
4749         * lyxrow.C:
4750         * paragraph.C:
4751         * rowpainter.C:
4752         * texrow.C:
4753         * text.C:
4754         * text2.C:
4755         * toc.C: remove redundant using directives.
4756
4757 2003-09-07  Angus Leeming  <leeming@lyx.org>
4758
4759         * LaTeXFeatures.h: remove #include "support/types.h".
4760         * ToolbarBackend.h: remove #include <algorithm>.
4761         * changes.h: remove #include <ctime>.
4762         * debug.h: remove #include <iosfwd>.
4763         * graph.h: remove #include "support/std_string.h".
4764         * lyx_main.h: remove #include <csignal>.
4765         * lyxlex_pimpl.h: remove #include <fstream>.
4766         * sgml.h: remove #include <algorithm>, <utility>.
4767         * toc.h: remove #include "support/std_ostream.h".
4768         Add #include <iosfwd>.
4769
4770 2003-09-07  Angus Leeming  <leeming@lyx.org>
4771
4772         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4773
4774         * converter.h: forward declare LatexRunParams.
4775         * encoding.h: remove #include "lyxrc.h".
4776         * lyxtext.h: remove #include "LColor.h".
4777         * lyxtextclass.h: remove #include "support/types.h".
4778         * trans.h: remove #include "tex-accent.h".
4779         * trans_mgr.h: remove #include "tex-accent.h".
4780         * insets/inset.h: remove #include "support/types.h", <vector>.
4781         * insets/insetcollapsable.h: remove #include "LColor.h".
4782         * insets/insetinclude.h: remove #include "dimension.h".
4783         * insets/insetlatexaccent.h: remove #include "dimension.h".
4784         * insets/insetoptarg.h:: remove #include "insettext.h".
4785         * insets/insettext.h: remove #include "dimension.h",
4786         <boost/shared_ptr.hpp>
4787
4788         * insets/renderers.h: add #include "dimension.h".
4789         * insets/updatableinset.h: add #include "support/types.h".
4790
4791         * many .C files: Associated changes.
4792
4793 2003-09-06  Angus Leeming  <leeming@lyx.org>
4794
4795         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4796         one, inside testInvariant.
4797
4798         * PrinterParams.C: new file.
4799         * PrinterParams.[Ch]: move the function bodies out of line.
4800
4801 2003-09-06  Angus Leeming  <leeming@lyx.org>
4802
4803         * ParagraphParameters.h: forward declare ParameterStruct rather than
4804         including its header file.
4805         (depth): moved out-of-line.
4806
4807 2003-09-06  Angus Leeming  <leeming@lyx.org>
4808
4809         * BufferView_pimpl.h:
4810         * kbmap.h:
4811         * kbsequence.h:
4812         * lyxfunc.h: forward declare LyXKeySym rather than
4813         #include "frontends/LyXKeySym.h".
4814
4815         * BufferView_pimpl.C:
4816         * kbmap.C:
4817         * kbsequence.C:
4818         * lyxfunc.C: associated changes.
4819
4820 2003-09-06  Angus Leeming  <leeming@lyx.org>
4821
4822         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4823         As a result, can remove the #include "insets/inset.h" from BufferView.h
4824
4825 2003-09-06  Angus Leeming  <leeming@lyx.org>
4826
4827         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4828         As a result, can remove the #include "insets/inset.h" from BufferView.h
4829
4830 2003-09-06  Angus Leeming  <leeming@lyx.org>
4831
4832         * buffer_funcs.C:
4833         * buffer.h:
4834         * bufferlist.C:
4835         * BufferView.C:
4836         * bufferview_funcs.C:
4837         * BufferView_pimpl.C:
4838         * CutAndPaste.C:
4839         * lyx_cb.C:
4840         * lyxfunc.C:
4841         * paragraph.h:
4842         * ParagraphParameters.C:
4843         * tabular.C:
4844         * text3.C:
4845         * toc.C:
4846         * undo_funcs.C:
4847         * frontends/controllers/ControlDocument.C:
4848         * insets/insetcaption.C: rearrange the #includes into some sort of
4849         coherent order.
4850
4851         * buffer.h: remove #includes ErrorList.h, undo.h
4852
4853 2003-09-06  Angus Leeming  <leeming@lyx.org>
4854
4855         * support/types.h: add a 'depth_type' typedef, used to store the
4856         nesting depth of a paragraph.
4857
4858         * paragraph.h:
4859         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4860         defining explicitly.
4861
4862         * buffer.h:
4863         * paragraph_funcs.h:
4864         * ParagraphParameters.h:
4865         * sgml.h: use lyx::depth_type rather than Paragraph or
4866         ParameterStruct's depth_type.
4867
4868         * buffer.h
4869         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4870
4871         * BufferView.C:
4872         * BufferView_pimpl.C:
4873         * CutAndPaste.C:
4874         * ParagraphParameters.C:
4875         * buffer_funcs.C:
4876         * bufferlist.C:
4877         * bufferview_funcs.C:
4878         * lyx_cb.C:
4879         * lyxfunc.C:
4880         * tabular.C:
4881         * text3.C:
4882         * toc.C:
4883         * undo_funcs.C:
4884         * frontends/LyXView.C:
4885         * frontends/controllers/ControlDocument.C:
4886         * frontends/controllers/ControlErrorList.C:
4887         * insets/insetbibitem.C:
4888         * insets/insetbranch.C:
4889         * insets/insetcaption.C:
4890         * insets/insetcollapsable.C:
4891         * insets/insetenv.C:
4892         * insets/insetert.C:
4893         * insets/insetfloat.C:
4894         * insets/insetfoot.C:
4895         * insets/insetfootlike.C:
4896         * insets/insetnewline.C:
4897         * insets/insetquotes.C:
4898         * insets/insettabular.C:
4899         * insets/insettext.C:
4900         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4901
4902         * frontends/controllers/ControlChanges.C: #include "changes.h".
4903
4904 2003-09-06  Angus Leeming  <leeming@lyx.org>
4905
4906         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4907         than #including paragraph.h.
4908
4909         * ParagraphList.h:
4910         * RowList.h: deleted. Superfluous.
4911
4912         * CutAndPaste.h:
4913         * iterators.h:
4914         * lyxcursor.h:
4915         * lyxtext.h:
4916         * text_funcs.h:
4917         * undo.h:
4918         * undo_funcs.h:
4919         * insets/inset.h:
4920         * insets/insettext.h: use ParagraphList_fwd.h rather than
4921         ParagraphList.h.
4922
4923         * paragraph.h: don't forward declare ParagraphList.
4924
4925         * buffer.h:
4926         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4927         rather than ParagraphList.h. paragraph.h is still needed for the
4928         Paragraph::depth_type parameters.
4929
4930         * textcursor.h: enable it to compile stand-alone in light of the
4931         above changes.
4932
4933         * bufferview_funcs.C:
4934         * iterators.C:
4935         * lyxfunc.C:
4936         * lyxrow_funcs.C:
4937         * paragraph.C:
4938         * rowpainter.C:
4939         * text.C:
4940         * text2.C:
4941         * text3.C:
4942         * text_funcs.C:
4943         * textcursor.C:
4944         * undo.C:
4945         * frontends/controllers/ControlParagraph.C:
4946         * frontends/controllers/ControlTabular.C:
4947         * insets/insetmarginal.C:
4948         * insets/insetminipage.C:
4949         * insets/insetnote.C:
4950         * insets/insetoptarg.C: add header files needed to compile again.
4951
4952 2003-09-06  Angus Leeming  <leeming@lyx.org>
4953
4954         * RowList_fwd.h: new file, forward-declaring Row rather than
4955         #including lyxrow.h.
4956
4957         * lyxrow_funcs.h:
4958         * lyxtext.h:
4959         * paragraph.h:
4960         * insets/insettext.h: use it instead of RowList.h
4961
4962         * bufferview_funcs.C:
4963         * lyxfunc.C:
4964         * lyxrow_funcs.C:
4965         * paragraph.C:
4966         * rowpainter.C:
4967         * text.C:
4968         * text2.C:
4969         * text3.C: #include "RowList.h".
4970
4971 2003-09-05  Angus Leeming  <leeming@lyx.org>
4972
4973         * factory.C (createInset):
4974         * vspace.C (c-tor): replace sscanf call with an istringstream.
4975         * ispell.C: re-add missing HP/UX headers.
4976         * lyxserver.C: re-add missing  os2 headers.
4977
4978 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4979
4980         * BranchList.C:
4981         * graph.C:
4982         * ispell.C:
4983         * lastfiles.C:
4984         * lyx_cb.C:
4985         * lyxserver.C:
4986         * texrow.C:
4987         * text3.C: re-add missing system headers, needed for 2.95.2.
4988
4989 2003-09-05  Angus Leeming  <leeming@lyx.org>
4990
4991         Changes most place everywhere due to the removal of using directives
4992         from support/std_sstream.h.
4993
4994 2003-09-05  Angus Leeming  <leeming@lyx.org>
4995
4996         Replace LString.h with support/std_string.h,
4997         Lsstream.h with support/std_sstream.h,
4998         support/LIstream.h with support/std_istream.h,
4999         support/LOstream.h with support/std_ostream.h.
5000
5001         Changes resulting throughout the tree.
5002
5003 2003-09-05  Angus Leeming  <leeming@lyx.org>
5004
5005         * sgml.h: ensure that the header file can be compiled stand-alone.
5006         * *.C: strip out redundant #includes. (320 in total.)
5007
5008 2003-09-04  Angus Leeming  <leeming@lyx.org>
5009
5010         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5011         here (from getPackages).
5012
5013         * debug.[Ch]: add a new EXTERNAL tag.
5014
5015 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5016
5017         * text2.C (cursorEnd): simplify
5018         (setCursor): adjust
5019         (getColumnNearX): adjust
5020
5021         * text.C (computeBidiTables): adjust
5022         (fill): adjust
5023
5024         * rowpainter.C (paintChars): adjust
5025         (paintSelection): adjust
5026         (paintChangeBar): adjust
5027         (paintText): adjust
5028
5029         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5030         lastPos instead.
5031         (numberOfSeparators): adjust
5032
5033 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5034
5035         * LyXAction.C:
5036         * box.[Ch]:
5037         * lfuns.h:
5038         * lyxfunc.C:
5039         * text3.C: Restricts the mouse click functionality
5040         of insets like bibtex, include, toc and floatlist to the visible
5041         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5042         up the dialogs. Cursor has to be in front of the inset (i.e.
5043         start of row) for this to function.
5044
5045 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5046
5047         * bufferview_funcs.C (currentState): output row information
5048
5049 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5050
5051         * bufferview_funcs.C (currentState): output paragraph position
5052
5053 2003-09-04  Angus Leeming  <leeming@lyx.org>
5054
5055         * FloatList.h: move out #include "Floating.h".
5056         * LaTeX.h: move out #include "DepTable.h".
5057         * LyXAction.h: move out #include "funcrequest.h".
5058         * buffer.h: move out #include "author.h", "iterators.h".
5059         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5060         * lyx_main.h: move out #include "errorlist.h".
5061         * lyxfunc.h: move out #include "FuncStatus.h".
5062         * lyxtext: move out #include "lyxcursor.h".
5063         * paragraph_pimpl.h: move out #include "counters.h".
5064
5065 2003-09-03  Angus Leeming  <leeming@lyx.org>
5066
5067         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5068         preamble_snippets list, enabling us to add snippets to the preamble
5069         only if the snippet was not there already.
5070
5071 2003-09-04  Angus Leeming  <leeming@lyx.org>
5072
5073         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5074
5075 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5078         update
5079
5080 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5081
5082         * BranchList.C: point fix, earlier forgotten
5083
5084 2003-09-02  Angus Leeming  <leeming@lyx.org>
5085
5086         * box.C (contains): renamed from 'contained' after a fantastic
5087         amount of hot air.
5088
5089 2003-09-02  John Levon  <levon@movementarian.org>
5090
5091         * BufferView.C:
5092         * lyxcursor.h:
5093         * lyxcursor.C:
5094         * lyxfunc.C:
5095         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5096
5097 2003-09-02  John Levon  <levon@movementarian.org>
5098
5099         * text2.C: simplification of cursorEnd(), including partial
5100         fix for bug 1376
5101
5102 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * buffer.C (readFile): add a space
5105
5106 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5109
5110 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * buffer.C (readFile): new function, take a filename and a
5113         ParagraphList::iterator
5114         (readFile): adjust
5115         (readFile): adjust, make it private. don't use setStream, make
5116         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5117         always contain the filename.
5118
5119         * BufferView.C (insertLyXFile): simplify and make it work for
5120         gzipped files.
5121
5122 2003-08-30  John Levon  <levon@movementarian.org>
5123
5124         * Makefile.am: fix dist (from Kayvan)
5125
5126 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5127
5128         * most files: change to use const Buffer refs
5129
5130 2003-08-27  André Pönitz  <poenitz@gmx.net>
5131
5132         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5133         on top of ownerPar().
5134
5135 2003-08-27  John Levon  <levon@movementarian.org>
5136
5137         * funcrequest.C: properly initialise POD members
5138
5139 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * lyxtext.h (top_y): move top_y from here
5142         * text.C:
5143         * text2.C:
5144         * text3.C:
5145         * BufferView.[Ch]:
5146         * BufferView_pimpl.[Ch]: to here
5147         * frontends/screen.C:
5148         * insets/insettabular.C:
5149         * insets/insettext.C: adjust
5150         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5151
5152 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5153
5154         * BufferView.[Ch]:
5155         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5156
5157 2003-08-26  André Pönitz  <poenitz@gmx.net>
5158
5159         * paragraph_func.[Ch] (outerPar): new function
5160
5161         * paragraph.C:
5162         * paragraph_funcs.C:
5163         * paragraph_funcs.h:
5164         * paragraph_pimpl.C:
5165         * text2.C: remove Inset::par_owner
5166
5167 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * lyxrow_funcs.C:
5170         * lyxtext.h:
5171         * text.C:
5172         * text2.C: eliminates the needFullRow/display() stuff
5173         altogether, putting the logic in metrics/draw in the insets.
5174
5175 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5176
5177         * text2.C (redoParagraphInternal, redoParagraphs):
5178         * text.C (redoParagraph): add a call to updateRowPositions at the
5179         end of each 'metrics-like' call. Remove all others.
5180         (getRow): remove the 'y-computing' version.
5181         (getRowNearY): do not compute nor return the real y. Solve the
5182         'y < 0' problem and simplify.
5183
5184 2003-08-22  Angus Leeming  <leeming@lyx.org>
5185
5186         * *.[Ch]: clean-up of licence and author blurbs.
5187         Also move config.h out of a few .h files and into a few .C files.
5188
5189 2003-08-22  André Pönitz  <poenitz@gmx.net>
5190
5191         * lyxrow.[Ch]: add x_ and *fill_ members
5192
5193         * lyxtext.h:
5194         * text.C:
5195         * rowpainter.C:
5196         * text2.C: adjust/remove prepareToPrint() calls
5197
5198 2003-08-22  André Pönitz  <poenitz@gmx.net>
5199
5200         * lyxrow.[Ch]: add  end_ member
5201
5202         * lyxrow_funcs.C: use LyXRow::end_
5203
5204         * lyxtext.h (singleWidth): add LyXFont parameter
5205
5206         * rowpainter.C:
5207         * text2.C: adjust LyXText::singleWidth() calls
5208
5209         * text.C (redoParagraph): simplify row breaking logic
5210
5211
5212 2003-08-19  André Pönitz  <poenitz@gmx.net>
5213
5214         * funcrequest.C: initialize button_ member
5215
5216         * text3.C:
5217         * rowpainter.[Ch]: interface consolidation
5218
5219 2003-08-18  André Pönitz  <poenitz@gmx.net>
5220
5221         * BufferView.C:
5222         * BufferView_pimpl.C:
5223         * lyxfind.C:
5224         * paragraph_funcs.C:
5225         * rowpainter.C:
5226         * text3.C: remove LyXScreen::draw() and fitCursor calls
5227
5228         * BranchList.h: remove spurious semicolons
5229
5230         * MenuBackend.C: fix branchlist related crash
5231
5232 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5233
5234         * BranchList.[Ch]:
5235         * InsetList.[Ch]:
5236         * LColor.[Ch]:
5237         * LyXAction.C:
5238         * Makefile.am:
5239         * MenuBackend.[Ch]:
5240         * bufferparams.[Ch]:
5241         * factory.C:
5242         * lfuns.h:
5243         * lyxfunc.C:
5244         * text3.C: implements the 'branch inset'
5245         idea. This allows the output of various versions of a document
5246         from a single source version, selectively outputing or suppressing
5247         output of parts of the text.
5248         This implementation contains a 'branch list editor' in a separate
5249         tab of the document settings dialog. Branches are user definable
5250         and have a "display colour" to distinguish them on-screen.
5251
5252         ColorHandler was somewhat cleaned up.
5253         (1) make possible a dynamically growing LColor list by allowing
5254         the graphic context cache to grow along (vector);
5255         (2) eliminate an IMHO unnecessary step in colour allocation.
5256
5257 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5258
5259         * BufferView_pimpl.C: compile fix
5260
5261 2003-08-15  André Pönitz  <poenitz@gmx.net>
5262
5263         * rowpainter.C: remove extra metrics calls
5264
5265         * lyxtext.h: merge the two constructors into a single one,
5266           pass reference to owner's par list
5267
5268         * BufferView_pimpl.C:
5269         * text.C:
5270         * text2.C: adjust
5271
5272 2003-08-15  André Pönitz  <poenitz@gmx.net>
5273
5274         * lyxrow_funcs.[Ch]:
5275         * lyxtext.h:
5276         * paragraph.h:
5277         * paragraph_funcs.C:
5278         * rowpainter.C:
5279         * text.C:
5280         * text2.C:
5281         * text3.C:
5282         * text_funcs.C: split LyXText::rowlist_ into individual
5283         Paragraph::rows_ chunks
5284
5285         * BufferView.[Ch]:
5286         * BufferView_pimpl.[Ch]:
5287         * lyxfind.C:
5288         * lyxtext.h:
5289         * text3.C: remove toggleSelection()
5290
5291 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5292
5293         * bufferlist.C: beautify two alerts (shorter text of buttons)
5294         * buffer.C: Remove redundant ' ' from message
5295         * tabular.h:
5296         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5297         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5298         rename VALIGN_CENTER to VALIGN_MIDDLE
5299
5300 2003-08-11  André Pönitz  <poenitz@gmx.net>
5301
5302         * lyxtext.h (getPar):
5303         * text.C: new function
5304
5305 2003-08-11  André Pönitz  <poenitz@gmx.net>
5306
5307         * Makefile.am:
5308         * tracer.[Ch]: remove unneeded files
5309
5310         * InsetList.[Ch]: remove resizeInsetsLyXText()
5311
5312         * lyxtext.h:
5313         * text.C:
5314         * text2.C:
5315         * text3.C: merge insertParagraphs() and appendParagraph()
5316         remove breakAgain(), update()
5317
5318         * BufferView_pimpl.[Ch]:
5319         * bufferview_funcs.[Ch]:
5320         * lyxfunc.C:
5321         * paragraph.[Ch]:
5322         * rowpainter.C:
5323         * tabular.C: adjust after text & InsetList changes.
5324
5325 2003-08-08  André Pönitz  <poenitz@gmx.net>
5326
5327         * text.C (insertChar, backspace): replace rowlist fiddling
5328         with rebreak of full par
5329
5330         * lyxtext.h:
5331         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5332         checkParagraph, updateInset): removed
5333
5334 2003-08-07  André Pönitz  <poenitz@gmx.net>
5335
5336         * paragraph.C:
5337         * text3.C: merge some LFUN handlers, remove dead code
5338
5339 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5340
5341         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5342
5343 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * text2.C (DEPM): fix part of bug 1255 and 1256
5346
5347 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5348
5349         * BufferView_pimpl.C (workAreaDispatch): change to use
5350         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5351         that are no mouse related.
5352
5353 2003-08-05  André Pönitz  <poenitz@gmx.net>
5354
5355         * BufferView.[Ch]:
5356         * BufferView_pimpl.[Ch]:
5357         * bufferview_funcs.C:
5358         * text2.C:
5359         * text3.C: rip out "deep update"
5360
5361         * textcursor.[Ch] (last_sel_cursor): remove unused member
5362
5363 2003-08-04  André Pönitz  <poenitz@gmx.net>
5364
5365         * BufferView.[Ch]:
5366         * BufferView_pimpl.[Ch]:
5367         * ParagraphParameters.C:
5368         * bufferview_funcs.C:
5369         * lyx_cb.C:
5370         * lyxfind.C:
5371         * lyxfunc.C:
5372         * text.C:
5373         * text2.C:
5374         * text3.C: replace "complicated" BufferView::update(...) calls with
5375         simpler ones.
5376
5377         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5378
5379 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5380
5381         * Makefile.am (lyx_SOURCES): add paper.h
5382
5383 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5384
5385         * Makefile.am: move things around so that both lyx-qt and
5386         lyx-xforms can be built (according to --with-frontend). Then lyx
5387         is a symbolic link to lyx-[firstfrontend]
5388
5389 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5390
5391         * Always use std::endl with lyxerr
5392
5393 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5394
5395         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5396
5397 2003-08-01  André Pönitz  <poenitz@gmx.net>
5398
5399         * BufferView.[Ch]:
5400         * BufferView_pimpl.[Ch]:
5401         * lyxfunc.C:
5402         * text3.C: merge BufferView::repaint() and BufferView::update()
5403
5404 2003-08-01  José Matos  <jamatos@lyx.org>
5405
5406         * buffer.[Ch]: file_format is no longer a buffer data element.
5407
5408 2003-08-01  André Pönitz  <poenitz@gmx.net>
5409
5410         * BufferView.C:
5411         * lyxtext.h:
5412         * text.C:
5413         * text2.C: make redoParagraph more independent of current cursor
5414
5415         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5416         * text.C:
5417         * text2.C: remove unneeded members
5418
5419 2003-07-30  André Pönitz  <poenitz@gmx.net>
5420
5421         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5422
5423         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5424           create a single function...
5425
5426         * paragraph_funcs.C (moveItem): ... here.
5427
5428         * text.C:
5429           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5430
5431 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5432
5433         * LColor.[Ch]: Add comment and greyedout logical colors.
5434
5435 2003-07-30  André Pönitz  <poenitz@gmx.net>
5436
5437         * tabular.C: don't use Assert too heavily. This crashes where it
5438           shouldn't
5439
5440 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5441
5442         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5443         is disabled (bug 1232)
5444
5445 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5446
5447         * factory.C: limited 'arg' scope
5448
5449 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5450
5451         * factory.C: fixed Note submenu issues
5452
5453 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5454
5455         * factory.C: submenu for Note/Comment/Greyedout
5456
5457 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5458
5459         * lyx_main.C (LyX):
5460         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5461
5462 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5463
5464         * LaTeXFeatures.C:
5465         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5466         greyedout. Patch provided by Jürgen Spitzmüller.
5467
5468 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5469
5470         * kbmap.C (read): fix error message when reading bind files
5471
5472 2003-07-29  Angus Leeming  <leeming@lyx.org>
5473
5474         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5475         certainly does not do what it purports to do. I am doing it, and
5476         us, a favour by killing it.
5477
5478 2003-07-28  José Matos  <jamatos@lyx.org>
5479
5480         * buffer.C (readBody, do_writeFile):
5481         * paragraph.C(readParagraph): \end_document replaces \the_end.
5482
5483 2003-07-29  André Pönitz  <poenitz@gmx.net>
5484
5485         * BufferView.[Ch]:
5486         * BufferView_pimpl.[Ch]:
5487         * lyxfunc.C:
5488         * text2.C:
5489         * text3.C:
5490         * textcursor.[Ch]: remove toggleToggle & Co
5491
5492 2003-07-28  José Matos  <jamatos@fep.up.pt>
5493
5494         * buffer.C (readParagraph):
5495         * params_func (readParToken, readParagraph):
5496         * paragraph.C (write): \layout -> \begin_layout.
5497
5498 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * lyxlex_pimpl.C (setFile): clean up slightly.
5501
5502         * bufferparams.h: add compressed var
5503
5504         * buffer_funcs.C (readFile): adjust for LyXLex change
5505         (newFile): ditto + simplify
5506
5507         * buffer.C (writeFile): handle writing of compressed files
5508
5509         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5510         Check if the file is compressed and set a bufferparm if so.
5511
5512         * Makefile.am (lyx_LDADD): remove explicit -lz
5513
5514 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5515
5516         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5517         makeDocBookFile): put the real LyX version in the first line of
5518         the file
5519
5520         * version.h:
5521         * version.C.in: remove lyx_docversion
5522
5523         * tabular.C (write_attribute): add a template-based version to
5524         write enums properly
5525
5526 2003-07-28  André Pönitz  <poenitz@gmx.net>
5527
5528         * lyxtext.h:
5529         * text.C:
5530         * text2.C:
5531         * text3.C: use doubles again for x-coordinates. They are needed.
5532
5533 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * messages.C (getLocaleDir): use lyx_localedir()
5536
5537         * lyxlex_pimpl.C (setFile): compress stuff
5538
5539         * buffer.C (writeFile): add some compression stuff
5540         (do_writeFile): new func, dont call expliti close... will this
5541         breake anything?
5542
5543         * Makefile.am (lyx_LDADD): add -lz
5544
5545 2003-07-28  José Matos  <jamatos@fep.up.pt>
5546
5547         * buffer.C: increment file format.
5548         * paragraph_funcs (readParagraph, readParToken):
5549         * paragraph.C (readParagraph): add \end_layout.
5550
5551 2003-07-27  Angus Leeming  <leeming@lyx.org>
5552
5553         * Makefile.am: remove special casing for configure-time setting of
5554         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5555
5556         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5557         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5558
5559 2003-07-26  André Pönitz  <poenitz@gmx.net>
5560
5561         * paragraph_func.[Ch]:
5562         * paragraph.C (realizeFont): inline it whereever it is used
5563
5564         * rowpainter.C:
5565         * text.C:
5566         * text2.C:
5567         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5568
5569
5570 2003-07-26  André Pönitz  <poenitz@gmx.net>
5571
5572         *       lyxtext.h:
5573         * text.C:
5574         * text2.C: get rid of LyXText::need_break_row
5575
5576 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * toc.[Ch]: put namespace toc inside namespace lyx
5579
5580         * MenuBackend.C (expandToc2): adjust for lyx::toc
5581         (expandToc): ditto
5582
5583         * lyxfunc.C (dispatch): adjust for lyx::find
5584
5585         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5586         lyx::find instead. Reorganize a bit.
5587         (LyXReplace): rename to replace
5588         (LyXFind): rename to find
5589
5590         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5591         (dispatch): ditto
5592
5593 2003-07-26  André Pönitz  <poenitz@gmx.net>
5594
5595         * text.C (setHeightOfRow): restrict scope of temporary variable
5596
5597         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5598           code (never has been used?)
5599
5600 2003-07-27  Asger Alstrup  <alstrup@local>
5601
5602         * text.C (fill): Optimise algorithm to exploit that we can reuse
5603         the LyXFont for many characters.
5604         (setHeightOfRow): Same thing.
5605         (rowBreakPoint): Same thing.
5606
5607 2003-07-26  Asger Alstrup  <alstrup@local>
5608
5609         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5610
5611         * text.C (singleWidth): Spurious font copying in hot-spot
5612         singleWidth avoided. Reorder tests for arabic for efficiency.
5613
5614         * text.C (fill): handle empty paragraphs better.
5615
5616 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5617
5618         * ispell.C:
5619         * encoding.h: add includes
5620
5621         * lyxrc.C: remove reading of bind files
5622
5623         * lyx_main.C (init): setup bindings and menus only if we have a
5624         gui.
5625
5626         * kbmap.C (read): new method. Do the actual reading of bind
5627         files.
5628
5629         * converter.C (dvipdfm_options):
5630         * bufferparams.C:
5631         * lyxrc.C (read):
5632         (output): adapt PAPER_* enums.
5633
5634         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5635
5636         * bufferparams.h: remove paper-related enums from there
5637
5638         * paper.h: New file. A trivial header file to hold paper-related
5639         enums. It should later expand to contain many paper-related
5640         horrors access.
5641
5642         * lyxrc.C: declare extern displayTranslator
5643
5644 2003-07-27  José Matos  <jamatos@fep.up.pt>
5645
5646         * tabular.[Ch] (linuxdoc): add support for tables and figures
5647         (linuxdoc).
5648
5649 2003-07-27  José Matos  <jamatos@fep.up.pt>
5650
5651         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5652         consistency in both functions.
5653         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5654
5655 2003-07-26  Asger Alstrup  <alstrup@local>
5656
5657         * rowpainter.C (paintRows): Change algorithm to work directly on
5658         the insets rather than asking every character in the document
5659         whether its an inset.
5660
5661 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5662
5663         * buffer.C (openFileWrite): factorize some code
5664
5665 2003-07-26  Angus Leeming  <leeming@lyx.org>
5666
5667         * lyx_cb.C:
5668         * lyx_main.[Ch]: replace occurances of system_tempdir with
5669         os::getTmpDir().
5670
5671 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * rename Inset to InsetOld
5674
5675 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5676
5677         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5678         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5679         which I think is a bit clearer. EDIT is gone, since it was
5680         premature optimisation, and broken for mathed anyway.
5681         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5682         with cursor positioning in insets as well (math insets still do not
5683         work, but that's a different story anyway.) It mysteriously
5684         crashes sometimes with undo in the first paragraph, but I'm fairly
5685         confident that this is a compiler bug.
5686
5687 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * paragraph.C (Paragraph): adjust for new clone return type
5690         (operator==): ditto
5691         (copyIntoMinibuffer): ditto
5692
5693 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5694
5695         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5696         by not having a special case, and always doing a full rebreak of
5697         the document after undo.
5698
5699 2003-07-23  Angus Leeming  <leeming@lyx.org>
5700
5701         * factory.C (createInset): InsetExternal::setParams now takes a
5702         Buffer const * arg.
5703
5704 2003-07-23  Angus Leeming  <leeming@lyx.org>
5705
5706         * factory.C (createInset): changed interface to the external and
5707         graphics mailers' string2params functions.
5708
5709 2003-07-23  Angus Leeming  <leeming@lyx.org>
5710
5711         * factory.C (createInset): pass a
5712         Buffer const * parameter to InsetExternalMailer's string2params.
5713
5714 2003-07-22  John Levon  <levon@movementarian.org>
5715
5716         * Thesaurus.h: include the right aiksaurus header
5717
5718 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5719
5720         * MenuBackend.C (expand): check menu shortcuts unconditionally
5721
5722 2003-07-21  Angus Leeming  <leeming@lyx.org>
5723
5724         * factory.C (createInset): pass a
5725         buffer_path parameter to InsetGraphicsMailer's string2params.
5726
5727 2003-07-21  Angus Leeming  <leeming@lyx.org>
5728
5729         * BufferView_pimpl.C (buffer):
5730         * buffer.C (d-tor):
5731         * lyx_main.C (LyX):
5732         * lyxfunc.C (dispatch):
5733         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5734         rather than the grfx shortcut.
5735
5736 2003-07-21  André Pönitz  <poenitz@gmx.net>
5737
5738         * rowpainter.C: remove unused variables
5739
5740         * tabular_funcs.C:
5741         * tabular_funcs.h: move to tabular.C
5742         * Makefile.am: adjust
5743
5744         * tabular.[Ch]: basic optical cleaning
5745
5746         * author.h: pass references, not values
5747
5748 2003-07-18  André Pönitz  <poenitz@gmx.net>
5749
5750         * lyxtext.h:
5751         * metricsinfo.C:
5752         * metricsinfo.h:
5753         * rowpainter.C:
5754         * text.C:
5755         * text2.C:
5756         * text3.C: two-phase drawing for InsetText and InsetTabular
5757         some float -> int changes.
5758
5759 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5760
5761         * lyx_main.C: fix the fix
5762
5763 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5764
5765         * lyx_main.C: fix a crash in batch mode if no files specified
5766         * converter.C: ws
5767
5768 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * format.[Ch] (papersize): moved to BufferParams
5771         * converter.[Ch] (dvips_options): moved to BufferParams
5772         (dvipdfm_options): moved to anon namespace
5773         * bufferparams.[Ch]: added above functions.
5774
5775 2003-07-17  André Pönitz  <poenitz@gmx.net>
5776
5777         * lyxtext.h:
5778         * rowpainter.C:
5779         * text2.C: don't call inset->update() anymore
5780
5781         * metricsinfo.[Ch]: add convenience constructor
5782
5783 2003-07-16  André Pönitz  <poenitz@gmx.net>
5784
5785         * lyxcursor.[Ch]:
5786         * lyxfunc.[Ch]:
5787         * text.C:
5788         * text2.C: replace the LyXCursor::irow_ member with
5789          on-demand computation of the value
5790
5791 2003-07-16  John Levon  <levon@movementarian.org>
5792
5793         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5794
5795 2003-07-15  André Pönitz  <poenitz@gmx.net>
5796
5797         * text.C:
5798         * text2.C: remove no more needed refresh_row
5799
5800 2003-07-15  André Pönitz  <poenitz@gmx.net>
5801
5802         * lyxtext.h:
5803         * rowpainter.C:
5804         * text2.C:
5805         * text3.C: refresh_status tristate -> need_update bool
5806
5807 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5808
5809         * lyxtext.h (init): remove reinit argument (act as if always true)
5810         * text2.C: adjust to that
5811
5812 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5813
5814         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5815         * text3.C: use it to delete selections in some cases
5816         (bugs 441, 673, 702, 954).
5817
5818 2003-07-14  André Pönitz  <poenitz@gmx.net>
5819
5820         * rowpainter.[Ch]: reduce interface
5821
5822 2003-07-14  André Pönitz  <poenitz@gmx.net>
5823
5824         * BufferView_pimpl.C:
5825         * text2.C: adjust after removing unused BufferView * argument
5826
5827 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5828
5829         * text2.C (init): fix a crash fired on resize
5830
5831 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5832
5833         * buffer.[Ch]: added new closing signal
5834         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5835         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5836         BufferView::Pimpl via the closing the signal
5837
5838 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5839
5840         * buffer.[Ch]: take out all bv-related from buffer
5841         * BufferView.C:
5842         * BufferView_pimpl.[Ch]: connect to new signals
5843         * CutAndPaste.C: removed useless asserts
5844         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5845         * lyxvc.[Ch]:
5846         * vc-backend.[Ch]:
5847         * lyxfunc.C: moved view-related funciontality from vc here
5848         * paragraph.C: removed outdated comments
5849         * text.C: ws
5850
5851 2003-07-10  André Pönitz  <poenitz@gmx.net>
5852
5853         * BufferView_pimpl.C:
5854         * tabular.h:
5855         * tabular_funcs.C:
5856         * text.C:
5857         * text2.C: remove InsetText::InnerCache, clean up consequences
5858
5859 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5860
5861         * ispell.C: fix two typos in error messages
5862
5863 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5864
5865         * Extend Note inset to other forms of annotation like Comment
5866         and Greyedout. Right button click gives dialog.
5867
5868         Files modified or added (+):
5869
5870         * insetnote.[Ch]
5871         * FormNote.[Ch]      +
5872         * ControlNote.[Ch]   +
5873         * form_note.fd       +
5874         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5875         frontends/controllers
5876         * xforms/Dialogs.C
5877         * factory.C
5878
5879 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5880
5881         * aspell.C: add missing namespace lyx::support
5882
5883 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * BufferView.[Ch] (newFile): Add
5886         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5887         * LaTeX.[Ch] (message): added this signal and use it
5888         * buffer.[Ch] (busy, message): added these signals and use them
5889         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5890         * converter.C:
5891         * exporter.C:
5892         * format.C:
5893         * importer.C: use buffer signals instead of direct bv calling
5894         * lyx_cb.[Ch] (ShowMessage): removed
5895         * lyx_main.C:
5896         * lyxfunc.C:
5897         * paragraph_funcs.C:
5898         * text2.C: use buffer signals
5899
5900 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * introduce namespace lyx::graphics
5903
5904 2003-07-02  André Pönitz  <poenitz@gmx.net>
5905
5906         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5907
5908 2003-07-01  André Pönitz  <poenitz@gmx.net>
5909
5910         * text.C:
5911         * text2.C:
5912         * text3.C:
5913         * text_funcs.[Ch]:
5914         * textcursor.h:
5915         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5916           text*.C to text_func.C
5917
5918 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * introduce namespace lyx::support
5921
5922 2003-06-30  André Pönitz  <poenitz@gmx.net>
5923
5924         * Chktex.C:
5925         * funcrequest.C:
5926         * lyxtext.h:
5927         * text.C: re-enable --with-included-string
5928
5929 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * textcursor.C: add <config.h>
5932
5933         * text.C (getWord): remove const from word_location arg
5934
5935         * lyxvc.C (getLogFile): fix const type order
5936
5937         * lyxtext.h: remove const from word_location arg, add arg name
5938
5939         * lyxlayout.h: currect type on labeltype.
5940
5941         * importer.C: correct \file
5942
5943         * converter.C (intToFormat): use std:: on ret val, ws changes
5944
5945         * bufferlist.h: correct \file
5946
5947         * buffer.C (makeLinuxDocFile): fix const type order
5948         (makeDocBookFile): ditto
5949         (fillWithBibKeys): use std:: on stdlib args.
5950
5951         * CutAndPaste.C: fix authors.
5952         (availableSelections): use std:: on return vector
5953
5954 2003-06-27  André Pönitz  <poenitz@gmx.net>
5955
5956         * BufferView_pimpl.C:
5957         * bufferview_funcs.C:
5958         * lyxcursor.C:
5959         * lyxcursor.h:
5960         * lyxfunc.C:
5961         * lyxtext.h:
5962         * rowpainter.C:
5963         * text.C:
5964         * text2.C:
5965         * text3.C: remove LyXCursor::row_ member
5966
5967         * lyxtext.h:
5968         * text.C: rename fullRebreak() to partialRebreak() and implement
5969           a fullRebreak() that really bereks fully
5970
5971         * textcursor.h: new struct for cursor-related data
5972
5973 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5974
5975         * lyx_main.C (LyX): get full path of document loaded on the
5976         command line
5977
5978 2003-06-26  André Pönitz  <poenitz@gmx.net>
5979
5980         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5981           remove unused/broken operator>,<,>=.
5982
5983         *       text.C: remove only use of broken operator<= in an Assert().
5984
5985 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5986
5987         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5988         moved errorlist_.clear to showErrorList
5989
5990 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5991
5992         * converter.C (scanLog, runLaTeX):
5993         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5994         move the bv->showErrorList call to the callers
5995         * lyxfunc.C: i.e. here...
5996         * text2.C: and here
5997         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5998         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5999         namespace, the second to...
6000         * buffer_funcs (BufferFormat, parseErrors): added
6001         * errorlist.C (ErrorList(TeXErrors const &)): removed
6002
6003 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6004
6005         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6006
6007 2003-06-24  "Garst R. Reese" <reese@isn.net>
6008
6009         * debug.C: fix typo
6010
6011 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6012
6013         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6014
6015         * version.C.in: change docversion to 1.4
6016
6017 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6018
6019         * buffer.C: fix a bug just introduced
6020
6021 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6022
6023         * buffer.[Ch]: added the parseError signal and use it, removed
6024         sgmlError
6025         * BufferView.[Ch] (addError): moved to ...
6026         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6027         to the Buffer::parseError signal to catch (guess what) parse errors
6028         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6029
6030 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6033         ability to create a buffer and to return an existing one from
6034         the list. Moved these functions to...
6035         * buffer_funcs.[Ch]: added
6036         * BufferView.[Ch] (loadLyXFile): added
6037         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6038         job removed from bufferlist::loadLyXFile.
6039         * buffer.C (setReadOnly): make it work without view
6040         (i.e added an if (users))
6041
6042 2003-06-19  Angus Leeming  <leeming@lyx.org>
6043
6044         * lfuns.h:
6045         * LyXAction.C (init):
6046         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6047         with LFUN_DIALOG_SHOW <name> <data>.
6048
6049 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6050
6051         * CutAndPaste.C (availableSelections): small compilation fix for
6052         ancient (gcc 2.9x) compilers
6053
6054 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * text3.C (cursorNext): add tmp var
6057
6058         * text2.C (updateCounters): for function calling out of for clause
6059         (replaceSelectionWithString): ditto
6060         (insertStringAsParagraphs): ditto
6061         (getColumnNearX): add tmp var
6062         (setCursorFromCoordinates): add tmp var
6063         (cursorDownParagraph): add tmp var
6064         (deleteEmptyParagraphMechanism): add tmp var
6065
6066         * text.C (insertChar): add tmp var
6067
6068         * rowpainter.C (paintDepthBar): add tmp var
6069
6070         * CutAndPaste.C (availableSelections): potentially check all
6071         paragraphs in a cut to fill the shown strings.
6072
6073 2003-06-18  André Pönitz  <poenitz@gmx.net>
6074
6075         * kbmap.[Ch]: use vector<> instead of list<>
6076
6077 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6078
6079         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6080         pasteSelection with index
6081
6082         * text2.C (pasteSelection): modify, call pasteSelection with index
6083
6084         * paragraph.C (asString): reimplement version with no interval to
6085         call the one with interval.
6086
6087         * lyxtext.h: add index arg to pasteSelection
6088
6089         * MenuBackend.C (MenuItem): handle PasteRecent
6090         (Menu::read::Menutags): add md_pasterecent
6091         (read): handle it
6092         (expandPasteRecent): new function
6093         (expand): use it
6094
6095         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6096
6097         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6098         the limited stack
6099         (availableSelections): new function
6100
6101 2003-06-17  Angus Leeming  <leeming@lyx.org>
6102
6103         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6104
6105 2003-06-17  Angus Leeming  <leeming@lyx.org>
6106
6107         * lfuns.h:
6108         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6109
6110         * lyxfunc.C (dispatch): invoke it.
6111
6112 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6113
6114         * iterators.C (operator++, ParPosition): reintroduce some
6115         const_cast for the benefit of older compilers.
6116
6117 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6118
6119         * text3.C (dispatch): do not modify clipboard when doing
6120         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6121         LFUN_DELETE_SKIP on a selection selection
6122
6123 2003-06-16  André Pönitz  <poenitz@gmx.net>
6124
6125         * BufferView.C:
6126         * buffer.C:
6127         * buffer.h:
6128         * paragraph.C:
6129         * tabular.[Ch]: IU of clone() and getLabelList();
6130
6131 2003-06-13  André Pönitz  <poenitz@gmx.net>
6132
6133         * tabular.h: compactification
6134
6135 2003-06-12  André Pönitz  <poenitz@gmx.net>
6136
6137         * tabular.C:
6138         * tabular.h:
6139         * tabular_funcs.h: some renaming plus whitespace
6140
6141 2003-06-12  André Pönitz  <poenitz@gmx.net>
6142
6143         * BufferView.C:
6144         * BufferView_pimpl.C:
6145         * CutAndPaste.C:
6146         * buffer.C:
6147         * iterators.[Ch]:
6148         * lyxfunc.C:
6149         * text.C:
6150         * toc.C: Return a Paragraph & for ParIterator::operator*()
6151
6152 2003-06-11  John Levon  <levon@movementarian.org>
6153
6154         * lyx_main.C:
6155         * ToolbarBackend.h:
6156         * ToolbarBackend.C: add "Toolbars" section and
6157         put the flags there
6158
6159 2003-06-10  Angus Leeming  <leeming@lyx.org>
6160
6161         * lfuns.h:
6162         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6163
6164         * lyxfunc.C (dispatch): invoke it.
6165
6166 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * main.C: protect <ios> with HAVE_IOS
6169         (main): protect sync_with_stdio with HAVE_IOS
6170
6171 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6172
6173         * text2.C (cutSelection): adjust
6174         (pasteSelection): adjust
6175
6176         * messages.C: handle get of empty string
6177
6178         * main.C (main): use sync_with_stdio(false)
6179
6180         * lyxfunc.C (dispatch): adjust
6181
6182         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6183         (WriteAs): remove unneeded BufferView arg.
6184
6185         * bufferparams.h: use correct types on papersize, papersize2 and
6186         paperpackage.
6187
6188         * bufferparams.C (readToken): adjust for type
6189         (writeLaTeX): add missing cases to switch.
6190
6191         * bufferlist.C (quitWriteBuffer): adjust
6192         (close): adjust
6193
6194         * buffer.C (asciiParagraph): remove some commented code.
6195
6196         * CutAndPaste.C: remove current_view extern variable.
6197         (cutSelection): add BufferParams arg.
6198         (eraseSelection): add BufferParams arg.
6199         (pasteSelection): add Buffer const & arg
6200
6201 2003-06-07  John Levon  <levon@movementarian.org>
6202
6203         * buffer.C:
6204         * paragraph_funcs.C:
6205         * paragraph_pimpl.C:
6206         * text.C:
6207         * text2.C:
6208         * paragraph.h:
6209         * paragraph.C: allow InsetERT to freely space lines,
6210         and some consolidation of code
6211
6212 2003-06-06  José Matos  <jamatos@fep.up.pt>
6213
6214         * buffer.C (makeDocBookFile): fix bug #821
6215
6216 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6217
6218         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6219
6220 2003-06-04  Angus Leeming  <leeming@lyx.org>
6221
6222         * buffer.C: bump format to 224.
6223
6224 2003-06-05  André Pönitz  <poenitz@gmx.net>
6225
6226         * text2.C (redoParagraphs): remove two const_cast<>
6227
6228 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6229
6230         * ParagraphList.h: remove last remnants of NO_STD_LIST
6231
6232 2003-06-03  Angus Leeming  <leeming@lyx.org>
6233
6234         * factory.C (createInset): small change to the way InsetExternal's params
6235         are set.
6236
6237 2003-06-04  André Pönitz  <poenitz@gmx.net>
6238
6239         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6240
6241         * paragraph_pimpl.h:
6242         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6243
6244         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6245
6246         * undo_funcs.C: make some simple cases of undo work again
6247
6248 2003-06-03  John Levon  <levon@movementarian.org>
6249
6250         * ispell.C: HPUX doesn't have sys/select.h
6251         (from Albert Chin)
6252
6253 2003-06-03  John Levon  <levon@movementarian.org>
6254
6255         * CutAndPaste.C: update tabular and include inset
6256         buffer references
6257
6258         * buffer.h:
6259         * paragraph.h:
6260         * paragraph.C: remove owningBuffer(), don't pass Buffer
6261         to clone()
6262
6263         * factory.C: insetGraphicsParams changed
6264
6265 2003-06-02  John Levon  <levon@movementarian.org>
6266
6267         * LyXAction.C:
6268         * factory.C:
6269         * lfuns.h:
6270         * lyxfunc.C:
6271         * text3.C: remove insetparent
6272
6273 2003-06-02  John Levon  <levon@movementarian.org>
6274
6275         * buffer.h:
6276         * buffer.C: fix inset_iterator.end(), move out of line
6277         (bug 1149)
6278
6279 2003-06-01  John Levon  <levon@movementarian.org>
6280
6281         * text3.C: use a proper cut/paste when doing inset
6282         insert (from Jürgen Spitzmüller)
6283
6284 2003-06-01  John Levon  <levon@movementarian.org>
6285
6286         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6287
6288 2003-05-30  André Pönitz  <poenitz@gmx.net>
6289
6290         * rowpainter.C: unify second drawing phase
6291
6292 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * trans_mgr.C: remove one case of current_view
6295
6296         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6297
6298         * paragraph_funcs.h: remove paragraph.h include
6299
6300         * paragraph.h: delete NO_STD_LIST stuff
6301
6302         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6303
6304         * buffer.h: remove paragraph.h include
6305
6306         * ParagraphList.C: delete file
6307
6308         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6309
6310         * toc.C (getTocList): adjust
6311
6312         * paragraph_pimpl.C (validate): adjust
6313
6314         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6315
6316         * paragraph.C (Paragraph): adjust
6317         (getPositionOfInset): use const_iterator, adjust
6318         (bibitem): use const_iterator, adjust
6319         (setInsetOwner): adjust
6320
6321         * iterators.C (operator++): adjust
6322
6323         * InsetList.[Ch]: Replace selfmade iterator with standard
6324         vector::iterator also introduce const_iterator. Remove getPos,
6325         getInset and setInset from InsetTable. Adjust accordingly.
6326
6327         * BufferView.C (lockInset): adjust
6328         (ChangeInsets): adjust
6329
6330         * tabular.[Ch]: delete commented same_id functions
6331
6332 2003-05-28  John Levon  <levon@movementarian.org>
6333
6334         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6335
6336 2003-05-28  André Pönitz  <poenitz@gmx.net>
6337
6338         * metricsinfo.[Ch]: remove 'fullredraw' member
6339
6340 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6341
6342         * lyxtextclass.C (operator): remove caching.
6343
6344 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * text3.C: adjust
6347
6348         * text2.C (cursorBottom): adjust
6349         (setCounter): use ParagraphList::find, adjust
6350
6351         * text.C (workWidth): use ParagraphList::find, adjust
6352
6353         * lyxcursor.C (LyXCursor): adjust
6354
6355         * buffer.C (inset_iterator): adjust
6356
6357         * ParagraphList.h: make iterator(value_type) private, make
6358         ParagraphList a friend of iterator.
6359
6360         * ParagraphList.C (find): new function
6361
6362         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6363
6364 2003-05-27  André Pönitz  <poenitz@gmx.net>
6365
6366         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6367
6368 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6369
6370         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6371
6372 2003-05-26  John Levon  <levon@movementarian.org>
6373
6374         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6375
6376 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * remove same_id from function signatures, adjust.
6379
6380 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6383
6384         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6385
6386         * paragraph.C (Paragraph): get rid of same_ids parameter
6387
6388         * ParagraphList.C (insert): adjust
6389         (push_back): adjust
6390
6391 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * paragraph_funcs.C (breakParagraph): adjust
6394         (breakParagraphConservative): adjust
6395
6396         * buffer.C (readParagraph): adjust
6397
6398         * ParagraphList.C (insert): take a reference instead of a pointer
6399         (insert): adjust
6400
6401         * paragraph.[Ch] (id): new function
6402
6403         * bufferlist.C (newFile): adjust
6404
6405         * ParagraphList.C (ParagraphList): adjust
6406         (assign): adjust
6407         (push_back): take a reference instead of a pointer.
6408
6409         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6410
6411         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6412         instead.
6413
6414         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6415         set else use old code.
6416
6417         * ParagraphList.C: remove all NO_NEXT code and only compile this
6418         code of NO_STD_LIST is set.
6419
6420 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * BufferView_pimpl.C:
6423         * TextCache.C:
6424         * TextCache.h:
6425         * bufferlist.C:
6426         * errorlist.h:
6427         * format.C:
6428         * format.h:
6429         * graph.C:
6430         * lyxfunc.C:
6431         * lyxrc.C:
6432         * graphics/GraphicsConverter.C:
6433         * graphics/PreviewLoader.C: header adjustment
6434
6435 2003-05-23  Angus Leeming  <leeming@lyx.org>
6436
6437         * LaTeXFeatures.[Ch] (useBabel): new method.
6438         * bufferparams.C (writeLaTeX): use it.
6439
6440 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * ParagraphList.h (set): remove unused function.
6443
6444 2003-05-23  André Pönitz  <poenitz@gmx.net>
6445
6446         * BufferView.C:
6447         * BufferView_pimpl.C:
6448         * buffer.C:
6449         * buffer.h:
6450         * lyxfunc.C:
6451         * undo_funcs.C: setUndo reworked
6452
6453         * iterators.[Ch]: add access to topmost ParagraphList
6454
6455         * lyxtext.[Ch] (workWidth): add a const
6456
6457 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * texrow.[Ch] (increasePos): remove function
6460         * exporter.C (export): removed unused var and outdated comment
6461
6462 2003-05-23  Angus Leeming  <leeming@lyx.org>
6463
6464         * latexrunparams.h: rename fragile as moving_arg.
6465         * paragraph.C (simpleTeXOnePar): ditto.
6466         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6467
6468 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6471         (createUndo): ditto
6472         (textUndoOrRedo): comment out a currently unused var.
6473
6474         * paragraph.h (NO_NEXT): enable NO_NEXT
6475
6476         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6477
6478         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6479
6480         * exporter.C (Export): adjust for removeAutoInsets removal.
6481
6482         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6483
6484         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6485
6486         * BufferView.[Ch] (removeAutoInsets): delete function
6487
6488 2003-05-22  Angus Leeming  <leeming@lyx.org>
6489
6490         * latexrunparams.h: add a free_spacing variable.
6491
6492         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6493         to pass moving_arg, as the data is stored in runparams.fragile.
6494
6495         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6496         to Inset::latexOptional or to simpleTeXOnePar.
6497
6498         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6499         free_spacing arg to Inset::latexOptional.
6500
6501         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6502         free_spacing arg.
6503
6504 2003-05-22  Angus Leeming  <leeming@lyx.org>
6505
6506         * latexrunparams.h: add fragile and use_babel variables.
6507
6508         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6509         * buffer.C (makeLaTeXFile): store this returned value in
6510         runparams.use_babel, thus passing it to the inset::latex methods.
6511
6512         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6513         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6514
6515         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6516         longer has a fragile arg, as it is stored in runparams.fragile.
6517
6518         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6519         moving_arg parameter as the data is stored in runparams.fragile.
6520
6521         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6522         a fragile parameter as the data is stored in runparams.fragile.
6523
6524 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6527
6528 2003-05-22  Angus Leeming  <leeming@lyx.org>
6529
6530         * latexrunparams.h: add a 'bool nice' which defaults to false.
6531
6532         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6533         now encapsulated within runparams.
6534
6535         * bufferlist.C (updateIncludedTeXfiles):
6536         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6537
6538 2003-05-22  Angus Leeming  <leeming@lyx.org>
6539
6540         * latexrunparams.h: new file containing struct LatexRunParams.
6541         * Makefile.am: add new file.
6542
6543         * LaTeX.[Ch] (c-tor, run):
6544         * buffer.[Ch] (makeLaTeXFile):
6545         * bufferlist.[Ch] (updateIncludedTeXfiles):
6546         * converter.C (convert, scanLog):
6547         * converter.[Ch] (runLaTeX):
6548         * exporter.C (Export):
6549         * paragraph.[Ch] (simpleTeXOnePar):
6550         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6551         * paragraph_funcs.[Ch] (latexParagraphs):
6552         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6553         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6554         pass around a LatexRunParams parameter.
6555
6556 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * paragraph.[Ch]: remove unused constructor
6559
6560         * ParagraphList.C (erase): new function, taking two iterators
6561
6562 2003-05-22  André Pönitz  <poenitz@gmx.net>
6563
6564         * undo_funcs.C: remove duplicated code
6565
6566         * iterator.[Ch]: operator=
6567
6568 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * tabular.C (SetMultiColumn): ws changes
6571
6572         * rowpainter.C (paintFirst): get rid of a ->previous
6573
6574         * lyx_cb.C (getPossibleLabel): parlist simplification
6575
6576         * BufferView.C (ChangeInsets): simplify slightly.
6577
6578 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6579
6580         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6581         * lfuns.h: new LFUN_SPACE
6582         * lyxfunc.C: protected space has a new lfun
6583         * paragraph_funcs.C: read new space insets
6584         * text3.C:
6585         * factory.C: handle new space insets
6586
6587 2003-05-22  André Pönitz  <poenitz@gmx.net>
6588
6589         * BufferView.C:
6590         * BufferView_pimpl.C:
6591         * buffer.[Ch]:
6592         * lyxfunc.C:
6593         * undo_funcs.C: return a ParIterator from getParFromID.
6594
6595         * iterators.[Ch]: add two const's
6596
6597 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * toc.C (getTocList): adjust
6600
6601         * iterators.[Ch]: rework for parlist
6602
6603         * buffer.C (par_iterator_begin): adjust
6604         (par_iterator_end): adjust
6605
6606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6607
6608         * BufferView.C (removeAutoInsets): adjust
6609         (ChangeInsets): adjust
6610
6611 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6612
6613         * text.C (top_y): fix bug 1110
6614
6615 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6616
6617         * errorlist.[Ch]: added
6618         * buffer.C:
6619         * BufferView.[Ch]:
6620         * BufferView_pimpl.C:
6621         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6622         instead
6623
6624 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * Makefile.am: ensure that lyx is relinked upon changes to the
6627         various "convenience" libs.
6628
6629 2003-05-20  Angus Leeming  <leeming@lyx.org>
6630
6631         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6632         files are compiled in alphabetical order again.
6633
6634         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6635
6636 2003-05-19  Angus Leeming  <leeming@lyx.org>
6637
6638         * gettext.[Ch]: remove "char const * _(char const *)".
6639
6640 2003-05-19  André Pönitz  <poenitz@gmx.net>
6641
6642         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6643
6644         * Makefile.am:
6645         * BufferView.C:
6646         * DepTable.h:
6647         * LaTeXFeatures.C:
6648         * buffer.C:
6649         * lyxfont.C:
6650         * lyxlex.h:
6651         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6652
6653 2003-05-19  André Pönitz  <poenitz@gmx.net>
6654
6655         * buffer.C:
6656         * lyxlayout.[Ch]:
6657         * lyxtextclass.[Ch]:
6658         * paragraph.C:
6659         * paragraph_funcs.[Ch]:
6660         * text2.C:
6661         * text3.C: more insetenv work
6662
6663 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * ParagraphParameters.C (params2string): small bug fixed
6666
6667 2003-05-16  André Pönitz  <poenitz@gmx.net>
6668
6669         * debug.C:
6670         * bufferview_funcs.C: patch from Kornel Benko to prevent
6671           crash when _(...) is called twice in a statement
6672
6673 2003-05-16  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView.C:
6676         * lyxfunc.C:
6677         * text.C:
6678         * text2.C:
6679         * text3.C:
6680         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6681
6682 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * lyx_main.C (init): remove spurious static_cast
6685
6686 2003-05-14  André Pönitz  <poenitz@gmx.net>
6687
6688         * BufferView.C: fix format string
6689
6690 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6691
6692         * BufferView.[Ch] (insertErrors): removed
6693         * BufferView.[Ch] (showErrorList): added
6694         * buffer.C (runChkTeX):
6695         * converter.C (scanLog): call showErrorList instead of inserterrors
6696
6697 2003-05-13  André Pönitz  <poenitz@gmx.net>
6698
6699         * BufferView_pimpl.C:
6700         * buffer.C:
6701         * bufferview_func.C:
6702         * MenuBackend.C:
6703         * lyxfunc.C:
6704         * lyxrc.C:
6705         * tex-accent.C:
6706         * text3.C:
6707         * toc.C:
6708         * tabular_funcs.h: tostr() from its own header
6709
6710         * ParagraphParameters.C:
6711         * ToolbarBackend.C:
6712         * bufferparams.C:
6713         * format.C:
6714         * lyxlex_pimpl.C:
6715         * text3.C: STRCONV()
6716
6717 2003-05-12  André Pönitz  <poenitz@gmx.net>
6718
6719         * BufferView.C:
6720         * BufferView_pimpl.C:
6721         * CutAndPaste.C:
6722         * LaTeX.C:
6723         * LaTeXFeatures.C:
6724         * ParagraphParameters.C:
6725         * buffer.C:
6726         * bufferlist.C:
6727         * bufferparams.C:
6728         * bufferview_funcs.C:
6729         * converter.C:
6730         * counters.C:
6731         * debug.C:
6732         * exporter.C:
6733         * format.C:
6734         * importer.C:
6735         * lyx_cb.C:
6736         * lyx_main.C:
6737         * lyxfont.C:
6738         * lyxfunc.C:
6739         * lyxvc.C:
6740         * paragraph.C:
6741         * paragraph_funcs.C:
6742         * tabular.C:
6743         * tabular_funcs.C:
6744         * text2.C:
6745         * text3.C:  boost::format -> bformat  all over the place
6746
6747
6748 2003-05-09  André Pönitz  <poenitz@gmx.net>
6749
6750         * LColor.[Ch]: Pimpl the #include <map> away
6751
6752 2003-05-09  John Levon  <levon@movementarian.org>
6753
6754         * bufferlist.C: never remove emergency saves
6755
6756 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * Makefile.am: better lib building
6759
6760 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6763         instead.
6764         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6765         (simpleTeXSpecialChars): adjust
6766         (simpleTeXSpecialChars): adjust
6767         * paragraph.C (simpleTeXOnePar): adjust
6768         * buffer.C (makeLaTeXFile): adjust
6769
6770         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6771
6772         * text2.C (changeDepth): parlist cleanup
6773         (getColumnNearX): ditto
6774
6775         * rowpainter.C (getLabelFont): parlist cleanup
6776
6777         * bufferlist.C (newFile): parlist cleanup
6778
6779         * CutAndPaste.C (eraseSelection): parlist cleanup
6780
6781         * BufferView_pimpl.C (trackChanges): parlist cleanup
6782         (dispatch): ditto
6783
6784         * BufferView.C (lockInset): parlist cleanup.
6785         (ChangeInsets): ditto
6786
6787 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * CutAndPaste.h: Update file header.
6790
6791         * CutAndPaste.C: Update file header.
6792         Store the parts cut out of the Document in a limited_stack.
6793         (copySelection): adjust
6794         (pasteSelection): new function, takes the index in the limited stack.
6795         (nrOfParagraphs): adjust
6796         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6797         simplify error inset insertion.
6798         (checkPastePossible): adjust
6799
6800 2003-05-06  John Levon  <levon@movementarian.org>
6801
6802         * text2.C: don't cast wrap inset to float
6803
6804 2003-05-05  André Pönitz  <poenitz@gmx.net>
6805
6806         * iterator.C:
6807         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6808
6809         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6810           few naked Paragraph *.
6811
6812 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6813
6814         * bufferparams.C: Output warning if a document with missing
6815         TeX document class is loaded
6816         * exporter.C: Disable TeX exports if the document class is missing
6817         * lyxtextclass.C:
6818         * lyxtextclass.h:
6819         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6820         isTeXClassAvailable()
6821
6822 2003-05-03  John Levon  <levon@movementarian.org>
6823
6824         * BufferView.h:
6825         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6826         explicit cursor show/hide
6827
6828         * BufferView_pimpl.h:
6829         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6830         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6831
6832         * lyxfunc.C: hide cursor before dispatching.
6833
6834         * lyx_cb.C:
6835         * lyxfind.C:
6836         * text.C:
6837         * text3.C: remove explicit cursor hides
6838
6839 2003-05-02  André Pönitz  <poenitz@gmx.net>
6840
6841         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6842
6843         * undo_funcs.C:
6844         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6845           linked lists
6846
6847         * text2.C: tiny whitespace
6848
6849 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * undo_funcs.C: almost only ws changes.
6852
6853         * ParagraphList.C (splice): just return if pl is empty.
6854
6855 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * ParagraphList.C (splice): new function.
6858
6859         * CutAndPaste.C (pasteSelection): use it
6860
6861 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * CutAndPaste.C (pasteSelection): remove the last next and
6864         previous from this file.
6865
6866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * CutAndPaste.C (pasteSelection): more clean up, user proper
6869         ParagraphList functions for pasteing.
6870
6871         * ParagraphList.C (insert): new function, three arg insert
6872
6873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * ParagraphList.C (insert): new function, three arg insert
6876
6877         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6878         not on paragraphs.
6879
6880 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6883
6884 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6887
6888 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6891         (copySelection): clean up a bit.
6892         (pasteSelection): use make_pair
6893
6894         * ParagraphList.C (ParagraphList): implement copy constructor
6895         (operator=): implement, base on copy constructor.
6896         (assign): new func
6897
6898         * paragraph.C (erase): return a bool
6899
6900         * paragraph_pimpl.C (erasePos): remove function, move contents...
6901         (erase): ... here. Return a bool.
6902         (erase): call erase instead of erasePos.
6903
6904 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * ParagraphList.h: define PitPosPair
6907         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6908         ParagraphList, fix a bug on pasting multiple pars
6909         * text2.C: change interface to C&P
6910
6911 2003-04-30  André Pönitz  <poenitz@gmx.net>
6912
6913         * undo_func.C: revert part of yesterday's patch 2
6914
6915 2003-04-30  John Levon  <levon@movementarian.org>
6916
6917         * LColor.C: s/tabular/table/
6918
6919 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * text3.C (dispatch): do not convert iterator -> pointer
6922         * undo_funcs.C (setCursorParUndo): ditto
6923         * text_funcs.C (transposeChars): ditto
6924
6925         * text2.C (setLayout): ws changes only
6926
6927         * text.C (breakParagraph): do not convert iterator -> pointer
6928         (insertChar): ditto
6929         (acceptChange): ditto
6930         (rejectChange): ditto
6931         (changeCase): ditto
6932         (Delete): ditto
6933         (backspace): ditto
6934
6935         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6936         pointer
6937
6938 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6939
6940         * text3.C (gotoInset): YABG (yet another bad getChar)
6941
6942 2003-04-29  André Pönitz  <poenitz@gmx.net>
6943
6944         * paragraph.h: make operator= private unimplemented as long as
6945           it is unusable
6946
6947         * ParagraphList.C: whitespace
6948
6949         * paragraph.[Ch]:
6950         * paragraph_pimpl.[Ch]:
6951         * paragraph_funcs.C:
6952         * CutAndPaste.C:
6953         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6954
6955         * text2.C:
6956           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6957
6958 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6961         * paragraph.[Ch] (erase):
6962         * paragraph_pimpl.[Ch] (erase): change return type and value
6963         * text2.C (cutSelection): some rework
6964
6965 2003-04-28  John Levon  <levon@movementarian.org>
6966
6967         * bufferlist.C: changes for unsaved changes dialog
6968
6969 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * bufferlist.C (newFile): set language (messages_) for new
6972         documents also.
6973
6974         * buffer.C (readFile): ws changes only.
6975
6976 2003-04-28  André Pönitz  <poenitz@gmx.net>
6977
6978         * undo_funcs.C:
6979         * lyxfunc.C:
6980         * buffer.[Ch]:
6981         * BufferView_pimpl.C:
6982         * BufferView.C: getParFromID related ParagraphList::iterator changes
6983
6984 2003-04-28  André Pönitz  <poenitz@gmx.net>
6985
6986         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6987           Changes
6988
6989 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * messages.C: remove one more localedir class variable.
6992
6993 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * messages.C (getLocaleDir): singleton generation function
6996         (Pimpl): use it.
6997         (Messages): add a default constructor.
6998
6999         * main.C (main): do not setup localedir here, do not call
7000         gettext_init.
7001
7002         * gettext.C (_): use it.
7003         (gettext_init): delete funciton
7004
7005 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * gettext.C (getLyXMessages): new singleton generating function.
7008
7009         * buffer.C (updateDocLang): adjust
7010
7011         * Makefile.am (messages.o): add target
7012         (main.o): remove target
7013
7014 2003-04-27  John Levon  <levon@movementarian.org>
7015
7016         * bufferlist.C:
7017         * lyx_cb.C:
7018         * lyxfunc.C:
7019         * lyxvc.C: specify cancel button in Alert::prompt
7020
7021 2003-04-26  John Levon  <levon@movementarian.org>
7022
7023         * text3.C:
7024         * lyxfunc.C:
7025         * lfuns.h:
7026         * LyXAction.C: add LFUN_INSET_SETTINGS
7027
7028         * lyxfunc.C: don't enable tabular-feature when there's
7029         just any locking inset
7030
7031 2003-04-26  John Levon  <levon@movementarian.org>
7032
7033         * bufferlist.C: re-add Cancel to buffer close question
7034
7035         * lyxfunc.C: fix import UI a bit
7036
7037 2003-04-25  John Levon  <levon@movementarian.org>
7038
7039         * gettext.C: remove the broken asserts for now
7040
7041 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * messages.C: make case where setlocale cannot comply work better.
7044
7045         * buffer.C (updateDocLang): new function
7046         (changeLanguage): use it
7047         (readFile): use it
7048
7049         * text2.C (setCounter): use B_ a bit.
7050
7051         * lyxlayout.C (Read): be sure to trim the label strings.
7052
7053         * messages.C (Messages): fix typo in comment
7054
7055         * buffer.C (readFile): set message_ after file is loaded.
7056         (makeDocBookFile): remove double return
7057         (changeLanguage): reset message_ upon language change.
7058         (B_): new func, use this to get translated buffer strings.
7059
7060         * main.C: add myself and Jean Marc as authors.
7061
7062 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7063
7064         * messages.[hC]: pimplify Messages, and three different pimpls to be
7065         used in different circumstances.
7066
7067         * gettext.[Ch]: change for use with new message code.
7068
7069 2003-04-24 André Pönitz <poenitz@gmx.net>
7070
7071         * factory.C: support for eqref
7072
7073 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7074
7075         * messages.[Ch]: add missing char
7076
7077         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7078
7079         * messages.[Ch]: New files
7080
7081 2003-04-18  John Levon  <levon@movementarian.org>
7082
7083         * BufferView.h:
7084         * BufferView.C:
7085         * BufferView_pimpl.C:
7086         * lfuns.h:
7087         * LyXAction.C:
7088         * lyxtext.h:
7089         * text2.C: remove layout-copy/paste (bug 778)
7090
7091 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7092
7093         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7094
7095 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7098         if they succeed. Act accordingly.
7099
7100 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * text2.C (setCharFont): adjust
7103         (setCounter): adjust
7104         (insertStringAsLines): adjust
7105
7106         * text.C (leftMargin): adjust
7107         (setHeightOfRow): adjust
7108
7109         * rowpainter.C (paintFirst): adjust
7110         (paintLast): adjust
7111
7112         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7113         (outerHook): ditto
7114         (isFirstInSequence): ditto
7115         (getEndLabel): ditto
7116         (outerFont): adjust
7117
7118         * paragraph.C (getParLanguage): comment out some hard stuff.
7119
7120         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7121         (sgmlError): ditto
7122         (simpleDocBookOnePar): ditto
7123         (makeDocBookFile): use ParagraphList::iterator
7124
7125         * CutAndPaste.C (pasteSelection): adjust
7126
7127 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * text2.C (getFont): adjust
7130         (getLayoutFont): adjust
7131         (getLabelFont): adjust
7132
7133         * paragraph_funcs.C (TeXOnePar): adjust
7134
7135         * buffer.C (simpleLinuxDocOnePar): adjust
7136         (simpleDocBookOnePar): adjust
7137
7138         * CutAndPaste.C (pasteSelection): adjust
7139
7140         * BufferView.C (getEncoding): adjust
7141
7142         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7143
7144 2003-04-16  John Levon  <levon@movementarian.org>
7145
7146         * lyxfind.C: use parlist stuff for search/changes
7147
7148 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7151
7152         * text2.C (deleteEmptyParagraphMechanism): adjust
7153
7154         * text2.[Ch] (ownerParagraph): delete func (both of them
7155
7156 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7159
7160 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * ParagraphList.C: prepare for NO_NEXT
7163
7164 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * text2.C (getFont): adjust
7167         (getLayoutFont): adjust
7168         (getLabelFont): adjust
7169
7170         * paragraph.C (getFont): adjust
7171         (getLabelFont): adjust
7172         (getLayoutFont): adjust
7173
7174         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7175
7176 2003-04-15  John Levon  <levon@movementarian.org>
7177
7178         From Angus Leeming
7179
7180         * lyx_main.C: handle Include in .ui files
7181
7182 2003-04-15  John Levon  <levon@movementarian.org>
7183
7184         * MenuBackend.C: make the doc files length shorter
7185
7186         * ToolbarBackend.h:
7187         * ToolbarBackend.C: handle toolbar placement flags,
7188         Minibuffer
7189
7190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7193         adjust
7194
7195         * paragraph_funcs.C (TeXOnePar): adjust
7196
7197         * paragraph.C (getLabelFont): add outerfont arg, adjust
7198         (getLayoutFont): ditto
7199         (simpleTeXOnePar): adjust
7200
7201         * paragraph_pimpl.C (realizeFont): delete func
7202
7203 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7206         row argument, constify cur argument.
7207
7208 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * text2.C (getFont): adjust
7211         (getLayoutFont): adjust
7212         (getLabelFont): adjust
7213
7214         * paragraph_funcs.C (TeXOnePar): adjust
7215         (outerFont): new func...
7216         (realizeFont): ...moved out from here, changed this to facilitate
7217         transition
7218
7219         * paragraph.C (getFont): take outerfont as arg, adjust
7220         (simpleTeXOnePar): add outerfont arg, adjust
7221
7222         * buffer.C (simpleLinuxDocOnePar): adjust
7223         (simpleDocBookOnePar): adjust
7224
7225         * CutAndPaste.C (pasteSelection): adjust
7226
7227         * BufferView.C (getEncoding): adjust
7228
7229 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * text2.C (setCharFont): adjust
7232         (setCounter): adjust
7233
7234         * text.C (leftMargin): adjust
7235         (setHeightOfRow): adjust
7236
7237         * rowpainter.C (paintFirst): adjust
7238         (paintLast): adjust
7239
7240         * paragraph_pimpl.C (realizeFont): adjust
7241
7242         * paragraph.C (isFirstInSequence): move from here...
7243         * paragraph_funcs.C (isFirstInSequence): ...to here
7244
7245         * paragraph.C (outerHook): move from here...
7246         * paragraph_funcs.C (outerHook): ...to here
7247
7248         * paragraph.C (depthHook): move from here...
7249         * paragraph_funcs.C (depthHook): ...to here
7250
7251         * paragraph.C (getEndLabel): move from here...
7252         * paragraph_funcs.C (getEndLabel): ...to here
7253
7254         * text2.C (realizeFont): move from here...
7255         * paragraph_funcs.C (realizeFont): ...to here
7256
7257 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7260
7261 2003-04-14  Angus Leeming  <leeming@lyx.org>
7262
7263         * LColor.[Ch]: scrap LColor mathcursor.
7264
7265 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * lyxlex.[Ch] (text): delete function
7268         * trans.C (Load): adjust
7269         * paragraph_funcs.C (readParToken): adjust
7270
7271 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7274         vector<char> instead of a char[].
7275
7276         * lyxlex_pimpl.C (getString): adjust
7277         (next): adjust
7278         (lex): use getString
7279         (eatLine): adjust
7280         (nextToken): adjust
7281
7282         * lyxlex.C (text): use pimpl_->getString()
7283         (getBool): ditto
7284         (findToken): ditto
7285
7286 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7289         (makeFontEntriesLayoutSpecific): temp var for par.size()
7290         (setLayout): temp var for ownerParagraphs().end()
7291         (fullRebreak): temp var for rows().end()
7292         (selectionAsString): temp var for boost::next(startpit), realize
7293         that the while really is a regular for loop.
7294         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7295         setCursor in one place.
7296         (setParagraph): temp vr for ownerParagraphs().end()
7297         (updateCounters): make the while loop a for loop
7298         (cutSelection): temp var for ownerParagraphs().end()
7299         (updateInset): make the do {} while() a regular for loop
7300         (getCursorX): use temp vars
7301         (setCurrentFont): use temp vars
7302         (getColumnNearX): use temp vars
7303
7304 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * text.C (transformChar): use temp var for getChar
7307         (computeBidiTables): use temp var for row->par()
7308         (fill): move temp vars for row->par() and pit->layout() earlier in
7309         the function.
7310         (labelFill): use temp var for row->par()
7311         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7312         asc and desc, realize that pit never changes and that firstpit is
7313         just a duplicate and not needed. Exchange rit->par() with pit in a
7314         lot of places.
7315         (breakAgain): use a temp var for boost::next(rit)
7316         (breakAgainOneRow): ditto
7317         (breakParagraph): use a temp var for rows().begin()
7318         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7319         (cursorRightOneWord): use temp var for cursor.par() and
7320         cursor.pos(), remove usage of tmpcursor.
7321         (cursorLeftOneWord): use temp var for cursor.par() and
7322         cursor.pos() only set cur at end of function.
7323
7324 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * text.C, text2.C: exchange all usage of Paragraph::next with
7327         boost::next(ParagraphList::iterator)
7328
7329         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7330
7331         * text2.C (cursorTop): simplify implementation
7332         (cursorBottom): ditto
7333         (setParagraph): use ParagraphList::iterator
7334         (setCurrentFont): adjust
7335         (getColumnNearX): adjust
7336         (cursorRight): adjust
7337         (cursorLeft): remove usage of Paragraph::previous
7338         (cursorUpParagraph): ditto
7339         (deleteEmptyParagraphMechanism): slight cleanup
7340
7341         * text.C (isBoundary): take a Paragraph const & instead of a
7342         pointer as arg.
7343         (addressBreakPoint): ditto
7344         (leftMargin): remove usage of Paragraph::previous.
7345         (setHeightOfRow): ditto
7346         (cursorLeftOneWord): ditto
7347         (selectNextWordToSpellcheck): ditto
7348         (Delete): ditto
7349         (backspace): ditto
7350         (breakParagraph): remove one usage of Paragraph::next
7351         (redoParagraph): ditto
7352         (acceptChange): ditto
7353         (insertChar): adjust
7354         (rowBreakPoint): adjust
7355
7356         * bufferview_funcs.C (toggleAndShow): adjust
7357
7358 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7359
7360         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7361         methods to access it.
7362         * lyxtext.h:
7363         * text.C: Added updateRowPositions to compute all row positions.
7364         Make top_y and getRowNearY() to use the cached y position
7365
7366 2003-04-11  John Levon  <levon@movementarian.org>
7367
7368         * text.C (rowBreakPoint): reintroduce the labelEnd
7369         checks, code copied from the row fill stuff. Deep voodoo.
7370
7371         * text.C (fill): add a comment and debugging for the
7372         next poor soul.
7373
7374 2003-04-11  John Levon  <levon@movementarian.org>
7375
7376         * text.C: make sure fullrow insets get wrapped to the next line,
7377         even when they're in a manual label
7378
7379 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * text2.C (insertParagraph): make it take ParagraphList::iterator
7382         as arg.
7383         (setLayout): make it return ParagraphList::iterator
7384         (redoParagraphs): ditto
7385         (setCounter): ditto
7386         (checkParagraph): ditto
7387
7388         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7389
7390         * text2.C: adjust several funcs.
7391         (realizeFont): take a ParagraphList::iterator as arg.
7392         (getLayoutFont): ditto
7393         (getLabelFont): ditto
7394         (setCharFont): ditto
7395
7396         * text.C: adjust several funcs.
7397
7398 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7399
7400         * text.C (selectNextWordToSpellcheck): don't accidentally
7401         skip insets
7402
7403 2003-04-10  John Levon  <levon@movementarian.org>
7404
7405         * ToolbarBackend.C (getIcon): special handling for
7406         LFUN_MATH_DELIM
7407
7408 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * text2.C (cursorRight): a getChar assert fixed
7411
7412 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7413
7414         * text2.C (getFont): change to take a ParagraphList::iterator
7415         instead of Paragraph*
7416         Adjust several functions.
7417
7418         * text.C (transformChar): change to take a ParagraphList::iterator
7419         instead of Paragraph*
7420         (singleWidth): ditto
7421         Adjust several functions.
7422
7423         * rowpainter.C: adjust several functions
7424         * rowpainter.h:store a ParagraphList::iterator and not a
7425         Paragraph&.
7426
7427
7428 2003-04-09  John Levon  <levon@movementarian.org>
7429
7430         * lyxfunc.C:
7431         * lfuns.h:
7432         * LyXAction.h:
7433         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7434         and the "help" bits as well
7435
7436 2003-04-09  John Levon  <levon@movementarian.org>
7437
7438         * ToolbarBackend.h:
7439         * ToolbarBackend.C: allow multiple toolbars
7440
7441 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * undo_funcs.C (setCursorParUndo): adjust
7444
7445         * text_funcs.C (transposeChars): adjust
7446
7447         * text3.C (gotoNextInset): adjust
7448         (dispatch): adjust
7449
7450         * text2.C (setLayout): adjust
7451         (changeDepth): adjust
7452         (setFont): adjust
7453         (redoParagraphs): adjust
7454         (selectionAsString): adjust
7455         (setParagraph): adjust
7456         (insertInset): adjust
7457         (cutSelection): adjust
7458         (copySelection): adjust
7459         (pasteSelection): adjust
7460         (insertStringAsLines): adjust
7461         (updateInset): adjust
7462         (setCursor): change to take a ParagraphList::iterator parameter
7463         (setCursorIntern): change to take a ParagraphList::iterator parameter
7464         (setCurrentFont): adjust
7465         (cursorLeft): adjust
7466         (cursorRight): adjust
7467         (deleteEmptyParagraphMechanism): adjust
7468
7469         * text.C (breakParagraph): adjust
7470         (insertChar): adjust
7471         (acceptChange): adjust
7472         (rejectChange): adjust
7473         (selectNextWordToSpellcheck): adjust
7474         (changeCase): adjust
7475         (Delete): adjust
7476         (backspace): adjust
7477
7478         * lyxfind.C (SearchForward): adjust
7479         (SearchBackward): adjust
7480         (nextChange): adjust
7481
7482         * lyxcursor.C (par): adjust
7483
7484         * lyxcursor.h: store a ParagraphList::iterator instead of a
7485         Paragraph*
7486
7487         * lyx_cb.C (getPossibleLabel): adjust
7488
7489         * bufferview_funcs.C (toggleAndShow): adjust
7490
7491         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7492         (dispatch): adjust
7493
7494         * BufferView.C (removeAutoInsets): adjust
7495         (lockedInsetStoreUndo): adjust
7496
7497 2003-04-09  John Levon  <levon@movementarian.org>
7498
7499         * ToolbarBackend.C: try icon without argument
7500         if with argument fails
7501
7502 2003-04-08  John Levon  <levon@movementarian.org>
7503
7504         * ToolbarBackend.h:
7505         * ToolbarBackend.C: add getIcon(), handle tooltip,
7506         and change from "Icon" to "Item".
7507
7508 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7509
7510         * BufferView.C (lockInset): another bad getchar crunched
7511
7512 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7513
7514         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7515         again)
7516
7517 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * lyxfind.C (searchForward, searchBackwards): bug 782
7520
7521 2003-04-07  John Levon  <levon@movementarian.org>
7522
7523         * paragraph.C: remove dead comment
7524
7525         * text.C: remove troublesome depth-fiddling code
7526         in leftMargin() and rightMargin() (bug 1017)
7527
7528         * text.C: fix breaking of rows in nested lists
7529         (bug 1004)
7530
7531         * text2.C (updateCounters): fix up depth values
7532         (bug 1013)
7533
7534 2003-04-07  John Levon  <levon@movementarian.org>
7535
7536         * BufferView_pimpl.C: clear message when doc finishes resizing,
7537         and after a mouse event
7538
7539         * lyxfunc.C: clear message after exiting inset
7540
7541 2003-04-07  John Levon  <levon@movementarian.org>
7542
7543         * bufferview_funcs.C: show math status not outside
7544         status in the statusbar
7545
7546 2003-04-07  John Levon  <levon@movementarian.org>
7547
7548         * lyxfunc.C: note status changed after a depth change
7549
7550 2003-04-04  Angus Leeming  <leeming@lyx.org>
7551
7552         * LaTeX.h: move AuxInfo operator==, != out of line.
7553         Remove LaTeX virtual destructor; nothing derives from it.
7554         Move operator()() out of public area and rename it startscript().
7555         Change protected for private.
7556
7557 2003-04-04  Angus Leeming  <leeming@lyx.org>
7558
7559         * lyxfunc.C:
7560         * text2.C: remove unneeded #includes.
7561
7562 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7563
7564         * text2.C (dEPM): fix the heigth of the next row
7565
7566 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7567
7568         * text.C: squashed an invalid getChar requester + some ws changes
7569
7570 2003-04-03  John Levon  <levon@movementarian.org>
7571
7572         * bufferview_funcs.h:
7573         * bufferview_funcs.C:
7574         * lyxfunc.C:
7575         * lyxtext.h:
7576         * text2.C: make getStatus work for the env depth lfuns
7577
7578 2003-04-03  John Levon  <levon@movementarian.org>
7579
7580         * bufferview_funcs.h:
7581         * bufferview_funcs.C:
7582         * lyxfunc.C:
7583         * lyxtext.h:
7584         * text2.C: parlistize decDepth(), by merging it with incDepth()
7585
7586 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * lyxrow.h: store a ParagraphList::iterator instead of a
7589         Paragraph* and adjust other class functions to suit.
7590
7591         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7592         above.
7593
7594 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7595
7596         * text2.C (setCursor): do not anchor to cursor row for the time being
7597
7598 2003-04-02  John Levon  <levon@movementarian.org>
7599
7600         * LyXAction.C:
7601         * lfuns.h:
7602         * lyx_main.C:
7603         * lyxtext.h:
7604         * text.C:
7605         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7606
7607 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * paragraph.h: make ParagraphList and ParagraphList::iterator
7610         friends of Paragraph.
7611
7612         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7613
7614         * ParagraphList.C: Use the private next_ and previous_ from
7615         Paragraph.
7616
7617 2003-04-01  John Levon  <levon@movementarian.org>
7618
7619         * ToolbarBackend.h:
7620         * ToolbarBackend.C:
7621         * Makefile.am: rename, remove defaults gunk
7622
7623         * MenuBackend.h:
7624         * MenuBackend.C: remove defaults gunk
7625
7626         * Languages.h:
7627         * Languages.C: remove defaults gunk
7628
7629         * lyx_main.h:
7630         * lyx_main.C: error out if files couldn't be found.
7631
7632 2003-04-02  John Levon  <levon@movementarian.org>
7633
7634         * text2.C: make incDepth() use parlist
7635
7636 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * undo_funcs.C (firstUndoParagraph): adjust
7639
7640         * text3.C (gotoInset): adjust
7641         (dispatch): adjust, and rewrite loop.
7642
7643         * text2.C (init): adjust, and rewrite loop.
7644         (redoParagraphs): adjust
7645         (updateInset): adjust, and rewrite loop.
7646         (deleteEmptyParagraphMechanism): adjust
7647
7648         * tabular.C (LyXTabular): adjust
7649         (SetMultiColumn): adjust
7650         (TeXRow): adjust
7651
7652         * lyxtext.[Ch] (ownerParagraph): delete function
7653         (ownerParagraphs): new function returns a ParagraphList.
7654
7655         * BufferView.C (removeAutoInsets): adjust
7656         (insertErrors): adjust
7657         (setCursorFromRow): adjust
7658
7659 2003-04-01  Angus Leeming  <leeming@lyx.org>
7660
7661         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7662         in the frontends.
7663
7664 2003-04-02  John Levon  <levon@movementarian.org>
7665
7666         * lyxtext.h:
7667         * text.C:
7668         * Makefile.am:
7669         * text_funcs.h:
7670         * text_funcs.C: make transposeChars a free function
7671
7672         * lyxrow_funcs.C: remove wrong comment
7673
7674 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7675
7676         * lyxtext.h: adjust
7677         * rowpainter.C: adjust
7678         * text.C: adjust
7679         * text2.C: adjust
7680         * text3.C: adjust
7681
7682         * lyxrow_funcs. [Ch]: new files
7683
7684         * lyxrow.[Ch]: remove next and previous pointers
7685         (next,previous): remove accessor functions
7686         (isParEnd): move to lyxrow_funcs
7687         (lastPos): move to lyxrow_funcs
7688         (nextRowIsAllInset): move to lyxrow_funcs
7689         (lastPrintablePos): move to lyxrow_funcs
7690         (numberOfSeparators): move to lyxrow_funcs
7691         (numberOfHfills): move to lyxrow_funcs
7692         (numberOfLabelHfills): move to lyxrow_funcs
7693         (hfillExpansion): move to lyxrow_funcs
7694
7695         * lyxfunc.C: adjust
7696
7697         * bufferview_funcs.C (toggleAndShow): adjust
7698
7699         * RowList.h: Remove class RowList from file leave just a
7700         std::list<Row>.
7701
7702         * RowList.C: delete file
7703
7704         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7705         and lyxrow_funcs.h
7706
7707 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * text3.C (cursorPrevious): adjust
7710         (cursorNext): adjust
7711         (dispatch): adjust
7712
7713         * text2.C (redoHeightOfParagraph): adjust
7714         (redoDrawingOfParagraph): adjust
7715         (setCursor): adjust
7716
7717         * text.C (breakParagraph): adjust
7718         (insertChar): adjust
7719         (backspace): adjust
7720
7721         * rowpainter.C (RowPainter): adjust
7722         (leftMargin): simplify and adjust
7723         (most rowpainter functions): adjust.
7724
7725         * rowpainter.h: store the row as RowList::iterator not as Row*
7726
7727         * lyxcursor.C (row): taka RowList::iterator as arg
7728         (irow): ditto
7729
7730         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7731         of Row*.
7732
7733 2003-04-01  Angus Leeming  <leeming@lyx.org>
7734
7735         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7736         stuff like bool Bool.
7737
7738 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7739
7740         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7741         rewrite a loop
7742
7743 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7746         RowList::iterator.
7747
7748         * lyxtext.h (rows): drop one version and leve a const variant that
7749         returns a RowList::iterator.
7750
7751 2003-03-31  Angus Leeming  <leeming@lyx.org>
7752
7753         * text.C (fill): ensure that the signature is the same as that in the
7754         header file.
7755
7756 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * text2.C (redoParagraphs): adjust
7759         (updateCounters): adjust
7760         (checkParagraph): adjust
7761         (getColumnNearX): adjust and reformat a bit.
7762
7763         * text.C (top_y): adjust
7764         (workWidth): adjust
7765         (leftMargin): adjust
7766         (prepareToPrint): adjust
7767         (getRow): adjust
7768         (getRowNearY): adjust
7769
7770         * lyxtext.h: make rowlist_ mutable.
7771
7772         * RowList.h: add const_iterator
7773         * RowList.C: adjust for RowList::const_iterator.
7774
7775         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7776         adjust.
7777
7778 2003-03-31  John Levon  <levon@movementarian.org>
7779
7780         * lyxrc.h:
7781         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7782
7783         * lyx_main.C: set default fonts from using lyx_gui funcs
7784
7785         * exporter.C: pdf_mode moved from lyxrc
7786
7787         * lyx_cb.C:
7788         * lyxfunc.C: changes from above
7789
7790 2003-03-31  John Levon  <levon@movementarian.org>
7791
7792         * lyx_main.C: fix to the last fix
7793
7794 2003-03-31  John Levon  <levon@movementarian.org>
7795
7796         * bufferlist.C: "Load original" -> "Load Original"
7797
7798         * converter.C:
7799         * exporter.C:
7800         * importer.C:
7801         * lyx_main.C:
7802         * format.C: more Alert cleanups
7803
7804 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * text2.C (removeParagraph): make it take a RowList::iterator as
7807         arg, adjust.
7808         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7809         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7810
7811         * text.C (anchor_row): make it take a RowList::iterator as arg,
7812         adjust.
7813         (computeBidiTables): make it take a const reference to Row instead
7814         of Row pointer, adjust.
7815         (leftMargin): make it take a RowList::iterator as arg, adjust.
7816         (rowBreakPoint): adjust
7817         (breakAgainOneRow): make it take a RowList::iterator as arg,
7818         adjust.
7819         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7820
7821         * bufferview_funcs.C (toggleAndShow): adjust
7822
7823 2003-03-30  John Levon  <levon@movementarian.org>
7824
7825         * Makefile.am:
7826         * BoostFormat.h:
7827         * boost-inst.C: moved to support
7828
7829         * several files: changes as a result
7830
7831 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * text2.C (LyXText): adjust.
7834         (init): adjust
7835         (removeRow): make it take a RowList::iterator as arg, adjust.
7836         (fullRebreak): adjust
7837         (deleteEmptyParagraphMechanism): adjust
7838         (clearPaint): adjust
7839         (postPaint): adjust
7840
7841         * text.C (top_y): adjust
7842         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7843         (breakAgain): make it take a RowList::iterator as arg, adjust.
7844         (breakParagraph): adjust
7845         (insertChar): adjust
7846         (backspace): adjust
7847
7848         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7849         need_break_row, and refresh_row.
7850
7851         * text3.C (dispatch): adjust
7852
7853         * text2.C (checkParagraph): adjust
7854         (setCursor): adjust
7855         (setCursorFromCoordinates): adjust
7856
7857         * text.C (top_y): adjust
7858         (workWidth): adjust
7859         (getRow): make it return a RowList::iterator, adjust
7860         (getRowNearY): make it return a RowList::iterator, adjust
7861
7862         * text2.C (init): adjust
7863         (insertRow): remove function
7864         (insertParagraph): adjust
7865         (redoParagraphs): adjust
7866         (fullRebreak): adjust
7867         (updateCounters): adjust
7868
7869         * text.C (top_y): rewrite to use RowList iterators.
7870         (top_y): adjust
7871         (setHeightOfRow): rewrite to sue RowList iterators.
7872         (appendParagraph): adjust
7873         (breakAgain): adjust
7874         (breakAgainOneRow): adjust
7875         (breakParagraph): adjust
7876         (getRow): adjust
7877         (getRowNearY): adjust, and remove commented code.
7878
7879         * lyxtext.h (firstRow): delete function
7880         (lastRow): delete function
7881         (rows): new function (const and non-const versions.)
7882         (insertRow): delete function
7883
7884         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7885
7886 2003-03-29  John Levon  <levon@movementarian.org>
7887
7888         * BufferView_pimpl.C: always update scrollbar top
7889         because pasting text when we're anchored could mean we
7890         miss an update altogether
7891
7892 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * text2.C (init): use rowlist_.end() and not 0.
7895         (insertRow): change to take a RowList::iterator as arg, adjust
7896         for this.
7897         (insertParagraph): change to take a RowList::iterator as arg,
7898         adjust for this.
7899         (redoParagraphs): remove some debug msgs.
7900
7901         * text.C (appendParagraph): change to take a RowList::iterator
7902         arg, adjust for this.
7903         (breakAgain): add an assert
7904         (breakAgainOneRow): ditto
7905
7906 2003-03-29  John Levon  <levon@movementarian.org>
7907
7908         * text2.C: do not clear selection after inc/decDepth
7909         (bug 550)
7910
7911 2003-03-29  John Levon  <levon@movementarian.org>
7912
7913         * BufferView.C:
7914         * buffer.C: fix broken strerrors according to Lars
7915
7916 2003-03-29  John Levon  <levon@movementarian.org>
7917
7918         * converters.C: more Alert cleanups
7919
7920 2003-03-29  John Levon  <levon@movementarian.org>
7921
7922         * bufferview_funcs.C: remove pointless Alert
7923
7924         * buffer.C: fix confusing error message when
7925         a template is chmoded 000
7926
7927 2003-03-29  John Levon  <levon@movementarian.org>
7928
7929         * BufferView.C:
7930         * BufferView.h:
7931         * BufferView_pimpl.C: Alert fixes
7932
7933         * Makefile.am:
7934         * tabular.C:
7935         * tabular-old.C: remove unused table compat reading
7936
7937 2003-03-29  John Levon  <levon@movementarian.org>
7938
7939         * BufferView.C:
7940         * buffer.C:
7941         * lyx_cb.h:
7942         * lyx_cb.C: more Alert cleanups
7943
7944         * lyxfunc.C: don't allow chktex if not latex document
7945
7946 2003-03-29  John Levon  <levon@movementarian.org>
7947
7948         * lyx_cb.C:
7949         * BufferView.C:
7950         * buffer.C: warnings pushed down from support/,
7951         kill err_alert
7952
7953 2003-03-29  John Levon  <levon@movementarian.org>
7954
7955         * lyxfunc.C: safety check for C-r (revert)
7956
7957 2003-03-29  John Levon  <levon@movementarian.org>
7958
7959         * bufferlist.h:
7960         * bufferlist.C: several UI fixes using Alert::prompt.
7961         Fix the pointless looping quit code. Fix stupid revert
7962         behaviour (bug 938)
7963
7964         * lyxvc.h:
7965         * lyxvc.C:
7966         * lyx_cb.C: use Alert::prompt
7967
7968         * lyx_main.C: remove a silly question
7969
7970         * lyxfunc.C: remove a couple of silly questions,
7971         use Alert::prompt
7972
7973 2003-03-28  John Levon  <levon@movementarian.org>
7974
7975         * text2.C: fix bug 974 (End on empty par)
7976
7977 2003-03-28  John Levon  <levon@movementarian.org>
7978
7979         * BufferView_pimpl.C:
7980         * LyXAction.C:
7981         * lfuns.h: remove do-nothing math greek lfuns
7982
7983 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * lyxgluelength.h (isValidGlueLength): add default arg on
7986         parameter 2. Remove default arg from friend in class.
7987
7988         * lyxlength.h (isValidLength): add default arg on parameter 2.
7989         Remove default arg from friend in class.
7990
7991         * text2.C (LyXText): adjust, initialize refresh_row.
7992         (init): adjust
7993         (removeRow): adjust
7994         (insertRow): adjust
7995         (insertParagraph): adjst
7996         (redoParagraphs): adjust
7997         (fullRebreak): adjust
7998         (updateCounters): adjust
7999         (deleteEmptyParagraphMechanism): first attempt at fixing a
8000         crashing bug.
8001
8002         * text.C (top_y): adjust
8003         (setHeightOfRow): adjust
8004         (getRow): adjust
8005         (getRowNearY): adjust
8006
8007         * lyxtext.h: include RowList.h
8008         (~LyXText): not needed anymore, deleted.
8009         (firstRow): modify for RowList
8010         (lastRow): new function
8011         Delete firstrow and lastrow class variables, add a Rowlist
8012         rowlist_ class variable.
8013
8014         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8015         paragraph is empty.
8016
8017         * RowList.C (insert): fix case where it == begin().
8018
8019 2003-03-26  Angus Leeming  <leeming@lyx.org>
8020
8021         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8022         the thesaurus dialog.
8023
8024 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8027
8028         * RowList.[Ch]: new files
8029
8030         * ParagraphList.C (erase): handle the case where it == begin
8031         correctly.
8032
8033 2003-03-25  John Levon  <levon@movementarian.org>
8034
8035         * Makefile.am:
8036         * aspell_local.h:
8037         * aspell.C: add new aspell support
8038
8039         * lyxrc.h:
8040         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8041         have it accessible.
8042
8043 2003-03-25  Angus Leeming  <leeming@lyx.org>
8044
8045         * lfuns.h:
8046         * LyXAction.C (init): new LFUN_INSET_INSERT.
8047
8048         * BufferView_pimpl.C (dispatch): split out part of the
8049         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8050
8051         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8052         LFUN_INSET_APPLY.
8053
8054 2003-03-25  Angus Leeming  <leeming@lyx.org>
8055
8056         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8057
8058 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * text2.C:
8061         * text3.C: remove useless row->height(0)
8062
8063 2003-03-25  John Levon  <levon@movementarian.org>
8064
8065         * lyxtext.h:
8066         * text2.C:
8067         * text3.C: rename the refreshing stuff to better names
8068
8069 2003-03-24  John Levon  <levon@movementarian.org>
8070
8071         * BufferView_pimpl.h:
8072         * BufferView_pimpl.C: update layout choice on a mouse
8073         press/release
8074
8075 2003-03-23  John Levon  <levon@movementarian.org>
8076
8077         * Makefile.am: fix commandtags.h reference
8078
8079 2003-03-22  John Levon  <levon@movementarian.org>
8080
8081         * BufferView_pimpl.C:
8082         * lyxtext.h:
8083         * rowpainter.C:
8084         * rowpainter.h:
8085         * text.C:
8086         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8087
8088 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8089
8090         * lyxtext.h:
8091         * text.C: take the rtl methods out of line
8092
8093 2003-03-21 André Pönitz <poenitz@gmx.net>
8094
8095         * metricsinfo.[Ch]: new files containing structures to be passed around
8096         during the two-phase-drawing...
8097
8098 2003-03-21 André Pönitz <poenitz@gmx.net>
8099
8100         * lyxtextclass.C: read 'environment' tag.
8101
8102 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8103
8104         * text2.C (removeRow): fix bug 964
8105
8106 2003-03-20  John Levon  <levon@movementarian.org>
8107
8108         * rowpainter.C:
8109         * text.C:
8110         * text2.C: paint cleanups. Inset::update() dropped font
8111         parameter
8112
8113 2003-03-19  John Levon  <levon@movementarian.org>
8114
8115         * lyxfunc.C: only fitcursor/markDirty if available()
8116
8117 2003-03-19  John Levon  <levon@movementarian.org>
8118
8119         * commandtags.h: rename to ...
8120
8121         * lfuns.h: ... this, and renumber / cleanup
8122
8123 2003-03-19  John Levon  <levon@movementarian.org>
8124
8125         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8126         fit the cursor after an lfun
8127
8128         * BufferView.h:
8129         * BufferView.C:
8130         * BufferView_pimpl.h:
8131         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8132
8133         * LyXAction.C: layout-character should have ReadOnly
8134
8135         * ParagraphParameters.C:
8136         * buffer.C:
8137         * bufferview_funcs.C:
8138         * lyx_cb.C:
8139         * lyxfind.C:
8140         * lyxtext.h:
8141         * text.C:
8142         * text2.C:
8143         * text3.C:
8144         * undo_funcs.C: changes from above
8145
8146 2003-03-18  John Levon  <levon@movementarian.org>
8147
8148         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8149         remove it from update()
8150
8151         * lyxfunc.C: update layout choice after an lfun
8152
8153         * text3.C: remove extra updateLayoutChoice()s
8154
8155 2003-03-18  John Levon  <levon@movementarian.org>
8156
8157         * text.C: top_y change means full repaint, fix
8158         a drawing bug with cursor movement
8159
8160 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8161
8162         * lyxtext.h:
8163         * text.C:
8164         * text2.C: anchor row on setCursor
8165
8166 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8167
8168         * lyxtext.h: remove almost all mutable keywords
8169         * text.C:
8170         * text2.C:
8171         * text3.C: remove const keywords accordingly
8172
8173 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8176         anon namespace
8177         (TeXEnvironment): ditto
8178         (TeXOnePar): ditto
8179
8180 2003-03-17  John Levon  <levon@movementarian.org>
8181
8182         * text.C (rowBreakPoint): remove attempt to fix displayed
8183         math insets inside a manual label
8184
8185 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * lyxtext.h: remove BufferView* as first arg from almost all class
8188         functions.
8189         * other files: adjust.
8190
8191 2003-03-17  John Levon  <levon@movementarian.org>
8192
8193         * lyxtext.h:
8194         * undo_funcs.C:
8195         * text2.C: more paint cleanups
8196
8197         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8198
8199         * rowpainter.h:
8200         * rowpainter.C: remove "smart" background painting code
8201
8202 2003-03-16  John Levon  <levon@movementarian.org>
8203
8204         * lyxtext.h:
8205         * text.C:
8206         * text2.C:
8207         * text3.C: add helper functions for setting refresh_row/y
8208
8209 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8210
8211         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8212         newline inset which *can* get inserted in the pass_thru layouts.
8213         This is primarily for literate documents.
8214
8215 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * buffer.C: increment LYX_FORMAT to 223
8218
8219 2003-03-14 André Pönitz <poenitz@gmx.net>
8220
8221         * textclass.h: prepare for environment handling, ws changes
8222         * lyxlayout.C: read latexheader and latexfooter tags
8223
8224 2003-03-14  John Levon  <levon@movementarian.org>
8225
8226         * text2.C: rewrite ::status() a bit
8227
8228 2003-03-13  John Levon  <levon@movementarian.org>
8229
8230         * lyxtext.h: add some docs
8231
8232 2003-03-13  John Levon  <levon@movementarian.org>
8233
8234         * lyxtext.h:
8235         * text.C:
8236         * text2.C:
8237         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8238
8239 2003-03-13  John Levon  <levon@movementarian.org>
8240
8241         * text3.C: fix appendix redrawing
8242
8243 2003-03-13  John Levon  <levon@movementarian.org>
8244
8245         * text.C (setHeightOfRow):
8246         * rowpainter.h:
8247         * rowpainter.C: make appendix mark have the text
8248           "Appendix" so the user knows what it is
8249
8250         * LColor.h:
8251         * LColor.C: s/appendixline/appendix/ from above
8252
8253 2003-03-13  John Levon  <levon@movementarian.org>
8254
8255         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8256
8257         * text.C: fix a getChar(pos) bug properly
8258
8259 2003-03-13  Angus Leeming  <leeming@lyx.org>
8260
8261         * commandtags.h:
8262         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8263         Probably only temporary. Let's see how things pan out.
8264
8265         * BufferView.C (unlockInset):
8266         * BufferView_pimpl.C (fitCursor):
8267         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8268
8269         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8270         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8271
8272         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8273         new functions that convert ParagraphParameters to and from a string.
8274
8275         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8276         BufferView::Pimpl's dispatch.
8277         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8278
8279 2003-03-13 André Pönitz <poenitz@gmx.net>
8280
8281         * lyxfunc.C:
8282         * text3.C:
8283         * factory.C: make it aware of InsetEnv
8284
8285 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * text2.C (setCursor): never ask for one past last
8288         (setCursor): add some debugging messages.
8289
8290         * text.C (singleWidth): never ask for one past last
8291         (singleWidth): ditto
8292         (leftMargin): ditto
8293         (rightMargin): ditto
8294         (rowBreakPoint): ditto
8295         (setHeightOfRow): ditto
8296         (prepareToPrint): ditto
8297
8298         * rowpainter.C (paintBackground): never ask for one past last
8299         (paintText): never ask for one past last
8300
8301         * paragraph_pimpl.C (getChar): make the assert stricter, never
8302         allow the one past last pos to be taken
8303
8304         * paragraph.C (getChar): ws changes only
8305
8306         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8307         (numberOfSeparators): ditto
8308         (numberOfHfills): ditto
8309
8310 2003-03-12  John Levon  <levon@movementarian.org>
8311
8312         * author.h:
8313         * author.C:
8314         * bufferparams.h:
8315         * bufferparams.C:
8316         * paragraph_funcs.C: fix per-buffer authorlists
8317
8318 2003-03-12  John Levon  <levon@movementarian.org>
8319
8320         * text.C: fix newline in right address
8321
8322 2003-03-12  Angus Leeming  <leeming@lyx.org>
8323
8324         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8325         duplicate those in LyXFunc::dispatch.
8326
8327         * commandtags.h:
8328         * LyXAction.C:
8329         * ToolbarDefaults.C:
8330         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8331         Add LFUN_FONTFREE_UPDATE.
8332
8333         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8334         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8335
8336         * bufferview_func.[Ch]: several new functions to facilliate
8337         transfer of data to and from the character dialog.
8338
8339 2003-03-12  John Levon  <levon@movementarian.org>
8340
8341         * buffer.C:
8342         * paragraph.h:
8343         * paragraph.C:
8344         * paragraph_funcs.C:
8345         * paragraph_pimpl.C:
8346         * sgml.C:
8347         * tabular.C:
8348         * text.C:
8349         * text3.C: remove META_NEWLINE in favour of an inset
8350
8351         * rowpainter.h:
8352         * rowpainter.C: remove paintNewline (done by inset)
8353
8354 2003-03-12  John Levon  <levon@movementarian.org>
8355
8356         * paragraph_pimpl.C: complain about bad getChar()s
8357         for a while at least
8358
8359 2003-03-12  John Levon  <levon@movementarian.org>
8360
8361         * buffer.h:
8362         * buffer.C: move paragraph read into a separate function,
8363         a little renaming to reflect that.
8364
8365         * bufferparams.h:
8366         * bufferparams.C: remove the author_ids map, not necessary now
8367
8368         * factory.h:
8369         * factory.C: moved Buffer::readInset to here
8370
8371         * paragraph_funcs.h:
8372         * paragraph_funcs.C: readParagraph free function moved from
8373         buffer.C
8374
8375         * tabular.C: name change
8376
8377 2003-03-12  John Levon  <levon@movementarian.org>
8378
8379         * buffer.C:
8380         * ParagraphParameters.C: move par params input to
8381         a read() method
8382
8383         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8384         behave like a normal read from the stream wrt reading
8385         a line vs. a \\token
8386
8387 2003-03-12  John Levon  <levon@movementarian.org>
8388
8389         * paragraph.C:
8390         * ParagraphParameters.h:
8391         * ParagraphParameters.C: move output code to a
8392         ::write() method
8393
8394 2003-03-12  John Levon  <levon@movementarian.org>
8395
8396         * BufferView.C (insertLyXFile):
8397         * buffer.h:
8398         * buffer.C:
8399         * tabular.C: use a parlist iterator for creating the
8400           document.
8401
8402 2003-03-12  John Levon  <levon@movementarian.org>
8403
8404         * buffer.C: make current_change static local not
8405           static file-scope
8406
8407 2003-03-12  John Levon  <levon@movementarian.org>
8408
8409         * buffer.C: fix insertStringAsLines for change tracking
8410
8411 2003-03-12  John Levon  <levon@movementarian.org>
8412
8413         * BufferView.C:
8414         * tabular.C:
8415         * buffer.h:
8416         * buffer.C:
8417         * bufferparams.h:
8418         * bufferparams.C: move author list into params. Rename some
8419           functions. Move the header reading into a separate token
8420           loop. Move the header token reading into BufferParams.
8421
8422 2003-03-12  John Levon  <levon@movementarian.org>
8423
8424         * changes.C: put debug inside lyxerr.debugging() checks
8425
8426 2003-03-11 André Pönitz <poenitz@gmx.net>
8427
8428         * factory.C: make it aware of InsetHFill
8429
8430 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8431
8432         * buffer.C (latexParagraphs): move function from here...
8433         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8434         args.
8435
8436 2003-03-10  Angus Leeming  <leeming@lyx.org>
8437
8438         * LyXAction.C (init): fix bug in poplating array with multiple entries
8439         with the same LFUN (spotted by JMarc).
8440
8441 2003-03-10  John Levon  <levon@movementarian.org>
8442
8443         * text.C:
8444         * text2.C: move getColumnNearX() near its
8445         only call site
8446
8447 2003-03-10  John Levon  <levon@movementarian.org>
8448
8449         * text.C: fix break before a minipage
8450
8451 2003-03-10  John Levon  <levon@movementarian.org>
8452
8453         * text.C: fix the last commit
8454
8455 2003-03-09  John Levon  <levon@movementarian.org>
8456
8457         * lyxtext.h:
8458         * text.C:
8459         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8460         bug 365 (don't break before insets unless needed). Don't
8461         return a value > last under any circumstances.
8462
8463 2003-03-09  Angus Leeming  <leeming@lyx.org>
8464
8465         * BufferView_pimpl.C (trackChanges, dispatch): call
8466         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8467
8468 2003-03-09  Angus Leeming  <leeming@lyx.org>
8469
8470         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8471         than Dialogs::showAboutlyx().
8472
8473 2003-03-09  Angus Leeming  <leeming@lyx.org>
8474
8475         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8476         than Dialogs::showTabularCreate().
8477
8478 2003-03-09  John Levon  <levon@movementarian.org>
8479
8480         * lyxtext.h:
8481         * text.C:
8482         * text2.C: 3rd arg to nextBreakPoint was always the same.
8483           Use references.
8484
8485 2003-03-08  John Levon  <levon@movementarian.org>
8486
8487         * lyxrow.C:
8488         * paragraph.C:
8489         * paragraph.h:
8490         * rowpainter.C:
8491         * text.C:
8492         * text2.C: Remove the "main" bit from the "main body"
8493           notion.
8494
8495 2003-03-08  John Levon  <levon@movementarian.org>
8496
8497         * text.C (leftMargin): The left margin of an empty
8498         manual label paragraph should not include the label width
8499         string length.
8500
8501         * text.C (prepareToPrint): don't attempt to measure hfills
8502         for empty manual label paragraphs - the answer should be 0
8503
8504 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * CutAndPaste.C: remove commented code and reindent.
8507
8508 2003-03-08  John Levon  <levon@movementarian.org>
8509
8510         * lyxfunc.h:
8511         * lyxfunc.C: move reloadBuffer()
8512
8513         * BufferView.h:
8514         * BufferView.C: to here
8515
8516         * lyxvc.C: add comment
8517
8518         * vc-backend.h:
8519         * vc-backend.C: call bv->reload() to avoid
8520           getStatus() check on MENURELOAD
8521
8522 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8523
8524         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8525         to an old format .dep file.
8526
8527 2003-03-07  Angus Leeming  <leeming@lyx.org>
8528
8529         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8530         when the LFUN_MOUSE_RELEASE should have been handled by
8531         inset->localDispatch.
8532
8533 2003-03-07  Angus Leeming  <leeming@lyx.org>
8534
8535         * BufferView_pimpl.C (dispatch):
8536         * LyXAction.C (init):
8537         * ToolbarDefaults.C (init):
8538         * commandtags.h:
8539         * lyxfunc.C (getStatus):
8540         remove LFUN_INSET_GRAPHICS.
8541
8542         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8543
8544 2003-03-07  Angus Leeming  <leeming@lyx.org>
8545
8546         * commandtags.h:
8547         * LyXAction.C (init):
8548         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8549
8550         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8551
8552         * commandtags.h:
8553         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8554
8555         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8556         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8557
8558 2003-03-07  Angus Leeming  <leeming@lyx.org>
8559
8560         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8561         remove "ert".
8562
8563 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * ParagraphList.C (front): new function
8566         (back): implement
8567
8568 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8569
8570         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8571         and top_row_offset_. removed var first_y.
8572         * text.C (top_y):
8573         * text2.C (LyXText, removeRow):
8574         * text3.C:
8575         * BufferView_pimpl.C:
8576         use these methods instead of using first_y
8577
8578 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * text2.C (pasteSelection): adjust for checkPastePossible
8581
8582         * CutAndPaste.C: remove Paragraph * buf and replace with
8583         ParagraphList paragraphs.
8584         (DeleteBuffer): delete
8585         (cutSelection): change the tc type to textclass_type
8586         (copySelection): change the tc type to textclass_type
8587         (copySelection): adjust for ParagraphList
8588         (pasteSelection): change the tc type to textclass_type
8589         (pasteSelection): adjust for Paragraphlist
8590         (nrOfParagraphs): simplify for ParagraphList
8591         (checkPastePossible): simplify for ParagraphList
8592         (checkPastePossible): remove unused arg
8593
8594         * ParagraphList.C (insert): handle the case where there are no
8595         paragraphs yet.
8596
8597         * CutAndPaste.h: make CutAndPaste a namespace.
8598
8599         * text3.C (dispatch): adjust
8600
8601         * text.C (breakParagraph): add a ParagraphList as arg
8602
8603         * paragraph_funcs.C (breakParagraph): change to take a
8604         BufferParams and a ParagraphList as args.
8605         (breakParagraphConservative): ditto
8606         (mergeParagraph): ditto
8607         (TeXDeeper): add a ParagraphList arg
8608         (TeXEnvironment): ditto
8609         (TeXOnePar): ditto
8610
8611         * buffer.C (readLyXformat2): adjust
8612         (insertStringAsLines): adjust
8613         (latexParagraphs): adjust
8614
8615         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8616         (cutSelection): adjust
8617         (pasteSelection): adjust
8618
8619         * BufferView_pimpl.C (insertInset): adjust
8620
8621 2003-03-05  Angus Leeming  <leeming@lyx.org>
8622
8623         * commandtags.h:
8624         * LyXAction.C (init):
8625         * BufferView_pimpl.C (dispatch):
8626         * lyxfunc.C (getStatus):
8627         remove LFUN_CHILD_INSERT.
8628
8629         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8630
8631 2003-03-05  Angus Leeming  <leeming@lyx.org>
8632
8633         * commandtags.h:
8634         * LyXAction.C (init):
8635         * src/factory.C (createInset):
8636         * lyxfunc.C (getStatus):
8637         * text3.C (dispatch):
8638         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8639
8640         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8641
8642 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8643
8644         * ParagraphList.C (insert): handle insert right before end()
8645         (erase): fix cases where it can be first or last paragraph.
8646
8647 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8650         Paragraph::next and Paragraph::previous
8651         (TeXOnePar): ditto
8652
8653         * text.C (breakParagraph): adjust
8654
8655         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8656         BufferParams& as arg.
8657         (breakParagraph): use ParagraphList::insert
8658         (breakParagraphConservative): take a Buffer* instead of a
8659         BufferParams& as arg.
8660         (breakParagraphConservative): use ParagraphList::insert.
8661
8662         * buffer.C (insertStringAsLines): un-const it
8663         (insertStringAsLines): adjust
8664
8665         * ParagraphList.C (insert): new function
8666
8667         * CutAndPaste.C (pasteSelection): adjust
8668
8669         * text.C (backspace): adjust
8670
8671         * tabular.C (SetMultiColumn): adjust
8672
8673         * CutAndPaste.C (cutSelection): adjust
8674         (pasteSelection): adjust
8675
8676         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8677         Buffer const * as arg
8678
8679         * ParagraphList.C (erase): new function
8680         * paragraph_funcs.C (mergeParagraph): use it
8681         (mergeParagraph): make it take a Buffer* instead of a
8682         BufferParams* as arg
8683
8684         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8685         as arg
8686         (breakParagraphConservative): ditto
8687
8688         * paragraph.h: remove the breakParagraph friend
8689
8690         * paragraph.C (eraseIntern): new function
8691         (setChange): new function
8692
8693         * paragraph_funcs.C (mergeParagraph): make it take a
8694         ParagraphList::iterator instead of a Paragraph *, adjust
8695         accordingly.
8696
8697         * paragraph.h: move an #endif so that the change tracking stuff
8698         also works in the NO_NEXT case.
8699
8700 2003-03-04  Angus Leeming  <leeming@lyx.org>
8701
8702         * commandtags.h:
8703         * LyXAction.C: new LFUN_INSET_MODIFY.
8704
8705         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8706         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8707
8708 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8709
8710         * several files: ws changes only
8711
8712         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8713         (TeXEnvironment): ditto
8714         (TeXDeeper): ditto
8715
8716         * buffer.C (makeLaTeXFile): adjust
8717         (latexParagraphs): make it take ParagraphList::iterator as args
8718
8719 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * buffer.C (latexParagraphs): adjust
8722
8723         * paragraph.C (TeXOnePar): move function...
8724         (optArgInset): move function...
8725         (TeXEnvironment): move function...
8726         * paragraph_pimpl.C (TeXDeeper): move function...
8727         * paragraph_funcs.C: ...here
8728
8729         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8730
8731 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * buffer.C (readInset): remove compability code for old Figure and
8734         InsetInfo insets
8735
8736 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * buffer.C: ws changes
8739         (readInset):
8740
8741         * BufferView_pimpl.C: ditto
8742         * author.C: ditto
8743         * buffer.h: ditto
8744         * bufferlist.h: ditto
8745         * changes.h: ditto
8746         * lyxfunc.C: ditto
8747
8748 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8749
8750         * converter.[Ch]: split into itself +
8751         * graph.[Ch]
8752         * format.[Ch]
8753         * Makefile.am: += graph.[Ch] + format.[Ch]
8754         * MenuBackend.C
8755         * buffer.C
8756         * exporter.C
8757         * importer.C
8758         * lyx_main.C
8759         * lyxfunc.C
8760         * lyxrc.C: added #include "format.h"
8761
8762 2003-02-27  Angus Leeming  <leeming@lyx.org>
8763
8764         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8765           a label.
8766
8767         * factory.C (createInset): add "label" to the factory.
8768
8769         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8770           string and do no more.
8771
8772 2003-02-27  Angus Leeming  <leeming@lyx.org>
8773
8774         * commandtags.h:
8775         * LyXAction.C (init):
8776         * factory.C (createInset):
8777         * BufferView_pimpl.C (dispatch):
8778           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8779
8780         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8781
8782         * lyxfunc.C (dispatch):
8783         * text3.C (dispatch): pass name to params2string.
8784
8785 2003-02-26  Angus Leeming  <leeming@lyx.org>
8786
8787         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8788           blocks together.
8789           Rearrange the ~includes. Strip out the unnecessary ones.
8790
8791         * factory.C (createInset): reformat.
8792           create new insets for the various LFUN_XYZ_APPLY lfuns.
8793
8794 2003-02-26  John Levon  <levon@movementarian.org>
8795
8796         * lyxrow.h:
8797         * lyxrow.C: add isParStart,isParEnd helpers
8798
8799         * paragraph.h: make isInserted/DeletedText take refs
8800
8801         * paragraph_funcs.h:
8802         * paragraph_funcs.C: remove #if 0'd code
8803
8804         * lyxtext.h:
8805         * text3.C:
8806         * text2.C:
8807         * text.C: use lyxrow helpers above.
8808           Move draw and paint routines to RowPainter.
8809           Make several methods use refs not pointers.
8810           Make backgroundColor() const.
8811           Add markChangeInDraw(), isInInset().
8812           Merge changeRegionCase into changeCase.
8813           Make workWidth() shouldn't-happen code into an Assert.
8814
8815         * rowpainter.h:
8816         * rowpainter.C: new class for painting a row.
8817
8818         * vspace.h:
8819         * vspace.C: make inPixels take a ref
8820
8821 2003-02-26  Angus Leeming  <leeming@lyx.org>
8822
8823         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8824         LFUN_REF_APPLY.
8825
8826 2003-02-25  John Levon  <levon@movementarian.org>
8827
8828         * ispell.C: give the forked command a more accurate name
8829
8830 2003-02-22  John Levon  <levon@movementarian.org>
8831
8832         * toc.h:
8833         * toc.C: make TocItem store an id not a Paragraph *
8834           (bug #913)
8835
8836 2003-02-21  Angus Leeming  <leeming@lyx.org>
8837
8838         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8839           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8840           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8841           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8842           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8843           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8844
8845         * BufferView_pimpl.C (dispatch):
8846         * LyXAction.C (init):
8847         * factory.C (createInset):
8848         * lyxfunc.C (getStatus, dispatch):
8849         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8850
8851 2003-02-21  Angus Leeming  <leeming@lyx.org>
8852
8853         * BufferView_pimpl.C (MenuInsertLyXFile):
8854         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8855         * lyxfunc.C (menuNew, open, doImport):
8856           no longer pass a LyXView & to fileDlg.
8857
8858 2003-02-21  Angus Leeming  <leeming@lyx.org>
8859
8860         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8861         * LyXAction.C: change, BIBKEY to BIBITEM.
8862         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8863         Change InsetBibKey to InsetBibitem.
8864         Change BIBKEY_CODE to BIBITEM_CODE.
8865         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8866         * factory.C: replace insetbib.h with insetbibitem.h.
8867         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8868         * paragraph.C: replace insetbib.h with insetbibitem.h.
8869         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8870         Change bibkey() to bibitem().
8871         * text.C: remove insetbib.h.
8872         * text2.C: replace insetbib.h with insetbibitem.h.
8873         change bibkey() to bibitem().
8874         * text3.C: remove insetbib.h.
8875         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8876
8877 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8878
8879         * lyxrc.C (output): enclose user email in quotes (in case there are
8880         several words)
8881
8882 2003-02-18  John Levon  <levon@movementarian.org>
8883
8884         * buffer.h: add std::
8885
8886 2003-02-17  John Levon  <levon@movementarian.org>
8887
8888         * SpellBase.h:
8889         * ispell.h:
8890         * ispell.C:
8891         * pspell.h:
8892         * pspell.C: reworking. Especially in ispell, a large
8893           number of clean ups and bug fixes.
8894
8895         * lyxfunc.C: fix revert to behave sensibly
8896
8897 2003-02-17 André Pönitz <poenitz@gmx.net>
8898
8899         * LyXAction.C:
8900         * commandtags.h: new LFUN_INSERT_BIBKEY
8901
8902         * layout.h:
8903         * lyxlayout.C:
8904         * buffer.C:
8905         * factory.C:
8906         * text.C:
8907         * text2.C:
8908         * text3.C:
8909         * paragraph.[Ch]:
8910         * paragraph_func.C: remove special bibkey handling
8911
8912 2003-02-17  John Levon  <levon@movementarian.org>
8913
8914         * text.C (Delete): fix case where delete at the end of
8915           the very first paragraph would not merge the pars
8916
8917 2003-02-17  John Levon  <levon@movementarian.org>
8918
8919         * lyxrow.C: fix lastPrintablePos()
8920
8921 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * bufferparams.C (writeLaTeX): add a std:here
8924
8925         * buffer.C: and remove a using directive there
8926
8927 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * buffer.C (makeLaTeXFile): move the code that generates the
8930           preamble...
8931
8932         * bufferparams.C (writeLaTeX): ... in this new method
8933
8934         * LaTeXFeatures.C (getEncodingSet): make const
8935           (getLanguages): make const
8936
8937         * MenuBackend.C (binding): returns the binding associated to this
8938           action
8939           (add): sets the status of each item by calling getStatus. Adds
8940           some intelligence.
8941           (read): add support for OptSubMenu
8942           (expand): remove extra separator at the end of expanded menu
8943
8944 2003-02-15  John Levon  <levon@movementarian.org>
8945
8946         * BufferView.C:
8947         * BufferView_pimpl.C:
8948         * bufferlist.h:
8949         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8950           inset code that had no actual effect. Remove unneeded status
8951           code.
8952
8953 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8956           in preamble
8957
8958 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8959
8960         * text.C (drawLengthMarker): also draw an arrow marker for
8961           symbolic lengths (medskip...)
8962
8963 2003-02-14  John Levon  <levon@movementarian.org>
8964
8965         * tabular.h:
8966         * tabular.C: better method names
8967
8968 2003-02-14  John Levon  <levon@movementarian.org>
8969
8970         * BufferView_pimpl.C:
8971         * bufferlist.C:
8972         * buffer.C:
8973         * converter.C:
8974         * lyx_cb.C:
8975         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8976           it's a more accurate name. Remove some pointless uses.
8977
8978 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8979
8980         * text2.C (LyXText): change order of initilizers to shut off
8981           warnings
8982
8983 2003-02-14  John Levon  <levon@movementarian.org>
8984
8985         * buffer.C: use ParIterator for getParFromID()
8986
8987         * paragraph.h:
8988         * paragraph.C:
8989         * paragraph_pimpl.h:
8990         * paragraph_pimpl.C: remove unused getParFromID()
8991
8992 2003-02-14  John Levon  <levon@movementarian.org>
8993
8994         * buffer.C: remove some very old #if 0'd parse code
8995
8996 2003-02-13  John Levon  <levon@movementarian.org>
8997
8998         * text.h:
8999         * text.C:
9000         * text2.C: move hfillExpansion(), numberOfSeparators(),
9001           rowLast(), rowLastPrintable(), numberofHfills(),
9002           numberOfLabelHfills() ...
9003
9004         * lyxrow.h:
9005         * lyxrow.C: ... to member functions here.
9006
9007         * paragraph.h:
9008         * paragraph.C:
9009         * lyxtext.h:
9010         * text.C: remove LyXText::beginningOfMainBody(), and call
9011           p->beginningOfMainBody() directly. Move the check for
9012           LABEL_MANUAL into the latter.
9013
9014         * text.h:
9015         * text.C:
9016         * text2.C:
9017         * vspace.C:
9018         * BufferView.h:
9019         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9020
9021         * text.h:
9022         * text.C:
9023         * text2.C:
9024         * text3.C:
9025         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9026           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9027
9028 2003-02-13  John Levon  <levon@movementarian.org>
9029
9030         * CutAndPaste.C: remove debug
9031
9032 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * paragraph.C (asString): remove two unused variables
9035
9036         * lyxtextclass.C (readTitleType):
9037           (Read):
9038           (LyXTextClass): handle new members titletype_ and titlename_
9039
9040         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9041
9042 2003-02-09  John Levon  <levon@movementarian.org>
9043
9044         * buffer.h:
9045         * buffer.C: replace hand-coded list with a map for the dep clean
9046
9047 2003-02-08  John Levon  <levon@movementarian.org>
9048
9049         * LaTeX.C: consolidate code into showRunMessage() helper
9050
9051 2003-02-08  John Levon  <levon@movementarian.org>
9052
9053         * lyxfind.C:
9054         * lyxtext.h:
9055         * text2.C:
9056         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9057           and pass the size in explicitly
9058
9059         * BufferView_pimpl.h:
9060         * BufferView_pimpl.C:
9061         * BufferView.h:
9062         * BufferView.C: add getCurrentChange()
9063
9064         * BufferView_pimpl.h:
9065         * BufferView_pimpl.C: handle change lfuns
9066
9067         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9068           for changes. Mark pasted paragraphs as new.
9069
9070         * support/lyxtime.h:
9071         * support/lyxtime.C:
9072         * DepTable.C: abstract time_t as lyx::time_type
9073
9074         * LColor.h:
9075         * LColor.C: add colours for new text, deleted text, changebars
9076
9077         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9078           package use "usenames" option.
9079
9080         * commandtags.h:
9081         * lyxfunc.C:
9082         * LyXAction.C: add change lfuns
9083
9084         * Makefile.am:
9085         * author.h:
9086         * author.C: author handling
9087
9088         * buffer.h:
9089         * buffer.C: add a per-buffer author list, with first entry as
9090           current author. Handle new .lyx tokens for change tracking. Output
9091           author list to .lyx file. Output dvipost stuff to .tex preamble.
9092           Bump lyx format to 222.
9093
9094         * bufferlist.h:
9095         * bufferlist.C: add setCurrentAuthor() to reset current author details
9096           in all buffers.
9097
9098         * bufferparams.h:
9099         * bufferparams.C: add param for tracking
9100
9101         * bufferview_funcs.C: output change info in minibuffer
9102
9103         * Makefile.am:
9104         * changes.h:
9105         * changes.C: add change-tracking structure
9106
9107         * debug.h:
9108         * debug.C: add CHANGES debug flag
9109
9110         * lyxfind.h:
9111         * lyxfind.C: add code for finding the next change piece
9112
9113         * lyxrc.h:
9114         * lyxrc.C: add user_name and user_email
9115
9116         * lyxrow.h:
9117         * lyxrow.C: add a metric for the top of the text line
9118
9119         * lyxtext.h:
9120         * text.C: implement accept/rejectChange()
9121
9122         * lyxtext.h:
9123         * text.C: paint changebars. Paint new/deleted text in the chosen
9124         colours. Strike through deleted text.
9125
9126         * paragraph.h:
9127         * paragraph.C:
9128         * paragraph_pimpl.h:
9129         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9130           in the current change to the insert functions. Rework erase to
9131           mark text as deleted, adding an eraseIntern() and a range-based
9132           erase(). Implement per-paragraph change lookup and
9133           accept/reject.
9134
9135         * paragraph_funcs.C: Fixup paste for change tracking.
9136
9137         * tabular.C: mark added row/columns as new.
9138
9139         * text.C: fix rowLast() to never return -1. Don't allow
9140           spellchecking of deleted text. Track transpose changes. Don't
9141           allow paragraph break or merge where appropriate.
9142
9143         * text2.C: leave cursor at end of selection after a cut.
9144
9145 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9146
9147         * text.C (getLengthMarkerHeight):
9148         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9149         visible on screen too.
9150
9151 2003-02-07  John Levon  <levon@movementarian.org>
9152
9153         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9154
9155 2003-02-05  Angus Leeming  <leeming@lyx.org>
9156
9157         * lyxserver.C (read_ready): revert my patch of 11 September last year
9158         as it sends PC cpu through the roof. Presumably this means that
9159         the lyxserver will no longer run on an Alpha...
9160
9161 2003-01-30  Angus Leeming  <leeming@lyx.org>
9162
9163         * factory.C (createInset): create an InsetCommandParam of type "index"
9164         and use it to 'do the right thing'.
9165
9166         * text2.C (getStringToIndex): ensure that cursor position is always
9167         reset to the reset_cursor position.
9168
9169 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9170
9171         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9172         disabled.
9173
9174 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9175
9176         * bufferview.C:
9177         * lyxcb.C:
9178         * lyxfunc.C: Output messages with identical spelling, punctuation,
9179         and spaces
9180
9181 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9182
9183         * MenuBackend.C (expandFormats): List only viewable export formats
9184         in "View" menu
9185
9186         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9187         message
9188
9189         * lyxfunc.C (getStatus): Make sure that formats other than
9190         "fax" can also be disabled
9191
9192 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9193
9194         * text3.C (dispatch): put the lfuns that insert insets in 3
9195         groups, and call doInsertInset with appropriate arguments.
9196         (doInsertInset): new function, that creates an inset and inserts
9197         it according to some boolean parameters.
9198
9199 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * buffer.C (readFile): remember to pass on 'par' when calling
9202         readFile recursively.
9203
9204 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9205
9206         * MenuBackend.C (expandFormats): add "..." to import formats.
9207
9208 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9209
9210         * paragraph.C (asString): Remove XForms RTL hacks.
9211
9212 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9213         * buffer.C: fix typo
9214
9215 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * Makefile.am (LIBS): delete var
9218         (lyx_LDADD): add @LIBS@ here instead.
9219
9220 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9221
9222         * Clarify the meaning of "wheel mouse jump"
9223
9224 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9225
9226         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9227         tabular in a float
9228
9229 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9230
9231         * importer.C (Loaders): do not preallocate 3 elements in the
9232         vector, since one ends up with 6 elements otherwise
9233
9234 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9235
9236         * DepTable.C (write): write the file name as last element of the
9237         .dep file (because it may contain spaces)
9238         (read): read info in the right order
9239
9240 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9241
9242         * paragraph_pimpl.C (simpleTeXBlanks):
9243         (simpleTeXSpecialChars):
9244         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9245
9246         * tabular.C (latex): add some missing case statements. Reindent.
9247
9248         * MenuBackend.C (expandToc): remove unused variable.
9249
9250 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9251
9252         * LColor.C:
9253         * LaTeX.C:
9254         * LyXAction.C:
9255         * MenuBackend.C:
9256         * buffer.C:
9257         * exporter.C:
9258         * lyxfunc.C:
9259         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9260         and the like.
9261
9262 2003-01-05  John Levon  <levon@movementarian.org>
9263
9264         * BufferView.h:
9265         * BufferView.C: add getEncoding()
9266
9267         * kbsequence.h:
9268         * kbsequence.C: do not store last keypress
9269
9270         * lyxfunc.h:
9271         * lyxfunc.C: store last keypress here instead. Pass encoding
9272           to getISOEncoded()
9273
9274 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9275
9276         * lyx_main.C (init): remove annoying error message when following
9277         symbolic links (bug #780)
9278
9279 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9280
9281         * text.C (insertChar):
9282         * lyxrc.C (getDescription): remove extra spaces
9283
9284 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9285
9286         * lyxrc.C (getDescription): remove extra spaces
9287
9288 2002-12-20  John Levon  <levon@movementarian.org>
9289
9290         * text3.C: hack fix for page up/down across tall rows
9291
9292 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9293
9294         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9295         not been invoked
9296
9297 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9298
9299         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9300         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9301         thesaurus is not compiled in
9302
9303 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9304
9305         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9306
9307 2002-12-16  Angus Leeming  <leeming@lyx.org>
9308
9309         * lyxrc.[Ch]:
9310         * lyx_main.C (init): remove override_x_deadkeys stuff.
9311
9312 2002-12-12  John Levon  <levon@movementarian.org>
9313
9314         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9315           insert. Only remove shift modifier under strict
9316           circumstances.
9317
9318 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9319
9320         * MenuBackend.C (expandToc): fix crash.
9321
9322 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * MenuBackend.C (expandToc): gettext on float names.
9325
9326 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9327
9328         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9329         implement bool empty() [bug 490]
9330
9331 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9334
9335 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9336
9337         * several files: ws changes
9338
9339 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * text2.C (setCounter): clean up a bit, use boost.format.
9342         (updateCounters): initialize par upon declaration.
9343
9344         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9345         if the layout exists. We do not just store the layout any more.
9346         (SwitchLayoutsBetweenClasses): use boost.format
9347
9348 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9349
9350         * converter.C (convert): if from and to files are the same, use a
9351         temporary files as intermediary
9352
9353 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9354
9355         * commandtags.h:
9356         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9357
9358 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9361
9362 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9363
9364         * tabular.C (asciiPrintCell): use string(size, char) instead of
9365         explicit loop.
9366
9367         * sgml.C (openTag): fix order of arguments to string constructor
9368         (closeTag): ditto
9369
9370         * lyxfunc.C (dispatch): use boost.format
9371
9372         * lots of files: change "c" -> 'c'
9373
9374 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9375
9376         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9377
9378 2002-11-25  Angus Leeming  <leeming@lyx.org>
9379
9380         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9381
9382         * lyx_main.C (init): compile fix.
9383
9384 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9385
9386         * lyx_cb.C (start): boost.formatify
9387         do not include <iostream>
9388
9389         * lengthcommon.C: ws only
9390
9391         * boost-inst.C,BoostFormat.h: add more explict instantations
9392
9393 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9394
9395         * lots of files: handle USE_BOOST_FORMAT
9396
9397 2002-11-21  John Levon  <levon@movementarian.org>
9398
9399         * pspell.C: fix compile
9400
9401 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9402
9403         * lyxfunc.C (dispatch): use boost::format
9404         (open): ditto
9405         (doImport): ditto
9406
9407         * lyxfont.C (stateText): use boost::format
9408
9409         * lyx_main.C (LyX): use boost::format
9410         (init): ditto
9411         (queryUserLyXDir): ditto
9412         (readRcFile): ditto
9413         (parse_dbg): ditto
9414         (typedef boost::function): use the recommened syntax.
9415
9416         * importer.C (Import): use boost::format
9417
9418         * debug.C (showLevel): use boost::format
9419
9420         * converter.C (view): use boost::format
9421         (convert): ditto
9422         (move): ditto
9423         (scanLog): ditto
9424
9425         * bufferview_funcs.C (currentState): use boost::format
9426
9427         * bufferlist.C (emergencyWrite): use boost::format
9428
9429         * buffer.C (readLyXformat2): use boost::format
9430         (parseSingleLyXformat2Token): ditto
9431
9432         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9433
9434         * LaTeX.C (run): use boost::format
9435
9436         * Chktex.C (scanLogFile): use boost::format
9437
9438         * BufferView_pimpl.C (savePosition): use boost::format
9439         (restorePosition): ditto
9440         (MenuInsertLyXFile): ditto
9441
9442         * BoostFormat.h: help file for explicit instation.
9443
9444 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9445
9446         * tabular.C (latex): Support for block alignment in fixed width
9447         columns.
9448
9449 2002-11-17  John Levon  <levon@movementarian.org>
9450
9451         * BufferView_pimpl.C:
9452         * lyx_cb.C:
9453         * lyxfunc.C: split filedialog into open/save
9454
9455 2002-11-08  Juergen Vigna  <jug@sad.it>
9456
9457         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9458         by my last patch (hopefully).
9459
9460 2002-11-08  John Levon  <levon@movementarian.org>
9461
9462         * iterators.h:
9463         * iterators.C:
9464         * buffer.h:
9465         * buffer.C:
9466         * paragraph.h:
9467         * paragraph.C:
9468         * toc.h:
9469         * toc.C: ParConstIterator, and use it (from Lars)
9470
9471 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9472
9473         * lyxtextclass.[Ch]: revise and add doxygen comments
9474
9475 2002-11-07  John Levon  <levon@movementarian.org>
9476
9477         * text.C: fix progress value for spellchecker
9478
9479         * toc.C: fix navigate menu for insetwrap inside minipage
9480
9481         * paragraph_funcs.C: added FIXME for suspect code
9482
9483 2002-11-07  John Levon  <levon@movementarian.org>
9484
9485         * BufferView_pimpl.C: fix redrawing of insets
9486           on buffer switch
9487
9488 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9489
9490         * text2.C (updateCounters): fix bug 668
9491
9492 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9493
9494         * text3.C (dispatch): Do not make the buffer dirty when moving the
9495         cursor.
9496
9497 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9498
9499         * vc-backend.C: STRCONV
9500         (scanMaster): ditto
9501
9502         * text2.C (setCounter): STRCONV
9503
9504         * paragraph.C (asString): STRCONV
9505
9506         * lyxlength.C (asString): STRCONV
9507         (asLatexString): ditto
9508
9509         * lyxgluelength.C (asString): STRCONV
9510         (asLatexString): ditto
9511
9512         * lyxfunc.C (dispatch): STRCONV
9513         (open): ditto
9514
9515         * lyxfont.C (stateText): STRCONV
9516
9517         * importer.C (Import): STRCONV
9518
9519         * counters.C (labelItem): STRCONV
9520         (numberLabel): ditto
9521         (numberLabel): remove unused ostringstream o
9522
9523         * chset.C: STRCONV
9524         (loadFile): ditto
9525
9526         * bufferview_funcs.C (currentState): STRCONV
9527
9528         * buffer.C (readFile): STRCONV
9529         (asciiParagraph): ditto
9530         (makeLaTeXFile): ditto
9531
9532         * Spacing.C (writeEnvirBegin): STRCONV
9533
9534         * LaTeXFeatures.C (getLanguages): STRCONV
9535         (getPackages): ditto
9536         (getMacros): ditto
9537         (getBabelOptions): ditto
9538         (getTClassPreamble): ditto
9539         (getLyXSGMLEntities): ditto
9540         (getIncludedFiles): ditto
9541
9542         * LaTeX.C: STRCONV
9543         (run): ditto
9544         (scanAuxFile): ditto
9545         (deplog): ditto
9546
9547         * LString.h: add the STRCONV macros
9548
9549         * BufferView_pimpl.C (savePosition): STRCONV
9550         (restorePosition): ditto
9551         (MenuInsertLyXFile): ditto
9552
9553         * vc-backend.C (scanMaster): change from submatch[...] to
9554         submatch.str(...)
9555
9556         * funcrequest.C: include config.h
9557
9558         * factory.C: include config.h
9559
9560         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9561
9562         * box.C: include config.h
9563
9564         * LaTeX.C (scanAuxFile): change from submatch[...] to
9565         submatch.str(...)
9566         (deplog): ditto
9567
9568 2002-10-25  Angus Leeming  <leeming@lyx.org>
9569
9570         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9571
9572         * ispell.[Ch] (setError): new method.
9573         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9574         Use setError() insetead of goto END.
9575
9576         * lyx_cb.C (AutoSave): move out child process into new class
9577         AutoSaveBuffer.
9578
9579 2002-10-30  John Levon  <levon@movementarian.org>
9580
9581         * text3.C: make start appendix undoable
9582
9583 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * lyxlength.C (inPixels): Fix returned value.
9586
9587         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9588         environment.
9589
9590 2002-10-24  Angus Leeming  <leeming@lyx.org>
9591
9592         * lyxgluelength.h: no need to forward declare BufferParams
9593         or BufferView, so don't.
9594
9595 2002-10-21  John Levon  <levon@movementarian.org>
9596
9597         * BufferView.C: menuUndo ->undo, redo
9598
9599         * BufferView.h: document, remove dead, make some methods private
9600
9601         * paragraph_funcs.h:
9602         * paragraph_funcs.C:
9603         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9604
9605         * buffer.h:
9606         * buffer.C:
9607         * sgml.h:
9608         * sgml.C: move sgml open/close tag into sgml.C
9609
9610         * bufferview_funcs.h: unused prototype
9611
9612         * lyxfunc.h:
9613         * lyxfunc.C: remove unused
9614
9615         * lyxtext.h:
9616         * text.C: remove unused
9617
9618 2002-10-21  John Levon  <levon@movementarian.org>
9619
9620         * BufferView.h:
9621         * BufferView.C:
9622         * BufferView_pimpl.h:
9623         * BufferView_pimpl.C: fix mouse wheel handling based on
9624           patch from Darren Freeman
9625
9626 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9629
9630 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9631
9632         * lyxlength.C (inPixels): Fix hanfling of negative length.
9633         Fix LyXLength::MU case.
9634
9635 2002-10-16  John Levon  <levon@movementarian.org>
9636
9637         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9638
9639 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9640
9641         * converter.C (view): add support for $$i (file name) and $$p
9642         (file path) for the viewer command. If $$i is not specified, then
9643         it is appended to the command (for compatibility with old syntax)
9644
9645 2002-10-14  Juergen Vigna  <jug@sad.it>
9646
9647         * undo_funcs.C (textHandleUndo): alter the order in which the
9648         new undopar is added to the LyXText, as we have to set first
9649         the right prev/next and then add it as otherwise the rebuild of
9650         LyXText is not correct. Also reset the cursor to the right paragraph,
9651         with this IMO we could remove the hack in "redoParagraphs()".
9652
9653 2002-10-09  Angus Leeming  <leeming@lyx.org>
9654
9655         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9656         to turn off an optimisation if a new inset is to be inserted.
9657
9658 2002-10-11 André Pönitz <poenitz@gmx.net>
9659
9660         * lyxtext.h: make some functions public to allow access
9661         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9662
9663 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9664
9665         * text3.C (dispatch): when changing layout, avoid an infinite loop
9666         [bug #652]
9667
9668 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9669
9670         * lyxrc.C (read): treat a viewer or converter command of "none" as
9671         if it were empty.
9672
9673         * MenuBackend.C (expandFormats): for an update, also allow the
9674         formats that are not viewable
9675
9676         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9677         script if it is newer than the lyxrc.defaults in user directory
9678
9679 2002-10-07 André Pönitz <poenitz@gmx.net>
9680
9681         * text.C: Vitaly Lipatov's small i18n fix
9682
9683 2002-09-25  Angus Leeming  <leeming@lyx.org>
9684
9685         * ispell.h: doxygen fix.
9686
9687 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9688
9689         * buffer.h (readFile): Add a new argument to the method, to allow
9690         reading of old-format templates.
9691
9692 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9693
9694         * toc.C (getTocList): Get TOC from InsetWrap.
9695
9696 2002-09-16  John Levon  <levon@movementarian.org>
9697
9698         * lyxfunc.C: check tabular for cut/copy too
9699
9700 2002-09-12  John Levon  <levon@movementarian.org>
9701
9702         * LyXAction.C: tidy
9703
9704         * factory.h:
9705         * factory.C: add header
9706
9707         * paragraph_funcs.h:
9708         * paragraph_funcs.C: cleanup
9709
9710 2002-09-11  John Levon  <levon@movementarian.org>
9711
9712         * PrinterParams.h: odd/even default to true
9713
9714 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9715
9716         * PrinterParams.h: update printer parameters for new xforms dialog
9717
9718 2002-09-11  Angus Leeming  <leeming@lyx.org>
9719
9720         * lyxserver.C (read_ready): re-write to make it more transparent
9721         and to make it work in coherent fashion under Tru64 Unix.
9722
9723 2002-09-11  André Pönitz <poenitz@gmx.net>
9724
9725         * commandtags.h:
9726         * LyXAction.C:
9727         * text3.C: implement LFUN_WORDSEL
9728
9729 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9730
9731         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9732         make floatlist_ a boost::shared_ptr<FloatList>
9733
9734         * lyxtextclass.C: include FloatList.h
9735         (LyXTextClass): initialize floatlist_
9736         (TextClassTags): add TC_NOFLOAT
9737         (Read): match "nofloat" to TC_NOFLOAT and use it.
9738         (readFloat): modify call to floatlist_
9739         (floats): ditto
9740         (floats): ditto
9741
9742         * FloatList.[Ch] (FloatList): remove commented out float
9743         initialization.
9744         (erase): new function
9745
9746 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9747
9748         * MenuBackend.C (expandToc): fix crash when there is no document
9749         open
9750
9751 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9752
9753         * many files: Add insetwrap.
9754
9755 2002-09-09  John Levon  <levon@movementarian.org>
9756
9757         * text2.C: remove confusing and awkward depth wraparound
9758
9759 2002-09-09  John Levon  <levon@movementarian.org>
9760
9761         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9762
9763         * buffer.h:
9764         * buffer.C: remove getIncludeonlyList()
9765
9766         * paragraph.C:
9767         * lyxfunc.C: remove headers
9768
9769 2002-09-09  Juergen Vigna  <jug@sad.it>
9770
9771         * text.C (getColumnNearX): fix form Michael this is most
9772         probably a cut&paste bug.
9773
9774 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9775
9776         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9777
9778         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9779         references, ws changes.
9780
9781         * text2.C (init): update counters after init
9782         (insertParagraph): no need to set counter on idividual paragraphs.
9783         (setCounter): access the counters object in the textclass object
9784         on in the buffer object.
9785         (updateCounters): ditto
9786
9787         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9788         shared_ptr<Counters> to avoid loading counters.h in all
9789         compilation units.
9790         (LyXTextClass): initialize ctrs_
9791         (TextClassTags): add TC_COUNTER, and ...
9792         (Read): use it here.
9793         (CounterTags): new tags
9794         (readCounter): new function
9795         (counters): new funtion
9796         (defaultLayoutName): return a const reference
9797
9798         * counters.C (Counters): remove contructor
9799         (newCounter): remove a couple of unneeded statements.
9800         (newCounter): simplify a bit.
9801         (numberLabel): some small formatting changes.
9802
9803         * buffer.[Ch]: remove all traces of counters, move the Counters
9804         object to the LyXTextClass.
9805
9806 2002-09-06  Alain Castera  <castera@in2p3.fr>
9807
9808         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9809         package to set the horizontal alignment on fixed width columns.
9810
9811         * lyx_sty.C:
9812         * lyx_sty.h: added tabularnewline macro def.
9813
9814         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9815
9816 2002-09-06  John Levon  <levon@movementarian.org>
9817
9818         * LyXAction.C: tooltips for sub/superscript
9819
9820         * MenuBackend.C: a bit more verbose
9821
9822         * lyxfunc.C: tiny clean
9823
9824         * undo_funcs.C: document undo_frozen
9825
9826 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9827
9828         * counters.C (Counters): add missing algorithm counter.
9829
9830         * text2.C (setCounter): lookup the counter with layouts latexname
9831         instead of by section number.
9832         (setCounter): use a hackish way to lookup the correct enum
9833         counter.
9834         a float name->type change
9835         reset enum couners with counter name directly instead of depth value.
9836
9837         * counters.C (Counters): remove the push_backs, change to use the
9838         float type not the float name.
9839         (labelItem): remove unused string, float name->type change
9840
9841         * counters.h: don't include vector, loose the enums and sects vectors
9842
9843 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9844
9845         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9846         (Read): add float->TC_FLOAT to textclassTags
9847         (Read): and handle it in the switch
9848         (readFloat): new function
9849
9850         * FloatList.C (FloatList): comment out the hardcoded float
9851         definitions.
9852
9853         * lyxlayout.h: ws change.
9854
9855 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9856
9857         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9858
9859 2002-09-03  Angus Leeming  <leeming@lyx.org>
9860
9861         * BufferView_pimpl.h: qualified name is not allowed in member
9862         declaration: WorkArea & Pimpl::workarea() const;
9863
9864         * factory.C: added using std::endl directive.
9865
9866         * text3.C: added using std::find and std::vector directives.
9867
9868 2002-08-29  André Pönitz <poenitz@gmx.net>
9869
9870         * lyxtext.h:
9871         * text2.C: remove unused member number_of_rows
9872
9873         * Makefile.am:
9874         * BufferView2.C: remove file, move contents to...
9875         * BufferView.C: ... here
9876
9877         * BufferView_pimpl.C:
9878         * factory.C: move more inset creation to factory
9879
9880         * vspace.C: avoid direct usage of LyXText, ws changes
9881
9882         * BufferView.[Ch]:
9883                 don't provide direct access to WorkArea, use two simple
9884                 acessors haveSelction() and workHeight() instead
9885
9886
9887 2002-08-29  John Levon  <levon@movementarian.org>
9888
9889         * BufferView_pimpl.C (dispatch): do not continue when
9890           no buffer
9891
9892 2002-08-28  André Pönitz <poenitz@gmx.net>
9893
9894         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9895
9896         * BufferView.h:
9897         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9898
9899 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9900
9901         * buffer.C: increment LYX_FORMAT to 221
9902
9903         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9904         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9905
9906         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9907
9908         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9909
9910 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * factory.C (createInset): use LyXTextClass::floats
9913
9914         * MenuBackend.C (expandFloatListInsert):
9915         (expandFloatInsert):
9916         (expandToc):
9917
9918         * text2.C (setCounter):
9919
9920         * LaTeXFeatures.C (useFloat):
9921         (getFloatDefinitions):
9922
9923         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9924
9925         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9926         floatlist_, with accessor floats().
9927
9928         * FloatList.h: remove global FloatList
9929
9930 2002-08-26  André Pönitz <poenitz@gmx.net>
9931
9932         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9933
9934         * BufferView.h:
9935         * BufferView2.C:
9936         * BufferView_pimpl.C:
9937         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9938
9939 2002-08-25  John Levon  <levon@movementarian.org>
9940
9941         * LyXAction.C: fix margin note description
9942
9943 2002-08-24  John Levon  <levon@movementarian.org>
9944
9945         * buffer.C:
9946         * bufferlist.C:
9947         * bufferview_funcs.C:
9948         * lyxfont.C:
9949         * undo_funcs.C: cleanups
9950
9951         * lyxfunc.C: disable CUT/COPY when no selection
9952
9953 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9954
9955         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9956         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9957
9958         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9959         Add backward compatibility to "mono", "gray" and "no".
9960
9961 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9962
9963         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9964         (and file_format >= 200).
9965
9966 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967
9968         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9969
9970 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9973
9974 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9975
9976         * BufferView_pimpl.C:
9977         * LyXAction.C:
9978         * buffer.C:
9979         * commandtags.h:
9980         * lyxfunc.C:
9981         * paragraph.[Ch]:
9982         * text2.C:
9983         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9984         inset and code to make it  work with the paragraph code. The inset
9985         can be anywhere in the paragraph, but will only do the expected
9986         thing in LaTeX if the layout file contains the parameter line
9987                         OptionalArgs    1
9988         (or more generally, a nonzero value) for that layout.
9989
9990 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * paragraph.h: remove the declaration of undefined counters class
9993         function.
9994
9995 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9996
9997         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9998         Dr. Richard Hawkins.
9999
10000 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10001
10002         * paragraph_funcs.h: remove some unneeded includes
10003
10004         * text.C (backspace): pasteParagraph now in global scipe
10005
10006         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10007         (pasteSelection): ditto
10008
10009         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10010         * paragraph_funcs.C (pasteParagraph): ... here
10011
10012 2002-08-20  André Pönitz <poenitz@gmx.net>
10013
10014         * commandtags.h: new LFUNs for swapping/copying table row/colums
10015
10016         * LyXAction.C:
10017         * lyxfunc.C: support for new lfuns
10018
10019 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10020
10021         * tabular.C:
10022         * buffer.[Ch]: remove NO_COMPABILITY stuff
10023
10024 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10025
10026         * boost.C (throw_exception): new file, with helper function for
10027         boost compiled without exceptions.
10028
10029         * paragraph.h:
10030         * lyxlength.C:
10031         * buffer.C:
10032         * ParameterStruct.h:
10033         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10034
10035         * bufferlist.C (emergencyWriteAll): use boost bind
10036
10037         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10038
10039         * text.C: include paragraph_funcs.h
10040         (breakParagraph): breakParagraph is now in global scope
10041
10042         * paragraph_funcs.[Ch]: new files
10043
10044         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10045         global scope
10046
10047         * buffer.C: include paragraph_funcs.h
10048         (insertStringAsLines): breakParagraph is now in global scope
10049
10050         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10051         paragraph_funcs.C
10052
10053         * CutAndPaste.C: include paragraph_funcs.h
10054         (cutSelection): breakParagraphConservative is now in global scope
10055         (pasteSelection): ditto
10056
10057         * buffer.h: declare oprator== and operator!= for
10058         Buffer::inset_iterator
10059
10060         * bufferlist.C (emergencyWrite): don't use fmt(...)
10061
10062         * text3.C: add using std::endl
10063
10064         * BufferView.C (moveCursorUpdate): remove default arg
10065
10066 2002-08-20  André Pönitz <poenitz@gmx.net>
10067
10068         * buffer.[Ch]: move inline functions to .C
10069
10070         * BufferView2.C:
10071         * BufferView_pimpl.C:
10072         * text.C:
10073         * buffer.[Ch]: use improved inset_iterator
10074
10075         * buffer.C:
10076         * paragraph.[Ch]: write one paragraph at a time
10077
10078 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10079
10080         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10081         style if style is not specified.
10082
10083 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * text2.C (setCounter): when searching for right label for a
10086         caption, make sure to recurse to parent insets (so that a caption
10087         in a minipage in a figure float works) (bug #568)
10088
10089 2002-08-20  André Pönitz <poenitz@gmx.net>
10090
10091         * text3.C: new file for LyXText::dispatch() and helpers
10092
10093         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10094
10095         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10096
10097 2002-08-19  André Pönitz <poenitz@gmx.net>
10098
10099         * lyxtext.h:
10100         * text.C: new LyXText::dispatch()
10101
10102         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10103
10104 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10105
10106         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10107
10108         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10109         Hebrew text.
10110
10111 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * Makefile.am: use $(variables) instead of @substitutions@
10114
10115 2002-08-15  André Pönitz <poenitz@gmx.net>
10116
10117         * lyxfunc.C:
10118         * BufferView_pimpl.C: streamlining mathed <-> outer world
10119         interaction
10120
10121         * commandtags.h:
10122         * LyXAction.C: remove unused LFUN_MATH
10123
10124 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10125
10126         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10127
10128 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10129
10130         * paragraph.C (Paragraph): reformat a bit
10131         (cutIntoMinibuffer): use builtin InsetList function instad of
10132         doing it manually.
10133         (getInset): ditto
10134
10135         * buffer.C: include boost/bind.hpp, add using std::for_each
10136         (writeFileAscii): use ParagraphList iterators
10137         (validate): use for_each for validate traversal of paragraphs
10138         (getBibkeyList): use ParagraphList iterators
10139         (resizeInsets): use for_each to resizeInsetsLyXText for all
10140         paragraphs.
10141         (getParFromID): use ParagraphList iterators
10142
10143         * BufferView2.C (lockInset): use paragraph list and iterators
10144
10145 2002-08-14  John Levon  <levon@movementarian.org>
10146
10147         * lyxserver.C: remove spurious xforms include
10148
10149 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10150
10151         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10152
10153 2002-08-13  André Pönitz <poenitz@gmx.net>
10154
10155         * LyXAction.[Ch]:
10156         * lyxfunc.C: further cleaning
10157
10158 2002-08-13  André Pönitz <poenitz@gmx.net>
10159
10160         * funcrequest.h: new constructor
10161
10162         * funcrequest.C: move stuff here from .h
10163
10164         * Makefile.am:
10165         * BufferView_pimpl.C:
10166         * LyXAction.C:
10167         * toc.C:
10168         * lyxfunc.C: subsequent changes
10169
10170         * lyxfunc.h: new view() member function
10171
10172         * lyxfunc.C: subsequent changes
10173
10174 2002-08-13  Angus Leeming  <leeming@lyx.org>
10175
10176         * BufferView2.C:
10177         * BufferView_pimpl.C:
10178         * buffer.C:
10179         * converter.C:
10180         * importer.C:
10181         * lyxfunc.C:
10182         * lyxvc.C:
10183         * toc.C:
10184         * vc-backend.C:
10185         changes due to the changed LyXView interface that now returns references
10186         to member variables not pointers.
10187
10188 2002-08-13  Angus Leeming  <leeming@lyx.org>
10189
10190         * WordLangTuple (word, lang_code): return references to strings,
10191         not strings.
10192
10193         * BufferView.h:
10194         * SpellBase.h:
10195         * lyxtext.h: forward-declare WordLangTuple.
10196
10197         * BufferView2.C:
10198         * ispell.C:
10199         * pspell.C:
10200         * text.C: #include "WordLangTuple.h".
10201
10202         * lyxtext.h:
10203         * text.C: (selectNextWordToSpellcheck): constify return type.
10204
10205 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10206
10207         * buffer.C:
10208         * buffer.h:
10209         * lyxtext.h:
10210         * paragraph.C:
10211         * paragraph_pimpl.h:
10212         * text.C:
10213         * text2.C:
10214         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10215         suggested by Angus.
10216         Made updateCounter always count from start of buffer, and removed
10217         second argument (par).
10218         Reverted floats number display to '#'. Perhaps I'll try again when the
10219         code base is sanitized a bit.
10220
10221 2002-08-12  Angus Leeming  <leeming@lyx.org>
10222
10223         * buffer.[Ch] (getLabelList): constify.
10224
10225 2002-08-07  André Pönitz <poenitz@gmx.net>
10226
10227         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10228
10229         * funcrequest.h: extension to keep mouse (x,y) position
10230
10231 2002-08-12  Juergen Vigna  <jug@sad.it>
10232
10233         * BufferView2.C (insertErrors): forbid undo when inserting error
10234         insets.
10235
10236         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10237
10238 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10239
10240         * ParagraphList.[Ch]: new files
10241
10242         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10243
10244         * BufferView2.C (lockInset): ParagraphList changes
10245         * toc.C: ditto
10246         * text2.C: ditto
10247         * bufferlist.C: ditto
10248         * buffer.h: ditto
10249         * buffer.C: ditto
10250
10251 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10252
10253         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10254         unused class variable counter_,
10255
10256         * paragraph.[Ch] (getFirstCounter): delete unused function
10257
10258         * counters.C: include LAssert.h
10259         (reset): add a new function with no arg, change other version to
10260         not have def. arg and to not allow empty arg.
10261
10262         * text2.C (setCounter): remove empty arg from call to Counters::reset
10263
10264 2002-08-11  John Levon  <levon@movementarian.org>
10265
10266         * Makefile.am: add WordLangTuple.h
10267
10268 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10269
10270         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10271         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10272
10273         * insets/insettext.C: InsetList changes
10274
10275         * graphics/GraphicsSupport.C (operator()): InsetList changes
10276
10277         * toc.C (getTocList): InsetList changes
10278
10279         * paragraph_pimpl.[Ch]: InsetList changes
10280
10281         * paragraph.[Ch]: InsetList changes
10282
10283         * buffer.C (inset_iterator): InsetList changes
10284         (setParagraph): ditto
10285         * buffer.h (inset_iterator): ditto
10286         * iterators.C (operator++): ditto
10287         * iterators.h: ditto
10288
10289         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10290
10291         * InsetList.[Ch]: new files, most InsetList handling moved out of
10292         paragraph.C.
10293
10294         * BufferView2.C (removeAutoInsets): InsetList changes
10295         (lockInset): ditto
10296         (ChangeInsets): ditto
10297
10298 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10299
10300         * paragraph_pimpl.h (empty): new function
10301
10302         * paragraph.[Ch] (empty): new function
10303
10304         * other files: use the new Paragraph::empty function
10305
10306 2002-08-09  John Levon  <levon@movementarian.org>
10307
10308         * lyxtext.h: remove unused refresh_height
10309
10310 2002-08-09  John Levon  <levon@movementarian.org>
10311
10312         * Makefile.am:
10313         * sgml.h:
10314         * sgml.C:
10315         * buffer.C:
10316         * paragraph.h:
10317         * paragraph.C: move sgml char escaping out of paragraph
10318
10319         * paragraph.h:
10320         * paragraph.C: remove id setter
10321
10322         * buffer.C:
10323         * paragraph.C:
10324         * paragraph_pimpl.C: remove dead tex_code_break_column
10325
10326         * bufferview_funcs.C: small cleanup
10327
10328         * lyxfunc.C: remove dead proto
10329
10330         * lyxtext.h: make some stuff private. Remove some dead stuff.
10331
10332         * lyxgluelength.C: make as[LyX]String() readable
10333
10334 2002-08-08  John Levon  <levon@movementarian.org>
10335
10336         * LyXAction.h:
10337         * LyXAction.C:
10338         * MenuBackend.C:
10339         * ToolbarDefaults.C:
10340         * lyxfunc.C:
10341         * lyxrc.C:
10342         * toc.C: lyxaction cleanup
10343
10344 2002-08-08  John Levon  <levon@movementarian.org>
10345
10346         * BufferView2.C: small cleanup
10347
10348         * lyxfind.h:
10349         * lyxfind.C: move unnecessary header into the .C
10350
10351 2002-08-08  John Levon  <levon@movementarian.org>
10352
10353         * funcrequest.h: just tedious nonsense
10354
10355         * lyx_main.h:
10356         * lyx_main.C: cleanups
10357
10358         * buffer.C:
10359         * vspace.C: remove dead header lyx_main.h
10360
10361 2002-08-07  Angus Leeming  <leeming@lyx.org>
10362
10363         * Paragraph.[Ch]:
10364         * paragraph_pimpl.h:
10365         Forward declare class Counters in paragraph.h by moving the ctrs member
10366         variable into Paragraph::Pimpl.
10367         (counters): new method, returning a reference to pimpl_->ctrs.
10368
10369         * text2.C: ensuing changes.
10370
10371 2002-08-07  John Levon  <levon@movementarian.org>
10372
10373         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10374
10375         * BufferView_pimpl.C: announce X selection on double/triple
10376           click
10377
10378         * lyx_main.C: use correct bool in batch dispatch
10379
10380         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10381
10382 2002-08-07  André Pönitz <poenitz@gmx.net>
10383
10384         * funcrequest.h: new class to wrap a kb_action and its argument
10385
10386         * BufferView.[Ch]:
10387         * BufferView_pimpl[Ch]:
10388         * LaTeX.C:
10389         * LyXAction.[Ch]:
10390         * lyxfunc.[Ch]:
10391         * lyxrc.C: subsequent changes
10392
10393
10394 2002-08-07  John Levon  <levon@movementarian.org>
10395
10396         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10397           document options change.
10398
10399 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10400
10401         * counters.[Ch]
10402         * text2.C
10403         * paragraph.[Ch]
10404         * makefile.am: move counters functionality over from
10405         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10406
10407 2002-08-06  John Levon  <levon@movementarian.org>
10408
10409         * WordLangTuple.h: new file for word + language code tuple
10410
10411         * SpellBase.h:
10412         * pspell.h:
10413         * pspell.C:
10414         * ispell.h:
10415         * ispell.C:
10416         * lyxtext.h:
10417         * text.C:
10418         * text2.C:
10419         * BufferView.h:
10420         * BufferView2.C: use WordLangTuple
10421
10422         * layout.h:
10423         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10424
10425 2002-08-06  John Levon  <levon@movementarian.org>
10426
10427         * lyx_main.C: fix cmdline batch handling
10428
10429 2002-08-06  André Pönitz <poenitz@gmx.net>
10430
10431         * lyxrc.C: set default for show_banner to true
10432
10433 2002-08-06  John Levon  <levon@movementarian.org>
10434
10435         * pspell.C: fix a crash, and allow new aspell to work
10436
10437 2002-08-06  John Levon  <levon@movementarian.org>
10438
10439         * lyxfunc.C:
10440         * kbmap.C: small cleanup
10441
10442         * vspace.h:
10443         * vspace.C: add const
10444
10445 2002-08-05  John Levon  <levon@movementarian.org>
10446
10447         * LyXAction.C: back to tabular-insert
10448
10449 2002-08-04  John Levon  <levon@movementarian.org>
10450
10451         * BufferView.h:
10452         * BufferView.C: cosmetic change
10453
10454         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10455
10456         * bufferlist.C:
10457         * buffer.h:
10458         * buffer.C:
10459         * lyxcb.h:
10460         * lyxcb.C:
10461         * lyxserver.C:
10462         * lyxvc.C:
10463         * vc-backend.C:
10464         * BufferView2.C: purge all "Lyx" not "LyX" strings
10465
10466         * lyxcursor.h:
10467         * lyxcursor.C: attempt to add some documentation
10468
10469         * lyxfunc.C:
10470         * commandtags.h:
10471         * LyXAction.C:
10472         * ToolbarDefaults.C:
10473         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10474           merge with LFUN_TABULAR_INSERT
10475
10476         * Makefile.am:
10477         * SpellBase.h:
10478         * ispell.h:
10479         * ispell.C:
10480         * pspell.h:
10481         * pspell.C: split up i/pspell implementations into separate
10482           files, many cleanups
10483
10484         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10485
10486         * text2.C: some cleanup
10487
10488         * lyxfunc.C: don't check for isp_command == "none" any more, it
10489           didn't make any sense
10490
10491 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10492
10493         * counters.[Ch]
10494         * text2.C
10495         * paragraph.[Ch]
10496         * makefile.am: move counters functionality over
10497         from text2.C/paragraph.[Ch] to counters.[Ch], and
10498         make proper C++.
10499 2002-08-02  John Levon  <levon@movementarian.org>
10500
10501         * buffer.C: s/lyxconvert/lyx2lyx/
10502
10503 2002-08-02  Angus Leeming  <leeming@lyx.org>
10504
10505         * lyxlex.C: revert John's change as it breaks reading of the user
10506         preamble.
10507
10508 2002-08-02  Angus Leeming  <leeming@lyx.org>
10509
10510         * importer.C (Import):
10511         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10512         changes due to LyXView::view() now returning a boost::shared_ptr.
10513
10514 2002-08-02  John Levon  <levon@movementarian.org>
10515
10516         * lyxlex.C: small cleanup
10517
10518 2002-08-02  John Levon  <levon@movementarian.org>
10519
10520         * text2.C (status): small cleanup, no logic change
10521
10522 2002-08-01  John Levon  <levon@movementarian.org>
10523
10524         * buffer.h:
10525         * buffer.C (writeFile): don't output alerts, caller
10526           handles this
10527
10528         * bufferlist.C:
10529         * lyx_cb.C: from above
10530
10531         * lyxfunc.C: allow to open non-existent files
10532
10533 2002-07-31  John Levon  <levon@movementarian.org>
10534
10535         * lyxserver.C: don't let incidental errors get
10536           in the way (errno)
10537
10538 2002-07-30  John Levon  <levon@movementarian.org>
10539
10540         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10541
10542 2002-07-30  John Levon  <levon@movementarian.org>
10543
10544         * lyxserver.h:
10545         * lyxserver.C: remove I/O callback too
10546
10547 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10550         log.
10551
10552 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10553
10554         * many files: strip,frontStrip -> trim,ltrim,rtrim
10555
10556 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10557
10558         * PrinterParams.h: remove extern containsOnly, and include
10559         support/lstrings.h instead.
10560
10561         * LaTeX.C (scanAuxFile): modify because of strip changes
10562         (deplog): ditto
10563         * buffer.C (makeLaTeXFile): ditto
10564         * bufferparams.C (writeFile): ditt
10565         * lyxfont.C (stateText): ditto
10566         * lyxserver.C (read_ready): ditto
10567         * vc-backend.C (scanMaster): ditto
10568
10569         * BufferView_pimpl.h: ws changes
10570
10571         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10572
10573 2002-07-26  André Pönitz <poenitz@gmx.net>
10574
10575         * kb_sequence.C: remove unnedred usings
10576
10577 2002-07-26  Juergen Vigna  <jug@sad.it>
10578
10579         * lyxfind.C (LyXReplace): we have to check better if the returned
10580         text is not of theLockingInset()->getLockingInset().
10581
10582 2002-07-25  Juergen Vigna  <jug@sad.it>
10583
10584         * lyxfind.C (LyXReplace): don't replace if we don't get the
10585         right LyXText.
10586
10587         * undo_funcs.C (createUndo): remove debugging code.
10588
10589 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10590
10591         * buffer.C (parseSingleLyXformat2Token): Use default placement
10592         when reading old floats.
10593
10594         * FloatList.C (FloatList): Change the default placement of figure
10595         and tables to "tbp".
10596
10597 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * MenuBackend.C: using std::max
10600
10601 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * MenuBackend.C (expandToc):
10604         (expandToc2): code moved from xforms menu frontend. It is now
10605         generic and TOCs are transparent to menu frontends.
10606
10607 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * toc.C (getTocList): protect against buf=0
10610
10611         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10612         Menu as first parameter. Now, this calls itself recursively to
10613         expand a whole tree (this will be useful for TOC handling)
10614         (expandFloatInsert): remove 'wide' version of floats
10615
10616         * MenuBackend.h (submenuname): returns the name of the submenu.
10617         (submenu): returns the submenu itself, provided it has been
10618         created by MenuBackend::expand
10619
10620 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10623         insets which have noFontChange == true. (bug #172)
10624
10625 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * BufferView_pimpl.C: add connection objects and use them...
10628         (Pimpl): here.
10629
10630 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * MenuBackend.C (expandLastfiles):
10633         (expandDocuments):
10634         (expandFormats):
10635         (expandFloatListInsert):
10636         (expandFloatInsert):
10637         (expand): split expand in parts
10638
10639 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * lyx_gui.C: use lyx_gui::exit()
10642
10643 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * LyXAction.C: show the failing pseudo action
10646
10647 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10648
10649         * buffer.C (readFile): Run the lyxconvert script in order to read
10650         old files.
10651
10652 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * LyXAction.C:
10655         * commandtags.h:
10656         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10657
10658 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * LyXAction.C:
10661         * commandtags.h:
10662         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10663
10664 2002-07-22  Herbert Voss  <voss@lyx.org>
10665
10666         * lengthcommon.C:
10667         * lyxlength.[Ch]: add support for the vertical lengths
10668
10669 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * toc.[Ch]: std:: fixes
10672
10673 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * lyxrc.C: do not include lyx_main.h
10676
10677         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10678         for layouts
10679
10680         * lyxrc.C:
10681         * encoding.C:
10682         * bufferlist.C:
10683         * BufferView2.C: include "lyxlex.h"
10684
10685         * tabular.h:
10686         * bufferparams.h: do not #include "lyxlex.h"
10687
10688         * lyxtextclasslist.C (Add): remove method
10689         (classlist): renamed to classlist_
10690
10691         * paragraph_pimpl.C:
10692         * paragraph.C:
10693         * text2.C:
10694         * CutAndPaste.C:
10695         * bufferview_funcs.C:
10696         * bufferlist.C:
10697         * text.C:
10698         * LaTeXFeatures.C:
10699         * buffer.C:
10700         * toc.C (getTocList): use BufferParams::getLyXTextClass
10701
10702         * toc.C (getTocList): use InsetFloat::addToToc
10703
10704         * toc.[Ch]: new files, containing helper functions to handle table
10705         of contents
10706
10707         * lyxfunc.C (dispatch): no need to remove spaces around command
10708         given as a string
10709         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10710         first command of the sequence; it is not very clever, but I do not
10711         have a better idea, actually
10712
10713         * LyXAction.C (LookupFunc): make sure to remove space at the
10714         beginning and end of the command
10715
10716 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10717
10718         * MenuBackend.C (getMenubar): new method: return the menubar of
10719         this menu set
10720         (read): treat differently reading of menu and menubar (in
10721         particular, the menubar has no name now)
10722         (Menu::menubar): remove
10723
10724         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10725         saving is finished
10726
10727 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10730         a bibitem inset in a RTL paragraph.
10731
10732 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * paragraph_pimpl.C: constify
10735
10736         * BufferView_pimpl.C:
10737         * LaTeX.C:
10738         * lyxfunc.C: fix dispatch in a nicer way
10739
10740 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10741
10742         * lyxfunc.C (dispatch):
10743         * BufferView_pimpl.C:
10744         * BufferView_pimpl.h:
10745         * BufferView.C:
10746         * BufferView.h: rename Dispatch() to dispatch()
10747
10748         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10749
10750         * lyxlayout.C (Read): honor DependsOn tag
10751
10752         * lyxlayout.[Ch] (depends_on): new method
10753
10754         * version.C.in: update lyx_docversion
10755
10756         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10757
10758         * paragraph.C (validate): remove from here...
10759         * paragraph_pimpl.C (validate): ... and move here
10760         (isTextAt): make it const
10761
10762         * buffer.C (getLists): ws cleanup
10763
10764 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * language.C (read): Use iso8859-1 encoding in latex_lang
10767         (this prevents LyX from crashing when using iso10646-1 encoding).
10768
10769 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * text2.C (toggleInset): if cursor is inside an inset, close the
10772         inset and leave cursor _after_ it
10773
10774 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * lyxfunc.C: move minibuffer completion handling out of here
10777
10778 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * BufferView_pimpl.C:
10781         * LaTeX.C: fix dispatch calls
10782
10783 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10784
10785         * text.C (drawChars): Fix Arabic text rendering.
10786
10787 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * LyXAction.C:
10790         * commandtags.h:
10791         * lyxfunc.C: remove message-push/pop
10792
10793         * lyxserver.C:
10794         * lyxfunc.h:
10795         * lyxfunc.C: rationalise some code by removing verboseDispatch
10796           in favour of a bool argument to dispatch()
10797
10798 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyx_main.C (init): make sure to read symlinks as absolute paths
10801
10802 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * lyxfunc.h:
10805         * lyxfunc.C: no need for commandshortcut to be a member
10806
10807 2002-07-15  André Pönitz <poenitz@gmx.net>
10808
10809         * converter.C: add support for $$s (scripts from lib/scripts dir)
10810         * lyx_main.C: white space
10811
10812 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * bufferlist.C:
10815         * lyxrc.h:
10816         * lyxrc.C: remove second exit confirmation
10817
10818 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * BufferView.h:
10821         * BufferView.C:
10822         * BufferView2.C:
10823         * BufferView_pimpl.h:
10824         * BufferView_pimpl.C:
10825         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10826
10827 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * MenuBackend.C (expand): add numeric shortcuts to document menu
10830
10831         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10832
10833 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * lyxfont.C (setLyXFamily):
10836         (setLyXSeries):
10837         (setLyXShape):
10838         (setLyXSize):
10839         (setLyXMisc):
10840         (lyxRead):
10841         * debug.C (value):
10842         * buffer.C (asciiParagraph): use ascii_lowercase
10843
10844 2002-07-15  Mike Fabian  <mfabian@suse.de>
10845
10846         * lyxlex_pimpl.C (search_kw):
10847         * lyxlex.C (getLongString):
10848         * converter.h (operator<):
10849         * converter.C (operator<):
10850         * buffer.C (parseSingleLyXformat2Token):
10851         (asciiParagraph):
10852         * ToolbarDefaults.C (read):
10853         * MenuBackend.C (checkShortcuts):
10854         (read):
10855         * LColor.C (getFromGUIName):
10856         (getFromLyXName): use the compare_ascii_no_case instead of
10857         compare_no_case, because in turkish, 'i' is not the lowercase
10858         version of 'I', and thus turkish locale breaks parsing of tags.
10859
10860 2002-07-16  Angus Leeming  <leeming@lyx.org>
10861
10862         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10863         now takes a Buffer const & argument.
10864
10865 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * BufferView.C (resize): check there's a buffer to resize
10868
10869 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxfunc.C: remove dead code
10872
10873         * lyxserver.h:
10874         * lyxserver.C: use lyx_guii::set_read_callback
10875
10876 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10877
10878         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10879         an inset in a RTL paragraph.
10880
10881 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * lyxfunc.C: repaint after a font size update
10884
10885 2002-07-15  André Pönitz <poenitz@gmx.net>
10886
10887         * lyxlength.C: inBP should be able to return negative values
10888
10889 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10890
10891         * lyxfunc.C: use lyx_gui::update_fonts()
10892
10893 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * lyxfunc.C: use lyx_gui::update_color()
10896
10897 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * bufferlist.C:
10900         * lyxfunc.h:
10901         * lyxfunc.C:
10902         * lyxrc.h:
10903         * lyxrc.C: remove file->new asks for name option, and let
10904           buffer-new take an argument
10905
10906 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * BufferView_pimpl.C: remove unneeded extra repaint()
10909
10910 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10911
10912         * LyXAction.C: allow command-sequence with NoBuffer
10913
10914         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10915
10916 2002-07-10  Angus Leeming  <leeming@lyx.org>
10917
10918         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10919
10920 2002-07-09  Angus Leeming  <leeming@lyx.org>
10921
10922         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10923
10924 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * lengthcommon.h: whitespace
10927
10928         * lyxfunc.C: update scrollbar after goto paragraph
10929
10930         * lyxtext.h: factor out page break drawing, and fix it so
10931           page break/added space paints as selected nicely
10932
10933 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * BufferView_pimpl.C: add FIXMEs, clean up a little
10936
10937 2002-07-09  André Pönitz <poenitz@gmx.net>
10938
10939         * lyxfont.[Ch]: support for wasy symbols
10940
10941 2002-07-08  André Pönitz <poenitz@gmx.net>
10942
10943         * BufferView_pimpl.C: apply John's patch for #93.
10944
10945 2002-07-05  Angus Leeming  <leeming@lyx.org>
10946
10947         * BufferView_pimpl.C (buffer): generate previews if desired.
10948
10949         * LColor.h: add "preview" to the color enum.
10950
10951         * LColor.C (LColor): add a corresponding entry to the items array.
10952
10953         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10954         with this buffer.
10955
10956 2002-07-05  Angus Leeming  <leeming@lyx.org>
10957
10958         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10959         The body of the code is now in the method that is passed an ostream &
10960         rather than a file name.
10961         Pass an additional only_preamble parameter, useful for the forthcoming
10962         preview stuff.
10963
10964 2002-07-03  André Pönitz <poenitz@gmx.net>
10965
10966         * lyxfunc.C: simplify getStatus() a bit for math stuff
10967
10968 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10971
10972 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * text.C (changeRegionCase): do not change case of all the
10975         document when region ends at paragraph end (bug #461)
10976
10977 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * paragraph.C (startTeXParParams):
10980         (endTeXParParams): add \protect when necessary
10981
10982 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * BufferView_pimpl.C (workAreaExpose): remove warning
10985
10986 2002-06-27  Angus Leeming  <leeming@lyx.org>
10987
10988         * Makefile.am: add lyxlayout_ptr_fwd.h.
10989
10990 2002-06-26  André Pönitz <poenitz@gmx.net>
10991
10992         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10993
10994 2002-06-25  Angus Leeming  <leeming@lyx.org>
10995
10996         * lyxfunc.C (dispatch): Comment out the call to
10997         grfx::GCache::changeDisplay. The method no longer exists now that the
10998         pixmap generation part of the graphics loader has been moved into
10999         InsetGraphics.
11000
11001 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * text2.C: layout as layout
11004
11005         * text.C: layout as layout
11006
11007         * tabular.C (OldFormatRead): layout as layout
11008
11009         * paragraph_pimpl.C (TeXDeeper): layout as layout
11010         (realizeFont): layout as layout
11011
11012         * paragraph.C (writeFile): layout as layout
11013         (validate): layout as layout
11014         (getFont): layout as layout
11015         (getLabelFont): layout as layout
11016         (getLayoutFont): layout as layout
11017         (breakParagraph): layout as layout
11018         (stripLeadingSpaces): layout as layout
11019         (getEndLabel): layout as layout
11020         (getMaxDepthAfter): layout as layout
11021         (applyLayout): layout as layout
11022         (TeXOnePar): layout as layout
11023         (simpleTeXOnePar): layout as layout
11024         (TeXEnvironment): layout as layout
11025         (layout): layout as layout
11026         (layout): layout as layout
11027
11028         * lyxtextclass.C (compare_name): new functor to work with
11029         shared_ptr, layout as layout
11030         (Read): layout as layout
11031         (hasLayout): layout as layout
11032         (operator): layout as layout
11033         (delete_layout): layout as layout
11034         (defaultLayout): layout as layout
11035
11036         * lyxlayout_ptr_fwd.h: new file
11037
11038         * lyxlayout.C (Read): layout as layout
11039
11040         * lyx_cb.C (MenuInsertLabel): layout as layout
11041
11042         * bufferlist.C (newFile): layout as layout
11043
11044         * buffer.C (readLyXformat2): layout as layout
11045         (parseSingleLyXformat2Token): layout as layout
11046         (insertStringAsLines): layout as layout
11047         (asciiParagraph): layout as layout
11048         (latexParagraphs): layout as layout
11049         (makeLinuxDocFile): layout as layout
11050         (simpleLinuxDocOnePar): layout as layout
11051         (makeDocBookFile): layout as layout
11052         (simpleDocBookOnePar): layout as layout
11053         (getLists): layout as layout
11054
11055         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11056
11057         * CutAndPaste.C (cutSelection): layout as layout
11058         (pasteSelection): layout as layout
11059         (SwitchLayoutsBetweenClasses): layout as layout
11060
11061         * BufferView_pimpl.C (Dispatch): layout as layout
11062         (smartQuote): layout as layout
11063
11064         * BufferView2.C (unlockInset): layout as layout
11065
11066 2002-06-24  André Pönitz <poenitz@gmx.net>
11067
11068         * lyxfunc.C: fix #487
11069
11070 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyxrc.h:
11073         * lyxrc.C:
11074         * lyxfunc.C: remove display_shortcuts, show_banner
11075
11076 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * Buffer_pimpl.C: oops, update on resize
11079
11080 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * buffer.C:
11083         * converter.C:
11084         * exporter.C:
11085         * lyxfunc.C:
11086         * BufferView.h:
11087         * BufferView.C: use repaint()
11088
11089         * BufferView_pimpl.h:
11090         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11091           as it's a clearer description. Remove superfluous
11092           redraws.
11093
11094 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * text.C: fix bug 488. Not ideal, but getting
11097           getWord() to work properly for the insets that
11098           matter is more difficult ...
11099
11100 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * BufferView_pimpl.C:
11103         * LyXAction.C:
11104         * commandtags.h:
11105         * lyxfunc.C: remove the six million index lyxfuncs to just
11106           one, and DTRT (bug 458)
11107
11108 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * BufferView.h:
11111         * BufferView.C:
11112         * BufferView_pimpl.h:
11113         * BufferView_pimpl.C: clean up resize() stuff,
11114           and unnecessary updateScreen()s
11115
11116 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * BufferView.h:
11119         * BufferView.C:
11120         * BufferView_pimpl.h:
11121         * BufferView_pimpl.C:
11122         * lyxfind.h:
11123         * lyxfind.C:
11124         * minibuffer.C: remove focus management of workarea,
11125           not needed. Use screen's greyOut()
11126
11127 2002-06-17  Herbert Voss  <voss@lyx.org>
11128
11129         * converter.C: (convert) do not post a message, when converting
11130         fails, let the calling function decide what to do in this case
11131
11132 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxfunc.C: tidy up a little
11135
11136 2002-06-16    <alstrup@diku.dk>
11137
11138         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11139         Got rid of FORMS_H_LOCATION include. Now we are
11140         GUII.
11141
11142 2002-06-15  LyX Development team  <lyx@rilke>
11143
11144         * buffer.[Ch] (sgmlOpenTag):
11145         (sgmlCloseTag): Added support for avoiding pernicious mixed
11146         content. Return number of lines written.
11147
11148         (makeLinuxDocFile):
11149         (makeDocBookFile): Fixed calls to sgml*Tag.
11150         Simple white space clean.
11151
11152         (simpleDocBookOnePar): Simple white space clean.
11153
11154         * tabular.[Ch] (docBook): Renamed to docbook and got another
11155         argument to related with the pernicious mixed content.
11156
11157         (docbookRow): Fixed calls for docbook inset method.
11158
11159 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11160
11161         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11162         so it's X11 independent.
11163
11164         * kb*.[Ch]: ditto.
11165
11166         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11167
11168 2002-06-15  Lyx Development team  <lyx@electronia>
11169
11170         * intl.h: Renamed getTrans to getTransManager.
11171
11172 2002-06-14  Angus Leeming  <leeming@lyx.org>
11173
11174         * Makefile.am: nuke forgotten stl_string_fwd.h.
11175
11176 2002-06-12  Angus Leeming  <leeming@lyx.org>
11177
11178         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11179
11180 2002-06-13  Angus Leeming  <leeming@lyx.org>
11181
11182         * LaTeX.C:
11183         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11184
11185 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11186
11187         * kbmap.C (getiso): add support for cyrillic and greek
11188
11189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * BufferView.h:
11192         * BufferView.C:
11193         * BufferView_pimpl.h:
11194         * BufferView_pimpl.C: move bogus scrolling logic
11195           to xforms
11196
11197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * lyxfunc.C:
11200         * BufferView_pimpl.C: view->resize() change
11201
11202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * BufferView_pimpl.C: topCursorVisible
11205           prototype change
11206
11207 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * Makefile.am:
11210         * lyx_gui.h:
11211         * lyx_gui.C: move to frontends/
11212
11213         * main.C:
11214         * lyx_main.h:
11215         * lyx_main.C: changes from above
11216
11217 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * intl.C:
11220         * intl.h:
11221         * kbmap.C:
11222         * kbsequence.C:
11223         * lyx_cb.C:
11224         * lyx_main.C: minor tidy
11225
11226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * BufferView_pimpl.h:
11229         * BufferView_pimpl.C:
11230         * BufferView.h:
11231         * BufferView.C: make painter() const,
11232           remove dead code
11233
11234         * BufferView2.C: use screen() accessor
11235
11236         * lyx_main.h:
11237         * lyx_main.C: some minor cleanup
11238
11239 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * BufferView_pimpl.h:
11242         * BufferView_pimpl.C: remove enter/leaveView,
11243           use workHeight()
11244
11245 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * BufferView.h:
11248         * BufferView.C:
11249         * BufferView2.C:
11250         * BufferView_pimpl.h:
11251         * BufferView_pimpl.C: only construct screen once,
11252           rename
11253
11254         * lyxrc.C: remove pointless comment
11255
11256 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11257
11258         * BufferView.h:
11259         * BufferView.C: remove active() and belowMouse()
11260
11261         * BufferView_pimpl.h:
11262         * BufferView_pimpl.C: use workarea() not workarea_,
11263           and make it use a scoped_ptr instead
11264
11265 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * lyx_gui.C: add debug message on BadWindow
11268
11269 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * sp_spell.C: fdopen is not part of the C++ standard.
11272
11273         * paragraph.C (InsetIterator): use >= instead of ==
11274
11275 2002-06-07  Angus Leeming  <leeming@lyx.org>
11276
11277         Fixes needed to compile with Compaq cxx 6.5.
11278         * BufferView_pimpl.C:
11279         * DepTable.C:
11280         * buffer.C:
11281         * converter.C:
11282         * encoding.C:
11283         * lyx_gui.C:
11284         * lyx_main.C:
11285         * lyxtextclasslist.C:
11286         * minibuffer.C:
11287         * sp_spell.C:
11288         * tabular_funcs.C:
11289         * vc-backend.C:
11290         all c-library variables have been moved into namespace std. Wrap
11291         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11292
11293         * lyxlength.C:
11294         * tabular-old.C:
11295         * tabular.C:
11296         Add a using std::abs declaration.
11297
11298         * kbmap.h (modifier_pair):
11299         * paragraph.h (InsetTable, InsetList):
11300         * lyxfont.h (FontBits):
11301         type definition made public.
11302
11303         * bufferlist.C (emergencyWriteAll): the compiler complains that
11304         there is more than one possible lyx::class_fun template to choose from.
11305         I re-named the void specialisation as lyx::void_class_fun.
11306
11307         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11308
11309         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11310         the compiler is is unable to find tostr in write_attribute.
11311
11312 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * buffer.C (sgmlError): hide #warning
11315
11316 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * xtl/*: get rid of xtl, which is not in use anyway
11319
11320         * LyXAction.C (init):
11321         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11322         were unimplemented xtl experimentation
11323
11324 2002-06-04  André Pönitz <poenitz@gmx.net>
11325
11326         * lyxfunc.C: disable array operation on simple formulae
11327
11328 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * converter.C: constify a bit
11331
11332 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * lyx_gui.C: check xforms version correctly
11335
11336 2002-04-30  Herbert Voss  <voss@lyx.org>
11337
11338         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11339         "keep" option
11340
11341 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11344           attempt to register it with a VCS)
11345
11346 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * lyx_main.C (init): honor variables LYX_DIR_13x and
11349         LYX_USERDIR_13x
11350
11351 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * buffer.h:
11354         * buffer.C:
11355         * lyx_main.C: fix a crash on bad command line,
11356           and give a useful exit status on error
11357
11358         * lyxfunc.C (doImport): allow -i lyx to work
11359
11360 2002-03-30  André Pönitz <poenitz@gmx.net>
11361
11362         * lyxfunc.C: mathed font changes
11363
11364 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * LaTeX.C:
11367         * importer.h:
11368         * importer.C:
11369         * lyx_sty.h:
11370         * lyx_sty.C:
11371         * lyxlex.C:
11372         * lyxrow.h:
11373         * lyxtext.h:
11374         * paragraph.h:
11375         * paragraph.C:
11376         * texrow.h:
11377         * texrow.C:
11378         * text.C:
11379         * trans_mgr.h: srcdocs, and some minor cleanups
11380
11381 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11384         call getFont all the time)
11385
11386 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * switch from SigC signals to boost::signals
11389
11390 2002-05-29  André Pönitz <poenitz@gmx.net>
11391
11392         * paragraph_pimpl.C (getChar): don't call size() too often...
11393
11394 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11395
11396         * paragraph_pimpl.C (insertChar): do not try to update tables when
11397         appending (pos == size())
11398
11399         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11400         in order to reduce drastically the number of comparisons needed to
11401         parse a large document
11402
11403 2002-05-29  André Pönitz <poenitz@gmx.net>
11404
11405         * text.C:
11406         * text2.C:
11407         * lyxtextclass.C:
11408         * sp_pspell.h:
11409         * textclasslist.[Ch]:
11410         * sp_ispell.h: whitespace change
11411
11412 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11415         lyxaction directly now.
11416
11417 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * trans.C:
11420         * lyxfont.C:
11421         * lyxvc.C: remove unused headers
11422
11423 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * Makefile.am:
11426         * buffer.h:
11427         * undostack.h:
11428         * undostack.C:
11429         * undo_funcs.h:
11430         * undo_funcs.C: some cleanups. Use shared_ptr
11431           and a template for the undo stacks.
11432
11433 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * BufferView_pimpl.h:
11436         * BufferView_pimpl.C:
11437         * kbmap.h:
11438         * kbmap.C:
11439         * kbsequence.h:
11440         * kbsequence.C:
11441         * lyxfunc.h:
11442         * lyxfunc.C:
11443         * text2.C: use key_state/mouse_state
11444
11445 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11448         and LSubstring
11449
11450         * chset.C: change include order
11451         (loadFile): use boost regex and get rid of LRegex and LSubstring
11452
11453         * Makefile.am (BOOST_LIBS): new variable
11454         (lyx_LDADD): use it
11455
11456         * LaTeX.C: change include order.
11457         (scanAuxFile): use boost regex and get rid of LRegex and
11458         LSubstring
11459         (deplog): ditto
11460
11461 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * ColorHandler.h:
11464         * ColorHandler.C:
11465         * FontInfo.h:
11466         * FontInfo.C: moved to frontends/xforms/
11467
11468         * FontLoader.h:
11469         * FontLoader.C: moved into frontends for GUIIzation
11470
11471         * Makefile.am:
11472         * lyx_gui.C:
11473         * lyxfont.C:
11474         * lyxfunc.C: changes from above
11475
11476 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * LColor.C: remove spurious X include
11479
11480         * BufferView_pimpl.C:
11481         * Makefile.am:
11482         * font.h:
11483         * font.C:
11484         * text.C:
11485         * text2.C: move font metrics to frontends/
11486
11487 2002-05-24  Juergen Vigna  <jug@sad.it>
11488
11489         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11490         setting the undo_cursor.
11491
11492         * ParagraphParameters.h: include local includes first.
11493
11494 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * BufferView_pimpl.C:
11497         * BufferView_pimpl.h:
11498         * Makefile.am:
11499         * WorkArea.h:
11500         * WorkArea.C:
11501         * screen.C: move WorkArea into frontends/
11502
11503         * lyxscreen.h:
11504         * screen.C:
11505         * text.C:
11506         * BufferView.C:
11507         * BufferView2.C: move LyXScreen into frontends/
11508
11509         * lyxlookup.h:
11510         * lyxlookup.C:
11511         * lyx_gui.C: move lyxlookup into frontends/xforms/
11512
11513 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * BufferView2.C:
11516         * BufferView_pimpl.C:
11517         * FontLoader.C:
11518         * LyXView.h:
11519         * LyXView.C:
11520         * Makefile.am:
11521         * WorkArea.C:
11522         * XFormsView.h:
11523         * XFormsView.C:
11524         * buffer.C:
11525         * bufferlist.C:
11526         * bufferview_funcs.C:
11527         * converter.C:
11528         * importer.C:
11529         * lyx_cb.C:
11530         * lyx_gui.C:
11531         * lyx_main.C:
11532         * lyx_find.C:
11533         * lyxfunc.C:
11534         * lyxvc.C:
11535         * minibuffer.C:
11536         * text.C:
11537         * text2.C:
11538         * trans.C:
11539         * vc-backend.C: move LyX/XFormsView into frontends/
11540
11541 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * Makefile.am:
11544         * PainterBase.C:
11545         * PainterBase.h:
11546         * Painter.C:
11547         * Painter.h:
11548         * WorkArea.C:
11549         * WorkArea.h:
11550         * screen.C:
11551         * tabular.C:
11552         * text.C:
11553         * text2.C: move Painter to frontends/
11554
11555 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11556
11557         * buffer.C: comment out some some code that depend upon lyx_format
11558         < 220
11559
11560         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11561         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11562
11563         * buffer.h (NO_COMPABILITY): turn off compability
11564
11565         * ColorHandler.C: include scoped_array.hpp
11566
11567         * font.C: Use more specific smart_ptr header.
11568         * Painter.C: ditto
11569         * gettext.C: ditto
11570         * ShareContainer.h: ditto
11571         * lyx_main.h: ditto
11572         * kbmap.h: ditto
11573         * FontInfo.h: ditto
11574         * BufferView_pimpl.h: ditto
11575         * ColorHandler.h: ditto
11576
11577         * kbmap.C (defkey): change call to shared_ptr::reset
11578
11579 2002-05-21  Juergen Vigna  <jug@sad.it>
11580
11581         * buffer.C (insertErtContents): fix to insert ert asis if it is
11582         non empty. Skip it completely if it contains only whitespaces.
11583
11584 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView_pimpl.C:
11587         * BufferView2.C: clear selection on paste (bug 393)
11588
11589 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * DepTable.C: include ctime
11592
11593 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11594
11595         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11596
11597 2002-05-14  Juergen Vigna  <jug@sad.it>
11598
11599         * text.C (breakParagraph): fixed function to honor the keepempty
11600         layout in the right maner and also to permit the right breaking
11601         algorithm on empty or non empyt keepempty paragraphs.
11602
11603         * paragraph.C (breakParagraph): we have to check also if the par
11604         is really empty (!size()) for isempty otherwise we do the wrong
11605         paragraph break.
11606
11607 2002-05-10  Juergen Vigna  <jug@sad.it>
11608
11609         * buffer.[Ch] : The following are only changes to the ert
11610         compatibility read reading old LaTeX layout and font stuff and
11611         convert it to ERTInsets.
11612
11613         * buffer.h: added isErtInset().
11614
11615         * buffer.C (struct ErtComp): add a fromlayout bool to check
11616         if we're inside a LaTeX layout.
11617         (isErtInset): new helper function.
11618         (insertErtContents): look for other ert insets before this one
11619         and insert the contents there, so that we don't have subsequent
11620         ERT insets with nothing between them. This way we create only one
11621         inset with multiple paragraphs. Also check if we don't insert only
11622         spaces ' ' as they are ignored anyway afterwards in the .tex file
11623         so if we have only spaces we will ignore this latex part in the
11624         new file.
11625         (parseSingleLyXformat2Token \\layout): better compatibility when
11626         reading layout-latex stuff.
11627         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11628         language tag.
11629         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11630         stuff after reading the inset only get the information back from
11631         the stack.
11632
11633 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11634
11635         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11636
11637         * LaTeXFeatures.C (getBabelOptions): New method.
11638
11639 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * BufferView_pimpl.C (Dispatch): work around missing argument for
11642         'layout'
11643
11644 2002-05-08  Juergen Vigna  <jug@sad.it>
11645
11646         * text.C (leftMargin): handle paragraph leftindent.
11647
11648         * paragraph.C (writeFile): write the new \\leftindent tag.
11649         (validate): handle leftindent code.
11650         (TeXEnvironment): handle paragraphleftindent code again.
11651
11652         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11653
11654         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11655         for paragrap_extra indent code and new token \\leftindent.
11656         (latexParagraphs): handle the leftindent as environment.
11657
11658         * ParameterStruct.h: added leftindent support.
11659
11660         * ParagraphParameters.C (leftIndent): added support functions for
11661         the paragraph left indent.
11662
11663         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11664         more appropriate.
11665
11666 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11667
11668         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11669         inside insetERT.
11670
11671         * text.C (computeBidiTables): No bidi in insetERT.
11672
11673         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11674         in RTL documents.
11675
11676 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * version.C.in: pre 5
11679
11680 2002-05-02  José Matos  <jamatos@fep.up.pt>
11681         * buffer.C (makeDocBookFile): white space changes, add newline to
11682         command styles.
11683         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11684
11685         * tabular.C (docBook): fix typo.
11686
11687 2002-05-03  Juergen Vigna  <jug@sad.it>
11688
11689         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11690         change in LyXText as we can not be sure it was not freed.
11691         (drawOneRow): remove unused code.
11692
11693         * text.C (drawInset): redo the calculation of the need_break_row as
11694         it could have a row which was already freed.
11695         (draw): look at the return value of drawInset and return false if
11696         it also returned false.
11697         (paintRowText): look at the return value of draw and return false if
11698         it also returned false.
11699
11700         * lyxtext.h: added bool return type to drawInset() and draw() so that
11701         if we have a change in the row so that the rowbreak has to be redone
11702         we abort drawing as it will be called again.
11703
11704 2002-05-02  Juergen Vigna  <jug@sad.it>
11705
11706         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11707         a change in the maintext also if we're inside an inset.
11708         (Dispatch): set the cursor again after a break line and after the
11709         screen has been updated as it could be we're in a different row.
11710
11711         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11712         to set the cursor behind the pargraph with > size().
11713         (setCursor): check also for the same paragraph when checking where
11714         to put the cursor if we have a NFR inset.
11715
11716         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11717         parts of layout read further up as it still was in the wrong
11718         position.
11719
11720 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * screen.C (drawFromTo): change sine fullRebreak always return
11723         true.
11724
11725         * buffer.C (parseSingleLyXformat2Token): reindent some
11726
11727         * BufferView_pimpl.C (update): change since fullRebreak always
11728         return true.
11729         (Dispatch): git rid of the last hardcoded "Standard"s.
11730
11731 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * text2.[Ch] (fullRebreak): make it return void now that we always
11734         returned true.
11735
11736 2002-04-30  Juergen Vigna  <jug@sad.it>
11737
11738         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11739         ert compatibility check for "latex" layout.
11740
11741 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11742
11743         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11744         minipages: use col% instead of p%, and also use the current font.
11745         (makeLaTeXFile): Fix use babel condition.
11746         (parseSingleLyXformat2Token): Correct font when reading old floats.
11747
11748 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11749
11750         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11751         inserting list of floats.
11752
11753 2002-04-25  Herbert Voss  <voss@lyx.org>
11754
11755         * MenuBackend.C (expand): don't add the graphics extensions to the
11756         export menu
11757
11758 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11759
11760         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11761         non-existing layout, do not complain if it was the default layout
11762         of the original class (bug #342)
11763
11764 2002-04-24  Juergen Vigna  <jug@sad.it>
11765
11766         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11767         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11768
11769 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * buffer.C (getBibkeyList): If using \bibliography, return the
11772         option field with the reference itself. Enables us to provide natbib
11773         support when using \bibliography.
11774
11775 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11776
11777         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11778
11779         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11780         natbib is provided by the LaTeX class.
11781
11782 2002-04-23  Juergen Vigna  <jug@sad.it>
11783
11784         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11785         Wakeup functions.
11786
11787         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11788
11789 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11792
11793         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11794         ensuremath around textordmasculine, textordfeminine and
11795         textdegree.
11796
11797 2002-04-19  Juergen Vigna  <jug@sad.it>
11798
11799         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11800         reinitializing the buffer otherwise row-dimensions may be wrong.
11801         (update): reset also the selection cursors if they do exits otherwise
11802         their x/y positions may be wrong.
11803
11804         * text2.C (cursorDown): don't enter the inset if we came from a row
11805         above and are one row over the inset.
11806
11807         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11808         really leaving an inset.
11809
11810 2002-04-18  Juergen Vigna  <jug@sad.it>
11811
11812         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11813         of the selected paragraph does not have the selected layout also if
11814         the last one had!
11815
11816         * text2.C (setLayout): fixed bug which did not change last selected
11817         paragraph.
11818
11819         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11820         changed the read and substituted \\end_float with \\end_inset!
11821
11822         * BufferView_pimpl.C (cursorPrevious):
11823         (cursorNext): fixed to make it work with rows heigher than the work
11824         area without moving the cursor only the draw of the row.
11825         (workAreaMotionNotify): fix jumping over high rows.
11826
11827 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11830         Ressler.
11831
11832 2002-04-16  Juergen Vigna  <jug@sad.it>
11833
11834         * text2.C (setCursor): set also the irow().
11835         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11836         (cursorUp):
11837         (cursorDown): support for locking an inset if the x_fix value goes
11838         inside it. That way I can transverse insets too with cursor up/down.
11839
11840         * lyxrow.h: added irow helper function same as other (i) functions.
11841
11842         * BufferView_pimpl.C (cursorPrevious):
11843         (cursorNext): fixed for insets!
11844
11845 2002-04-15  Juergen Vigna  <jug@sad.it>
11846
11847         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11848         position otherwise it is wrong in some cases.
11849
11850         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11851         inside the inset before the call.
11852
11853 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11854
11855         * buffer.[Ch] (getBibkeyList): make it const.
11856
11857 2002-04-12  Juergen Vigna  <jug@sad.it>
11858
11859         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11860
11861         * text2.C (getCursorX): new helper function
11862         (setCursor): compute also ix_
11863         (setCursorFromCoordinates): set also ix.
11864
11865         * lyxcursor.h: added ix_ and helper functions.
11866
11867         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11868
11869         * buffer.C (insertStringAsLines): dont break paragraph if the this
11870         paragraph is inside an inset which does not permit it!
11871
11872         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11873         also with no chars on this paragraph.
11874         (paintRowText): only paint stuff if it's inside the workarea!
11875
11876         * paragraph.C (breakParagraph): honor keepempty flag and break the
11877         paragraph always below not above.
11878
11879         * BufferView2.C (unlockInset): update the paragraph layout on inset
11880         unlock as we changed paragraph in such a case.
11881
11882         * lyxfind.C (LyXFind): clear the former selection if not found!
11883
11884         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11885         again called in insertChar().
11886
11887         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11888         an inset which uses the whole row!
11889         (rightMargin): ditto.
11890         (insertChar): force a rebreak if we inserted an inset!
11891
11892 2002-03-28  Herbert Voss  <voss@lyx.org>
11893
11894         * lyxlength.[Ch]: add inBP() to get the right PS-point
11895         units (BigPoint). With inPixels we have rounding errors
11896
11897 2002-04-11  Juergen Vigna  <jug@sad.it>
11898
11899         * text2.C (setCursorFromCoordinates): set iy to the right value.
11900         (setCursor): add check if row->previous exists!
11901
11902         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11903         an old float_type as this was the case in the old code!
11904
11905         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11906
11907         * BufferView2.C (showLockedInsetCursor): use iy
11908         (fitLockedInsetCursor): ditto
11909
11910         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11911         locked insets as there we have the right value now.
11912
11913         * lyxcursor.C: added iy_ variable and iy functions to set to the
11914         baseline of cursor-y of the locked inset.
11915
11916         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11917         (setCursor): fixed for insets which need a full row.
11918
11919         * text.C (rowLastPrintable): don't ignore the last space when before
11920         an inset which needs a full row.
11921         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11922         as last character of a row when before a inset which needs a full row.
11923
11924 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * version.C.in: update date
11927
11928         * text2.C (fullRebreak): try to always return true and see what
11929         happens...
11930
11931 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * MenuBackend.C (expand): use Floating::listName
11934
11935         * FloatList.C (FloatList): add listName argument to the built-in
11936         floats
11937
11938         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11939         text associated with the float.
11940
11941 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11944
11945 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * ShareContainer.h: add a couple of missing typenames.
11948
11949 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11950
11951         * lyxrc.C (getDescription): use _() correctly rather than N_().
11952
11953 2002-03-28  Herbert Voss  <voss@lyx.org>
11954
11955         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11956         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11957
11958 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11961         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11962
11963 2002-03-29  Juergen Vigna  <jug@sad.it>
11964
11965         * lyxfunc.C (dispatch): add a missing fitCursor call.
11966
11967         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11968         it was scrolled by a cursor move, so return the bool status.
11969
11970         * BufferView.C (fitCursor): return the bool flag also to the outside
11971         world as this is needed.
11972
11973         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11974
11975         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11976         call the edit() as it is not needed (and wrong) IMO.
11977         (workAreaButtonPress): set the screen_first variable before evt.
11978         unlock the inset as this may change screen_first and then we have
11979         a wrong y position for the click!
11980
11981 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * MenuBackend.C (expand): another translation that I missed
11984
11985 2002-03-28  Juergen Vigna  <jug@sad.it>
11986
11987         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11988
11989         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11990
11991 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11994
11995         * MenuBackend.C (expand): fix export/view/update when there is no
11996         document open.
11997
11998 2002-03-27  Herbert Voss  <voss@lyx.org>
11999
12000         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12001         and text%
12002
12003 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * bufferview_funcs.C (currentState): only show paragraph number
12006         for is DEVEL_VERSION is set.
12007
12008         * lyxfunc.C (dispatch): put warning in INFO channel
12009
12010         * MenuBackend.C (expand): translate the name of floats
12011
12012         * FloatList.C (FloatList): mark the float names for translation
12013
12014         * converter.C (convert): use LibScriptSearch
12015
12016 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12017
12018         * MenuBackend.C (defaults): fix default menu (we might as well get
12019         rid of it...)
12020
12021 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12024         directory.
12025
12026 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * lyxvc.C: reorder includes.
12029
12030 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12033           properly
12034
12035 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * CutAndPaste.C: change layouts earlier on paste
12038           to avoid crashing when calling getFont()
12039
12040 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12043         irritating #error.
12044
12045 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12046
12047         * WorkArea.C: remove 'Pending' debug message.
12048
12049         * most files: ws cleanup
12050
12051         * buffer.[Ch]: ws changes
12052
12053         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12054
12055 2002-03-21  Juergen Vigna  <jug@sad.it>
12056
12057         * tabular.C (SetMultiColumn): collapse also the contents of the
12058         cells and set the last border right. Added a Buffer const * param.
12059
12060 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12061
12062         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12063         linking or not.
12064
12065 2002-03-19  Juergen Vigna  <jug@sad.it>
12066
12067         * text2.C (clearSelection): reset also xsel_cache.
12068
12069         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12070         where it needs to be called (John tells us to do so too :)
12071         (selectionLost): reset sel_cache.
12072
12073         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12074
12075 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * text2.C (setCursorIntern): put debuging code in INSETS channel
12078
12079 2002-03-19  André Pönitz <poenitz@gmx.net>
12080
12081         * lyxfunc.C: tiny whitespace change
12082
12083 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * ToolbarDefaults.C (init):
12086         * LyXAction.C (init):
12087         * commandtags.h:
12088         * BufferView_pimpl.C (Dispatch):
12089         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12090
12091 2002-03-19  Allan Rae  <rae@lyx.org>
12092
12093         * exporter.C (Export): removeAutoInsets before doing anything else.
12094         While I've just introduced a dependency on BufferView this really is
12095         the best place to clean the buffer otherwise you need to cleanup in
12096         a dozen places before calling export or cleanup in a dozen functions
12097         that export calls.
12098
12099         * converter.C (runLaTeX):
12100         (scanLog): Better handling of removeAutoInsets and screen updates.
12101
12102         * lyxfunc.C (dispatch): small whitespace changes
12103
12104 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * WorkArea.C (C_WorkAreaEvent): return a value.
12107         (event_cb): return 1 if we handled the event, 0 otherwise.
12108
12109         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12110
12111 2002-03-18  Juergen Vigna  <jug@sad.it>
12112
12113         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12114         (GetAdditionalWidth): ditto.
12115         (RightLine): ditto.
12116         (LeftLine): ditto.
12117
12118         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12119         inset if we're there actually (probably not used right now but this
12120         is the direction to go for unifying code).
12121         (paste): disable code to clear the selection.
12122
12123         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12124         inside an InsetText and move the check further up as it is in the
12125         wrong place.
12126
12127         * text2.C (pasteSelection): set a selection over the pasted text.
12128
12129 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12130
12131         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12132         and libgraphics to build on Cygwin.
12133
12134 2002-03-15  Juergen Vigna  <jug@sad.it>
12135
12136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12137         inserting an Inset into the paragraph. I know this is not the best
12138         fix but we already use current_view in CutAndPaste so we will remove
12139         all of it's using at the same time.
12140
12141         * buffer.C (sgmlError): deactivated function till it is rewritten in
12142         the right mode, now it can create problems.
12143
12144         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12145         before accessing it.
12146
12147 2002-03-14  Juergen Vigna  <jug@sad.it>
12148
12149         * undo_funcs.C (textHandleUndo): do the right thing when updating
12150         the inset after the undo/redo.
12151
12152         * text2.C (setCursor): just some testcode for #44 not ready yet.
12153
12154         * undo_funcs.C (textHandleUndo): set the next() and previous()
12155         pointers of the paragraph to 0 before deleting otherwise we have
12156         problems with the Paragraph::[destructor].
12157
12158         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12159         on a paragraph insertion.
12160
12161 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * buffer.C (asciiParagraph): use += operator for char append to
12164         string.
12165
12166         * paragraph.C (getFontSettings): compare >= not just >
12167         (highestFontInRange): ditto
12168         (setFont): ditto
12169
12170 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * paragraph.C: change several algorithm to be more appripriate for
12173         the problem domain. This is lookip in FontList and in the InsetList.
12174
12175 2002-03-13  André Pönitz <poenitz@gmx.net>
12176
12177         * commandtags.h:
12178         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12179
12180 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * commandtags.h:
12183         * LyXAction.C:
12184         * lyxfunc.C:
12185         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12186
12187 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * Painter.C (display): anon helper function, adjust code for this
12190         change.
12191         (pixmap): remove function.
12192
12193         * Painter.h: remove private display variable.
12194
12195         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12196
12197 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * WorkArea.[Ch]: remove figinset_canvas cruft.
12200
12201 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * lyxtextclass.C (operator): add one item cache optimization.
12204
12205         * bufferlist.h: doxy changes
12206
12207         * bufferlist.C: ws changes
12208
12209         * DepTable.[Ch] (ext_exist): place const in the right spot.
12210
12211         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12212         call resizeInsets.
12213         (workAreaExpose): call resizeInsets when the with BufferView changes.
12214         (Dispatch): adjust for protectedBlank removal
12215         (specialChar): call updateInset if the insert went ok.
12216
12217         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12218         specialChar instead.
12219
12220         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12221
12222         * BufferView.h: doxy change
12223
12224         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12225
12226         * lyxtextclass.C (operator[]): remove non-const version
12227         (defaultLayout): remove non-const version
12228
12229 2002-03-12  Juergen Vigna  <jug@sad.it>
12230
12231         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12232         did resize the LyXText too.
12233
12234         * buffer.C (readLyXformat2): set layout information on newly allocated
12235         paragraphs.
12236
12237         * tabular.C (OldFormatRead): set layout information on the paragraph.
12238
12239 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12240
12241         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12242
12243 2002-03-11  Juergen Vigna  <jug@sad.it>
12244
12245         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12246         plainly wrong.
12247         (resizeCurrentBuffer): force also the insets to resize themselfes.
12248         (moveCursorUpdate): fixed up for InsetText.
12249
12250 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12251
12252         * commandtags.h:
12253         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12254         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12255         value of Dialogs::tooltipsEnabled().
12256         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12257
12258 2002-03-08  Juergen Vigna  <jug@sad.it>
12259
12260         * BufferView_pimpl.C (updateInset): update inset inside inset also
12261         if it isn't inside theLockingInset().
12262
12263 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * buffer.C (asciiParagraph): redo some of the word and line length
12266         handling.
12267         (getLists): look for Caption instead of caption.
12268
12269 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * buffer.C (Buffer): initialize niceFile to true
12272         (makeLaTeXFile):
12273         (makeLinuxDocFile):
12274         (makeDocBookFile): make sure niceFile is true on exit
12275
12276 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12277
12278         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12279
12280 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12281
12282         * LyXSendto.C: remove.
12283         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12284         * lyx_gui.C: remove now-redundant comment.
12285         * ColorHandler.h: remove forward declaration of class WorkArea.
12286         * lyxfunc.C: remove #include "WorkArea.h".
12287
12288 2002-03-07  Juergen Vigna  <jug@sad.it>
12289
12290         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12291         got moved away with the DEPM and also set the inset_owner always
12292         right which before could have been omitted.
12293
12294 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12297         wanted layout is not found.
12298
12299 2002-03-07  Juergen Vigna  <jug@sad.it>
12300
12301         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12302
12303 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * paragraph.C (breakParagraph): use default layout not layout of
12306         prev paragraph.
12307         (Paragraph): clear ParagraphParameters.
12308
12309 2002-03-06  Juergen Vigna  <jug@sad.it>
12310
12311         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12312         otherwise it would not be a valid lenght. Fixed a special case in
12313         the minipage compatibility read where we end the document with a
12314         minipage.
12315
12316         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12317         was set as it could be 0 for InsetTexts first entry.
12318
12319 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * paragraph.C (writeFile): if layout is empty write out
12322         defaultLayoutName().
12323
12324         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12325         file without named layout we set layout to defaultLayoutName().
12326
12327 2002-03-06  Juergen Vigna  <jug@sad.it>
12328
12329         * CutAndPaste.C (copySelection): set layout for new paragraph.
12330
12331         * text.C (prepareToPrint): leave ERT inset left aligned
12332         (leftMargin): don't indent paragraphs inside ERT insets
12333
12334 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * paragraph.C (breakParagraph): dont call clear do the work manually
12337
12338         * paragraph.[Ch] (clear): remove function
12339
12340 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * paragraph.C (Paragraph): dont call clear, the work has already
12343         been done.
12344
12345         * lyxtextclass.C (operator): assert if n is empty
12346
12347         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12348         work manually instead.
12349
12350 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * BufferView_pimpl.C: protect selectionLost against text == 0
12353
12354 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * text.C (breakParagraph): fix a setting layout to '0' problem.
12357
12358 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12359
12360         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12361         final location of file, for the included files, and graphics.
12362
12363 2002-03-05  Juergen Vigna  <jug@sad.it>
12364
12365         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12366
12367 2002-03-04  Juergen Vigna  <jug@sad.it>
12368
12369         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12370
12371         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12372         last column of multicolumn cells.
12373         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12374
12375 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12376
12377         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12378         file if it doesn't go to a temporary file.
12379
12380         * buffer.C (sgmlOpenTag):
12381         (sgmlCloseTag):  remove extra newline insertion.
12382
12383 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * text.C (getRowNearY): comment out debug msg
12386
12387 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * text2.C: first -> first_y
12390
12391         * text.C (getRowNearY): add some attemts at a possible
12392         optimization, not working.
12393
12394         * tabular.[Ch]: add BufferParams to several function so that newly
12395         created paragraph can be initialized to he default layotu for the
12396         buffers textclass.
12397
12398         * tabular-old.C (ReadOld): add buf->params to call of Init
12399
12400         * screen.C: rename text->first to text->first_y
12401
12402         * paragraph.C (breakParagraph): always set layout in the broken
12403         paragraph
12404
12405         * lyxtextclass.C (Read): remove lowercase
12406         (hasLayout): ditto
12407         (operator): ditto
12408         (delete_layout): ditto
12409
12410         * lyxtext.h: rename first -> first_y
12411
12412         * lyxlayout.C (Read): remove lowercase
12413         (name): ditto
12414         (setName): ditto
12415         (obsoleted_by): ditto
12416
12417         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12418
12419         * buffer.C (insertErtContents): add params are to InsetERT
12420         (parseSingleLyXformat2Token): add code to check if a paragraphs
12421         layout really exist.
12422         (parseSingleLyXformat2Token): add params to several inset
12423         constructors
12424         (asciiParagraph): remove lowercase, do the layout comparisons with
12425         no_case
12426
12427         * BufferView_pimpl.C (cursorNext): first -> first_y
12428         (resizeCurrentBuffer): first -> first_y
12429         (updateScrollbar): first -> first_y
12430         (scrollCB): first -> first_y
12431         (workAreaMotionNotify): first -> first_y
12432         (workAreaButtonPress): first -> first_y
12433         (checkInsetHit): first -> first_y
12434         (cursorPrevious): first -> first_y
12435         (cursorNext): first -> first_y
12436         (Dispatch): add buffer_->params to severl inset contructors
12437
12438 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * lyxlayout.C (Read): remove some debug info that I forgot.
12441
12442         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12443         clean up the code slightly.
12444         (makeLinuxDocFile): ditto
12445         (makeDocBookFile): ditto
12446
12447         * text2.C: layout as string
12448
12449         * text.C: layout as string
12450
12451         * paragraph_pimpl.C: layout as string
12452
12453         * paragraph.[Ch]: layout as string
12454
12455         * lyxtextclasslist.[Ch]: layout as string
12456
12457         * lyxtextclass.[Ch]: layout as string
12458
12459         * lyxtext.h: layout as string
12460
12461         * lyxlayout.[Ch]: layout as string
12462
12463         * lyx_cb.C: layout as string
12464
12465         * bufferview_funcs.C: layout as string
12466
12467         * bufferparams.C: layout as string
12468
12469         * buffer.C: layout as string
12470
12471         * LyXView.[Ch]: layout as string
12472
12473         * LaTeXFeatures.[Ch]: layout as string
12474
12475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12476
12477         * BufferView_pimpl.C: change current_layout to string, remove
12478         lyx::layout_type.
12479         (Dispatch):
12480         (smartQuote):
12481         (insertInset):
12482         (workAreaButtonRelease): layout as string
12483
12484         * BufferView2.C (unlockInset): adjust
12485
12486         * vspace.C (asLatexCommand): use an explict temp variable.
12487
12488 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * Makefile.am: use FRONTEND_*
12491
12492 2002-03-01  Juergen Vigna  <jug@sad.it>
12493
12494         * tabular.C (SetWidthOfMulticolCell): changed to something better
12495         I hope but still work in progress.
12496         (recalculateMulticolumnsOfColumn): renamed function from
12497         recalculateMulticolCells as it is more appropriate now.
12498         (SetWidthOfCell): calculate multicols better.
12499
12500 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12503
12504         * lyxfunc.C (processKeySym): print sequence also if it is
12505         `deleted' (complete)
12506
12507         * kbsequence.C (print): print sequence even if it is deleted
12508         (complete would be a better word, actually).
12509
12510         * lyxfunc.C (dispatch): print complete options after a prefix key
12511
12512         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12513
12514 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12515
12516         * text2.C (setCharFont): eliminate setCharFont code duplication.
12517
12518 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12521         LFUN_TABULAR_FEATURE (bug #177)
12522
12523 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12524
12525         * Makefile.am: remove figure.h
12526
12527 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12528
12529         * Bufferview_pimpl.C:
12530         * CutAndPasteC:
12531         * LaTeX.C:
12532         * LyXSendto.C:
12533         * buffer.C:
12534         * bufferlist.C:
12535         * converter.C:
12536         * language.C:
12537         * lyxfunc.C:
12538         * lyxvc.C:
12539         * paragraph.C:
12540         * text.C:
12541         * text2.C: remove #include "lyx_gui_misc.h".
12542
12543         * LaTeX.C: added #include <cstdio>
12544
12545 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12548         that the paragraph following this one can have.
12549
12550         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12551
12552         * vspace.C (asLatexCommand): fix bogus gcc warning
12553
12554         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12555
12556 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12557
12558         * text2.C (setLayout): get rid of redundant code
12559
12560 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12561
12562         * text2.C (incDepth): make sure depth cannot be increased beyond
12563         reasonable values.
12564
12565 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12568         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12569
12570         * PainterBase.h (image):
12571         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12572         a LyXImage const *.
12573
12574 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView.C:
12577         * BufferView.h:
12578         * BufferView_pimpl.C:
12579         * BufferView_pimpl.h:
12580         * LaTeXFeatures.C:
12581         * LyXAction.C:
12582         * LyXView.C:
12583         * Makefile.am:
12584         * UpdateList.h:
12585         * UpdateList.C:
12586         * buffer.C:
12587         * figure.h:
12588         * figureForm.C:
12589         * figureForm.h:
12590         * figure_form.C:
12591         * figure_form.h:
12592         * lyx_cb.C:
12593         * lyx_gui.C:
12594         * lyx_gui_misc.C:
12595         * lyxfunc.C:
12596         * sp_base.h:
12597         * sp_ispell.h:
12598         * sp_pspell.h:
12599         * sp_spell.C: remove fig inset, and the crap house of
12600           cards that follows it
12601
12602 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * Makefile.am:
12605         * lyxserver.C:
12606         * os2_defines.h:
12607         * os2_errortable.h:
12608         * nt_defines.h: move .h into support/
12609
12610         * vms_defines.h: remove
12611
12612         * WorkArea.C: add space in debug output
12613
12614         * text2.C:
12615         * paragraph.C:
12616         * buffer.C: add WITH_WARNINGS
12617
12618         * vc-backend.h:
12619         * vc-backend.C:
12620         * bufferlist.C: s/retrive/retrieve/, add docs
12621
12622         * vspace.h:
12623         * vspace.C:
12624         * kbmap.h:
12625         * lyxlength.h:
12626         * lyxgluelength.h:
12627         * length_common.h:
12628         * chset.h:
12629         * chset.C: add docs
12630
12631         * lyxgui.C: add ID to X error handler
12632
12633         * lyxtestclass.c: fix typo
12634
12635 2002-02-26  Juergen Vigna  <jug@sad.it>
12636
12637         * tabular_funcs.C (write_attribute): changed so that some default
12638         attributes are not written at all.
12639         (getTokenValue): set default values before trying to read the
12640         value so we have the return value always set as default if we don't
12641         find the token we search for.
12642
12643         * tabular.C (Write): write bools as bools not as strings!
12644
12645 2002-02-22  Juergen Vigna  <jug@sad.it>
12646
12647         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12648         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12649
12650         * text.C (leftMargin): don't add an indent for paragraphs inside
12651         tabular cells (fix #208).
12652
12653 2002-02-21  José Matos  <jamatos@fep.up.pt>
12654
12655         * tabular.C (docBook): fixed support for long tables.
12656
12657 2002-02-20  Juergen Vigna  <jug@sad.it>
12658
12659         * text2.C (getFont): get the drawing font of the Inset if this
12660         paragraph is inside an inset (only important for InsetERT for now).
12661
12662         * buffer.C (insertErtContents): use new lanugage params in ERT
12663         constructor.
12664
12665         * CutAndPaste.C: commenting out seemingly uneeded code.
12666
12667 2002-02-19  Allan Rae  <rae@lyx.org>
12668
12669         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12670         Iterators might be simple to use but they also get invalidated.
12671         (removeAutoInsets): renamed saved cursor tracking variables and added
12672         some comments to clarify what everything does.
12673
12674 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12675
12676         * Chktex.C:
12677         * LaTeX.C:
12678         * LyXSendto.C:
12679         * converter.C:
12680         * lyx_cb.C:
12681         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12682         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12683
12684         * lyxfunc.C:
12685         * vc-backend.h: remove #include "support/syscall.h"
12686
12687         * LaTeX.C:
12688         * LyXSendto.C:
12689         * converter.C: rearrange #includes in Lars' approved fashion.
12690
12691         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12692         forward declare class Timeout in the header file.
12693
12694         * XFormsView.C: changes due to the above.
12695
12696         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12697         similar to LyXView.
12698
12699         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12700         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12701
12702 2002-02-18  José Matos  <jamatos@fep.up.pt>
12703
12704         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12705         insets contents.
12706
12707 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12708
12709         * a lot of small ws changes
12710         * add a lot of using std::XXX
12711         * use std construcs some places where approp.
12712         * use some exisint stuff from lyxfunctional where approp.
12713         * Make file changes to use partial linking (lets test this now...)
12714
12715 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12716
12717         * Chktex.C:
12718         * buffer.C:
12719         remove #include "support/syscontr.h" as it's redundant. Always has been.
12720
12721         * Chktex.C:
12722         * LaTeX.C:
12723         * LyXSendto.C:
12724         * converter.C:
12725         * lyx_cb.C:
12726         * vc-backend.C:
12727         change Systemcalls::System to Systemcalls::Wait and
12728         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12729         No change of functionality, just reflects the stripped down Systemcalls
12730         class.
12731
12732 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * debug.[Ch]: add a GRAPHICS type to the enum.
12735
12736 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12739
12740         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12741         there is an inset.
12742
12743 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12744
12745         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12746         match the changes below.
12747
12748         * text2.C (toggleInset): if there is not editable inset at cursor
12749         position, try to see if cursor is _inside_ a collapsable inset
12750         and close it.
12751
12752 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12755         document menu has a nice checkbox
12756
12757 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * lyxlength.C (asLatexString): change PW to output as percent of
12760         \textwidth.
12761
12762         * lengthcommon.C: change '%' to 't%'
12763
12764         * lyxfunc.C (dispatch): a few comments from Martin
12765
12766 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * WorkArea.h:
12769         * WorkArea.C:
12770         * BufferView_pimpl.h:
12771         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12772           the X selection.
12773
12774 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * vspace.C (inPixels): fix compiler warning
12777
12778 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12779
12780         * lyxfunc.C (getStatus): fix status message for disabled commands.
12781
12782 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * BufferView_pimpl.C: fix crash on close buffer
12785         during selection (#227)
12786
12787 2002-01-27  Herbert Voss  <voss@lyx.org>
12788
12789         * buffer.C: link old Figure to new graphic inset
12790
12791 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12792
12793         * FontLoader.C (getFontinfo): Change the latex font names in order
12794         to match the names of type1inst.
12795
12796 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12799
12800         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12801         (extchanged): ditto
12802         (ext_exist): ditto
12803         (remove_files_with_extension): ditto
12804         (remove_file): ditto
12805         (write): ditto
12806
12807         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12808         document is smaller than the work area height. Do not initialize
12809         static variables to 0.
12810
12811 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12812
12813         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12814
12815         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12816         LFUN_LAYOUT_PARAGRAPHS.
12817
12818         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12819         tabular. It is possible to provide a possible cell, which will
12820         typically be the actcell from the corresponding insettabular
12821
12822         * lyxfunc.C (getStatus): small cleanup; disable
12823         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12824         true
12825
12826 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12827
12828         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12829
12830         * paragraph.C (startTeXParParams):
12831         (endTeXParParams): new methods. The LaTeX code to
12832         start/end paragraph formatting
12833         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12834         empty (fixes bug #200)
12835
12836         * vspace.C (inPixels): adapt to the change below
12837         (inPixels): [later] more cleanups (remove unused variables)
12838
12839         * lyxlength.C (inPixels): change to use a width and a height as
12840         parameter.
12841
12842 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12843
12844         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12845         Replaced with \paperwidth
12846
12847         * DepTable.C (insert): add std:: qualifier
12848
12849 2002-01-18  Allan Rae  <rae@lyx.org>
12850
12851         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12852         updated also?
12853
12854         * text.C (drawInset): Turned out I didn't know enough about how
12855         rebreaking worked.  This fixes most of the redraw problems.  I see
12856         an occasional cursor trail when a line is broken now and the cursor
12857         placement can seem out by a few pixels also after a rebreak.
12858
12859 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12860
12861         * buffer.C (parseSingleLyXformat2Token): update because minipage
12862         width is now a LyXLength
12863
12864         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12865
12866         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12867         math insets
12868
12869 2002-01-17  Juergen Vigna  <jug@sad.it>
12870
12871         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12872
12873         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12874         is set correctly and the inset is updated correctly.
12875
12876 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12877
12878         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12879         the beginning of the loop.
12880
12881 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * lyxrc.C: improve help for use_scalable_fonts
12884
12885 2002-01-17  Allan Rae  <rae@lyx.org>
12886
12887         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12888
12889 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12892         make sure to set their inset_owner to the right value (bug #171)
12893
12894 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12895
12896         * DepTable.h
12897         * DepTable.C: Implement mtime checking to reduce time spent doing
12898         CRCs.
12899
12900 2002-01-16  Juergen Vigna  <jug@sad.it>
12901
12902         * tabular.C (GetAdditionalHeight): one of error fixed.
12903
12904         * lyxrc.C (output): small fix in writing use_pspell.
12905
12906 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12907
12908         * sp_base.h: #include LString.h
12909
12910 2002-01-16  Allan Rae  <rae@lyx.org>
12911
12912         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12913         Can someone check this please?
12914
12915         * text.C (drawInset): It was possible that p.row would be removed by
12916         breakAgainOneRow upsetting a few other settings.  There may be another
12917         small tweak possible by setting need_break_row = 0 when p.row has been
12918         removed but I don't know enough about the logic here.
12919
12920 2002-01-15  Allan Rae  <rae@lyx.org>
12921
12922         * text.C (insertChar): removed conditional truism.
12923
12924         * BufferView2.C (removeAutoInsets): More tweaks.
12925         cur_par_prev could be a stray pointer.  Check for trailing empty line
12926         in case last line was cur_par and only had an error inset on it.
12927
12928 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12929
12930         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12931         absolute
12932
12933         * vc-backend.C (most methods):
12934         * exporter.C (Export):
12935         * converter.C (convert):
12936         (runLaTeX):
12937         * LyXSendto.C (SendtoApplyCB):
12938         * lyxfunc.C (dispatch):
12939         (menuNew):
12940         (open):
12941         (doImport):
12942         * lyx_cb.C (AutoSave):
12943         (InsertAsciiFile):
12944         * BufferView_pimpl.C (MenuInsertLyXFile):
12945         * buffer.C (runChktex): use Buffer::filePath().
12946
12947         * buffer.h: rename filename to filename_; rename filepath to
12948         filepath_ and make it private
12949         (filePath): new method
12950
12951         * buffer.C (writeFile): use fileName()
12952         (getLatexName):
12953
12954         * lyx_main.C (init): fix starting  of LyX when the binary is a
12955         link from so,ewhere else.
12956
12957         * minibuffer.C: include <cctype> for isprint
12958
12959 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12962         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12963         name clash with InsetCollapsable's width function.
12964
12965 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * lastfiles.C: include <iterator>
12968
12969 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12970
12971         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12972         std::count.
12973
12974         * buffer.C (makeLaTeXFile): ditto.
12975         Also make loop operation more transparent.
12976
12977 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12978
12979         * ToolbarDefaults.C: remove trailing comma closing namespace.
12980
12981         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12982
12983         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12984         as in WorkArea.
12985
12986         * trans.C (Load): comment out unused variable, allowed.
12987
12988 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * minibuffer.[Ch] (append_char): new method to recieve input from the
12991         drop-down completion browser. If a key was pressed, then recieve this
12992         char and append it to the existing string.
12993         (peek_event): modify the positioning data passed to the completion
12994         browser so that it can be placed above the minibuffer rather than below.
12995 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * LyXAction.C (init): alloe error-next for readonly documents.
12998
12999         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13000         count.
13001
13002 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * bufferlist.C (readFile): create the buffer _after_ checking that
13005         the file exists.
13006
13007         * lyxfunc.C (verboseDispatch): fix handling of arguments
13008
13009         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13010
13011         * lyxrc.C: use string::erase() instead of initializing to "".
13012
13013
13014 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * BufferView_pimpl.h:
13017         * BufferView_pimpl.C:
13018         * WorkArea.h:
13019         * WorkArea.C:
13020         * text2.C: tell X when we have made a selection for copying
13021
13022 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13023
13024         * BufferView_pimpl.C (MenuInsertLyXFile):
13025         * lyxfunc.C (menuNew):
13026         (open):
13027         (doImport): add shortcuts to directory buttons
13028
13029         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13030         open a float)
13031
13032         * lyxfunc.C (setStatusMessage):
13033         (getStatusMessage): new methods
13034         (getStatus):use setStatusMessage instead of setErrorMessage
13035         (dispatch): when function is disabled, set error message here
13036         [instead of in getStatus previously]
13037
13038         * BufferView_pimpl.C (workAreaButtonRelease): update
13039         toolbar/menubar here too.
13040
13041 2002-01-13  Allan Rae  <rae@lyx.org>
13042
13043         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13044         Now seems indestructible.  Remaining task is to audit all other
13045         code affected by deleteEmptyParagraphMechanism.  One small quirk
13046         left is that an empty document with an error in the preamble can
13047         be made to report an error but no error box appears.  I don't know
13048         where it goes.
13049         (removeAutoInsets): Improved comments.
13050
13051 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13052
13053         * Thesaurus.h:
13054         * Thesaurus.C: update for Aiksaurus 0.14
13055
13056 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * text2.C (firstParagraph): removed member function, all uses
13059         replaces with ownerParagraph
13060         (redoParagraphs): here
13061         (updateInset): here
13062         (toggleAppendix): here
13063         * BufferView2.C (insertErrors): here
13064         (setCursorFromRow): here
13065
13066 2002-01-13  Allan Rae  <rae@lyx.org>
13067
13068         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13069         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13070         There is still a way to segfault this although you may have to do this
13071         multiple times: Have an InsetERT with an unknown command in it.
13072         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13073         <down-arrow>, <Enter> again, View->DVI, BANG!
13074
13075         * text2.C (setCursor):
13076         (deleteEmptyParagraphMechanism):
13077         * lyxtext.h (setCursor):
13078         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13079         Making use of the return value may help fix other bugs.
13080
13081 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13082
13083         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13084
13085         * LyXView.C (updateMenubar): call MenuBar::update here
13086         (updateToolbar): but not here
13087         (showState): do not update toolbar/menubar
13088
13089         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13090         should need to care about that.
13091
13092         * lyxfunc.C (verboseDispatch): simplify a bit
13093         (getStatus): have a version which takes a pseudoaction, and
13094         another which requires a (kb_action,string).
13095
13096         * LyXAction.C (retrieveActionArg): make it work also when action
13097         is not a pseudo-action.
13098         (getActionName): simplify a bit
13099         (helpText):
13100
13101 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13102
13103         * lyxfunc.C (verboseDispatch): new families of methods with
13104         several ways to specify a command and a bool to indicate whether
13105         the command name and shortcut should be displayed in minibuffer
13106         (eventually, we could extend that to a finer bitmask like
13107         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13108         (dispatch): the pristine dispatch command which just, well,
13109         dispatchs! Note it still sets its result to minibuffer; I'm not
13110         sure we want that.
13111
13112         * lyxfunc.h: remove setHintMessage
13113
13114         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13115
13116 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13117
13118         * BufferView_pimpl.C (specialChar): delete new inset if we have
13119         not been able to insert it.
13120
13121         * kbmap.C: revert to using int instead of kb_action, since all we
13122         are dealing with is pseudo-actions.
13123
13124         * LyXAction.C (searchActionArg): change to return int instead of
13125         kb_action, since the result is a pseudoaction.
13126
13127 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13128
13129         * buffer.C (insertErtContents): Fix (partially) the font bug.
13130
13131 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13132
13133         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13134         as the other one is broken on my machine!
13135
13136 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13137
13138         * commandtags.h:
13139         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13140
13141 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13142
13143         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13144         reflect their actual use. Provide compatibility code for older lyxrc
13145         files.
13146
13147         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13148         FL_NORMAL_STYLE.
13149         change names of popup font variables in line with the changes to lyxrc.C
13150
13151 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13152
13153         * buffer.C (asciiParagraph): avoid outputing a word twice after
13154         an inset.
13155
13156         * lyxrc.C (getDescription): document that document_path and
13157         template_path can be empty.
13158
13159 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13160
13161         * LaTeXFeatures.C (getMacros):
13162         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13163
13164         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13165
13166         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13167         getPackages.
13168         (getPackages): rename feature "floats" to "float". Use an array to
13169         iterate over 'simple' features (i.e. just a \usepackage). Add
13170         handling of "amsmath" (renamed from "amsstyle").
13171
13172 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13173
13174         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13175         features list.
13176
13177 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13178
13179         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13180         FuncStaus::FuncStatus & FuncStaus::some_method().
13181
13182 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13183
13184         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13185         of the func_satus stuff. Edited and massaged in various ways by
13186         JMarc.
13187
13188         * lyxfunc.C (getStatus): use FuncStatus
13189
13190 2002-01-08  Juergen Vigna  <jug@sad.it>
13191
13192         * text.C (nextBreakPoint): use function Inset::isChar().
13193
13194         * paragraph.C (TeXOnePar): use function
13195         Inset::forceDefaultParagraphs.
13196
13197         * buffer.C (latexParagraphs): use function
13198         Inset::forceDefaultParagraphs.
13199
13200 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * lyx_gui.C (init): set the style of the menu popups to
13203         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13204
13205 2002-01-07  Juergen Vigna  <jug@sad.it>
13206
13207         * text.C (setHeightOfRow): small fix
13208         (prepareToPrint): don't look at alignment if we don't have the place
13209         for doing it.
13210
13211 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * box.C: New file. Move the Box methods and functions out of box.h,
13214         following Lars' suggestion.
13215
13216 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * box.h: #include "support/LOstream.h", needed for inlined function.
13219
13220         * lyxtextclass.C:
13221         * lyxtextclasslist.C: added some using std declarations.
13222
13223 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * box.h: make signed dimensions to allow insets wider than
13226           the screen (bug #162)
13227
13228         * BufferView_pimpl.C: add some insetHit debug
13229
13230 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * vc-backend.C: add FIXME
13233
13234 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13235
13236         * lyxfunc.C (getStatus): enable code for showing math font status
13237         in toolbar/menu.
13238
13239 2002-01-07  Juergen Vigna  <jug@sad.it>
13240
13241         * text.C (nextBreakPoint): removed debug output not needed anymore.
13242
13243 2002-01-06  Juergen Vigna  <jug@sad.it>
13244
13245         * text.C (nextBreakPoint): fixed up this function we had this bug
13246         since ever but now hopefully we break row better.
13247         (insertChar): we have to check if an inset is the next char as it
13248         could now happen that a large inset is causing a break.
13249
13250 2002-01-05  Juergen Vigna  <jug@sad.it>
13251
13252         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13253         if it doesn't like to be drawed.
13254
13255 2002-01-04  Juergen Vigna  <jug@sad.it>
13256
13257         * BufferView2.C (lockInset): forgot to set a cursor.
13258
13259         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13260
13261 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13262
13263         * FormMathsPanel.C:
13264         * FormMathsPanel.h
13265         * MathsSymbols.C:
13266         * form_maths_panel.C:
13267         * form_maths_panel.h:
13268         * form_maths_panel.fd: implemented sub- and super- buttons in math
13269         panel.
13270
13271         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13272         (or ^ space) to be used as in TeX (req'd by André).
13273
13274         * lyxfunc.C: Allow ^ and _ again to be used both as
13275         super/subscript (mathed) and as themselves (in text).
13276
13277 2002-01-03  Allan Rae  <rae@lyx.org>
13278
13279         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13280         "LyX" or the filename of the current buffer if it has one.  This is a
13281         modified form of John Levon's patch.
13282
13283         * XFormsView.C (setWindowTitle): also set icon title.
13284
13285         * LyXView.h (setWindowTitle): signature changed.
13286         * XFormsView.h (setWindowTitle): ditto.
13287
13288 2002-01-02  Juergen Vigna  <jug@sad.it>
13289
13290         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13291
13292 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * screen.C (topCursorVisible): introduce a temp var for
13295         text->cursor.row(), handle the case where this row is null. (kindo
13296         hachish)
13297
13298         * text2.C (setCursor): add a couple of asserts.
13299
13300         * paragraph.h (inset_iterator): add -> operator
13301
13302         * paragraph.[Ch] (autoDeleteInsets): remove member function
13303
13304         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13305         cursor pos correctly and handle inset deletion by itself.
13306         (insertErrors): move iterator declaration out of for expression
13307
13308         * lyxtextclass.C: add <algorithm>
13309
13310         * Makefile.am: added the new files to sources, removed layout.C
13311
13312         * layout.C: removed file
13313
13314         * layout.h: remove LYX_DUMMY_LAYOUT
13315
13316         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13317         layout.
13318
13319         * lyxlayout.[Ch]:
13320         * lyxtextclass.[Ch]:
13321         * lyxtextclasslist.[Ch]: new files
13322
13323         * include order changes to a lot of files, also changes because of
13324         the six new files.
13325
13326 2001-12-27  Juergen Vigna  <jug@sad.it>
13327
13328         * buffer.C (asciiParagraph): more fixes.
13329
13330         * tabular.C (ascii): make ascii export support export of only the
13331         data separated by a column-delimiter.
13332         (ascii): better support for ascii export.
13333
13334         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13335
13336 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * tabular_funcs.C: use a "using std::getline" instead of the
13339         previous fix from Angus (necessary for cxx + lyxstring)
13340
13341 2001-12-24  Juergen Vigna  <jug@sad.it>
13342
13343         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13344
13345         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13346         problems. First check a minipage also if we have some ert-contents
13347         (not only on par->size(), second set the right depth of the paragraph
13348         on the relink to the root-paragraph-list!
13349
13350         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13351         which then did not anymore update the main paragraphs on undo/redo!
13352
13353 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13356         code. Support all font-changing funcs (even those which are not in
13357         menu currently). Support for reporting font settings in
13358         mathed (disabled until Andre provides a function on mathed's side).
13359
13360         * func_status.h (toggle): small helper function to set toggle
13361         state on a flag.
13362
13363 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13364
13365         * tabular_funcs.C: getline -> std::getline
13366
13367 2001-12-21  Juergen Vigna  <jug@sad.it>
13368
13369         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13370         accessed and could be 0 (I couldn't generate this but it seems
13371         Michael could!).
13372
13373 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13376         * tabular_funcs.h: here and include iosfwd
13377
13378 2001-12-20  Juergen Vigna  <jug@sad.it>
13379
13380         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13381         inside inset but undo_par was.
13382
13383 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13384
13385         * Thesaurus.C: always include <config.h> in sources.
13386
13387         * Painter.h:
13388         * lyxlookup.h:
13389         * box.h: do not include <config.h> in header files
13390
13391         * text.C (paintLastRow): remove unused variable
13392
13393         * text.C (transformChar):
13394         (insertChar):
13395         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13396
13397         * Painter.C (text):
13398         * font.C (width): rewrite to use uppercase() instead of
13399         islower/toupper.
13400
13401         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13402
13403 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * lyxfind.C: clean up of find failure position change
13406
13407 2001-12-20  Juergen Vigna  <jug@sad.it>
13408
13409         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13410
13411         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13412         (TeXRow): added to LaTeX a single tabular row.
13413         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13414         (Latex): simplified and finally good LT-h/f support.
13415         (various_functions): just small adaptions for LT-h/f support.
13416
13417         * tabular_funcs.[hC]: added and moved here all not classfunctions
13418         of LyXTabular.
13419
13420 2001-12-19  Juergen Vigna  <jug@sad.it>
13421
13422         * tabular.[Ch]: better support for longtabular options (not finished
13423         yet!)
13424
13425 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * text.C (paintLastRow): use the label font instead of the font of
13428         the last character to compute the size of *_BOX. This makes more
13429         sense and avoids a crash with empty paragraphs.
13430         Use Painter::rectangle to draw EMPTY_BOX.
13431
13432 2001-12-19  Juergen Vigna  <jug@sad.it>
13433
13434         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13435         the paragraphs if the replaced paragraph is not the first one!
13436         Tried to delete not used paragraphs but does not work yet so for
13437         now it's inside #ifdef's and by default off!
13438
13439 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13440
13441         * MenuBackend.C: include "lyx_main.h" instead of declaring
13442         lastfiles (actually was declared as LastFiles* instead of a
13443         scoped_ptr).
13444
13445 2001-12-17  Juergen Vigna  <jug@sad.it>
13446
13447         * tabular.C (AppendColumn): applied John's fix
13448
13449 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13450
13451         * BufferView.h:
13452         * BufferView.C:
13453         * BufferView_pimpl.h:
13454         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13455
13456         * Makefile.am:
13457         * box.h: new start of class for above
13458
13459         * lyxfunc.C: ignore space-only minibuffer dispatches.
13460           Show the command name when it doesn't exist
13461
13462         * minibuffer.C: don't add empty lines to the history
13463
13464         * minibuffer.C: add a space on dropdown completion
13465
13466 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * text.C: fix line above/below drawing in insets
13469
13470 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * lyxlength.C (LyXLength): Initialize private variables.
13473
13474 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13477         when inserting error insets.
13478
13479 2001-12-13  Juergen Vigna  <jug@sad.it>
13480
13481         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13482         actually sometimes the before-paragraph.
13483         (setUndo): don't clear the redostack if we're not actually undoing!
13484
13485 2001-12-06  Juergen Vigna  <jug@sad.it>
13486
13487         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13488         and fixed redoing of main paragraph, so we can use it now ;)
13489
13490         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13491
13492 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13495         Juergen's request
13496
13497 2001-12-13  André Pönitz <poenitz@gmx.net>
13498
13499         * undostack.[Ch]:
13500         * undo_func.C: minor cleanup
13501
13502 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13503
13504         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13505         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13506         font in urw-fonts package which is marked as -urw-fontspecific and
13507         does not work (incidentally, changing the encoding in the
13508         fonts.dir of this package to -adobe-fontspecific fixes the
13509         problem).
13510
13511         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13512         is a crash when undoing first paragraph (Juergen, please take a
13513         look). THis does not mean the undo fix is wrong, just that it
13514         uncovers problems.
13515
13516         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13517         the (Paragraph*) version when needed instead of duplicating the
13518         code.
13519
13520         * text.C (workWidth): use Inset::parOwner to find out where the
13521         inset has been inserted. This is a huge performance gain for large
13522         documents with lots of insets. If Inset::parOwner is not set, fall
13523         back on the brute force method
13524
13525         * paragraph_pimpl.C (insertInset):
13526         * paragraph.C (Paragraph):
13527         (cutIntoMinibuffer): set parOwner of insets when
13528         inserting/removing them
13529
13530         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13531
13532 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13533
13534         * commandtags.h:
13535         * LyXAction.C:
13536         * lyx_main.C:
13537         * lyxfunc.C:
13538         * mathed/formulabase.C:
13539         * mathed/math_cursor.[Ch]:
13540         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13541
13542
13543 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * lyxlength.[Ch] (operator!=): new function
13546
13547 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13548
13549         * text.C (workWidth): use Inset::parOwner to find out where the
13550         inset has been inserted. This is a huge performance gain for large
13551         documents with lots of insets. If Inset::parOwner is not set, fall
13552         back on the brute force method
13553
13554         * paragraph_pimpl.C (insertInset):
13555         * paragraph.C (Paragraph):
13556         (cutIntoMinibuffer): set parOwner of insets when
13557         inserting/removing them
13558
13559         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13560
13561 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13562
13563         * tabular-old.C (getTokenValue):
13564         * tabular.C (getTokenValue):
13565         (write_attribute): new versions for LyXLength
13566         (everywhere): adjust the use of widths
13567
13568         * tabular.h: change the type of widths from string to LyXLength
13569
13570 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13571
13572         * paragraph.C: fixed missing line number count when exporting
13573         Environments to LaTeX file
13574
13575         * buffer.C: added informational message for checking line numbers.
13576
13577 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13578
13579         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13580         paragraph, do the 'double space' part, but not the 'empty
13581         paragraph' one.
13582
13583         * text.C (workWidth): small optimization
13584         (getLengthMarkerHeight): use minimal size for negative lengths.
13585
13586 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13589
13590         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13591
13592 2001-12-11  André Pönitz <poenitz@gmx.net>
13593
13594         * FontLoader.C:
13595         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13596
13597 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13598
13599         * text2.C: keep selection on a setFont()
13600
13601 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * lyx_cb.C: another bv->text misuse, from insert label
13604
13605 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * kbsequence.h:
13608         * kbsequence.C: re-instate nmodifier mask
13609
13610 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * lyx_main.h: make lyxGUI private.
13613
13614 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * lyxfind.C: place the cursor correctly on failed search
13617
13618 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13619
13620         * text.C (getLengthMarkerHeight): for small heights, the arrows
13621         are not always on top/bottom of the text
13622         (drawLengthMarker): smaller arrows; take the left margin in
13623         account; draw also vfills.
13624         (paintFirstRow):
13625         (paintLastRow): remove special code for vfill and standard spaces,
13626         since everything is handled in drawLengthMarker now.
13627
13628 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * buffer.C (insertErtContents): try to handle font and language
13631         interaction a bit better.g
13632
13633         * ColorHandler.C (updateColor): change the hash to cover the whole
13634         LColor enum, ws cleanup
13635         (getGCLinepars): ditto
13636         (getGCLinepars): only lookup in the linecache once.
13637
13638 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13639
13640         * iterators.C (operator++): Make the iterator more robust
13641
13642         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13643         (John's patch)
13644         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13645
13646 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * lyxtext.h:
13649         * text.C: better added space drawing
13650
13651 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * LyXView.C:
13654         * BufferView2.C: fix layout combo update on inset unlock
13655
13656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * Makefile.am: don't compile unused files
13659
13660 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * lyxfunc.C:
13663         * commandtags.h:
13664         * LyXAction.C: remove old LFUN_LAYOUTNO
13665
13666 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * paragraph_pimpl.h:
13669         * paragraph_pimpl.C: isTextAt() doesn't need font param
13670
13671 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * lyxlex.h:
13674         * lyxlex.C: little cleanup
13675
13676 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * BufferView_pimpl.C: fix insertAscii for insets
13679
13680 2001-12-05  Juergen Vigna  <jug@sad.it>
13681
13682         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13683         set the right font on the "multi" paragraph paste!
13684
13685 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * trans_decl.h:
13688         * trans_mgr.[Ch]:
13689         * trans.[Ch]:
13690         * lyxgluelength.C:
13691         * lyxlength.C: remove out-commented code.
13692
13693         * BufferView_pimpl:
13694         * CutAndPaste.C:
13695         * DepTable.C:
13696         * buffer.C:
13697         * chset.C:
13698         * lastfiles.C:
13699         * lyxlex.C:
13700         * lyxlex_pimpl.C:
13701         * lyxserver.C:
13702         * screen.C:
13703         * tabular-old.C:
13704         * tabular.C:
13705         * text.C:
13706         * trans_mgr.C:
13707         * vc-backend.C: change "while(" to "while ("
13708
13709         * lyxlength.[Ch]: add zero function to check if length is zero or
13710         not
13711         * lyxgluelength.C: use it
13712
13713 2001-12-05  Allan Rae  <rae@lyx.org>
13714
13715         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13716         Works for 2.95.3, from what I understand of Garst's reports this should
13717         work for other g++ versions.  We're screwed if the abs(int) definition
13718         changed between bugfix releases of gcc.
13719
13720 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13721
13722         * text.C: fix chapter label offset !
13723
13724 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13725
13726         * lyxtext.h:
13727         * text.C: fix hfill at end of line, clean up
13728
13729 2001-12-04  Juergen Vigna  <jug@sad.it>
13730
13731         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13732         that we force an update of the inset and it's owners if neccessary.
13733
13734 2001-12-03  Juergen Vigna  <jug@sad.it>
13735
13736         * text.C (rowLast): simplified code
13737
13738 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13739
13740         * lyxfunc.C: fix show options on timeout
13741
13742 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * screen.C (topCursorVisible): scroll half a page when the cursor
13745         reached top of bottom of screen
13746
13747 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13748
13749         * minibuffer.C: deactivate on loss of focus
13750
13751 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13752
13753         * vspace.[Ch] (operator!=): add operator.
13754
13755 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * BufferView_pimpl.C: refuse to open an inset when
13758         there's a selection.
13759
13760 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * BufferView_pimpl.C: allow to click on RHS of full row insets
13763
13764 2001-11-30  Juergen Vigna  <jug@sad.it>
13765
13766         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13767         insets for undo reasons.
13768
13769 2001-11-28  André Pönitz <poenitz@gmx.net>
13770
13771         * vspace.[Ch]: cosmetical changes
13772
13773 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * LyXAction.h:
13776         * LyXAction.C:
13777         * lyxfunc.h:
13778         * lyxfunc.C:
13779         * kbmap.h:
13780         * kbmap.C:
13781         * lyxrc.C:
13782         * kbsequence.h:
13783         * kbsequence.C: part re-write of old kb code
13784
13785         * Painter.C:
13786         * WorkArea.C: remove Lgb_bug_find_hack
13787
13788 2001-11-30  José Matos <jamatos@fep.up.pt>
13789
13790         * buffer.C (makeDocBookFile): add a comment to point a hack.
13791         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13792         Fixed a double write of labels.
13793
13794 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13795
13796         * LaTeX.C:
13797         * LaTeX.h Fixed bug in LaTeX class where it would not
13798         re-run latex if no depfiles were changed, but the .dvi was removed.
13799
13800 2001-11-28  André Pönitz <poenitz@gmx.net>
13801
13802         * all the files from the change on 2001/11/26:
13803         use lyx::layout_type instead of LyXTextClass::size_type
13804         use lyx::textclass_type instead of LyXTextClassList::size_type
13805
13806 2001-11-29  Juergen Vigna  <jug@sad.it>
13807
13808         * text.C: added support for paragraph::isFreeSpacing()
13809
13810         * buffer.C: same as above
13811
13812         * paragraph.h: inserted isFreeSpacing() function to enable
13813         FreeSpacing inside InsetERT.
13814
13815         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13816         of the paragraph's in the cut/copy buffer to 0!
13817
13818         * text2.C (removeRow): remove the assert as it can!
13819
13820         * lyxtext.h: added helper function firstRow returning firstrow and
13821         made firstrow private again.
13822
13823         * BufferView2.C (lockInset): don't relock if we're already locked!
13824
13825         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13826         the only paragraph.
13827         (removeRow): added Assert::(firstrow)
13828
13829         * debug.C: forgot to add INSETTEXT here.
13830
13831 2001-11-28  Juergen Vigna  <jug@sad.it>
13832
13833         * sp_spell.C (initialize): changed error text to more general
13834         spellchecker command use (not only ispell!)
13835
13836         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13837
13838         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13839
13840 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * vspace.C: initialise lyxgluelength on failure
13843
13844 2001-11-28  Allan Rae  <rae@lyx.org>
13845
13846         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13847         declaration & definition that looks like a function declaration.
13848
13849 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * BufferView2.C (copy):
13852         (copyEnvironment): do not clear the selection when doing a copy.
13853
13854         * text.C (paintFirstRow): compilation fix
13855
13856 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13857
13858         * tabular.C (Latex): correct line count when writing latex.
13859
13860 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * paragraph_pimpl.h:
13863         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13864           bug a bit
13865
13866 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * text.C:
13869         * LColor.h:
13870         * LColor.C: change vfillline->added_space
13871
13872         * text.C: add markers and text for added space
13873
13874         * vspace.C: fix comment
13875
13876 2001-11-28  André Pönitz <poenitz@gmx.net>
13877
13878         * paragraph.C: whitespace changes
13879         * all the other files from the change on 2001/11/26:
13880         change *::pos_type into lyx::pos_type
13881
13882 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13885         language of the document when inserting error insets.
13886
13887 2001-11-26  André Pönitz <poenitz@gmx.net>
13888
13889         * BufferView_pimpl.[Ch]:
13890         *       CutAndPaste.C:
13891         * buffer.[Ch]:
13892         * lyxcursor.[Ch]:
13893         * lyxfind.C:
13894         * lyxfunc.C:
13895         * lyxrow.[Ch]:
13896         * paragraph.[Ch]:
13897         * paragraph_pimpl.[Ch]:
13898         * sp_spell.C:
13899         * text.C:
13900         * text2.C: reduce header dependencies, introduce type for positions
13901
13902 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * <various>: change to use Alert.h
13905
13906 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13907
13908         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13909         when encountering an unknown token.
13910         (readLyXformat2): Show an error message if there were unknown tokens.
13911
13912 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13913
13914         * BufferView2.C:
13915         * BufferView_pimpl.C:
13916         * buffer.C:
13917         * paragraph.h:
13918         * text.C:
13919         * text2.C: use par->isInset()
13920
13921 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * paragraph_pimpl.h:
13924         * paragraph_pimpl.C: cleanup
13925
13926 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * text2.C (removeRow):
13929         * text.C (setHeightOfRow): remove useless (and costly) call to
13930         getRow.
13931
13932 2001-11-20  Allan Rae  <rae@lyx.org>
13933
13934         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13935         Now need Inset*::checkInsertChar() to return true for appropriate
13936         cases so that the characters in the minibuffer will actually be
13937         inserted.
13938
13939 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * text.C: change the order of the includes.
13942         (workWidth): initialize it at once.
13943         (workWidth): make maxw unsigned
13944         (setHeightOfRow): remove unused variable (inset)
13945         (selectSelectedWord): remove unused variable (inset)
13946         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13947
13948 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13949
13950         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13951         server is not running.
13952         (openConnection):
13953         (closeConnection): add debug info when server is disabled.
13954
13955         * ColorHandler.C (getGCForeground): send debug message to GUI
13956         channel.
13957
13958         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13959
13960         * kbmap.C (bind): modify because return conventions of
13961         kb_sequence::parse have changed.
13962
13963         * kbsequence.C (parse): only ignore spaces and not any stupid
13964         control character. This avoids tests like s[i] <= ' ', which are
13965         guaranteed to fail with 8bit characters and signed chars.
13966         Change return code to string::npos when there have been no error
13967         (0 was a bad idea when error is at first character)
13968
13969 2001-11-14  José Matos  <jamatos@fep.up.pt>
13970
13971         * buffer.h:
13972         * buffer.C (simpleDocBookOnePar): removed unused argument.
13973
13974 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13975
13976         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13977         insets which are part of a word. Paragraph::isLetter takes care of
13978         that now. Use Paragraph::isInset to identify insets.
13979         (selectSelectedWord): do not test for hyphenation break.
13980
13981         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13982         that protected spaces are considered as spaces.
13983
13984         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13985         Inset::isLetter.
13986
13987 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * lyxserver.h:
13990         * lyxserver.C: fix it. and small cleanup.
13991
13992 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * BufferView_pimpl.C: use inline helpers
13995
13996         * LaTeXFeatures.h:
13997         * LaTeXFeatures.C: fix typos
13998
13999         * Spacing.h:
14000         * Spacing.C: move spacing_string into class
14001
14002         * ToolbarDefaults.C: move stuff into namespace anon
14003
14004         * layout.h: update enum
14005
14006         * lyxfunc.C: use better debug
14007
14008         * minibuffer.h: fix typo
14009
14010         * debug.h:
14011         * debug.C:
14012         * WorkArea.C: add and use Debug::WORKAREA
14013
14014         * lyxtext.h:
14015         * text.C:
14016         * text2.C: code re-organisation, inline helpers
14017
14018 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14019
14020         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14021         std::vector.empty().
14022
14023 2001-11-09  Allan Rae  <rae@lyx.org>
14024
14025         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14026         '\n's after tables.  Tabular and ERT inset work now makes this no
14027         longer necessary.
14028
14029 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14030
14031         * minibuffer.h:
14032         * minibuffer.C: fix crash, improve drop-down completion
14033
14034 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * lyxserver.h:
14037         * lyxserver.C: invalidate fd's when doing endPipe()
14038
14039 2001-11-08  José Matos  <jamatos@fep.up.pt>
14040
14041         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14042         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14043
14044         * paragraph.h:
14045         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14046
14047 2001-11-07  José Matos  <jamatos@fep.up.pt>
14048
14049         * buffer.h:
14050         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14051         const qualifier.
14052
14053         * buffer.C (sgmlOpenTag):
14054         * buffer.C (sgmlCloseTag): removed debug info.
14055
14056         * buffer.h (sgmlOpenTag):
14057         * buffer.h (sgmlCloseTag): made public.
14058
14059 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * buffer.C (saveParamsAsDefaults):
14062         * lyx_cb.C (MenuLayoutSave): remove
14063
14064         * LyXAction.C (init):
14065         * commandtags.h:
14066         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14067
14068 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * buffer.C (setPaperStuff): removed from here...
14071
14072         * bufferparams.C (setPaperStuff): ... and moved there.
14073
14074 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14075
14076         * minibuffer.h:
14077         * minibuffer.C:
14078         * XFormsView.C: add support for drop-down completion
14079
14080 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14081
14082         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14083         commands.
14084
14085 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14088         disabled.
14089
14090 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14091
14092         * lyx_main.C: change ref to known bugs
14093
14094 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14095
14096         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14097         to work around older babel problems.
14098
14099 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14100
14101         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14102
14103 2001-10-24  Juergen Vigna  <jug@sad.it>
14104
14105         * tabular-old.C (ReadOld): below variable changes reflected.
14106
14107         * tabular.[Ch]: added ltType struct for longtable header/footer
14108         defines and changed all instances where they are used. Added
14109         future support for double top/bottom rows.
14110
14111 2001-10-24  José Matos  <jamatos@fep.up.pt>
14112
14113         * buffer.h (docbookHandleCaption):
14114         * buffer.C (docbookHandleCaption): removed unused function.
14115         (makeDocBookFile): moved docbook supported version to v4.1.
14116
14117 2001-10-24  José Matos  <jamatos@fep.up.pt>
14118
14119         * tabular.h:
14120         * tabular.C (docbookRow): new function to export docbook code of a row.
14121         (DocBook): now honors the longtable flags.
14122
14123 2001-10-23  José Matos  <jamatos@fep.up.pt>
14124
14125         * LaTeXFeatures.h:
14126         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14127         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14128
14129         * buffer.C (makeLinuxDocFile):
14130         (makeDocBookFile): reworked the preamble, more clean, and with
14131         support for lyx defined entities. Changed the document declaration
14132         to be more XML friendly.
14133
14134         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14135         if we need to output XML that should be done with a filter.
14136
14137 2001-10-22  Juergen Vigna  <jug@sad.it>
14138
14139         * sp_pspell.h (class PSpell): add alive function needed in the
14140         controller to see if the spellchecker could be started.
14141
14142 2001-10-22  Juergen Vigna  <jug@sad.it>
14143
14144         * buffer.C (insertStringAsLines): modify the font for inserting
14145         chars in certain conditions by calling checkInsertChar(font).
14146
14147 2001-10-19  Juergen Vigna  <jug@sad.it>
14148
14149         * text.C (workWidth): use getRow instead of wrong algorithm.
14150         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14151
14152 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14153
14154         * lyxserver.h:
14155         * lyxserver.C:
14156         * lyx_main.h:
14157         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14158
14159 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * text.C (workWidth): do not search for the exact row when
14162         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14163         optimization for big documents.
14164
14165 2001-10-18  Juergen Vigna  <jug@sad.it>
14166
14167         * text.C (workWidth): new function with added Inset * parameter.
14168
14169 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14172
14173         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14174         change return type of getColumnNearX.
14175
14176
14177         * text.C (changeRegionCase): use uppercase/lowercase instead of
14178         toupper/tolower.
14179         (leftMargin):
14180         (rightMargin): simplify code by factoring out the uses of
14181         textclasslist.
14182         (labelFill):
14183         (numberOfHfills):
14184         (setHeightOfRow):
14185         (appendParagraph): use Paragraph::size_type
14186
14187 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * vspace.C (asLatexString): add a missing break
14190
14191 2001-10-15  Herbert Voss  <voss@perce.de>
14192
14193         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14194
14195 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14196
14197         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14198         is not available.
14199
14200 2001-10-10  André Pönitz <poenitz@gmx.net>
14201
14202         * lyxfunc.C: removed greek_kb_flag.
14203
14204 2001-10-10  Herbert Voss  <voss@perce.de>
14205
14206         * lyx_main.C: delete global string help_lyxdir.
14207
14208 2001-10-09  Herbert Voss  <voss@perce.de>
14209
14210         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14211
14212         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14213
14214         * lyx_main.C: added global string help_lyxdir.
14215
14216         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14217
14218 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14219
14220         * lyxrc.C (set_font_norm_type): support iso8859-4
14221
14222 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14223
14224         * LaTeX.C (deplog): add another regex for MikTeX
14225
14226 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14227
14228         * lyxrc.C (set_font_norm_type): support iso8859-3
14229
14230 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14233
14234         * LaTeXFeatures.C: remove special case of french and index
14235
14236         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14237         before \begin{document}). This solves several incompatibilities.
14238
14239 2001-10-03  Garst Reese  <reese@isn.net>
14240
14241         * lyx_cb.C: change CheckTex error msg.
14242
14243 2001-10-03  José Matos  <jamatos@fep.up.pt>
14244
14245         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14246
14247 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * .cvsignore: update
14250
14251         * lyx_main.C (commandLineVersionInfo): use new style version info.
14252
14253         * buffer.C (writeFile):
14254         (makeLaTeXFile):
14255         (makeLinuxDocFile):
14256         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14257
14258         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14259
14260         * version.h: update to use stuff in version.C
14261
14262         * version.C.in: new file. Contains version information determined
14263         at compile time. This is a merging of version.h and
14264         version_info.h.in.
14265
14266 2001-10-03  Juergen Vigna  <jug@sad.it>
14267
14268         * BufferView_pimpl.C (update): don't change "dirty" status in
14269         updateInset call.
14270
14271 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14272
14273         * WorkArea.C (c-tor): re-position version string slightly.
14274
14275 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14276
14277         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14278         revert to previous code.
14279
14280         WorkArea.[Ch]: (show, destroySplash): methods removed.
14281
14282         WorkArea.C: rework code so that it's an amalgam of the codes before and
14283         after the splash screen was moved to WorkArea.
14284
14285 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * lyxrc.C (read):
14288         * vspace.C (inPixels):
14289         (lyx_advance):
14290         * kbmap.C (bind):
14291         * buffer.C (insertStringAsLines):
14292         (asciiParagraph): fix types to be large enough
14293
14294         * lyxlex_pimpl.h: change member status from short to int
14295
14296         * layout.h: fix type of endlabeltype
14297
14298         * kbmap.C (bind):
14299         * kbsequence.C (parse): change return type to string::size_type
14300
14301         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14302         variable
14303
14304         * Bullet.C (bulletSize):
14305         (bulletEntry): do not use short ints as parameters
14306
14307         * BufferView2.C (insertLyXFile): change a char to an int.
14308
14309         * WorkArea.C (WorkArea): remove unneeded floats in computation
14310
14311 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14312
14313         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14314
14315         * paragraph.C (asString): Do not ignore newline/hfill chars when
14316         copying to the clipboard.
14317
14318 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14319
14320         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14321         after a multi-line inset.
14322
14323 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * paragraph.C (validate): Set NeedLyXFootnoteCode
14326
14327 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14328
14329         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14330         and decrease-error to decrease.
14331
14332 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14335         it more readable (should be equivalent)
14336
14337 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14338
14339         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14340
14341 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14344         of a cursor (row, etc.) after a character has been deleted
14345         (deleteEmptyParagraphMechanism): call the method above on _all_
14346         cursors held by the LyXText when a double space has been
14347         detected/deleted.
14348
14349 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14352         pixmap.
14353         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14354
14355         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14356         background. Use greyOut() and the new show() methods to toggle between
14357         the foreground and background. Add code to remove the splash after
14358         its initial showing.
14359
14360         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14361         (create_forms): no longer call Dialogs::showSplash.
14362
14363 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14364
14365         * .cvsignore: add version_info.h
14366
14367 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14368
14369         * version_info.h.in: new file
14370
14371         * Makefile.am: add version_info.h.in
14372
14373         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14374         version_info.h instead of VERSION_INFO
14375
14376 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14379         The ERT inset now returns string().
14380
14381 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14382
14383         * lyxtext.h, text.C (selectNextWord): renamed as
14384         selectNextWordToSpellcheck.
14385
14386         * text.C (selectNextWordToSpellcheck): Modified to not select
14387         words inside an ERT inset.
14388
14389 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * lyx_cb.C (MenuLayoutSave): change a bit the question
14392
14393         * sp_base.h: include <sys/types.h>
14394
14395 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14396
14397         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14398
14399 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14400
14401         * several files: fix typos in user-visible strings
14402
14403 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * text2.C (pasteSelection): do not set the selection, since it
14406         will be cleared later. Actually, the intent was to fix the way the
14407         selection was set, but I figured rmoving the code was just as good.
14408
14409 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14410
14411         * FontLoader.C (available): Check if font is available without
14412         loading the font.
14413
14414 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14415
14416         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14417
14418 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14419
14420         * lyxrc.[Ch]: added display_graphics variable and associated code.
14421
14422 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * bufferparams.C (hasClassDefaults): new method. Returns true if
14425         the buffer parameters correspond to known class defaults
14426
14427 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14428
14429         * XFormsView.C (show): set minimum size to the main window.
14430
14431 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * text2.C (copySelection):
14434         (cutSelection):
14435         * lyxfind.C (LyXReplace):
14436         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14437         LyXText::selectionAsString.
14438
14439         * paragraph.C (asString): add "label" argument to the second form
14440
14441         * text2.C (selectionAsString): add "label" argument and pass it to
14442         Paragraph::asString.
14443
14444 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * lyx_main.C (commandLineHelp): remove version information
14447
14448 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14449
14450         * lyx_main.C: add -version commandline option
14451
14452 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * paragraph.h: make the optional constructor arg required instead.
14455         some modifications to other files because of this.
14456
14457         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14458
14459         * lyxserver.C (C_LyXComm_callback): make it static
14460
14461         * lyx_main.C (error_handler): make it static
14462
14463         * lyx_gui.C (LyX_XErrHandler): make it static
14464
14465         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14466
14467         * WorkArea.C: make the extern "C" methods static.
14468
14469         * Makefile.am (lyx_LDADD): simplify
14470
14471 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14474         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14475
14476         * LyXAction.C (init):
14477         * lyxfunc.C (dispatch): associated code removal.
14478
14479 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14480
14481         * lyxfont.h (isSymbolFont): shut off warning
14482
14483         * text.C (setHeightOfRow):
14484         (getVisibleRow): fix crash with empty paragraphs which have a
14485         bottom line
14486
14487 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14488
14489         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14490         code.
14491
14492 2001-09-04  José Matos  <jamatos@fep.up.pt>
14493         * buffer.C
14494         * buffer.h
14495         * tabular.C (docbook): rename docBook method to docbook.
14496
14497 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14498
14499         * Makefile.am: add dependencies to main.o.
14500
14501 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * FontLoader.C (available): Return false if !lyxrc.use_gui
14504
14505 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14506
14507         * FontInfo.C (query):
14508         * converter.C (view):
14509         * importer.C (Import):
14510         * exporter.C (Export): Can not -> cannot.
14511
14512 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * BufferView_pimpl.C: allow to create index inset even if
14515           string is empty
14516
14517 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14518
14519         * buffer.C (getLists): replace boost::tie code with an explicit pair
14520         as boost::tie can break some compilers.
14521
14522         * iterators.h: Added a std:: declaration to the return type of
14523         ParIterator::size.
14524
14525 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14528           case.
14529
14530 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14531
14532         * iterators.[Ch]: New files. Provide paragraph iterators.
14533
14534         * buffer.C (changeLanguage): Use paragraph iterators.
14535         (isMultiLingual): ditto
14536
14537         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14538
14539 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14540
14541         * FontLoader.C: Support for cmr font.
14542
14543 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14546         (available): New method.
14547
14548         * FontInfo.C (getFontname): Use scalable fonts even when
14549         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14550         found.
14551
14552 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14553
14554         * converter.C (Formats::view): reverted! Incorrect fix.
14555
14556 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14557
14558         * converter.C (Formats::view): only output the -paper option
14559         if the dvi viewer is xdvi, thereby fixing bug #233429.
14560
14561 2001-08-23  Herbert Voss  <voss@perce>
14562
14563         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14564
14565 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14566
14567         * Spacing.h (Spacing): Set space to Default on in the default
14568         constructor.
14569
14570 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * vc-backend.h (RCS::versionString): add RCS to version
14573         (CVS::versionString): add CVS to version
14574
14575         * vc-backend.C (scanMaster): do not add CVS to version.
14576         (scanMaster): do not add RCS to version
14577
14578         * lyxvc.C (versionString): new method
14579
14580         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14581
14582 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583
14584         * Spacing.C (set): initialize fval
14585
14586 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14587
14588         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14589         " or \.
14590
14591 2001-08-16  Juergen Vigna  <jug@sad.it>
14592
14593         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14594
14595 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * BufferView_pimpl.C:
14598         * figureForm.C:
14599         * lyxtext.h:
14600         * text2.C: setParagraph takes linespacing now
14601
14602 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * LyxAction.C: add internal LFUN_CITATION_INSERT
14605
14606         * LyXView.C: actually apply fix
14607
14608         * bufferlist.C: fix open non-existent file
14609
14610         * lyxfind.C: fix indentation
14611
14612         * lyxfunc.C: remove unneeded assert, fix typo
14613
14614 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * MenuBackend.C: use "Floatname List"
14617
14618 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14619
14620         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14621         when converting LaTeX layout to insetERT.
14622         Generate a non-collapsed float when reading old float
14623
14624 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14625
14626         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14627         ERT insets.
14628
14629 2001-08-13  Juergen Vigna  <jug@sad.it>
14630
14631         * text.C (fill): return 0 instead of 20 as this seems to be the more
14632         correct value.
14633
14634 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14637         lyxrc.font_norm.
14638
14639 2001-08-13  Juergen Vigna  <jug@sad.it>
14640
14641         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14642         casesensitive off.
14643         (SearchBackward): comment out the unlocking of the inset_owner this
14644         should not be needed!
14645
14646 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * Many files: Remove inherit_language, and add latex_language
14649
14650         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14651         collapsible insets.
14652
14653 2001-08-10  Juergen Vigna  <jug@sad.it>
14654
14655         * text.C (prepareToPrint): fixed hfill-width in draw!
14656
14657         * BufferView2.C (selectLastWord): save the selection cursor as this
14658         now is cleared in the function LyXText::clearSelection!
14659
14660 2001-08-08  Juergen Vigna  <jug@sad.it>
14661
14662         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14663         BACKSPACE type functions.
14664
14665         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14666         is only cutted from the document but not put in the cut-buffer, where
14667         still the old stuff should be.
14668
14669         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14670
14671         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14672
14673         * tabular.C (SetWidthOfCell): fixed special case where the width
14674         was not updated!
14675         (LeftLine): handle '|' in align_special.
14676         (RightLine): ditto
14677         (LeftAlreadyDrawed): ditto
14678         (SetWidthOfCell): ditto
14679
14680 2001-08-07  Juergen Vigna  <jug@sad.it>
14681
14682         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14683
14684 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14687         * lyxlex.[hC]: ditto
14688
14689 2001-08-06  Juergen Vigna  <jug@sad.it>
14690
14691         * text.C (getVisibleRow): fix up row clearing a bit.
14692
14693 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14694
14695         * minibuffer.C: make sure the X server sees the changes in the input.
14696
14697 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * paragraph.C (getFont): split into...
14700         (getLabelFont): this
14701         (getLayoutFont): and this
14702         * paragraph_pimpl.C (realizeFont): calling this
14703
14704         * text2.C (getFont): split into...
14705         (getLayoutFont): this
14706         (getLabelFont): and this
14707         (realizeFont): all three calling this
14708
14709         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14710         files where used.
14711
14712 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14713
14714         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14715
14716 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14717
14718         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14719         layouts from the Quote inset insertion.
14720
14721 2001-08-03  Juergen Vigna  <jug@sad.it>
14722
14723         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14724
14725         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14726         only if status not is already CHANGED_IN_DRAW (second level).
14727
14728         * text.C (draw): don't set the need_break_row when inside an
14729         InsetText LyXText.
14730
14731 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * buffer.C (parseSingleLyXformat2Token): handle more latex
14734         conversion cases.
14735
14736         * bufferview_funcs.[hC]: change function names to
14737         begin with small char, adjust other files.
14738
14739 2001-08-02  André Pönitz <poenitz@gmx.net>
14740
14741         * lyxfunc.C:
14742         BufferView_pimpl.C: remove broken special code for math-greek
14743
14744 2001-08-02  Juergen Vigna  <jug@sad.it>
14745
14746         * BufferView_pimpl.C (update): redone this function so that we
14747         update the text again if there was a CHANGE_IN_DRAW.
14748
14749         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14750         (drawFromTo): added a new internal bool which is used by draw() and
14751         redraw() function.
14752         (general): some cursor drawing problems fixed.
14753
14754 2001-08-01  Juergen Vigna  <jug@sad.it>
14755
14756         * lyxfind.C (LyXFind): fixed
14757         (SearchForward): ditto
14758         (SearchBackward): ditto
14759
14760         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14761         spurius drawing of the cursor in the main area.
14762
14763         * text2.C (status): small fix which could lead to a segfault!
14764         (clearSelection): remove unneeded BufferView param.
14765
14766 2001-08-01  André Pönitz <poenitz@gmx.net>
14767
14768         * lyxfunc.C: small change due to changed mathed interface
14769
14770 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14773
14774 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14775
14776         * lyxfunc.c: fail gracefully if file doesn't exist
14777
14778         * LyXSendto.C:
14779         * buffer.C:
14780         * lyxfunc.C:
14781         * BufferView_pimpl.C: IsDirWriteable() proto changed
14782
14783         * LyXView.C: fix updateWindowTitle() to store the last title
14784
14785 2001-07-31  Juergen Vigna  <jug@sad.it>
14786
14787         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14788         the font (wrong since using of Paragraph::highestFontInRange).
14789
14790         * paragraph.C (highestFontInRange): added a default_size parameter.
14791
14792         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14793         (setHeightOfRow): reformat
14794
14795 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * converter.[hC] + affected files: move to (inital-char)lowercase
14798         function names.
14799
14800         * ParagraphParameters.C (ParagraphParameters): remove commented code
14801
14802         * PainterBase.[Ch]: remove commented code
14803
14804         * LaTeXFeatures.h: add "bool floats" for float.sty
14805
14806         * LaTeXFeatures.C (LaTeXFeatures): init floats
14807         (require): handle float
14808         (getPackages): do it with floats
14809
14810 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * BufferView_pimpl.C (Dispatch): improve handling of
14813         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14814
14815         * commandtags.h: #include lyxfont.h here temporarily to avoid
14816         keybinding bug.
14817
14818         * bufferlist.h: include LString.h here.
14819
14820 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * text2.C (getStringToIndex): new method.
14823
14824 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14825
14826         * *: Reduced header file dependencies all over.
14827
14828 2001-07-30  Baruch Even  <baruch@lyx.org>
14829
14830         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14831
14832 2001-07-29  Baruch Even  <baruch@lyx.org>
14833
14834         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14835
14836 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * ParameterStruct.h (endif): add a default constructor to make
14839         sure that all variables is initialized.
14840
14841         * ParagraphParameters.C (ParagraphParameters): adjust
14842
14843 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14846         index; also, check that there is something to index, and that it
14847         does not span over several paragraphs.
14848         (doubleClick): use WHOLE_WORD_STRICT for double click.
14849
14850         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14851
14852         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14853         scheme.
14854
14855 2001-07-26  Baruch Even  <baruch@lyx.org>
14856
14857         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14858         an InsetFig figure, backwards compatible reading of old figure code.
14859
14860 2001-07-27  Juergen Vigna  <jug@sad.it>
14861
14862         * text2.C: font.realize function adaption.
14863
14864         * text.C (draw): add a warnings lyxerr text if needed.
14865
14866         * layout.C: font.realize function adaption.
14867
14868         * language.C: add inherit_language and implement it's handlings
14869
14870         * bufferview_funcs.C (StyleReset): remove language parameter from
14871         font creation (should be language_inherit now).
14872
14873         * bufferparams.C (writeFile): handle ignore_language.
14874
14875         * paragraph.C (getFontSettings): the language has to be resolved
14876         otherwise we have problems in LyXFont!
14877
14878         * lyxfont.C (lyxWriteChanges): added document_language parameter
14879         (update): removed unneeded language parameter
14880
14881         * paragraph.C (validate): fixed wrong output of color-package when
14882         using interface colors for certain fonts in certain environments,
14883         which should not seen as that on the final output.
14884
14885 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * BufferView_pimpl.C:
14888         * Thesaurus.h:
14889         * Thesaurus.C:
14890         * Makefile.am:
14891         * commandtags.h:
14892         * LyXAction.C: add thesaurus support
14893
14894         * lyxfind.h:
14895         * lyxfind.C: add "once" parameter, for thesaurus, to not
14896           move to the next match
14897
14898 2001-07-26  Juergen Vigna  <jug@sad.it>
14899
14900         * lyxfont.C (realize): honor ignore_language too!
14901         (resolved): ditto.
14902
14903         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14904
14905         * text.C (draw): one place more for ignore_language to not draw
14906         itself!
14907
14908 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14909
14910         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14911
14912 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14915         the minipage conversion problem.
14916
14917 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14918
14919         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14920         insert an inset.
14921
14922 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * BufferView.h: don't forward declare WorkArea
14925
14926         * BufferView.C: don't include WorkArea.h
14927
14928 2001-07-25  André Pönitz <poenitz@gmx.net>
14929
14930         * commandtags.h:
14931         * LyXAction.C:
14932         * lyxfunc.C:  new LFUN 'math-space'
14933
14934         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14935
14936 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14937
14938         * text2.C (toggleInset): call open/close
14939
14940 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14941
14942         * lyxfunc.C (dispatch): add debug for the disabled case
14943
14944         * font.C (buttonText): make similar to rectText
14945
14946         * buffer.C (readInset): comment out parsing of insetlist and
14947         insttheorem
14948
14949         * PainterBase.C (rectText): small correction
14950
14951         * BufferView_pimpl.C: comment out insettheorem and insetlist
14952         * LyXAction.C: ditto
14953         * commandtags.h: ditto
14954
14955 2001-07-24  Juergen Vigna  <jug@sad.it>
14956
14957         * text.C (draw): honor the ignore_language.
14958
14959         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14960
14961 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14964         char inset.
14965
14966 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14967
14968         * lyxtext.h: remove unused (and unimplemented) methods
14969
14970 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14971
14972         * text.C (getVisibleRow): honor background color
14973
14974         * PainterBase.h:
14975         * Painter.h: remove default color argument for fillRectangle
14976
14977         * text.C (backgroundColor): new method
14978
14979 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14980
14981         * text.C (getVisibleRow): adjust
14982
14983         * font.[Ch] (rectText): new method, metrics
14984         (buttonText): new method, metrics
14985
14986         * PainterBase.[hC]: make rectText and buttonText always draw and take
14987         fewer paramteres.
14988
14989 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14990
14991         * ToolbarDefaults.C (read):
14992         * MenuBackend.C (read): allow escaping in all strings
14993
14994         * BufferView_pimpl.C (insertAndEditInset): new method.
14995         (Dispatch): use insertAndEditInset whenever appropriate.
14996
14997         * BufferView_pimpl.C (insertNote): removed
14998
14999         * BufferView_pimpl.C (smartQuote): new method, moved from
15000         BufferView; if an insetquote cannot be inserted, insert a '"'
15001         character instead.
15002
15003         * BufferView2.C: remove insertCorrectQuote();
15004
15005         * lyxfunc.C (getStatus): Add support for all remaingin
15006         inset-insert lfuns.
15007
15008         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15009
15010         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15011         command (necessary to pass " as parameter of self-insert.
15012
15013         * text.C (selectWordWhenUnderCursor):
15014         (selectWord): add word_location parameter
15015         (selectWordWhenUnderCursor): same + remove special code for word
15016         boundary.
15017         (selectNextWord): use kind() to guess type of insetspecialchar,
15018         not latex().
15019
15020         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15021         (insertErtContents): create ert insets as collapsed.
15022         (readInset): better compatibility code for Info inset.
15023
15024 2001-07-20  Juergen Vigna  <jug@sad.it>
15025
15026         * lyxfunc.C (dispatch): use always LyXFind now!
15027
15028         * text2.C (init): add a reinit flag so that the LyXText can be
15029         reinited instead of deleted and reallocated (used in InsetText).
15030
15031         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15032
15033         * text.C: ditto
15034
15035         * text2.C: ditto
15036
15037 2001-07-18  Juergen Vigna  <jug@sad.it>
15038
15039         * text.C (selectNextWord): handle insets inside inset by calling
15040         always the bv->text functions so that we can go up the_locking_inset!
15041
15042         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15043         in strange locations when inside an inset!
15044
15045         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15046         handling to include insets.
15047
15048         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15049
15050 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * LyXAction.C (init):
15053         * commandtags.h:
15054         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15055         LIGATURE_BREAK, since the name is so stupid.
15056
15057 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15058
15059         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15060         InsetInfos.
15061
15062         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15063
15064         * sp_form.[Ch]: remove.
15065
15066         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15067
15068         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15069         InsetInfo.
15070
15071         * src/buffer.C (readInset): ditto.
15072
15073 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15074
15075         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15076         menuSeparator(), endOfSentenceDot(), ldots() and
15077         hyphenationPoint(), which are therefore removed.
15078         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15079
15080         * LyXAction.C (init):
15081         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15082
15083         * paragraph.C (getWord): removed.
15084
15085         * BufferView_pimpl.C (Dispatch): use last word or selection for
15086         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15087
15088         * lyx_main.C (queryUserLyXDir): do not ask before creating
15089         user_dir, except if it has been named explicitely.
15090
15091 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15092
15093         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15094         a document of zero size.
15095
15096 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15097
15098         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15099         approriately in the c-tor and in require().
15100         (getPackages): output the appropriate LaTeX for natbib support.
15101
15102         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15103         variables "use_natbib" and "use_numerical_citations" when reading the
15104         LyX file.
15105         (readInset): read the various natbib cite commands.
15106         (validate): white-space change.
15107
15108         * bufferparams.[Ch]: new variables "bool use_natbib" and
15109         "bool use_numerical_citations".
15110         (writeFile): output them in the LyX file.
15111
15112 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15113
15114         * lyxfunc.C (getStatus): add support for all the inset insertion
15115         commands.
15116
15117         * text2.C (insertInset):
15118         * paragraph.C (insetAllowed):
15119         * BufferView_pimpl.C (insertInset): update to take in account the
15120         renaming of insertInsetAllowed
15121
15122         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15123
15124         * text2.C (getInset): new method. returns inset at cursor position.
15125
15126         * BufferView_pimpl.C (Dispatch): changes because of this.
15127
15128         * LyXAction.C (init): rename open-stuff to inset-toggle.
15129
15130         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15131
15132         * text2.C (toggleInset): renamed from openStuff; use
15133         Inset::open().
15134
15135 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15136
15137         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15138
15139         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15140
15141 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * buffer.C (readLyXformat2): Add filename to the error dialog
15144
15145 2001-07-18  Juergen Vigna  <jug@sad.it>
15146
15147         * tabular.C (GetCellNumber): put an assert here instead of the check!
15148
15149 2001-07-17  Juergen Vigna  <jug@sad.it>
15150
15151         * BufferView_pimpl.C (toggleSelection): adapted too.
15152
15153         * text.C (selectNextWord): adapted for use with insets.
15154         (selectSelectedWord): ditto
15155
15156 2001-07-17  Juergen Vigna  <jug@sad.it>
15157
15158         * sp_spell.C (PSpell): fix initialitation order.
15159
15160 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * paragraph.C: spacing
15163
15164 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15165
15166         * sp_spell.C: repair language selection for pspell
15167
15168 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * lyxfunc.h: change more methods to begin with lower char.
15171
15172 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15175         for unknown layouts.
15176
15177 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15178
15179         * buffer.C (readLyXformat2): Generate an error dialog if there are
15180         unknown layouts.
15181
15182 2001-07-16  Juergen Vigna  <jug@sad.it>
15183
15184         * sp_spell.C: always compile ISpell part.
15185
15186         * lyxrc.C: added use_pspell entry and it's handling.
15187
15188 2001-07-13  Juergen Vigna  <jug@sad.it>
15189
15190         * sp_spell.C: removed double includes.
15191
15192 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15193
15194         Consistent use of Lsstream.h:
15195         * Lsstream.h: added using std::stringstream for consistencies sake.
15196
15197         * buffer.C: removed using std::stringstream
15198
15199         * lyxfont.C (stateText):
15200         * paragraph.C (asString):
15201         * text.C (selectNextWord, selectSelectedWord):
15202         * text2.C (setCounter):
15203         * vspace.C (asString, asLatexString):
15204         std::ostringstream -> ostringstream.
15205
15206 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15207
15208         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15209         * commandtags.h: add LFUN_HELP_ABOUTLYX
15210         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15211
15212 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15213
15214         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15215         cursorToggle()
15216         * lyx_gui_misc.C: remove spellchecker
15217         * lyxfunc.C: showSpellchecker
15218         * sp_base.h: added
15219         * sp_ispell.h: added
15220         * sp_pspell.h: added
15221         * sp_spell.C: added
15222         * sp_form.[Ch]: removed
15223         * spellchecker.[Ch]: removed
15224
15225 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15226
15227         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15228         is set.
15229         (simpleTeXSpecialChars): Simply print the input character without
15230         any special translation if pass_thru is set.
15231
15232         * layout.h: Added bool pass_thru to layout class for being able to
15233         implement pass through of a paragraph for Literate Programming.
15234
15235         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15236         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15237         * layout.C (Read): add "passthru" to list of layout tags and add
15238         code to set the pass_thru boolean when it is read.
15239
15240 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * trans_decl.h: remove allowed from KmodInfo
15243
15244         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15245         remove allowed code
15246         (Load): adjust
15247
15248         * paragraph_pimpl.C (erase): use boost::prior
15249
15250         * Painter.C (text): use data() instead of c_str() when length is
15251         also provided.
15252         * WorkArea.C (putClipboard): ditto
15253         * font.h (width): ditto
15254
15255         * BufferView2.C: use it-> instead of (*it). for iterators
15256         * texrow.C: ditto
15257         * paragraph_pimpl.C: ditto
15258         * paragraph.C: ditto
15259         * minibuffer.C: ditto
15260         * language.C: ditto
15261         * kbmap.C: ditto
15262         * encoding.C: ditto
15263         * counters.C: ditto
15264         * converter.C: ditto
15265         * chset.C: ditto
15266         * Variables.C: ditto
15267         * TextCache.C: ditto
15268         * MenuBackend.C: ditto
15269         * LyXAction.C: ditto
15270         * LColor.C: ditto
15271         * FloatList.C: ditto
15272         * DepTable.C: ditto
15273         * ColorHandler.C (LyXColorHandler): ditto
15274
15275 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15278
15279         * text2.C (openStuff): reintroduce this method (which had been
15280         nuked in NEW_INSETS frenzy).
15281
15282         * lyxfunc.C (Dispatch): when an action has not been handled, use
15283         its name in the error message, not its number.
15284
15285         * paragraph.C (inInset): change method name to begin with lowercase.
15286
15287         * undo_funcs.C:
15288         * text2.C: updates because of this.
15289
15290 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * ToolbarDefaults.C (add): add spaces in error message
15293
15294 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15297         (readLyXformat2): rename return_par to first_par, use lyxlex's
15298         pushToken and remove the manual push handling.
15299         (parseSingleLyXformat2Token): add another ert comp. variable:
15300         in_tabular, rename return_par to first_par. handle newlines better
15301
15302 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15305
15306 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * text2.C (getParFromID): removed
15309
15310         * buffer.C (getParFromID): new method moved form lyxtext.
15311         * BufferView2.C (insertErrors): adjust
15312         (setCursorFromRow): adjust
15313         * BufferView_pimpl.C (restorePosition): adjust
15314         * lyxfunc.C (Dispatch): adjust
15315         * undo_funcs.C (textUndo): adjust
15316         (textRedo): adjust
15317         (textHandleUndo): adjust
15318         (textHandleUndo): adjust
15319
15320 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * buffer.C: up' the LYX_FORMAT
15323
15324         * lyxfont.h: turn NO_LATEX on as default
15325
15326         * buffer.C (insertErtContents): new methods of tex style compability.
15327         (parseSingleLyXformat2Token): use it several places.
15328         * tabular.C (OldFormatRead): and here
15329
15330 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * text2.C: remove some commented code.
15333         reindent file.
15334
15335         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15336         * trans.C: changes because of the above.
15337
15338 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15339
15340         * text2.C (setCounter): Fix counters bug with bibliography layout.
15341
15342 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15345         own member functions
15346         (simpleTeXSpecialChars): ditto
15347
15348 2001-07-06  Juergen Vigna  <jug@sad.it>
15349
15350         * a lot of files: changed the access to LyXText::status and the
15351         call of undo-functions.
15352
15353         * undo.[Ch]: added a inset_id to the undo informations.
15354
15355         * undo_funcs.[Ch]: added and moved here all undo functions.
15356
15357         * lyxtext.h: give the status enum a weight, made status_ a private
15358         variable and made accessor functions for it, removed the whole bunch
15359         of undo-functions as they are now in their own file, make some
15360         functions publically available. Added function ownerParagraph with
15361         int parameter.
15362
15363         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15364         made InInset() a const function, added getParFromID() function.
15365
15366         * buffer.[Ch]: added const version for inset_iterator functions,
15367         added getInsetFromID() function.
15368
15369         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15370         changed undo functions for new version.
15371
15372 2001-07-05  Juergen Vigna  <jug@sad.it>
15373
15374         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15375         unknow mechanism does not call the proper constructor but only this
15376         one also if I request the other!?
15377
15378 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15379
15380         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15381
15382         * text2.C (LyXText): use initialization lists.
15383
15384         * lyxtext.h (Selection): initialize set_ and mark_
15385         (init): remove method
15386
15387 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15388
15389         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15390
15391 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15392
15393         * screen.[Ch]: change method names to begin with lowercase
15394
15395         * BufferView_pimpl.C (updateScrollbar): simplify further and
15396         hopefully make it a bit faster.
15397
15398 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15401         calling directly xforms functions.
15402
15403         * Painter.C (Painter):
15404         * lyx_cb.C (MenuWrite):
15405         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15406         fl_display.
15407
15408         * lyx_gui.C: remove bogus guiruntime extern declaration.
15409
15410 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15413         in NEW_INSETS
15414         (redoDrawingOfParagraph): ditto
15415         (redoParagraphs): ditto
15416         (cutSelection): don't create a object for CutAndPaste use the
15417         static method directly
15418         (pasteSelection): ditto
15419
15420         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15421         LyXview (+ rename)
15422
15423 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * modifications to some other files because of this.
15426
15427         * Makefile.am (lyx_SOURCES): add XFormsView
15428
15429         * XFormsView.[Ch]: new files
15430
15431         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15432         the main window. Move the gui dependent stuff to XFormsView
15433
15434 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * tabular.C (GetCellInset): update cur_cell also in the row/col
15437         version of this function.
15438
15439         * lyxfunc.C: no need to include figure_form.h here.
15440
15441         * FontLoader.h:
15442         * lyxfunc.h:
15443         * lyxscreen.h:
15444         * text2.C:
15445         * lyxvc.C: no need to include forms.h here.
15446
15447 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15450
15451         * lyxfunc.C (Dispatch):
15452         * Spacing.C (set):
15453         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15454         constructor argument.
15455
15456 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * paragraph.C (Paragraph): dont't clear, and just set layout.
15459         (makeSameLayout): use params's copy contructor.
15460
15461         * ParagraphParameters.[Ch] (makeSame): delete method
15462
15463 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15464
15465         * Variables.[Ch]: fix indentation, rename set to isSet
15466
15467 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15468
15469         * lyxfunc.C (Dispatch): fix typo
15470
15471 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15474         upper_bound.
15475
15476         * bufferlist.C: include assert.h for emergencyWrite().
15477
15478 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15479
15480         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15481           give up at last (bug #425202) !
15482
15483 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15484
15485         * lyx_gui_misc.C:
15486         * sp_form.h:
15487         * sp_form.C:
15488         * spellchecker.h:
15489         * spellchecker.C: strip spellchecker options and bring up
15490           preferences tab instead
15491
15492 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15495         the istringstream constructor
15496
15497 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * paragraph.C (getLayout): fix return value
15500
15501         * paragraph.h: do not declare getLayout as inline.
15502
15503         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15504
15505 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15506
15507         * lyxcursor.h (operator<): new func
15508         (operator>): new func
15509         (operator>=): new func
15510         (operator<=): new func
15511
15512         * text.C (changeCase): use selection.start and selection.end
15513         (changeRegionCase): require from to be <= to. Require par to be a
15514         valid paragraph.
15515
15516         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15517
15518 2001-06-27  Juergen Vigna  <jug@sad.it>
15519
15520         * text.C (cursorLeftOneWord): changed to return the cursor and added
15521         overlay with BufferView * parameter which calls this one.
15522         (getWord): added
15523         (selectWord): use new getWord function.
15524         (changeCase): renamed from changeWordCase as and extended to work
15525         also on selections.
15526
15527         * lyxtext.h: added enum word_location
15528
15529         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15530         changeCase as this operates now also on selections.
15531
15532 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15533
15534         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15535
15536         * many files: send debug output to Debug::INFO instead of
15537         Debug::ANY.
15538
15539         * converter.C (View):
15540         (Convert):
15541         (Move): send debug output to Debug::FILES instead of console.
15542
15543 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15544
15545         * lyxfunc.C (getStatus): use func_status
15546
15547         * func_status.h: new header, describing the results of
15548         LyXFunc::getStatus;
15549
15550         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15551         LFUN_MATH_HALIGN.
15552
15553 2001-06-25  The LyX Project  <jug@sad.it>
15554
15555         * buffer.C (sgmlOpenTag):
15556         (sgmlCloseTag):
15557         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15558
15559 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * text2.C: remove some dead code
15562
15563         * tabular.C (GetCellInset): store the last cell checked (gotten)
15564
15565         * tabular.h: add the helper for the speedup
15566
15567         * lyxtext.h: remove some dead code
15568
15569 2001-06-26  The LyX Project  <Asger>
15570
15571         * paragraph.C: Change export to LaTeX of alignment to
15572         \begin{center} and family for better roundtrip work with reLyX.
15573
15574         * Tune the math drawing a bit.
15575
15576 2001-06-25  The LyX Project  <Asger>
15577
15578         * LColor.C (LColor): New color for math background. New color
15579         for buttons.
15580
15581 2001-06-25  The LyX Project  <jug@sad.it>
15582
15583         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15584
15585         * lyxfunc.C (Open):
15586         * bufferlist.C (newFile): do not restrict to files ending with
15587         .lyx
15588
15589         * BufferView_pimpl.C (MenuInsertLyXFile):
15590
15591 2001-06-24  The LyX Project  <jug@sad.it>
15592
15593         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15594         of compare_no_case
15595
15596 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15597
15598         * lyxtext.h: rename most methods to begin with a small char.
15599         Lots of changes because of this.
15600
15601         * paragraph.C (Paragraph): do not call fitToSize
15602         (erase): call Pimpl::erase
15603         (insertChar): call Pimpl::insertChar
15604         (insertInset): call Pipl::insertInset
15605         (breakParagraph): do not call fitToSize
15606         (breakParagraphConservative): do not call fitToSize
15607         (fitToSize): remove method
15608
15609         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15610
15611 2001-06-24  The LyX Project  <Asger>
15612
15613         * Fix Qt compilation^2
15614
15615 2001-06-24  The LyX Project  <jug@sad.it>
15616
15617         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15618         depthHook(getDepth()-1).
15619
15620         * paragraph.h:
15621         * ParagraphParameters.h:
15622         * ParameterStruct.h: change type of depth to unsigned int ==
15623         depth_type. Many adaptations to other files before of that.
15624
15625 2001-06-24  The LyX Project  <Asger>
15626
15627         * Fix Qt compilation.
15628
15629 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15630
15631         * paragraph.h: renamed several methods to begin with small letter.
15632         several changes to many parts of the code because of this.
15633
15634 2001-06-23  The LyX Project  <jug@sad.it>
15635
15636         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15637         rewritten to discard all double spaces when KeepEmpty is off
15638         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15639         to only handle newlines but not fiddle with spaces and friends.
15640
15641         * lyxfunc.C (MenuNew): when doing 'new from template', use
15642         template_path as default directory
15643
15644 2001-06-23  The LyX Project  <Asger>
15645
15646         * Clean-up of header file includes all over
15647         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15648
15649 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * paragraph.h: renamed from lyxparagraph.h
15652
15653 2001-06-23  Asger  <lyx@violet.home.sad.it>
15654
15655         * Buffer.h: Removed Buffer::resize
15656         * BufferList.h: Removed BufferList::resize
15657         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15658         the document lazily when we change the width, or the font settings.
15659
15660 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15661
15662         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15663
15664 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15665
15666         * buffer.h: remove out of date comment
15667
15668 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15669
15670         * lyxscreen.h:
15671         * screen.C: fix "theoretical" GC leak
15672
15673 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * LaTeX.C (scanAuxFile):
15676         (deplog): remove trailing \r when reading stream (useful under
15677         win32)
15678
15679 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15680
15681         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15682         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15683         and BufferView::theLockingInset(Inset*), so should use them and not
15684         access bv_->text->the_locking_inset directly.
15685
15686         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15687
15688 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15689
15690         * Makefile.am:
15691         * tex-defs.h: remove old unused file
15692
15693 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15694
15695         * BufferView_pimpl.C: fix typo, remove minibuffer message
15696           when buffer has loaded
15697
15698 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15699
15700         * lyxfunc.C (Dispatch): use stringstream
15701         (MenuNew): use stringstream
15702         (Open): use stringstream
15703
15704         * importer.C (Import): use stringstream
15705
15706         * bufferview_funcs.C (CurrentState): use stringstream
15707
15708         * LaTeX.C (run): use stringstream
15709
15710         * BufferView_pimpl.C (savePosition): use stringstream
15711         (restorePosition): use stringstream
15712         (MenuInsertLyXFile): use stringstream
15713
15714 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15715
15716         * BufferView.C:
15717         * Bullet.C:
15718         * ColorHandler.C:
15719         * FontInfo.C:
15720         * FontLoader.C:
15721         * LColor.C:
15722         * LaTeXFeatures.C:
15723         * Painter.C:
15724         * gettext.C:
15725         * lyx_gui_misc.C:
15726         * lyxserver.C:
15727         * vspace.C: removed // -*- C++ -*- as first line.
15728
15729         * lyxfind.h:
15730         * version.h: added // -*- C++ -*- as first line.
15731
15732 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15735
15736         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15737         of string
15738
15739 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15742         of floats.
15743
15744 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * gettext.C: include LString.h even when --disable-nls is on.
15747
15748 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15749
15750         * converter.h (Get): changed argument type from int to
15751         FormatList::size_type to avoid unnecessary conversion.
15752
15753         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15754         before using it.
15755
15756 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15757
15758         * gettext.h: include LString.h even when --disable-nls is on.
15759
15760 2001-06-07  Juergen Vigna  <jug@sad.it>
15761
15762         * text.C (BreakAgain): subst spaces with tabs.
15763
15764         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15765         (resizeInsetsLyXText): set force on resizeLyXText.
15766
15767 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * gettext.h (gettext_init):
15770         (locale_init): use a real definition instead of a macro
15771
15772 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15773
15774         * Bufferview_pimpl.C:
15775         * LColor.h:
15776         * LColor.C: further lcolor tidies
15777
15778 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * BufferView_pimpl.C (updateScrollbar): simplify.
15781
15782         * BufferView2.C: don't include insets/insetinfo.h, change
15783         prototype for insertInset and call the Pimpl version. let
15784         updateInset call Pimpl version.
15785
15786         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15787         gotoInset to BufferView::Pimpl
15788
15789 2001-06-01  Juergen Vigna  <jug@sad.it>
15790
15791         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15792         inside a LockingInset (is the update needed at all?).
15793
15794 2001-05-31  Juergen Vigna  <jug@sad.it>
15795
15796         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15797         here not the old one otherwise how should we compare it afterwards
15798         if it's the same!
15799
15800 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * lyxfont.C:
15803         * tabular.C:
15804         * tabular-old.C:
15805         * FontInfo.C: bring C functions into global namespace when
15806         necessary
15807
15808 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * LString.h: make sure config.h has been loaded before LString.h.
15811
15812         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15813         (one for each char read by EatLine!).
15814
15815         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15816         variables.
15817
15818 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15821         to the same as the par we break from
15822
15823 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15826
15827         * MenuBackend.C (expand): also create menu entries for wide
15828         versions of the floats.
15829
15830         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15831
15832         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15833
15834         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15835         frontends/Makefile.am
15836
15837         * text2.C: adjust
15838         * text.C: adjust
15839
15840
15841         * tabular.C (getTokenValue): add std::
15842
15843         * tabular-old.C (getTokenValue): add std::
15844         (getTokenValue): ditto
15845         (getTokenValue): ditto
15846
15847         * screen.C (ToggleSelection): adjust
15848
15849         * lyxtext.h: put selection cursors inside a Selection struct.
15850
15851         * lyxfunc.C (moveCursorUpdate): adjust
15852
15853         * lyxfont.C (latexWriteStartChanges): add std::
15854
15855         * lyxfind.C: adjust
15856
15857         * font.h: delete with(char const *, LyXFont const &)
15858
15859         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15860
15861         * FontInfo.C (getFontname): add std::
15862
15863         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15864         (workAreaButtonPress): adjust
15865         (tripleClick): adjust
15866         (update): adjust
15867         (moveCursorUpdate): adjust
15868         (Dispatch): adjust
15869
15870         * BufferView2.C (gotoInset): adjust
15871
15872 2001-05-30  Juergen Vigna  <jug@sad.it>
15873
15874         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15875         to check pspell I add this as default as I now have new pspell
15876         libraries and they seem to use this.
15877
15878 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15879
15880         * text2.C (CutSelection): make the cursor valid before the call to
15881         ClearSelection.
15882
15883 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15886         relied on 0 terminated strings and other horrors. Bug found due to
15887         the new assert in lyxstring!
15888
15889         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15890         KP_ keys.
15891
15892 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15895         to latinkeys.bind.
15896
15897         * lyxfunc.C (processKeySym): change method of getting to the
15898         self-insert char.
15899
15900         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15901         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15902         * BufferView_pimpl.[Ch]: here as private methods.
15903
15904 2001-05-28  Juergen Vigna  <jug@sad.it>
15905
15906         * text.C (SetHeightOfRow): added the update() call again as it is
15907         needed to initialize inset dimensions!
15908
15909 2001-05-16  Juergen Vigna  <jug@sad.it>
15910
15911         * text2.C (SetCharFont): Add new function with BufferView * and
15912         bool toggleall parameters for setting insets internal fonts.
15913         (SetFont): Freeze the undo as we may change fonts in Insets and
15914         all this change should be inside only one Undo!
15915
15916         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15917         setting font's in insets as for them we have the SetFont function!
15918
15919 2001-05-15  Juergen Vigna  <jug@sad.it>
15920
15921         * text2.C (ClearSelection): to be sure we REALLY don't have any
15922         selection anymore!
15923
15924         * tabular.C (TeXCellPreamble): fixed the left border problem for
15925         multicolumn cells.
15926
15927 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15930         dependancy file
15931
15932 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15933
15934         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15935         LFUN_BREAKPARAGRAPH.
15936
15937         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15938         help test to "internal only", similar for LFUN_INSERT_URL
15939
15940         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15941         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15942         auto_region_delete and deadkeys.
15943
15944 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15945
15946         * LColor.h:
15947         * LColor.C: remove some dead entries, tidy a little
15948
15949 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15952         commented code.
15953         (Dispatch): implement LFUN_ESCAPE
15954
15955         * commandtags.h: add LFUN_ESCAPE
15956
15957         * LyXAction.C (init): add entry for LFUN_ESCAPE
15958
15959         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15960         Remove commented code.
15961         (insertNote): moved here
15962         (open_new_inset): moved here
15963
15964         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15965         BufferView_pimpl
15966
15967 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * kbmap.C (findbinding): clean it up and make it work correctly.
15970
15971         * lyx_main.C (init): do not pass argc and argv as parameters
15972
15973 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15974
15975         * buffer.C: fix path for OS/2 & Win32
15976
15977         * lyx_gui.C:
15978         * lyx_main:
15979         * lyx_main.C: Added os:: class.
15980
15981         * os2_defines.h: update
15982
15983 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15984
15985         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15986         better by trying again with reduced state.
15987
15988 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15989
15990         * lyxrc.C (read): print error about invalid key sequence only when
15991         debugging (because not all latinX keysyms are known to some X
15992         servers)
15993
15994         * kbsequence.C (getiso): add a few std:: qualifiers
15995         (getiso): comment out extra return statement.
15996
15997 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15998
15999         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16000         handling.
16001         (Dispatch): enhance the accent inset a bit. (not perfect)
16002
16003 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16006
16007 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16008
16009         * bufferlist.C (emergencyWrite): fix assert() call
16010
16011 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16012
16013         * text.C (InsertChar): Added trivial patch to only send the "you
16014         can not do multiple spaces this way" message once during a
16015         session.
16016
16017 2001-05-08  Baruch Even  <baruch@lyx.org>
16018
16019         * Makefile.am: Changed order of libraries to get LyX to link properly
16020         with the gnome frontend.
16021
16022 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16023
16024         * LaTeXFeatures.h: add a std:: qualifier
16025
16026 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * paragraph.C (String): use stringstream
16029
16030 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16031
16032         * paragraph.C (writeFile): remove footflag arg
16033
16034         * buffer.C (makeLaTeXFile): use stringstream
16035         (latexParagraphs): remove footnot gurba
16036
16037         * LaTeXFeatures.C (getPackages): use stringstream
16038         (getMacros): likewise
16039         (getTClassPreamble): likewise
16040         (getFloatDefinitions): new method
16041
16042         * paragraph.C (writeFile): reindent
16043         (Erase): reindent
16044
16045         * WorkArea.h: revert the xpos + etc changes.
16046
16047         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16048
16049         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16050
16051         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16052         (pasteSelection): likewise
16053         * text2.C (CreateUndo): likewise
16054
16055 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16056
16057         * minibuffer.C (peek_event): temporarily reduce the functionality
16058         of the minibuffer (to allow args on lfuns)
16059
16060         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16061         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16062
16063         * buffer.C (readInset): add compability reading of old float
16064         lists, add reading of new style float list.
16065         (readInset): avoid reevaluation of inscmd.getCmdName()
16066         (getLists): reindent
16067
16068         * MenuBackend.C (MenuItem): implement parsing of
16069         md_floatlistinsert and md_floatinsert.
16070         (expand::LastFiles): move initalizaton of iterators out of loop,
16071         avoid reevaluation.
16072         (expand::Documents): introduce typdedef vector<string> Strings,
16073         and use it.
16074         (expand::ExportFormats): introduce typedef vector<Format const *>
16075         Formats, and use it.
16076         (expand): implement FloatListInsert and FloatInsert.
16077
16078         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16079         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16080         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16081
16082         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16083         handling.
16084         (Dispatch::LFUN_FLOAT_LIST): implement
16085
16086 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16087
16088         * LaTeX.C (run): Fix problem with --export code.
16089
16090 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16091
16092         * BufferView.[Ch] (workarea): removed.
16093         (getClipboard) new method; wrapper for workarea()->getClipboard()
16094
16095         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16096         bug.
16097
16098         * WorkArea.h (width, height, xpos, ypos): These methods all
16099         returned the dimensions of the work_area sub-area of WorkArea,
16100         resulting in a position error if the WorkArea were resized. Now
16101         return the dimensions of the entire WorkArea.
16102
16103         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16104
16105 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16106
16107         * LaTeX.C (deplog): correct the syntax of regex reg1
16108
16109 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * undo.C: remove !NEW_INSETS cruft
16112
16113 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * text2.C: remove !NEW_INSETS cruft
16116
16117         * text.C: remove !NEW_INSETS cruft
16118
16119         * tabular.C: remove !NEW_INSETS cruft
16120
16121         * spellchecker.C: remove !NEW_INSETS cruft
16122
16123         * lyxtext.h: remove !NEW_INSETS cruft
16124
16125         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16126
16127         * lyxfunc.C: remove !NEW_INSETS cruft
16128
16129         * lyxfind.C: remove !NEW_INSETS cruft
16130
16131         * lyx_cb.C: remove !NEW_INSETS cruft
16132
16133         * figureForm.C: remove  !NEW_INSETS cruft
16134
16135         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16136
16137         * buffer.[Ch]: remove !NEW_INSETS cruft
16138
16139         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16140
16141         * CutAndPaste.C: remove !NEW_INSETS cruft
16142
16143         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16144
16145         * BufferView2.C: remove !NEW_INSETS cruft
16146
16147         * BufferView.h: remove !NEW_INSETS cruft
16148
16149 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16150
16151         * Lsstream.h: include LString.h before the sstream headers to
16152         fix problem with gcc 2.95.3 and lyxstring
16153
16154 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16155
16156         * lyx_main.C: add using directives when needed for C functions
16157         declared in std:: namespace.
16158
16159 2001-04-27  Juergen Vigna  <jug@sad.it>
16160
16161         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16162         (SetHeightOfRow): comment out the update call should not be needed!
16163
16164 2001-04-13  Juergen Vigna  <jug@sad.it>
16165
16166         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16167         (LyXTabular): tried to minimize operator= operations (and realized
16168         hopfully Lars wish).
16169
16170 2001-04-27  Juergen Vigna  <jug@sad.it>
16171
16172         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16173
16174 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16177
16178         * buffer.C (readInset): hack to make listof algorithm work
16179
16180         * BufferView_pimpl.C: hack to make listof algorithm work
16181
16182 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16183
16184         * LyXAction.C: removed all !NEW_INSETS cruft
16185         (init): moved lfun_item in method
16186
16187         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16188
16189 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16190
16191         * BufferView2.C (theLockingInset): white space.
16192
16193 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * minibuffer.C: include <iostream>
16196
16197         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16198
16199         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16200
16201         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16202
16203         * text.[Ch] (TransposeChars): new method
16204
16205 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * call message directly through LyXView instead of through LyXFunc
16208         * BufferView2.C: adjust
16209         * BufferView_pimpl.C: adjust
16210         * FontLoader.C: adjust
16211         * buffer.C: adjust
16212         * bufferview_funcs.C: adjust
16213         * converter.C: adjust
16214         * figureForm.C: adjust
16215         * importer.C: adjust
16216         * lyx_cb.C: adjust
16217         * lyx_gui_misc.C: adjust
16218         * lyxfunc.C: adjust
16219         * lyxvc.C: adjust
16220         * text2.C: adjust
16221         + more files in subdirs
16222
16223         * lyxparagraph.h (size): move up int file
16224         (GetLayout): ditto
16225
16226         * adjust all uses of Assert to lyx::Assert.
16227
16228         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16229         lyxfunctional in namespace lyx
16230         * layout.C (hasLayout): ditto
16231         (GetLayout): ditto
16232         (GetLayout): ditto
16233         (delete_layout): ditto
16234         (NumberOfClass): ditto
16235         * converter.C (GetFormat): ditto
16236         (GetNumber): ditto
16237         (Add): ditto
16238         (Delete): ditto
16239         (SetViewer): ditto
16240         * bufferlist.C (getFileNames): ditto
16241         (emergencyWriteAll): ditto
16242         (exists): ditto
16243         (getBuffer): ditto
16244         * MenuBackend.C (hasSubmenu): ditto
16245         (hasMenu): ditto
16246         (getMenu): ditto
16247         * BufferView_pimpl.C (getInsetByCode): ditto
16248
16249 2001-04-18  Juergen Vigna  <jug@sad.it>
16250
16251         * vspace.C (asLatexString): fixed the 100% problem.
16252
16253 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16254
16255         * lyxfunc.C (Dispatch):
16256         * minibuffer.C:
16257         * minibuffer.h: add a few std:: qualifiers
16258
16259 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16260
16261         * minibuffer.[Ch]: reimplement so that commands is initiated and
16262         run from lyxfunc, simplified som handling, and made the completion
16263         and history code for complete. wip.
16264
16265         * lyxfunc.C (processKeySym): call message
16266         (miniDispatch): new temporary method
16267         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16268         (LFUN_MESSAGE): implement
16269         (LFUN_MESSAGE_PUSH): implement
16270         (LFUN_MESSAGE_POP): implement
16271         (initMiniBuffer): the initial/defualt minibuffer message.
16272
16273         * lyxfont.[Ch]: inline some more getters
16274
16275         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16276
16277         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16278
16279         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16280         (AutoSave): use LFUN_MESSAGE
16281         (Reconfigure): ditto
16282
16283         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16284
16285         * figureForm.C: use LFUN_MESSAGE
16286
16287         * converter.C (runLaTeX): use LFUN_MESSAGE
16288
16289         * bufferview_funcs.C: use LFUN_MESSAGE
16290         (Melt): ditto
16291         (changeDepth): ditto
16292
16293         * bufferparams.h: use boost::
16294
16295         * bufferlist.h: inherit privately from noncopyable
16296
16297         * bufferlist.C (loadLyXFile): remove some commented code.
16298
16299         * buffer.C (runChktex): use LFUN_MESSAGE
16300
16301         * ShareContainer.h: inherit privately from noncopyable
16302
16303         * ParagraphParameters.[hC] (depth): inline it.
16304
16305         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16306         methods.
16307         (message): new method
16308         (messagePush): ditto
16309         (messagePop): ditto
16310         (show): init minibuffer
16311         (showState): direct call
16312
16313         * LaTeX.[Ch]: inherit privately from noncopyable
16314         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16315         instead of WriteStatus.
16316
16317         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16318
16319         * BufferView_pimpl.C (buffer): don't init minibuffer
16320         (workAreaButtonPress): use LFUN_MESSAGE
16321         (workAreaButtonRelease): ditto
16322         (savePosition): ditto
16323         (restorePosition): ditto
16324         (MenuInsertLyXFile): ditto
16325         (workAreaExpose): don't init minibuffer
16326         (update): remove commented code, simplify
16327
16328         * BufferView2.C (openStuff): use LFUN_MESSAGE
16329         (toggleFloat): ditto
16330         (menuUndo): ditto
16331         (menuRedo): ditto
16332         (copyEnvironment): ditto
16333         (pasteEnvironment): ditto
16334         (copy): ditto
16335         (cut): ditto
16336         (paste): ditto
16337         (gotoInset): ditto
16338         (updateInset): remove some commented code
16339
16340         * lastfiles.h: inherit privately from noncopyable
16341         * layout.h: ditto
16342         * lyx_gui.h: ditto
16343         * lyx_main.h: ditto
16344         * lyxlex.h: ditto
16345         * lyxlex_pimpl.h: ditto
16346
16347         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16348         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16349         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16350
16351         * LyXAction.h: inherit privately from noncopyable, add methods
16352         func_begin, func_end, returning iterators to the func map.
16353
16354         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16355         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16356         (func_begin): new method
16357         (func_end): new method
16358
16359         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16360         and not)
16361         (copySelection): ditto
16362         (pasteSelection): ditto
16363
16364         * BufferView.C: whitespace change
16365         * BufferView.h: inherit privately from noncopyable
16366
16367 2001-04-16  Allan Rae  <rae@lyx.org>
16368
16369         * tabular-old.C (l_getline):
16370         * spellchecker.C (sc_check_word):
16371         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16372         an unrecognised preprocessor directive.  So ensure they're wrapped.
16373
16374 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * src/exporter.C (Export): Give an error message when path to file
16377         contains spaces.
16378
16379 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * LaTeX.C (deplog): Always check that foundfile exists.
16382
16383 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * lyx_main.h:
16386         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16387
16388 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * tabular.[Ch] (getLabelList): implement new method
16391
16392         * minibuffer.h: comment ouf setTiimer
16393
16394         * minibuffer.C (ExecutingCB): constify res
16395         (peek_event): constify s
16396         (Set): constify ntext
16397         (Init): constify nicename
16398
16399         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16400
16401         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16402         (savePosition): use two params to Minibuffer::Set
16403         (restorePosition): ditto
16404
16405 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16406
16407         * lyx_main.C: include language.h
16408
16409         * Makefile.am (lyx_main.o): add language.h
16410
16411 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16412
16413         * exporter.C:
16414         * paragraph.C:
16415         * screen.C:
16416         * tabular.C:
16417         * CutAndPaste.C: include gettext.h
16418
16419         * lyxfont.h: remove old hack with ON and OFF.
16420
16421         * lyxparagraph.h:
16422         * lyxfont.h: do not include language.h...
16423
16424         * BufferView2.C:
16425         * LaTeXFeatures.C:
16426         * Painter.C:
16427         * bufferview_funcs.C:
16428         * font.C:
16429         * lyxfont.C:
16430         * text.C:
16431         * text2.C:
16432         * trans_mgr.C:
16433         * paragraph.C: ... but do it here instead
16434
16435 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16436
16437         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16438
16439         * tabular.C: small reformat
16440
16441         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16442         NEW_INSETS version
16443         (GetChar): ditto
16444         (BreakParagraph): ditto
16445         (SetOnlyLayout): ditto
16446         (SetLayout): ditto
16447
16448         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16449         with one arg less.
16450
16451         * lastfiles.C: removed most using decl, add std:: where needed
16452
16453         * buffer.C: ws changes
16454
16455         * MenuBackend.C (class compare_format): put into anon namespace
16456         (expand): constify label, names, action, action2
16457         (expand):
16458
16459         * text.C (SingleWidth): constify font
16460         (IsBoundary): constify rtl2
16461         (GetVisibleRow): constify ww
16462
16463         * LaTeX.C (deplog): constify logfile
16464
16465         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16466         start_x, end_x
16467         (workAreaExpose): constify widthChange, heightChange
16468
16469         * lyxrow.C (par): moved
16470         (height): moved
16471         (next): moved
16472         * lyxrow.h: as inlines here
16473
16474         * lyxfont.h (shape): moved from lyxfont.C
16475         (emph): moved from lyxfont.C
16476
16477         * lyxfont.C (LyXFont): use initialization list for all
16478         constructors
16479         (shape): move to lyxfont.h as inline
16480         (emph): move to lyxfont.h as inline
16481
16482
16483 2001-04-04  Juergen Vigna  <jug@sad.it>
16484
16485         * vspace.C: had to include stdio.h for use of sscanf
16486
16487 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16488
16489         * BufferView.h:
16490         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16491         independent of xforms.
16492
16493 2001-04-02  Juergen Vigna  <jug@sad.it>
16494
16495         * spellchecker.C: fixed namespace placing!
16496
16497 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16498
16499         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16500         the LyXParagraph * is 0.
16501
16502 2001-03-29  Juergen Vigna  <jug@sad.it>
16503
16504         * vspace.C: added support for %, c%, p%, l%.
16505         (stringFromUnit): added helper function.
16506         (asLatexString): changed to give right results for the %-values.
16507
16508         * buffer.C: convert the widthp in a width%.
16509
16510 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16511
16512         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16513         figureForm.[Ch].
16514
16515         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16516         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16517
16518         * lyx_cb.[Ch]: see above.
16519
16520         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16521         form1.[Ch].
16522
16523         * form1.[Ch]:
16524         * lyx.[Ch]: replaced by figure_form.[Ch].
16525
16526         * lyx_gui.C:
16527         * lyx_gui_misc.C:
16528         * lyxfunc.C: changed headers associated with above changes.
16529
16530 2001-03-27  Juergen Vigna  <jug@sad.it>
16531
16532         * BufferView_pimpl.C: set the temporary cursor right!
16533
16534 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16535
16536         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16537
16538 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16539
16540         * LString.h: removed "using std::getline"!
16541
16542         * BufferView_pimpl.C (Dispatch): changes due to changes in
16543         InsetInclude::Params.
16544
16545         * buffer.C (tag_name): removed redundant break statements as they were
16546         producing lots of warnings with my compiler.
16547
16548 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16549
16550         * LString.h: add "using std::getline" when using the real <string>.
16551
16552 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16553
16554         * buffer.C: removed bitset usage.
16555         PAR_TAG moved to an anonymous name space.
16556         (tag_name): new funtion, also in the anonymous namespace.
16557         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16558         (makeDocBookFile): clean code. Completed transition from string arrays
16559         to string vectors.
16560         (SimpleDocBookOnePar): code clean.
16561
16562 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16563
16564         * tabular.C: add some comments.
16565
16566 2001-03-22  Juergen Vigna  <jug@sad.it>
16567
16568         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16569         compatibility read a bit and fixed bug with minipage in different
16570         depth.
16571
16572 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16573
16574         * buffer.C (pop_tag): removed.
16575         (push_tag): removed.
16576         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16577         array replaced with vector. Added support for CDATA sections.
16578         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16579         at any nest level.
16580         (makeDocBookFile): XML conformant declaration of CDATA section,
16581         fixed bug related to <emphasis> in the first paragraph char.
16582         (sgmlOpenTag): exclude empty tags.
16583         (sgmlCloseTag): ditto.
16584
16585         * buffer.h (pop_tag): removed.
16586         (push_tag): removed.
16587
16588 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16589
16590         * language.h (Languages): added size_type and size().
16591
16592 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16593
16594         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16595         response on compability reading of minipages. One probliem is that
16596         the old usage of minipages was «flertydig»
16597
16598         * several files here and in subdirs: don't use static at file
16599         scope use anon namespaces instead.
16600
16601 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16602
16603         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16604         LaTeX output. This is necessary for Literate document
16605         processing.
16606
16607 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16608
16609         * buffer.C: insert hfill when needed.
16610
16611         * tabular.C (l_getline): use string::erase, small whitespace change.
16612
16613         * BufferView_pimpl.C: try the anon namespace.
16614         * WorkArea.C: ditto
16615
16616 2001-03-16  Juergen Vigna  <jug@sad.it>
16617
16618         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16619         otherwise it won't open options-dialogs.
16620
16621         * buffer.C: honor pextraWidth(p) on converting minipages.
16622
16623         * tabular.C (l_getline): changed the functions to strip trailing \r.
16624
16625 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16626
16627         * BufferView_pimpl.C:
16628         * minibuffer..C: added "using SigC::slot" declaration.
16629
16630 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16631
16632         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16633
16634         * text2.C: ditto
16635
16636         * text.C: ditto
16637
16638         * paragraph.C: ditto
16639
16640         * lyxtext.h: NO_PEXTRA
16641
16642         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16643
16644         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16645         * ParameterStruct.h: ditto
16646         * ParagraphParameters.h: ditto
16647         * lyxparagraph.h: ditto
16648
16649 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16650
16651         * buffer.C: add compability for minipage alignment.
16652         (latexParagraphs): remove unwanted pextra check.
16653
16654         * several files: remove CXX_WORKING_NAMESPACES
16655
16656         * buffer.C (pop_tag): tie is in namespace boost
16657
16658         * BufferView.h: noncopyable is in namespace boost
16659         * lyxlex.h: ditto
16660         * lyx_main.h: ditto
16661         * lyx_gui.h: ditto
16662         * layout.h: ditto
16663         * lastfiles.h: ditto
16664         * bufferlist.h: ditto
16665         * ShareContainer.h: ditto
16666         * LyXView.h: ditto
16667         * LyXAction.h: ditto
16668         * LaTeX.h: ditto
16669
16670 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16671
16672         * Merging changes from BRANCH_MVC back into HEAD.
16673
16674         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16675
16676 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16677
16678         * BufferView_pimpl.C: change from intl.C
16679
16680         * combox.h:
16681         * combox.C:
16682         * Makefile.am: move combox.*
16683
16684         * form1.h:
16685         * form1.C:
16686         * lyx_gui.C:
16687         * intl.h:
16688         * intl.C: remove dialog (covered by prefs)
16689
16690 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16691
16692         * lyxfunc.C (Dispatch): removed redundant break statement.
16693
16694 2001-03-14  Juergen Vigna  <jug@sad.it>
16695
16696         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16697
16698 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16699
16700         * buffer.C: add hack to fix compability reading of minipages.
16701
16702 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16703
16704         * buffer.C (getLists): Cleanup.
16705
16706 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * lyxfont.C (update): don't honor toggleall on font size.
16709
16710 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16711
16712         * bmtable.c:
16713         * bmtable.h:
16714         * Makefile.am: moved to frontends/xforms/
16715
16716         * lyx_gui_misc.C:
16717         * lyxfunc.C:
16718         * BufferView_pimpl.C: changes for moved mathpanel
16719
16720 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * gettext.h: fix gettext_init() in --disable-nls
16723
16724 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16725
16726         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16727
16728 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16729
16730         * lyx.C:
16731         * lyx.h: strip external form
16732
16733 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16734
16735         * BufferView_pimpl.C: add comment, destroySplash()
16736
16737 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16738
16739         * BufferView_pimpl.C:
16740         * LyXAction.C:
16741         * buffer.C:
16742         * commandtags.h:
16743         * lyxfunc.C: use re-worked insetinclude
16744
16745 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16746
16747         * buffer.C: add using std::stringstream.
16748
16749         * lyx_cb.C: readd using std::ios.
16750
16751         * buffer.C: add using std::map.
16752
16753         * BufferView_pimpl.C: add using std::vector.
16754
16755         * ShareContainer.h: add std:: to swap.
16756
16757         * buffer.h: add some typedefs
16758         * buffer.C (getLists): use them
16759         (getLists): renamed from getTocList.
16760         add a counter for the different float types and use it in the
16761         generated string.
16762         (getLists): use the same counter for the NEW_INSETS and the "non"
16763         NEW_INSETS
16764
16765         * lyx_cb.h: remove unused items, includes, using etc.
16766
16767         * ShareContainer.h: remove some commented code, add more comments
16768         and "documentation".
16769
16770 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16771
16772         * buffer.C (getTocList): make the list also when NEW_INSETS is
16773         defined.
16774
16775         * buffer.h: remove TocType
16776
16777         * buffer.C (getTocList): change to return a map<string,
16778         vector<TocItem> >, implement for dynamic number of list.
16779
16780         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16781         * text2.C (PasteSelection): adjust
16782         * CutAndPaste.C (pasteSelection): adjust
16783
16784         * FloatList.C (FloatList): update from the new_insets branch.
16785         * Floating.[Ch]: ditto
16786         * LaTeXFeatures.C: ditto
16787         * buffer.C: ditto
16788         * lyxlex_pimpl.C: ditto
16789
16790         * paragraph.C (Last): remove when NEW_INSETS is defined.
16791
16792         * other file: changes because of the above.
16793
16794 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16795
16796         * lyxparagraph.h: rename next to next_, previous to previous_,
16797         make them private for NEW_INSETS. Rename Next() to next(),
16798         Previous() to previous().
16799
16800         * other files: changes because of the above.
16801
16802 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16803
16804         * BufferView.h:
16805         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16806         problem.
16807
16808 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16809
16810         * main.C (main): pass lyx_localedir to gettext_init().
16811
16812         * gettext.h: remove locale_init and gettext_init macros
16813
16814         * gettext.C (locale_init): new function
16815         (gettext_init): new function
16816
16817         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16818         setlocale().
16819
16820 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16821
16822         * Moved credits to frontends:
16823         * credits.[Ch]: removed
16824         * credits_form.[Ch]: removed
16825         * lyx_gui_misc.C: remove credits stuff
16826         * Makefile.am:
16827
16828 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16829
16830         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16831
16832         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16833         unneeded destructor.
16834
16835         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16836         a standalone pointer again.
16837
16838         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16839
16840 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16841
16842         * Makefile.am:
16843         * filedlg.h:
16844         * filedlg.C:
16845         * LyXAction.C:
16846         * ToolbarDefaults.C:
16847         * bufferlist.C:
16848         * commandtags.h:
16849         * form1.C:
16850         * form1.h:
16851         * lyx_cb.C:
16852         * lyx_cb.h:
16853         * lyxfunc.h:
16854         * lyxfunc.C:
16855         * BufferView_pimpl.C: use new file dialog in GUII
16856
16857         * lyx_cb.h:
16858         * lyx_cb.C: remove LayoutsCB to Toolbar
16859
16860 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16861
16862         * ShareContainer.h (get): add std:: qualifier
16863
16864 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16865
16866         * ShareContainer.h: define a proper ShareContainer::value_type
16867         type (and use typename to please compaq cxx)
16868
16869 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16870
16871         * lyxparagraph.h: move serveral local vars to
16872         ParameterStruct/ParagraphParameters., use ShareContainer in
16873         FontTable., make vars in FontTable private and add getter and
16874         setter.
16875
16876         * paragraph.C: changes because of the above.
16877
16878         * lyxfont.h: remove copy constructor and copy assignment. (the
16879         default ones is ok), move number inside FontBits. move inlines to
16880         lyxfont.C
16881
16882         * lyxfont.C: add number to initializaton of statics, move several
16883         inlines here. constify several local vars. some whitespace
16884         cleanup. Dont hide outerscope variables.
16885
16886         * Spacing.h: add two new constructors to match the set methods.
16887
16888         * ShareContainer.h: new file, will perhaps be moved to support
16889
16890         * ParameterStruct.h: new file
16891
16892         * ParagraphParameters.h: new file
16893
16894         * ParagraphParameters.C: new file
16895
16896         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16897         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16898
16899         * BufferView_pimpl.C: ParagraphParameter changes.
16900         * buffer.C: Likewise.
16901         * bufferview_funcs.C: Likewise.
16902         * text.C: Likewise.
16903         * text2.C: Likewise.
16904
16905 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16906
16907         * lyxfind.C (LyXReplace): do not redefine default argument in
16908         implementation.
16909         (IsStringInText): ditto
16910         (SearchForward): ditto
16911         (SearchBackward): ditto
16912
16913 2001-03-06  Juergen Vigna  <jug@sad.it>
16914
16915         * lyxfind.C (IsStringInText): put parentes around expressions.
16916
16917 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16918
16919         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16920
16921 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16922
16923         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16924
16925         * stl_string_fwd.h: add comment
16926
16927         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16928
16929         * tabular.h:
16930         * tabular.C: remove unused DocBook methods
16931
16932         * intl.C:
16933         * language.C:
16934         * paragraph.C:
16935         * buffer.C:
16936         killed DO_USE_DEFAULT_LANGUAGE
16937
16938 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16939
16940         * lyx_gui.C: do not include language.h.
16941
16942         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16943         arguments in function implementation.
16944
16945 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16946
16947         * BufferView_pimpl.C: add <ctime>
16948
16949 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16950
16951         * BufferView_pimpl.C: add using std::find_if
16952
16953 2001-02-27  José Matos  <jamatos@fep.up.pt>
16954
16955         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16956         by OnlyPath.
16957
16958 2001-02-11  José Matos  <jamatos@fep.up.pt>
16959
16960         * buffer.C (makeDocBookFile): command styles now have a parameter as
16961         "title" by default.
16962
16963 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16964
16965         * layout_forms.[Ch]: removed
16966         * lyx_cb.[Ch]: out character
16967         * lyx_gui.C: out character
16968         * lyx_gui_misc.C: out character
16969         * bufferview_funcs.C: : out character,
16970         added toggleall as parameter in ToggleAndShow
16971
16972 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16973
16974         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16975
16976         * text2.C (SetCurrentFont): Disable number property at boundary.
16977
16978 2001-02-26  Juergen Vigna  <jug@sad.it>
16979
16980         * lyxfunc.C (getStatus): added a string argument override function so
16981         that this is correctly called from LyXFunc::Dispatch if it contains a
16982         do_not_use_argument which is used!
16983         (Dispatch): added check for "custom" export and call appropriate func.
16984
16985 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16986
16987         * lyxrc.C: Add language_command_local, language_use_babel and
16988         language_global_options.
16989
16990         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16991
16992         * buffer.C (makeLaTeXFile): Use language_use_babel and
16993         language_global_options.
16994
16995 2001-02-23  Juergen Vigna  <jug@sad.it>
16996
16997         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16998         which works with LyXText and putted it inside BufferView. Here now we
16999         only call for that part the BufferView::Dispatch() function.
17000
17001         * BufferView.C (Dispatch): added.
17002
17003         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17004         functions which needs to use a LyXText over from LyXFunc.
17005         (MenuInsertLyXFile): added
17006         (getInsetByCode): added
17007         (moveCursorUpdate): added
17008         (static TEXT): added
17009
17010 2001-02-22  Juergen Vigna  <jug@sad.it>
17011
17012         * BufferView_pimpl.C (update): call a status update to see if LyXText
17013         needs it.
17014
17015 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17016
17017         * vc-backend.C (revert): implement for CVS
17018         (getLog): implement for CVS
17019
17020 2001-02-20  Juergen Vigna  <jug@sad.it>
17021
17022         * text2.C (ClearSelection): added BufferView param for inset_owner call
17023
17024         * lyxfunc.C (TEXT): added this function and use it instead of
17025         directly owner->view()-text of getLyXText().
17026
17027 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17028
17029         * src/layout_forms.C: out preamble
17030         * src/layout_forms.h: out preamble
17031         * src/lyx_cb.C: out preamble
17032         * src/lyx_cb.h: out preamble
17033         * src/lyx_gui.C: out preamble
17034         * src/lyx_gui_misc.C: out preamble
17035         * src/lyxfunc.C: connect with guii preamble
17036
17037 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17038
17039         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17040
17041 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17042
17043         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17044         whether to run bibtex.
17045
17046 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17047
17048         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17049
17050 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17051
17052         * Makefile.am (lyx_SOURCES): removed bibforms.h
17053
17054         * vspace.h: doxygen
17055
17056         * text.C (GetVisibleRow): make several local vars const
17057
17058         * tabular.C: small cleanup.
17059
17060         * lyxserver.C (callback): use compare instead of strncmp
17061
17062         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17063         inlines to after class or to paragraph.C
17064
17065         * lyxfont.h: remove friend operator!=
17066
17067         * converter.h: move friend bool operator< to non friend and after
17068         class def.
17069
17070         * combox.h: small cleanup
17071
17072         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17073         to inlines after class def.
17074
17075         * buffer.C (pop_tag): use string operations instead of strcmp
17076
17077         * bmtable.c: doxygen, small cleanup
17078
17079         * LaTeX.h: remove friend operator==
17080
17081 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17082
17083         * screen.C:
17084         * lyxrc.[Ch]:
17085         * lyxfunc.C:
17086         * lyxfont.[Ch]:
17087         * lyx_cb.C:
17088         * intl.[Ch]:
17089         * commandtags.h:
17090         * buffer.C:
17091         * WorkArea.[Ch]:
17092         * LyXAction.C:
17093         * BufferView_pimpl.C:
17094         * BufferView.[Ch]: remove cruft
17095
17096 2001-02-14  Juergen Vigna  <jug@sad.it>
17097
17098         * lyxfunc.C: removed #if 0 unused code
17099
17100         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17101
17102         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17103
17104         * text2.C (SetSelection): added a BufferView * parameter
17105
17106 2001-02-13  Juergen Vigna  <jug@sad.it>
17107
17108         * lyxfunc.C (Dispatch): fixed protected blank problem.
17109         * BufferView2.C (protectedBlank): added LyxText * parameter.
17110
17111         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17112         (AppendColumn): same as above for column_info.
17113
17114         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17115         (moveCursorUpdate): use a LyXText param for support of InsetText.
17116
17117         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17118         (tripleClick): ditto
17119
17120         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17121
17122         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17123
17124         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17125
17126         * text2.C (SetSelection): set correct update status if inset_owner
17127         (ToggleFree): ditto
17128
17129 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17130
17131         * tabular.C: remove some commented code.
17132
17133 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17134
17135         * BufferView_pimpl.C: call hideSplash()
17136
17137         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17138
17139         * include_form.h:
17140         * bibforms.h: remove
17141
17142         * lyxfunc.C:
17143         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17144           add LFUN_CHILD_CREATE
17145
17146         * counters.h: fix tiny typo
17147
17148         * lyx_cb.C:
17149         * lyx.h:
17150         * lyx_gui.C:
17151         * lyx.C: move splash to frontends/xforms/
17152
17153         * lyx_gui_misc.C: move Include and Bibform to frontends
17154
17155         * lyxvc.h: clarify comment
17156
17157         * vspace.C: tiny housekeeping
17158
17159 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17160
17161         * text.C (PrepareToPrint): RTL Fix.
17162
17163         * paragraph.C (GetUChar): New method.
17164         (String):  Use GetUChar.
17165
17166         * buffer.C (asciiParagraph): Use GetUChar.
17167
17168 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17169
17170         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17171
17172 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17173
17174         * buffer.h:
17175         * buffer.C: rename to getLogName(), handle
17176           build log / latex log nicely
17177
17178 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17179
17180         * MenuBackend.C:
17181         * MenuBackend.h: remove support for reference menuitem type.
17182
17183 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17184
17185         * BufferView_pimpl.C: housekeeping
17186         * BufferView_pimpl.h:
17187         * LyXView.h:
17188         * Makefile.am:
17189         * Timeout.C:
17190         * Timeout.h:
17191         * minibuffer.h: move Timeout GUI-I
17192
17193 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17194
17195         * lyxrc.C (read): Update converters data-structures.
17196
17197 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17198
17199         * LaTeX.h (operator!=): add operator != for Aux_Info
17200
17201 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17202
17203         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17204
17205         * LaTeXLog.C: deleted, useful code moved to Buffer
17206
17207         * buffer.h:
17208         * buffer.C: new function getLatexLogName()
17209
17210         * lyx_gui_misc.C:
17211         * lyx_gui.C:
17212         * lyxvc.C:
17213         * lyxvc.h:
17214         * lyxfunc.C: use frontends for LaTeX and VC logs
17215
17216 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * LaTeX.h: yet another std:: that Allan forgot.
17219
17220         * Variables.C (set): renamed from isset(), because this clashes
17221         with some HP-UX macros (grr).
17222
17223 2001-02-06  Allan Rae  <rae@lyx.org>
17224
17225         * LaTeX.h: Another bug fix.  Missing std:: this time.
17226
17227 2001-02-04  Allan Rae  <rae@lyx.org>
17228
17229         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17230         floats problem. I've left it commented out because it's not quite
17231         correct.  It should also test that the current object is a table or
17232         figure inset.  But I haven't gotten around to figuring out how to do
17233         that.  I *think* it'll be something like: "table" == inset.type()
17234
17235         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17236         bool.
17237
17238 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17239
17240         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17241         all the citation/databases/styles in the auxilary file.
17242         (run): Rerun latex if there was a babel language error.
17243
17244 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17245
17246         * text.C (Backspace): Preserve the font when changing newline char
17247         with a space.
17248         (BreakParagraph): If the cursor is before a space, delete the space.
17249
17250         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17251
17252 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17253
17254         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17255         new argument (code).
17256         (ChangeCitationsIfUnique): New method.
17257
17258         * paragraph.C (GetPositionOfInset): Handle bibkey.
17259
17260 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17261
17262         * BufferView_pimpl.h: change type of Position::par_pos to
17263         LyXParagraph::size_type.
17264
17265 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17266
17267         * BufferView_pimpl.C (savePosition, restorePosition): Write
17268         messages to minibuffer.
17269
17270 2001-01-28  José Matos  <jamatos@fep.up.pt>
17271
17272         * buffer.C (makeDocBookFile): adds support for document language.
17273         A silly restriction on the name of LatexCommand types where removed.
17274         Added support for CDATA sections, allows to chars unescaped, used
17275         among others in code, to avoid escape < and >.
17276
17277 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17280         saved positions instrad of a stack. Furthermore, a position is
17281         stored using paragraph id/paragraph position.
17282
17283         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17284         Remove LFUN_REF_BACK.
17285
17286 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17287
17288         * converter.C (dvipdfm_options): New method.
17289
17290 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17291
17292         * vspace.C (isValidLength): Fix for empty input string.
17293
17294 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17295
17296         * LyXAction.C (init): change description of LFUN_FIGURE to
17297         "Insert Graphics"
17298
17299 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * LaTeX.C: add using directive
17302
17303 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17304
17305         * MenuBackend.C (expand): Fix the sorting of the formats.
17306
17307 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17308
17309         * lyx_main.C: tiny error message fix
17310
17311 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17314         calling fl_initialize(). This fixes the problem with ',' as
17315         decimal separator in text files.
17316
17317 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17318
17319         * trans.C (process): Fix the keymap bug.
17320
17321 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17322
17323         * LaTeX.C (scanAuxFiles): New method. Provides support for
17324         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17325         (scanLogFile) Scan for "run BibTeX" messages.
17326
17327         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17328         OT1 font encoding. Also, load the aecompl package if the ae
17329         package is loaded.
17330
17331         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17332
17333 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17334
17335         * texrow.C (increasePos): turn two error messages into debug
17336         messages.
17337
17338 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17339
17340         * LaTeX.C (scanAux): Handle the \@input macro.
17341         (runBibTeX): Use scanAux().
17342
17343         * language.C (latex_options_): New field.
17344
17345         * LaTeXFeatures.C (getMacros): Add language macros.
17346
17347         * buffer.C (makeLaTeXFile): Small fix.
17348
17349 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17350
17351         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17352
17353         * text2.C: add a using directive.
17354
17355 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17356
17357         * BufferView2.C:
17358         * lyx_gui_misc.h:
17359         * lyxfr1.C:
17360         * lyxfunc.C: kill LyXBell.
17361
17362 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17363
17364         * text.C (IsBoundary): Remove the error message
17365
17366         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17367
17368         * lyxrc.C (setDefaults): Correct initialization value for
17369         font_norm_type.
17370
17371 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17372
17373         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17374         gotoError().
17375
17376         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17377         and GotoNextNote().
17378
17379         * src/LyXAction.C: Added reference-next.
17380
17381         * text.C (InsertChar): Use contains instead of strchr.
17382
17383         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17384
17385 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17386
17387         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17388         alignment commands (when needed).
17389
17390         * text.C (InsertChar): Add ':' to number separator chars.