]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9fa0b2249e6e9cde98dd648687ccfe91b8878ad2
[lyx.git] / src / ChangeLog
1 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
2
3         * text2.C: fix for stuck cursor when traversing two 
4         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
5
6 2005-02-25  Andreas Vox  <avox@arcor.de>
7
8         * output_docbook.C (makeParagraph): suppress trailing newline
9         after a run of paragraphs
10
11 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
12
13         * paragraph.C: fix for confused change tracker when pasting
14         text that begins with a lineseparator. [bug 1827]
15         (setChange(0, Change::INSERTED);)
16        
17         * paragraph_funcs.C: fix for lost changes on triple-paste
18         in change tracking mode [bug 1827] (par.setChange()).
19
20 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * text2.C (updateCounters, setCounter, expandLabel): move to
23         buffer_funcs.
24
25         * buffer_funcs.C (updateCounters): turn into a free standing
26         function and add a buffer parameter. Remove dead code for tracking
27         labelstring change.
28         (setCounter): change into a free-standing function which gets a
29         dociterator as argument. Use this iterator to fix captions in a
30         simple way. When no float is found above the caption, use the
31         labelstring of the caption layout as default.
32
33         * text.C (breakParagraph, backspace): 
34         * text2.C (init, setLayout, changeDepth):
35         * text3.C (dispatch): 
36         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
37         updateCounters.
38
39         * dociterator.C (forwardPar): make it much faster by calling
40         forwardPos() only when really necessary.
41
42         * output_docbook.C (makeCommand): adapt to expandLabel move.
43
44         * cursor.C: remove unused variable
45
46 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
47
48         * paragraph_funcs.C: fix crash when pasting insets in change 
49         tracking mode [bug 1277] (honour change type in moveItem).
50
51 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
54
55 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * BufferView.C (setCursor): change to use a DocIterator.
58         (gotoLabel): use BufferView::setCursor (other part of bug 781).
59         (putSelectionAt): adapt to BufferView::setCursor change.
60
61         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
62         moved here from LyXText and rewritten to use proper cursor
63         methods. Fixes bug 1787, 616 and 835.
64
65         * BufferView_pimpl.C (restorePosition): set the cursor correctly
66         when inside an inset (part of bug 781).
67         (dispatch): adapt to change of BufferView::setCursor.
68         (getStatus, dispatch): handle LFUN_GOTOERROR,
69         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
70
71         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
72         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
73         * text3.C (gotoNextInset, gotoInset): removed.
74
75 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
78
79 2005-02-15  Angus Leeming  <leeming@lyx.org>
80
81         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
82         can be used meaningfully in a comparison.
83
84 2005-02-13  André Pönitz  <poenitz@gmx.net>
85
86         * bufferview_funcs.C (coordOffset): improve cursor drawing
87
88 2005-02-13  André Pönitz  <poenitz@gmx.net>
89
90         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
91         * Cursor.C (dispatch): use fixIfBroken
92         * lyxfunc.C (getStatus): use fixIfBroken
93
94 2005-02-15  Angus Leeming  <leeming@lyx.org>
95
96         * lyx_main.C (error_handler):
97         * lyxfunc.C:
98         * lyxrc.C (setDefaults):
99         s/GetEnv/getEnv/.
100         #include "environment.h".
101
102         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
103
104 2005-02-15  Angus Leeming  <leeming@lyx.org>
105
106         * lyxserver.C (startPipe): squash MSVC warning "local variable
107         'fd' used without having been initialized".
108
109 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * BufferView_pimpl.C: revert accidental commit.
112
113 2005-02-14  André Pönitz  <poenitz@gmx.net>
114
115         * dociterator.[Ch]: new member forwardPosNoDescent(),
116         which doesn't enter nested insets.
117         * text2.C (setFont): use forwardPosNoDescent() instead
118         of ForwardPos() (fixes crash on font change).
119
120 2005-02-13  Angus Leeming  <leeming@lyx.org>
121
122         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
123         only if lyxrc.path_prefix is not empty.
124
125 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * bufferparams.C (readGraphicsDriver): prevent crash
128
129 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * text2.C (setCounter): check for inInset() == 0
132
133 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
136         but use update() to get correct screen display; use convert
137         instead of istringstream. 
138         (getStatus): handle LFUN_GOTO_PARAGRAPH 
139
140         * lyxfunc.C (dispatch, getStatus): do not handle
141         LFUN_GOTO_PARAGRAPH here.
142
143 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
144
145         * text3.C (dispatch): size() -> depth()
146
147         * text2.C: remove some debug output
148
149         * paragraph.C: ws changes only
150
151         * lyxfunc.C (getStatus): size() -> depth()
152
153         * dociterator.h (clear, push_back, pop_back, internalData,
154         operator[], resize, empty): new functions
155         Make StableDocIterator and operator== be friends. Don't inherit
156         from std::vector use a privat class variable slices_ instead.
157         Modify to fit.
158
159         * dociterator.C: update because of not inheriting from std::vector
160         anymore. Call explictly to slices_ instead. Use depth() instead of
161         size() and top() instead of back()
162
163         * cursor.C: chagne size() -> depth and back() -> top(). Also
164         remove some direct operator[](i) calls in favour of foo[i]
165         (getFont): remove some dead code
166
167         * bufferview_funcs.C (coordOffset): size() -> depth()
168
169         * buffer.C: ws changes only
170
171         * CutAndPaste.C (eraseSelection): back() -> top()
172
173         * BufferView_pimpl.C (selectionRequested): back() -> top()
174
175         * BufferView.C (setCursor): size() -> depth()
176
177 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
178
179         * text3.C (cursorPrevious): return true if depm changed something
180         (cursorNext): ditto
181         (dispatch): rename sl to oldTopSlice, remove moving use the new
182         NoUpdate func attrib instead. Make sure that needsUpdate is set
183         for function that have NoUpdate, but where depm might have changed
184         the buffer anyway.
185
186         * text2.C (cursorLeft): make us return true if depm changed
187         something
188         (cursorRight): ditto
189         (cursorUpParagraph): ditto
190         (curosrDownParagraph): ditto
191         (cursorUp, cursorDown): ditto, make sure to read comments in code
192         (deleteEmptyParagraphMechanism): remove an assert, also return
193         true if just a single char was deleted.
194
195         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
196         cursor that we modify, to avoid modifying an active cursor before
197         we call setCursor. This allows depm to run. Also return true if
198         depm deleted something.
199
200         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
201         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
202         cursorDownParagraph, cursorPrevious and cursorNext, return true if
203         something was changed in the buffer because of them (ie. depm run)
204
205         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
206         debug messages. Make update by default be false. Make sure that
207         the result of update is retained throught several calls down to
208         dispatch.
209
210         * LyXAction.h: add a new func_attrib: NoUpdate
211
212         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
213         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
214         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
215         and LFUN_WORDLEFT
216         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
217
218 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
221         bv_->owner(), bv_->buffer() by direct references to the private
222         members.
223         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
224         (getStatus): isSavedPosition() is in BufferView::Pimpl.
225         (fitCursor): center() is in BufferView::Pimpl.
226         (getStatus, trackChanges, dispatch): no need for a temporary buf
227         variable
228         (fitCursor, workAreaDispatch): use workarea().workheight()
229
230 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
231
232         * CutAndPaste.C (pasteSelectionHelper): fix a crash
233
234 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
235
236         * buffer.C: format up to 241.
237         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
238         break if pasting into ERT
239         * lyxfunc.C (getStatus): suppress mathpanel and
240         LFUN_DIALOG_SHOW_NEW_INSET in ERT
241
242 2005-02-01  Angus Leeming  <leeming@lyx.org>
243
244         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
245
246 2005-02-01  Angus Leeming  <leeming@lyx.org>
247
248         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
249         calling fs::is_directory().
250
251 2005-01-31  Angus Leeming  <leeming@lyx.org>
252
253         * lyx_main.C (priv_exec): specify explicitly the relative location
254         of the top level build directory when run in-place.
255
256 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
259         LyXText containing the cursor, not the top-level one.
260
261         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
262         true.
263         (insertStringAsLines): rename par to pit; use temporary variable
264         par to hold a Paragraph; do not store par.layout() in a variable,
265         since the pointer may die when breaking paragraphs; pass pars to
266         breakParagraph() instead of Buffer::paragraphs().
267
268 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
269
270         * lyxlex_pimpl.h: #include <fstream>.
271
272         * BufferView.[Ch] (getLyXText): add a const version.
273
274         * BufferView_pimpl.C: add debug aids.
275
276         * RowList_fwd.h:
277         * buffer.h:
278         * lyxrow.h:
279         * paragraph_funcs.h: add commentary explaining what the class does.
280
281
282         * coordcache.[Ch]: add lots of commentary.
283         (startUpdating, doneUpdating): debug aids.
284         (arrays, insets, parPos, getParPos): accessors to private data.
285
286         * cursor_slice.[Ch] (text): add a const version.
287         * dociterator.[Ch] (text, innerText): add const versions.
288
289         * lyxtext.h (breakParagraph): change the keep_layout arg to a
290         bool.
291
292         * paragraph.C (getRow, pos2ros): add asserts.
293
294         * paragraph.h: add commentary. Lots of.
295
296         * paragraph.[Ch] (metrucs, draw): removed.
297
298         * cursor.C:
299         * rowpainter.[Ch]: const-correct changes.
300
301         * text.C: various obvious clean-ups. Removal of ancient cruft.
302         Bug fixes, even.
303
304 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
305
306         * vc-backend.C (find_file): rewrite to use boost.filesystem
307         (scanMaster): ditto
308
309         * main.C (main): set default name check for boost.filesystem to
310         no check
311
312         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
313         (open): ditto
314         (doImport): ditto
315         (actOnUpdatedPrefs): ditto
316
317         * lyx_main.C (init): rewrite to use boost.filesystem
318         (queryUserLyXDir): ditto
319
320         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
321         (getContentsOfAsciiFile): ditto
322
323         * lastfiles.C (readFile): rewrite to use boost.filesystem
324
325         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
326
327         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
328         (loadLyXFile): ditto
329
330         * buffer.C (Buffer): adjust for destroydir
331         (getLogName): rewrite to use boost.filesystem
332         (setFileName): ditto
333         (save): use fs::copy_file (from fs_extras)
334
335         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
336
337         * LaTeX.C (run): rewrite to use boost.filesystem
338         (scanAuxFiles): ditto
339         (handleFoundFile): ditto
340
341 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
344
345         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
346
347 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
348
349         * lyxlayout.[Ch]: change some vars from float to double
350
351         * buffer.C (readFile): make a local var const
352
353         * Several files: use convert<> instead of atoi,strToXXX and friends
354
355 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * LaTeXFeatures.[Ch]: Add a static list packages_ that
358         holds the contents of packages.lst. New functions getAvailable
359         and isAvailable to parse and check that list, resp.
360
361         * LyXAction.C:
362         * lfuns.h:
363         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
364
365         * bufferparams.[Ch]: new param output_changes.
366
367         * Buffer.C: increase file format to 240.
368         Use output_changes and isVailable.
369
370         * changes.[Ch]:
371         * paragraph.C:
372         * paragraph_pimpl.C: Use output_changes and isVailable.
373
374 2005-01-23  Angus Leeming  <leeming@lyx.org>
375
376         * output_latex.C: #include "insetbibitem.h", rather than
377         forward declare function bibitemWidest.
378
379 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
380
381         * lyx_main.C (init): make it compile on the Mac.
382
383 2005-01-20  Angus Leeming  <leeming@lyx.org>
384
385         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
386         (setLyXMisc): (char string literal) != (char string literal) is
387         performing a comparison on the addresses. Convert one operand
388         explicitly to string to guarantee expected behaviour.
389         From MSVC warning.
390
391 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
392
393         * buffer.C:
394         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
395
396         * output_plaintext.C: remove unneeded #include gzstream.h.
397
398 2005-01-20  Angus Leeming  <leeming@lyx.org>
399
400         * SpellBase.h: rename some of the elements of the Result enum.
401
402         * aspell_local.h:
403         * ispell.h:
404         * pspell.h:
405         * aspell.C (check):
406         * ispell.C (check):
407         * pspell.C (check): ditto
408
409 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
410
411         * buffer.C: add #include <fstream>.
412
413         * lyx_main.C (init): Compile fix.
414
415         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
416
417 2005-01-20  Angus Leeming  <leeming@lyx.org>
418
419         * mover.h: change commentary to reflect the changed meaning of
420         the $$s placeholder.
421
422 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * output_linuxdoc.C (linuxdocParagraphs): silence warning
425
426         * lyxfind.C (MatchString::operator()): remove bogus semicolon
427
428 2005-01-20  Angus Leeming  <leeming@lyx.org>
429
430         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
431         printing diagnostic data by not dereferecing an iterator past the
432         end.
433
434 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
435
436         * buffer.C (readHeader): use "&&" rather than "and".
437
438         * lyxserver.h (inPipeName, outPipeName): make these const.
439
440 2005-01-19  Angus Leeming  <leeming@lyx.org>
441
442         * lyx_main.C (error_handler, init): protect SIGHUP with
443         #ifdef SIGHUP guards.
444
445 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
448
449 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * text.C (setHeightOfRow): add a margin at the top and bottom of
452         the document (bug 1761)
453
454 2005-01-17  Angus Leeming  <leeming@lyx.org>
455
456         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
457         with "python ". Workaround for a brain-dead Windows.
458
459 2005-01-16  Angus Leeming  <leeming@lyx.org>
460
461         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
462         for MacOSX and Windows to use prependEnvPath.
463         Strip out the hard-coded block to add elements to the PATH for
464         MacOSX and replace it with a call to prependEnvPath using the
465         contents of LyXRC::path_prefix.
466         (queryUserLyXDir): strip out the code to run reconfigure, instead
467         returning a boolean indicating the necessity to do so.
468         (reconfigureUserLyXDir): contains the code to reconfigure the
469         user support directory. Is now called after the various LyXRC data
470         files have been read.
471
472         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
473
474 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
475
476         * converter.[Ch] (convert): take a new parameter try_default. Use
477         a default converter (imagemagick) if try_default is true.
478
479 2005-01-13  Angus Leeming  <leeming@lyx.org>
480
481         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
482         os::cygwin_path_fix.
483         (write): output LyXRC::cygwin_path_fix as necessary.
484
485 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
486
487         * lyxrc.h:
488         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
489
490 2005-01-12  Angus Leeming  <leeming@lyx.org>
491
492         * lyx_main.C (init): set the PATH variable to include the
493         directory containing the LyX binary when running on Mac or Windows.
494
495 2005-01-12  Angus Leeming  <leeming@lyx.org>
496
497         * lyx_main.C (init): remove cruft that purports to set the locale
498         dir. It doesn't and is not needed anyway.
499
500 2005-01-10  Angus Leeming  <leeming@lyx.org>
501
502         * Makefile.am: remove the lyx_main.C special casing.
503
504         * BufferView_pimpl.C:
505         * bufferlist.C:
506         * exporter.C:
507         * lyx_cb.C:
508         * lyx_main.C:
509         * lyxfunc.C:
510         * messages.C: use support/package.h to provide the paths to the
511         various directories used by LyX.
512
513 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
516         layout if pasting into an empty paragraph)
517
518 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
519
520         * tex-accent.C: add <string>
521
522 2005-01-06  José Matos  <jamatos@lyx.org>
523
524         * ParagraphParameters.C (write): put every parameter in its own line.
525         * paragraph.C (write): reduce number of consecutive empty lines exported.
526         * buffer.C (LYX_FORMAT): increase file format to 239.
527
528 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
529
530         * everywhere: change support/tostr.h -> support/convert.h
531
532         * tabular.C: make all write_attributes templates, tostr -> convert
533
534         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
535         (emptyTag): and -> &&, and fix type for ret from getChar
536         (getFirstWord): fix type for ret from getChar
537         (onlyText): and -> &&
538         (simpleDocBookOnePar): and not -> && !, fix type for ret from
539         getChar
540
541         * toc.C (goTo, action):
542         * text3.C (dispatch):
543         * text.C (currentState):
544         * tex-accent.C (DoAccent):
545         * sgml.C:
546         * lyxrc.C:
547         * lyxfunc.C (menuNew):
548         * lyxfinc.C (replace):
549         * counters.C (laberItem):
550         * bufferview_funcs.C (font2string):
551         * bufferparams.C (writeFile):
552         * buffer.C (readFile):
553         * Spacing.C (set):
554         * MenuBackend.C: tostr -> convert
555
556         * LaTeX.C (runMessage): fix format
557         (scanAuxFiles): tostr -> convert
558
559         * BufferView_pimpl.C (savePosition): fix format
560         (restorePosition): ditto
561         (dispatch): ditto
562
563 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * Spacing.[Ch]: New method getValueAsString().
566
567         * Spacing.[Ch]:
568         * bufferparams.C:
569         * ParagraphParameters.C:
570         * lyxlayout.C:
571         * text.C:
572         * text3.C: store/read spacing value as string.
573
574         * rowpainter.C: change float value (spacing_val) to double.
575
576         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
577         broken custom document spacing).
578
579 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
580
581         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
582         namespace, also more use of temp references and const
583
584         * cursor.[Ch] (getStatus): move to lyxfunc.C
585
586         * bufferparams.C: reformat slightly
587
588         * bufferview_funcs.C (font2string): constify arg
589
590         * changes.C:
591         * converter.C:
592         * counters.C:
593         * bufferlist.C:
594         * buffer_funcs.C: (many funcs): constify arg on function
595         definitions, also make more local vars const, also add ASSERTS on
596         pointer args.
597
598         * buffer.C (LYX_FORMAT): put const in correct place
599         (many funcs): constify arg on function definitions, also make
600         more local vars const
601
602         * aspell_local.h: remove "struct" from typdef setup
603
604         * aspell.C (check): make word_ok const
605         (nextMiss): simplify slightly
606         (error): ditto
607
608 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
609
610         * lyxrc.[Ch]: store all float values as strings.
611         use int (not float) for lyxrc.dpi.
612
613 2005-01-04  Angus Leeming  <leeming@lyx.org>
614
615         * lyx_cb.C (Reconfigure):
616         * lyx_main.C (queryUserLyXDir):
617         to run the <system_lyxdir>/configure correctly on Windows, prefix
618         the path to the script with "sh " when generating the string that
619         is passed to system().
620
621 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
622
623         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
624
625 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * lyxlength.C (asLatexString): get rid of setprecision
628
629 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * text2.C (setLayout): remove unused variable endpit.
632         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
633
634         * paragraph.C (onlyText): remove unused variable style.
635
636         * cursor.C (bruteFind): remove unused variables beg and end.
637
638         * Makefile.am (dist_noinset_DATA): not needed anymore
639
640         * cheaders/*: remove.
641
642 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * text3.C: fix LFUN_MATH_MODE.
645
646 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * buffer_funcs.C (countWords): new function. Counts words between
649         two iterators.
650
651         * BufferView_pimpl.C (getStatus, dispatch): handle
652         LFUN_WORDS_COUNT.
653
654         * LyXAction.C (init):
655         * lfuns.h: add LFUN_WORDS_COUNT.
656
657 2004-12-19  Angus Leeming  <leeming@lyx.org>
658
659         * buffer.C (save): s/slashify_path/internal_path/.
660
661 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * lyxfind.C (findChange): do not search for end of pars, because
664         the change tracker cannot handle this (fixes bug 1719).
665
666 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
667
668         * paragraph.[Ch] (autoBreakRows): remove
669
670         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
671
672         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
673         avoid using the paragraph one
674
675         * text2.C (LyXText, insertStringAsLines): adjust
676
677 2004-12-16  Angus Leeming  <leeming@lyx.org>
678
679         * bufferlist.C:
680         * lyx_main.C:
681         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
682
683 2004-12-14  Angus Leeming  <leeming@lyx.org>
684
685         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
686
687         * bufferlist.C (emergencyWrite):
688         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
689         GetEnvPath("HOME").
690
691 2004-12-14  Angus Leeming  <leeming@lyx.org>
692
693         * main.C: (main): no longer pass pointers to os::init.
694
695 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * undo.C (textUndoOrRedo): simplify logic, fix a crash
698         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
699
700 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * lyxfunc.C:
703         * text3.C: remove selection_possible global flag
704
705 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
706
707         * text2.C (getSelectionSpan): remove
708         (changeDepth, changeDepthAllowed): adjust
709
710 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
711
712         * Makefile.am (BOOST_LIBS): use boost variables
713
714 2004-12-03  José Matos  <jamatos@lyx.org>
715
716         * buffer.C: format up to 238.
717
718 2004-12-03  José Matos  <jamatos@lyx.org>
719
720         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
721
722 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
723
724         * cursor.C (goUpDown): remove call to idxUpDown2
725
726 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
727
728         * tabular.[Ch]: use size_t-like types for cell, row and column
729         indices
730
731 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * lyxfunc.C (getStatus): do not lose previous information when
734         calling BufferView::getStatus; do not set a default "Command
735         disabled" message at the beginning, but just before returning.
736
737 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * cursor.h (getStatus): add better comment from src/cursor.C
740
741 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * text3.C (getStatus): return false when the lfun is not handled
744
745 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * broken_headers.h: remove
748
749         * Makefile.am (lyx_SOURCES): remove broken_headers.h
750
751 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
754         offset_ref accessors
755
756         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
757         top_y_, merge fitcursor with update
758         (updateScrollbar, scrollDocView, fitCursor, center, update): new
759         coord scheme
760         (metrics): introduce
761         (workAreaDispatch): adapt to new coord scheme
762         (redoCurrentBuffer): remove
763
764         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
765
766         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
767         CurStatus enum.
768
769         * coordcache.[Ch]: add paragraph cache and helpers
770
771         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
772         adjust everywhere
773
774         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
775         (targetX, setTargetX): introduce
776
777         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
778         baseline -> ascent, as the rest of lyx
779
780         * lyxtext.h: remove redoParagraphs, updateParPositions,
781         fullRebreak, redoParagraphInternal. move dist to anon namespace in
782         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
783         have ascent/descent (ascent is ascent of first par)
784
785         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
786         step of BufferView
787
788         * paragraph.[Ch]: unify dimension handling with the rest of lyx
789
790         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
791
792         * pariterator.C: fix infinite loop introduced in par->pit renaming
793
794         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
795         in insets and LyXText, draw two off-screen paragraphs using
796         NullPainter, and adapt to new coord scheme
797
798         * text.C:
799         * text2.C:
800         * text3.C: adapt lfun handlers to the new coord scheme, which
801         means: there's only guaranteed coord information for onscreen pars
802         plus one above and one below. This implies that one can do search
803         from y coordinates in the range [-1,workHeight]
804
805 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * rename a lot of InsetOld to InsetBase
808
809 2004-11-25  Angus Leeming  <leeming@lyx.org>
810
811         * BufferView_pimpl.C:
812         * lyx_cb.C:
813         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
814
815 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
818         call BufferView::getStatus if LCursor::getStatus did nothing
819         (setStatusMessage, getStatusMessage): removed.
820
821         * FuncStatus.C (message): new methods. Used to provide an error
822         message indicating why a command is disabled.
823         (clear, |=, FuncStatus): update for message.
824
825 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * lyxfunc.C (dispatch): always call sendDispatchMessage
828
829 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
830
831         * BufferView.C:
832         * BufferView_pimpl.C:
833         * CutAndPaste.C:
834         * FontIterator.C:
835         * buffer.C:
836         * cursor.C:
837         * cursor_slice.[Ch]:
838         * dociterator.[Ch]:
839         * lyxfind.C:
840         * paragraph_funcs.C:
841         * pariterator.C:
842         * rowpainter.C:
843         * text.C:
844         * text2.C:
845         * text3.C:
846         * undo.C: par->pit renaming
847
848 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
849
850         * tabular.C (cellstruct): use initialization, store a shared_ptr
851         to insettext instead of the insettext directly, adjust to fit.
852         (operator=):  new function
853         (swap): new function
854         (rowstruct): use initialization
855         (columnstruct): use initialization
856         (ltType): use initialization
857
858
859         * lyxlength.h (swap): new function
860
861         * LColor.[Ch] (operator=): use the common semantics
862
863 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * lyxfind.C (findNextChange): update the bufferview after setting
866         the selection.
867
868 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
871         number of InsetOptArgs has already been inserted.
872
873         * output_latex.C (latexOptArgInsets): new method. This outputs all
874         the optarg insets, up to the limit defined in the layout file.
875         (optArgInset): removed
876         (TeXOnePar): call latexOptArgInsets; correctly update texrow
877
878 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * paragraph.C (isLetter): remove special spellchecker-related
881         code; return true also for digits
882         (isWord, isKomma): remove
883
884         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
885         * lyxfind.C (MatchString()): use isLetter instead of isWord
886
887 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
888
889         * pariterator.h (operatir=): comment out un-implemented member
890         function.
891
892         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
893         static cast.
894
895 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
896
897         * lyxfont.h: include LColor.h to satisfy concept checks.
898
899 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
900
901         * pariterator.h: add typdefs for value_type, difference_type,
902         pointer and reference to satisfy concept checks. Also add default
903         constructor for same reason.
904
905         * pariterator.C (operator++): add post-increment operator to
906         satisfy concept checks.
907
908         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
909         checks.
910
911         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
912
913         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
914         checks. Also rename base_type to BaseType to follow naming
915         standard better.
916
917         * FloatList.h: include Floating.h to satisfy concept checks.
918
919 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * lyxfunc.C (getStatus): when the origin of the request is menu or
922         toolbar, and the LyXView does not have focus, do as if there was
923         no buffer (bug 1720)
924
925         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
926         FuncRequest to individual entries of LFUN_SEQUENCE
927
928 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * output_latex.C (TeXOnePar): override runparams.moving_arg
931         according to the needprotect value of the current paragraph (bug
932         1739)
933
934         * paragraph.C (simpleTeXOnePar): no need to override
935         runparams.moving_args here
936
937 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
938
939         * vspace.C: fix off-by-one-error, related to fix #1682
940
941 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
942
943         * lengthcommon.C: a more general fix for bug 1682
944
945 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * text.C (backspace): fix crash
948
949 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
950
951         * format.[Ch] (getFormatFromFile): new method
952         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
953
954 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
957
958 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * lyxfunc.C (dispatch): remove the verbose argument
961         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
962         instead
963
964         * kbmap.C (defkey): set the origin of func to KEYBOARD
965
966         * MenuBackend.C (MenuItem):
967         * ToolbarBackend.C (add): set the origin of func to UI
968
969         * funcrequest.[Ch]: add origin member, which indicates which part
970         of LyX requests an action
971
972 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
973
974         * converter.C (move): don't lie in the error message
975         * converter.h (isReachable, move): document
976
977 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
978
979         * buffer.C: remove unused using lyx::support::atoi
980         * paragraph_funcs.C: ditto
981
982 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * bufferlist.C (exists): use bind and equal_to instead of
985         compare_memfun
986         (getBuffer): ditto
987         * lyxtextclasslist.C (NumberOfClass): ditto
988
989         * cursor.C (insert): use for_each instead of explicit for loop
990
991         * bufferlist.C (getFileNames): use std::transform and
992         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
993
994         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
995         for loop
996
997         * buffer.C (changeLanguage): use for_each instead of explicit for
998         loop
999         (hasParWithID): implement using getParFromID
1000
1001         * LaTeXFeatures.C: ws change only
1002
1003         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1004         to cleanup a bit.
1005
1006         * BufferView_pimpl.C (trackChanges): use for_each instead of
1007         expilicit for loop
1008
1009 2004-11-04  André Pönitz  <poenitz@gmx.net>
1010
1011         * undo.h:
1012         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1013
1014         * dociterator.C (asDocIterator): use hard assert again.
1015
1016 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1017
1018         * lyxlength.C (asLatexString): rewrite so that it does not use
1019         snprintf anymore
1020
1021 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * text3.C (specialChar, dispatch): make sure cursor moves to the
1024         right after inserting an inset
1025
1026 2004-11-02  José Matos  <jamatos@lyx.org>
1027
1028         * output_docbook.C (docbook):
1029         * paragraph.C (getID):
1030         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1031         garantee that the output is always legal.
1032
1033         * tabular.C (docbook):
1034         * outputprams.[Ch]: remove mixed contents.
1035
1036 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1037
1038         * text2.C (setCounter): prevent endless loop
1039
1040 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * exporter.C (copyFile): use the mover instead of support::copy()
1043         * exporter.C (Export): pass format and latex name to copyFile()
1044         * exporter.h (addExternalFile): document
1045         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1046
1047 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1048
1049         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1050
1051 2004-10-30  José Matos  <jamatos@lyx.org>
1052
1053         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1054         text and no inset or font change. This allows to use CDATA
1055         sections just for the whole paragraph.
1056
1057 2004-10-30  José Matos  <jamatos@lyx.org>
1058
1059         * paragraph.C (getFirstWord): remove unused variable.
1060
1061 2004-10-30  José Matos  <jamatos@lyx.org>
1062
1063         * paragraph.C (getFirstWord): the content should always be escaped
1064         there.
1065         (simpleDocBookOnePar):
1066         * output_docbook.C (makeEnvironment): replace reference to CDATA
1067         to style pass_thru.
1068
1069 2004-10-30  José Matos  <jamatos@lyx.org>
1070
1071         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1072
1073 2004-10-30  José Matos  <jamatos@lyx.org>
1074
1075         * output_docbook.C (makeParagraphs):
1076         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1077         standard paragraph has only a given type of content drop the wrapper.
1078
1079 2004-10-29  José Matos  <jamatos@lyx.org>
1080
1081         * output_docbook.C (makeEnvironment):
1082         * sgml.C (openTag):
1083         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1084
1085 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1086
1087         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1088         (cleanID): sanitize any id.
1089
1090 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1091
1092         * buffer.C, lyxlex_pimpl.C:
1093         * lyxlex_pimpl.C (setFile):
1094         s/getExtFromContents/getFormatFromContents/
1095
1096 2004-10-28  José Matos  <jamatos@lyx.org>
1097
1098         * output_docbook.C (makeEnvironment): move id to broadest possible
1099         scope.
1100
1101         * sgml.C (openTag): apply substitution of <> for all attributes.
1102
1103 2004-10-28  José Matos  <jamatos@lyx.org>
1104
1105         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1106         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1107         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1108
1109         * sgml.[Ch]: new version for open and closeTag for paragraph and
1110         for strings. Now they handle the ids of paragraphs.
1111
1112 2004-10-26  Angus Leeming  <leeming@lyx.org>
1113
1114         * Makefile.am: add mover.[Ch].
1115
1116         * converter.C (convert, move): use the new Movers to move external
1117         files to the temp directory.
1118
1119         * lyx_main.C (init): ensure that the global system_movers data
1120         is initialised.
1121
1122         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1123         preferences file.
1124
1125         * mover.[Ch]: new files, defining a Mover as a utility to move an
1126         external file between directories and, if necessary, manipulate this
1127         file using a helper script.
1128
1129 2004-10-25  José Matos  <jamatos@lyx.org>
1130
1131         * output_docbook.C (makeCommand): merge two if's that tested the
1132         same condition.
1133
1134 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1135
1136         * sgml.C (escapeString): fix warning in a better way
1137
1138 2004-10-25  José Matos  <jamatos@lyx.org>
1139
1140         * sgml.C (escapeString): import the require boosts header file for
1141         tie, and avoid a signed unsigned comparison.
1142
1143 2004-10-25  José Matos  <jamatos@lyx.org>
1144
1145         * sgml.h: add #include <string>
1146
1147 2004-10-25  José Matos  <jamatos@lyx.org>
1148
1149         * sgml.[Ch] (escapeString): new function to escape all the string.
1150
1151 2004-10-24  José Matos  <jamatos@lyx.org>
1152
1153         * paragraph.[Ch] (getFirstWord): new function to get the first
1154         word. Useful for description.
1155         (simpleDocBookOnePar): remove depth argument, add another that
1156         says where to start the paragraph.
1157
1158         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1159         use the new functions to fix cleanly the support for descriptions.
1160
1161 2004-10-24  José Matos  <jamatos@lyx.org>
1162
1163         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1164         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1165         * output_linuxdoc.C (linuxdocParagraphs):
1166         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1167         add buffer as argument.
1168
1169 2004-10-24  José Matos  <jamatos@lyx.org>
1170
1171         * output_docbook.C (makeEnvironment, searchEnvironment): place
1172         CDATA inside paragraphs and fix scope for listitems.
1173
1174 2004-10-24  José Matos  <jamatos@lyx.org>
1175
1176         * output_docbook.C: remove using statement for stack.
1177
1178 2004-10-23  José Matos  <jamatos@lyx.org>
1179
1180         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1181         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1182         docbook. The new scheme is recursive and makes use of iterators, the
1183         same as latex export works.
1184         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1185         directly with the paragraph contents. This code was moved up to
1186         output_docbook.C (docbookParagraphs).
1187         * sgml.C (openTag, closeTag): removed unneeded newlines.
1188         (closeEnvTags) removed.
1189
1190 2004-10-23  André Pönitz  <poenitz@gmx.net>
1191
1192         * undo.C (textUndoOrRedo):
1193         * dociterator.C (asDocIterator): work around crash
1194
1195         * cursor.C (getStatus): replace ASSERT by more verbose error message
1196           and manual correction of the problem. Should increase stability
1197           while providing more sensible information.
1198
1199 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1202
1203         * bufferlist.C (previous, next): new methods
1204
1205         * lfuns.h:
1206         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1207
1208 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1209
1210         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1211         entities to preamble.
1212
1213 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1214
1215         * messages.C (Pimpl): strip off translation context information
1216
1217 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1220         the cursor is correct (bug 1694)
1221
1222 2004-10-13  José Matos  <jamatos@lyx.org>
1223
1224         * output_docbook.C (docbookParagraphs): fix closing tags in the
1225         end of the document.
1226
1227 2004-10-09  José Matos  <jamatos@lyx.org>
1228
1229         * buffer.C: format up to 237.
1230         * bufferparams.C (write): use tostr to convert booleans to strings.
1231
1232 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1235
1236 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * LaTeX.C: implement use of babel language in xindy.
1239
1240 2004-10-05  José Matos  <jamatos@lyx.org>
1241
1242         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1243         Add new translators to help reading and writing the lyx file.
1244
1245 2004-10-05  José Matos  <jamatos@lyx.org>
1246
1247         * ParagraphParameters.C (read):
1248         * text.C (readParToken): replace nexToken by more appropriate lex
1249         methods.
1250
1251 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1252
1253         * LaTeX.C (runMakeIndex):
1254         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1255         (usually 'makeindex') configurable.
1256
1257         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1258         with a variable rather than with a number.
1259
1260 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * output_latex.C (TeXOnePar): make sure font setting is the first
1263         thing that gets output (and the last at the end). Should fix bug
1264         1404.
1265
1266 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1267
1268         * pch.h: use proper signal include
1269
1270         * LaTeX.h: Use preferred calling of Boost.Signal
1271         * buffer.h: ditto
1272
1273 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1274
1275         * pch.h: dont include <boost/function/function0.hpp>
1276
1277         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1278
1279         * paragraph_pimpl.h: remove usage of ShareContainer
1280
1281         * paragraph_pimpl.C: remove initialization of ShareContainer.
1282
1283 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         Fix bug #1666
1286
1287         * BufferView.C (putSelectionAt): change the semantics when
1288         backwards == true: now, this just swaps cursor and anchor wrt the
1289         forward case
1290
1291         * BufferView.h (putSelectionAt): add some documentation
1292
1293         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1294         make sure backwardChar is done at least once (to avoid getting
1295         stuck)
1296         (findNextChange): use putSelectionAt in the forward direction
1297         (operator()): use Paragraph::isWord
1298
1299 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1300
1301         * Spacing.C (set): c_str fix
1302
1303 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * lyx_cb.C (Reconfigure): quote the name of configure script in
1306         case it contains spaces
1307
1308 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1309
1310         * client: new dir
1311
1312         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1313         (BOOST_LIBS): use top_buildir when looking for the file
1314
1315 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1316
1317         * pch.h: do not use include boost/format.hpp, multiple symbols
1318                 will result (gcc bug)
1319
1320
1321 2004-08-23  José Matos  <jamatos@lyx.org>
1322
1323         * bufferparams.C (readToken): fix reading of the author field.
1324
1325 2004-08-20  José Matos  <jamatos@lyx.org>
1326
1327         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1328
1329 2004-08-20  José Matos  <jamatos@lyx.org>
1330
1331         * lyxlex.[Ch] (findToken): remove function.
1332
1333         * ParagraphParameters.C (findToken):
1334         * bufferparams.C (findToken): replace call for previous function
1335         with local copy. This local function has one more argument, the
1336         read string argument.
1337
1338 2004-08-16  José Matos  <jamatos@lyx.org>
1339
1340         * ParagraphParameters.C (write):
1341         * Spacing.C (writeFile):
1342         * bufferparams.C (writeLaTeX):
1343         * lyx_cb.C (Reconfigure):
1344         * paragraph.C (write):
1345         * tabular.C (write): remove unnecessary space at end of line.
1346
1347
1348 2004-08-16  José Matos  <jamatos@lyx.org>
1349
1350         * text.C (readParagraph): remove debug message.
1351
1352 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1353
1354         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1355         crash
1356
1357         * output_plaintext.C (asciiParagraph): set depth correctly
1358
1359         * outputparams.h: add member depth
1360
1361         * paragraph_funcs.C (ownerPar): remove.
1362
1363         * text2.C (setCounter): remove first_pit; comment out some
1364         non-working code that uses ownerPar
1365
1366         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1367         uses ownerPar
1368
1369 2004-08-16  José Matos  <jamatos@lyx.org>
1370
1371         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1372         For the same level of importance use the same chanel to report problems.
1373         (read): add code to deal with \begin_body and \end_body.
1374
1375
1376 2004-08-15  José Matos  <jamatos@lyx.org>
1377
1378         * lyxlex.C (getString): fix comment, buffer::readBody is now
1379         buffer:readDocument.
1380
1381         * tex-strings.C (string_papersize): Default -> default,
1382         Custom -> custom, for consistency with other options.
1383
1384 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1385
1386         * pch.h: new file
1387
1388         * Makefile.am: support pch
1389
1390 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * text.C (readParToken): remove the static LyXFont variable and
1393         pass it as a parameter instead. This fixes a nasty bug where an
1394         inset will be inserted with a bad font in some situations
1395         (readParagraph): adapt
1396
1397         * text2.C (setCounter): reduce number of calls to pars_[pit]
1398
1399         * text.C (singleWidth): add an assert, fix a test
1400
1401         * rowpainter.C (paintText): reduce number of calls to singleWidth
1402
1403         * paragraph.C (isHfill):
1404         (isNewline): ws only
1405
1406 2004-08-14  André Pönitz  <poenitz@gmx.net>
1407
1408         * text.C:
1409         * text2.C:
1410         * rowpainter.C:
1411         * lyxtext.h (several functions): use a Paragraph & argument
1412         instead of par_type
1413
1414 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1417
1418         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1419
1420         * text.C (singleWidth): remove useless test
1421
1422 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1423
1424         * tabular.h: remove bogus comments
1425
1426         * tabular.C (getDescentOfRow):
1427         (isPartOfMultiColumn): add assertions
1428
1429         * lyxlength.C (inPixels): remove #warning
1430
1431 2004-08-14  André Pönitz  <poenitz@gmx.net>
1432
1433         * paragraph.h: inline getChar()
1434
1435         * BufferView.h: remove unused declarations
1436
1437 2004-08-14  José Matos  <jamatos@lyx.org>
1438
1439         * Buffer.[Ch] (readDocument): new name for old readBody.
1440         * Buffer.C: new file format, new keywords: \begin_document,
1441         \begin_header, \begin_body, \end_body.
1442
1443         * bufferparams.C (readToken): replace all calls to lex.nextToken
1444         by lex.next(). Do the same to eatLine except where really needed.
1445
1446         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1447         line when writing to the lyx file.
1448
1449         * output_plaintext.C (asciiParagraph): fix Bibliography style
1450         handling.
1451
1452         * text.C (read): fix end of file handling.
1453
1454 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1455
1456         * MenuBackend.C (Menu::operator[]): new method to access
1457         individual menu items
1458         (Menu::hasFunc): new method. search for an item that corresponds
1459         to a given func
1460         (MenuBackend::specialMenu): new method
1461         (MenuBackend::expand): if a special menu has been set, skip
1462         entries whose func() appears in this menu
1463
1464 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1465
1466         * text3.C: use Debug::DEBUG a bit more
1467
1468         * text.C (leftMargin): try to simplify a tiny bit change var x to
1469         l_margin. Dont output the wide margins always.
1470         (rightMargin): no margin in inner texts
1471
1472         * rowpainter.h (nestMargin): new func
1473         (changebarMargin): new func
1474         (rightMargin): new func
1475
1476         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1477         now functions.
1478         (paintLast): ditto
1479
1480         * factory.C (createInset): modify setDrawFrame
1481
1482         * cursor.C: use Debug::DEBUG a bit more
1483
1484 2004-08-14  André Pönitz  <poenitz@gmx.net>
1485
1486         * coordcache.[Ch]:
1487         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1488         cache for all insets in (at least partially) visible (top-level)
1489         paragraphs.
1490
1491         * BufferView_pimpl.C: reset external coord cache before every update.
1492         This means the coord cache only contains valid entries.
1493
1494 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1495
1496         bug 1096
1497         * BufferView_pimpl.C (getInsetByCode): move function out of class
1498         and change in to a template in anon namespace. Also fix to do what
1499         suits us better.
1500
1501 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1502
1503         bug 1305
1504         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1505         of char
1506         (breakParagraph): rename par to par_offset and use a local
1507         reference. Add code to keep the language over a rebreak.
1508         (breakParagraphConservative): rename par to par_offset, use a
1509         local reference
1510         (mergeParagraph): ditto
1511         (outerHook): ditto
1512         (isFirstInSequence): ditto
1513         (outerFont): rename pit to par_offset
1514
1515         * paragraph.C: ws change
1516         * paragraph.h: ditto
1517         * text3.C: ditto
1518         * text.C: ditto
1519
1520 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1521
1522         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1523         treatment for ']'
1524
1525         * paragraph.C (simpleTeXOnePar): when we have a \item with
1526         optional argument, enclose the argument with curly brackets (in
1527         case it contains a closing square bracket)
1528
1529         * text2.C (editXY):
1530         * text2.C (editXY):
1531         * text3.C (checkInsetHit): constify
1532
1533 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1536         documents (bug 1629)
1537
1538 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1539
1540         Fix toggling of collapsable insets with the mouse (bug 1558)
1541
1542         * lyxfunc.C (dispatch): adapt to LCursor changes
1543
1544         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1545         make sure that dispatch is not invoked twice
1546
1547         * cursor.C (needsUpdate): new method
1548         (dispatch): return void
1549         (result): new method, to access the DispatchResult of the cursor.
1550
1551 2004-08-13  José Matos  <jamatos@lyx.org>
1552
1553         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1554
1555 2004-08-13  André Pönitz  <poenitz@gmx.net>
1556
1557         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1558
1559         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1560           multiple cells
1561
1562 2004-08-12  André Pönitz  <poenitz@gmx.net>
1563
1564         * text3.C: take out the 'cursor right' form insertInset and only
1565         do it in those places when it is really needed. Fixes crash on
1566         C-m...
1567
1568 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1571
1572         * BufferView_pimpl.C (setBuffer): initialize the current font of
1573         the underlying LyXText
1574
1575 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * kbsequence.C (print): use UI native formatting for menu
1578         shortcuts
1579
1580         * text.C (insertChar): call Paragraph::insertChar with a font
1581         argument (cosmetic)
1582
1583         * paragraph.C (insertInset, insertChar): the version that takes a
1584         LyXFont argument is now a wrapper around the other one (the
1585         opposite used to be true).
1586
1587         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1588         argument. Font setting is done in Paragraph now.
1589
1590 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * outputparams.h: add new members intitle and lang.
1593
1594         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1595         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1596
1597 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1598
1599         * text3.C (dispatch): remove special handling of button 4 and 5,
1600         it is now taken care of in the frontend code.
1601
1602 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1603
1604         * Spacing.h: add <string> (STLPort compile fix)
1605
1606 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1607
1608         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1609
1610 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1611
1612         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1613         to bool.
1614
1615         * converter.C (showMessage): inherit from unary_function, make
1616         operator() const.
1617
1618         * buffer.C (writeFile): initialize retval
1619
1620         * InsetList.h: rename private variable list to list_
1621         * InsetList.[Ch]: adjust accordingly.
1622
1623 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1624
1625         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1626         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1627         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1628         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1629         * ParagraphParameters.C, LaTeXFeatures.C: replace
1630         "support/std_sstream.h" with <sstream>
1631
1632 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1633
1634         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1635         * lyxsocket.C (LyXServerSocket): ditto
1636         (serverCallback): ditto
1637
1638 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1639
1640         * LaTeXFeatures.C: check release date when loading jurabib.
1641
1642 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1643
1644         * lyxserver.C (startPipe): call register_socket_callback
1645         (endPipe): call unregister_socket_callback
1646
1647 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1648
1649         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1650         (LyXServerSocket): register the callback
1651         (LyXServerSocket): unregister the callback
1652         (fd): delete function
1653         (serverCallback): improve error checking and setup the callbacks.
1654         (dataCallback): change arg to fd.
1655         (writeln): new func (copied fro the client socket) used for server
1656         write to client.
1657         (LyXDataSocket): simplify
1658         (~LyXDataSocket): close ann unregiser callback
1659         (server): delete function
1660         (fd): delete function
1661         (readln): small changes, improve some std::string usage
1662         (writeln): constify a bit
1663
1664 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1667         Qt frontend
1668
1669 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1670
1671         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1672         after it has been populated
1673
1674 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * text2.C (insertInset): move cursor when inserting inset.
1677
1678 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * kbmap.C (findbindings): a couple of new methods. returns a
1681         container of kb_sequence objects. The real work is done by the
1682         private recursive version
1683         (printbindings): uses findbindings to print out a bracketed list
1684         of bindings (renamed from findbinding).
1685
1686         * MenuBackend.C (binding): use kb_keymap::findbindings
1687
1688         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1689
1690 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1691
1692         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1693
1694 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * paragraph.C (isWord): return true on insets that report
1697         isLetter().
1698
1699         * text.C (getWord): use Paragraph::isWord to decide what is in a
1700         word and what is not; fix bug 1609.
1701
1702 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1703
1704         * tex-strings.C: add "none" to string_paperpackages[], fixes
1705         off-by-one-error in the paperpackage selection.
1706
1707         * lyxlex.[Ch]:
1708         * tex-strings.[Ch]: char const * string[n]
1709         -> char const * const string[]
1710
1711 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1714         command, return early.
1715
1716 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1717
1718         * debug.h: add DEBUG to enum and fix size of ANY.
1719
1720         * debug.C: add support for Debug::DEBUG
1721         (showTags): cast errorTags.level to unsigned int
1722
1723         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1724         (redoCurrentBuffer): ditto
1725         (updateScrollbar): ditto
1726         * cursor.C (dispatch): ditto
1727         * text2.C (setLayout): ditto
1728         (setFont): ditto
1729         (updateCounters): ditto
1730         (editXY): ditto
1731         (deleteEmptyParagraphMechanism): ditto
1732
1733 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1734
1735         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1736         annotations to cleanup the Makefile slightly.
1737
1738 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * lyxrc.C: do not set user_email to a default value but use empty
1741         instead. The entry used to be translated, which does not work
1742         since at the point where lyxrc is constructed there is no
1743         translation service available
1744
1745         * messages.C (getLocaleDir): remove and use directly
1746         lyx_localedir() instead
1747
1748 2004-06-02  Angus Leeming  <leeming@lyx.org>
1749
1750         Fix crash caused by dereferencing null pointer 'exportdata' in
1751         OutputParams by creating a new ExportData variable on the heap,
1752         storing it in a boost::shared_ptr.
1753         The crash was triggered when generating an Instant Preview
1754         of an external inset.
1755
1756         * Makefile.am: add outputparams.C
1757
1758         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1759         (c-tor): allocate memory to it.
1760
1761         * exporter.C (c-tor): associated changes.
1762
1763 2004-06-01  Angus Leeming  <leeming@lyx.org>
1764
1765         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1766         contains data before calling isInset(0). (Bug 1513.)
1767
1768 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1769
1770         * exporter.C (checkOverwrite): new method
1771         * exporter.C (copyFile): new method
1772         * exporter.C (Export): copy referenced files to the document dir
1773         * exporter.[Ch]: new class ExportedFile
1774         * exporter.[Ch]: new class ExportData. Contains currently the
1775         names of referenced external files
1776         * outputparams.h: add exportdata member.
1777
1778 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1779
1780         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1781         version.C-tmp
1782
1783 2004-05-19  Angus Leeming  <leeming@lyx.org>
1784
1785         * LaTeXFeatures.C:
1786         * ToolbarBackend.C:
1787         * bufferparams.C:
1788         * lyxfunc.C: small changes due to the introduction of namespace
1789         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1790
1791 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1792
1793         * text3.C (dispatch): supress update when only moving the cursor
1794         * cursor.C (selHandle): remove commented code
1795
1796 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1797
1798         * paragraph.C (startTeXParParams): correct column count
1799         * CutAndPaste.C (pasteSelection): remove const_cast
1800         * output_docbook.C (docbookParagraphs): remove const_cast
1801         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1802         const_cast and return ParagraphList::const_iterator
1803         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1804         * output_plaintext.C (writeFileAscii): remove const_cast
1805         * paragraph.[Ch] (simpleTeXOnePar): make const
1806         * paragraph_funcs.C (outerPar): use const iterators
1807         * paragraph_pimpl.C (validate): use const iterators
1808         * text.C (setHeightOfRow): use const iterators
1809
1810 2004-05-17  Angus Leeming  <leeming@lyx.org>
1811
1812         * lfuns.h:
1813         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1814
1815         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1816         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1817         if the citation engine has changed.
1818
1819 2004-05-14  José Matos  <jamatos@lyx.org>
1820
1821         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1822         if the textclass does not provide it. Have it different for sgml and
1823         xml.
1824         support the language of document.
1825         * output_docbook.C (docbookParagraphs):
1826         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1827         first anchor as the id of the paragraph, remove special case code.
1828         * sgml.C (escapeChar): escape only < & >.
1829
1830 2004-05-14  Angus Leeming  <leeming@lyx.org>
1831
1832         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1833         dependencies on src/frontends/controllers/biblio.h. Define a
1834         CiteEngine_enum wrapper class to enable the enum to be forward
1835         declared.
1836
1837 2004-05-12  Angus Leeming  <leeming@lyx.org>
1838
1839         * buffer.C: up LYX_FORMAT to 234.
1840         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1841         use_numerical_citations with a single biblio::CiteEngine cite_engine
1842         variable.
1843         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1844
1845 2004-05-13  José Matos  <jamatos@lyx.org>
1846
1847         * converter.h:
1848         * converter.C (Converter, readFlags): add xml member.
1849         * outputparams.h: add XML flavor.
1850         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1851
1852 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * lyxfunc.C (dispatch):
1855         (getStatus): fix handling of LFUN_SEQUENCE
1856
1857 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1858
1859         * debug.C (showLevel): do not forget the end-of-line marker
1860
1861 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1862
1863         * kbmap.C (read): do not stop parsing a bind file when an error
1864         occurs (bug 1575)
1865
1866 2004-04-29  Angus Leeming  <leeming@lyx.org>
1867
1868         * cursor.C:
1869         * factory.C:
1870         * pariterator.C:
1871         * text2.C: wrap a bunch of #warning statements
1872         inside #ifdef WITH_WARNINGS blocks.
1873
1874 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1875
1876         * buffer.C: increment format to 233.
1877
1878 2004-04-28  Angus Leeming  <leeming@lyx.org>
1879
1880         * BufferView_pimpl.C:
1881         * lyxfunc.C:
1882         * text3.C:
1883         s/updateToolbar()/updateToolbars()/
1884         s/Toolbar.h/Toolbars.h/
1885
1886 2004-04-28  Angus Leeming  <leeming@lyx.org>
1887
1888         * BufferView.[Ch] (c-tor):
1889         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1890         No longer passes these data to the WorkArea generator.
1891
1892 2004-04-28  Angus Leeming  <leeming@lyx.org>
1893
1894         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1895
1896 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1897
1898         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1899
1900 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * output_latex.C (TeXEnvironment): make sure that there is a line
1903         break before \end{foo} for the last paragraph of a document
1904         (TeXOnePar): if the paragraph is at the end of the document (or
1905         inset) and the language has to be reset, then make sure that the
1906         line break is _before_ the language command, not after (fixes bug
1907         1225); also make sure that the language reset command is the first
1908         thing after the paragraph (to ensure proper nesting of
1909         environments and thus fix bug 1404)
1910
1911 2004-04-21  John Levon  <levon@movementarian.org>
1912
1913         * ToolbarBackend.h:
1914         * ToolbarBackend.C: make "name" be a programmatic name
1915         and a gui_name field.
1916
1917         * lyxfunc.C: display the minibuffer on M-x
1918
1919 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1920
1921         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1922         (bug 1526)
1923
1924 2004-04-19  Angus Leeming  <leeming@lyx.org>
1925
1926         * BufferView_pimpl.C (setBuffer): changed preview interface.
1927
1928         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1929         possible values.
1930
1931 2004-04-19  John Levon  <levon@movementarian.org>
1932
1933         * BufferView_pimpl.C:
1934         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1935
1936 2004-04-05  Angus Leeming  <leeming@lyx.org>
1937
1938         * text.C (redoParagraphs): add call to updateCounters(), thereby
1939         fixing the missing "Figure #:" label from the caption of a
1940         figure float.
1941
1942 2004-04-13  Angus Leeming  <leeming@lyx.org>
1943
1944         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1945         cursor is clicked out of an inset.
1946
1947 2004-04-13  Angus Leeming  <leeming@lyx.org>
1948
1949         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1950         than an InsetOld one.
1951
1952 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1953
1954         * format.[Ch]: add editor to Format
1955         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1956         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1957
1958 2004-04-08  André Pönitz  <poenitz@gmx.net>
1959
1960         * metricsinfo.h: remove PainterInfo::width member
1961
1962 2004-04-08  Angus Leeming  <leeming@lyx.org>
1963
1964         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1965         "\providecommand" rather than "\newcommand", thereby preventing
1966         clashes with packages that define "\boldsymbol" themselves.
1967         Eg, beamer.
1968
1969 2004-04-08  Angus Leeming  <leeming@lyx.org>
1970
1971         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1972         thereby squashing an unnecessary warning.
1973
1974 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1975
1976         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1977         setBuffer()
1978
1979 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * BufferView.C (setCursor): call redoParagraph (some insets could
1982         have been opened)
1983         (putSelectionAt): remove the 'double update' trick
1984
1985         * BufferView_pimpl.C (fitCursor): call refreshPar
1986         (workAreaDispatch): remove an uneeded update call
1987         (dispatch): remove some manual update calls
1988
1989         * cursor.[Ch]: remove cached_y_, updatePos
1990         (selHandle): set noUpdate when appropriate
1991
1992         * lyxfunc.C (dispatch): track if we need an update
1993
1994         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1995
1996         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1997         (paintSelection): cheap optimization, do not call cursorX when not
1998         needed
1999         (paintPars): change signature
2000         (refreshPar): add
2001         (paintText): adjust
2002         (paintTextInset): adjust
2003
2004         * text.C: adjust
2005
2006 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lengthcommon.C: compilation fix: remove explicit array size from
2009         unit_name[] and friends
2010
2011 2004-04-05  Angus Leeming  <leeming@lyx.org>
2012
2013         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2014
2015         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2016         present only for the preferences dialog.
2017         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2018
2019 2004-04-05  Angus Leeming  <leeming@lyx.org>
2020
2021         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2022         to enable the frontends to export changes to lyxrc correctly.
2023
2024         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2025
2026 2004-04-07  André Pönitz  <poenitz@gmx.net>
2027
2028         * cursor.[Ch] (selClear, adjust): remove math
2029
2030         * cursor_slice.C: more agressive assert
2031
2032         * lyxfunc.C:
2033         * BufferView_pimpl.C: rework mouse event dispatch
2034
2035         * dociterator.C:
2036         * paragraph.C:
2037         * text2.C:
2038         * text3.C: adjust
2039
2040 2004-04-05  André Pönitz  <poenitz@gmx.net>
2041
2042         * cursor.[Ch] (valign, halign...): remove unneeded functions
2043
2044 2004-04-05  Angus Leeming  <leeming@lyx.org>
2045
2046         * lyxlength.[Ch] (unit_name et al.): const-correct.
2047
2048 2004-04-05  Angus Leeming  <leeming@lyx.org>
2049
2050         * BufferView_pimpl.C:
2051         * buffer.C:
2052         * counters.C:
2053         * cursor.C:
2054         * lyxfunc.C
2055         * paragraph.C:
2056         * pariterator.C:
2057         * text.C:
2058         * text2.C:
2059         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2060
2061 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2064
2065 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2068         * BufferView_pimpl.[Ch] (getStatus)
2069         * BufferView.[Ch] (getStatus): add
2070         * lyxfunc.C (getStatus): move lfuns handled in
2071         BufferView::dispatch to te function above
2072         * Cursor.C (setSelection): set selection() = true
2073
2074 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2077
2078 2004-03-31  Angus Leeming  <leeming@lyx.org>
2079
2080         * lyxfunc.C (dispatch): Fall through to the generic
2081         Dialogs::show("preamble").
2082
2083 2004-03-31  Angus Leeming  <leeming@lyx.org>
2084
2085         * lyxfunc.C (dispatch): Fall through to the generic
2086         Dialogs::show("spellchecker").
2087
2088 2004-03-31  Angus Leeming  <leeming@lyx.org>
2089
2090         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2091         preferences dialog.
2092
2093 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * BufferView.C
2096         * cursor.[Ch]
2097         * dociterator.[Ch]:
2098         * insetiterator.[Ch]:
2099         * lyxfind.C:
2100         * lyxfunc.C:
2101         * pariterator.[Ch]:
2102         * text2.C:
2103         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2104
2105 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2108         insets where we are putting the cursor.
2109
2110 2004-03-31  Angus Leeming  <leeming@lyx.org>
2111
2112         * lfuns.h:
2113         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2114
2115         * lyxrc.[Ch] (read, write): overloaded member functions taking
2116         a std::[io]stream arguments.
2117
2118         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2119
2120 2004-03-31  Angus Leeming  <leeming@lyx.org>
2121
2122         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2123         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2124
2125         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2126         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2127
2128 2004-03-31  Angus Leeming  <leeming@lyx.org>
2129
2130         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2131         the LFUN_ALL_INSETS_TOGGLE code.
2132
2133 2004-03-30  Angus Leeming  <leeming@lyx.org>
2134
2135         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2136         has died. Fall through to the generic Dialogs::show("document").
2137
2138 2004-03-30  Angus Leeming  <leeming@lyx.org>
2139
2140         * lfuns.h:
2141         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2142         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2143
2144         * lyxfunc.C (getStatus, dispatch): define the actions for these
2145         lfuns. Little more than a cut and pste job from ControlDocument.C
2146
2147         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2148
2149 2004-03-30  Angus Leeming  <leeming@lyx.org>
2150
2151         * lfuns.h:
2152         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2153         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2154
2155         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2156         open/closed state of ollapsable insets. Usage:
2157
2158         all-inset-toggle <state> <name>, where
2159         <state> == "open" || "closed" || "toggle" and
2160         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2161
2162         * lyxtext.h, text2.C (toggleInset): removed.
2163
2164         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2165         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2166         now passes LFUN_INSET_TOGGLE to the found inset.
2167
2168         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2169         is now invoked as "all-insets-toggle toggle branch".
2170
2171 2004-03-30  Angus Leeming  <leeming@lyx.org>
2172
2173         * dociterator.C:
2174         * insetiterator.C:
2175         * pariterator.[Ch]: added/corrected header blurb.
2176
2177 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * dociterator.[Ch]: add an inset_ member
2180         (backwardPos): implemented
2181         (backwardPos, forwardPos): use inset_ when the stack is empty.
2182         (doc_iterator_begin, doc_iterator_end): implemented
2183         * pariterator.[Ch]: adjust, add begin, end
2184         * insetiterator.[Ch]: adjust, add begin, end
2185         * cursor.C:
2186         * document.C:
2187         * BufferView.C:
2188         * BufferView_pimpl.C:
2189         * CutAndPaste.C: adjust
2190
2191 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2192
2193         * buffer.C: increment file format to 232.
2194         * LaTeXFeatures.C: add bibtopic package.
2195         * bufferparams.[Ch]: param \use_bibtopic.
2196
2197         * lyxrc.[Ch]: add lyxrc bibtex_command
2198         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2199
2200         * buffer.C: increment file format to 231.
2201
2202 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2203
2204         * dociterator.C: implement forwardPar
2205         * iterators.[Ch]: remove, replaced by
2206         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2207         * BufferView.C:
2208         * BufferView_pimpl.C:
2209         * CutAndPaste.C:
2210         * buffer.C:
2211         * bufferview_funcs.C:
2212         * cursor.C:
2213         * lyxfind.C
2214         * lyxfunc.C
2215         * paragraph_funcs.C
2216         * toc.C:
2217         * Makefile.am: adjust
2218
2219 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * CutAndPaste.C (pasteSelection): fix 2 crashes
2222         (eraseSelection): fix a crash
2223         * paragraph_funcs.C: remove a warning
2224
2225 2004-03-28  Angus Leeming  <leeming@lyx.org>
2226
2227         * lfuns.h:
2228         * LyXAction.C (init): new LFUN_PRINT.
2229
2230         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2231
2232 2004-03-27  Angus Leeming  <leeming@lyx.org>
2233
2234         * lfuns.h:
2235         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2236
2237         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2238
2239 2004-03-27  Angus Leeming  <leeming@lyx.org>
2240
2241         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2242         insetlist always contains non-null pointers to insets.
2243
2244 2004-03-26  Angus Leeming  <leeming@lyx.org>
2245
2246         * src/BufferView_pimpl.C:
2247         * src/CutAndPaste.C:
2248         * src/buffer.C:
2249         * src/iterators.C:
2250         * src/output_plaintext.C:
2251         * src/outputparams.h:
2252         * src/paragraph_funcs.C:
2253         * src/rowpainter.C:
2254         * src/text.C:
2255         * src/text2.C:
2256         * src/frontends/controllers/ControlErrorList.C:
2257         * src/frontends/gtk/FileDialogPrivate.C:
2258         * src/frontends/gtk/GPainter.C:
2259         * src/frontends/gtk/GToolbar.C:
2260         * src/frontends/qt2/QRef.C:
2261         * src/mathed/math_scriptinset.C: squash compiler warnings.
2262
2263 2004-03-26  Angus Leeming  <leeming@lyx.org>
2264
2265         * ispell.C (LaunchIspell::start):
2266         * lyx_cb.C (AutoSaveBuffer::start):
2267         invoke run(DontWait) rather than runNonBlocking().
2268
2269 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2272
2273 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * kbsequence.C (print): adjust
2276
2277         * kbmap.C (printKeySym): rename and change signature
2278         (printKey): use LyXKeySym::print()
2279
2280 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2281
2282         * undo.C: add using std::advance to compile for stlport
2283
2284 2004-03-24  Angus Leeming  <leeming@lyx.org>
2285
2286         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2287         it leads to a crash when no buffer is present.
2288
2289 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290             Martin Vermeer  <martin.vermeer@hut.fi>
2291
2292         * lyxfunc.C (dispatch):
2293         * bufferparams.C (readToken): use the new LColor::setColor
2294
2295         * LColor.[Ch] (setColor): new version that takes two strings as
2296         argument and creates a new color entry if necessary
2297
2298 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2299
2300         * buffer.C (makeLaTeXFile): if the main latex file that is
2301         processed is usually a subdocument of some master, then pretend
2302         for a while that it is actually the master
2303
2304 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2305
2306         * buffer.C (getLabelList):
2307         (getBibkeyList): use getMasterBuffer()
2308         (getMasterBuffer): new method. Returns the main document in the
2309         case where one is using included documents.
2310
2311 2004-03-25  André Pönitz  <poenitz@gmx.net>
2312
2313         * Makefile.am:
2314         * iterators.[Ch]:
2315         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2316
2317         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2318
2319         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2320         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2321
2322         * ParameterStruct.h: merge with ParagraphParameters
2323
2324         * lyxtext.h: remove LyXText::parOffset() and getPar()
2325
2326         * text3.C: Remove all 'manual' update calls. We do now one per user
2327         interaction which is completely sufficient.
2328
2329         * Bidi.C:
2330         * BufferView.[Ch]:
2331         * BufferView_pimpl.C:
2332         * FontIterator.[Ch]:
2333         * MenuBackend.C:
2334         * ParagraphParameters.[Ch]:
2335         * buffer.C:
2336         * buffer.h:
2337         * bufferlist.C:
2338         * cursor.[Ch]:
2339         * cursor_slice.[Ch]:
2340         * dociterator.[Ch]:
2341         * errorlist.[Ch]:
2342         * factory.C:
2343         * lfuns.h:
2344         * lyxfind.C:
2345         * lyxfunc.C:
2346         * output_docbook.[Ch]:
2347         * output_latex.[Ch]:
2348         * output_linuxdoc.[Ch]:
2349         * output_plaintext.[Ch]:
2350         * paragraph.[Ch]:
2351         * paragraph_funcs.[Ch]:
2352         * paragraph_pimpl.[Ch]:
2353         * rowpainter.C:
2354         * tabular.[Ch]:
2355         * text.C:
2356         * text2.C:
2357         * toc.C:
2358         * undo.[Ch]: adjust
2359
2360         * frontends/controllers/ControlDocument.C:
2361         * frontends/controllers/ControlErrorList.C:
2362         * frontends/controllers/ControlSpellchecker.C:
2363         * insets/inset.C:
2364         * insets/inset.h:
2365         * insets/insetbase.h:
2366         * insets/insetbibitem.C:
2367         * insets/insetbox.C:
2368         * insets/insetbranch.C:
2369         * insets/insetcaption.C:
2370         * insets/insetcharstyle.C:
2371         * insets/insetcharstyle.h:
2372         * insets/insetcollapsable.C:
2373         * insets/insetcollapsable.h:
2374         * insets/insetert.C:
2375         * insets/insetfloat.C:
2376         * insets/insetfoot.C:
2377         * insets/insetmarginal.C:
2378         * insets/insetnote.C:
2379         * insets/insetoptarg.C:
2380         * insets/insettabular.C:
2381         * insets/insettext.C:
2382         * insets/insettext.h:
2383         * insets/insetwrap.C:
2384         * mathed/math_mboxinset.C:
2385         * mathed/math_nestinset.C:
2386         * mathed/math_scriptinset.C:
2387         * mathed/math_scriptinset.h:
2388         * support/types.h:
2389
2390 2004-03-24  Angus Leeming  <leeming@lyx.org>
2391
2392         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2393         deal with any child processes that have finished but are waiting to
2394         communicate this fact to the rest of LyX.
2395
2396 2004-03-24  Angus Leeming  <leeming@lyx.org>
2397
2398         64-bit compile fixes.
2399
2400         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2401         (c-tor): pass lyx::pos_types rather than ints.
2402
2403         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2404         lyx::pos_type.
2405
2406         * text.C (Delete): compile fix.
2407         (getPar): ensure that function declaration is the same as that in
2408         the header file.
2409
2410 2004-03-23  Angus Leeming  <leeming@lyx.org>
2411
2412         * ispell.C (LaunchIspell):
2413         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2414         a boost::shred_ptr rather than a std::auto_ptr.
2415
2416 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2419         handle LFUN_FILE_INSERT_*
2420
2421         * lyxrc.C (setDefaults, getDescription, output, read):
2422         * lyxrc.h: remove ps_command
2423
2424 2004-03-22  Angus Leeming  <leeming@lyx.org>
2425
2426         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2427         Ensure that error_handler is processed once only and that all data
2428         is saved before attempting to output any warning messages.
2429
2430         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2431
2432 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2435
2436 2004-03-19  André Pönitz  <poenitz@gmx.net>
2437
2438         * cursor.[Ch] (reset): take main text inset as argument
2439
2440         * BufferView: adjust
2441         * BufferView_pimpl.C: adjust
2442
2443         * paragraph.[Ch]: fix completely broken operator=()
2444
2445 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * LColor.C (getFromLyXName): make sure that the color name is used
2448         as lowercase.
2449
2450 2004-03-17  Angus Leeming  <leeming@lyx.org>
2451
2452         * lfuns.h:
2453         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2454
2455         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2456         dialog and to kill a forked process.
2457
2458 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2459
2460         * text2.C (setCursorFromCoordinates): fix font problem
2461
2462 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2463
2464         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2465         bogus "rebuild cursor" code
2466
2467 2004-03-11  André Pönitz  <poenitz@gmx.net>
2468
2469         * buffer.[Ch]: use InsetText instead of LyXText as container for
2470         the main lyx text.
2471
2472         * dociterator.[Ch]: drop the BufferView * member which is not needed
2473         anymore after the change to buffer.C
2474
2475         * paragraph_funcs.C:
2476         * text.C:
2477         * text2.C:
2478         * BufferView.[Ch]:
2479         * BufferView_pimpl.[Ch]:
2480         * cursor.[Ch]:
2481         * cursor_slice.[Ch]: adjust
2482
2483         * text3.C: fix bug in mathDispatch
2484
2485 2004-03-08  André Pönitz  <poenitz@gmx.net>
2486
2487         * undo.[Ch]: use 'StableDocumentIterator' as base for
2488         the Undo struct.
2489
2490 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2491
2492         * LaTeXFeatures.C:
2493         * bufferparams.[Ch]: add jurabib support and param.
2494
2495         * LaTeX.C: add FIXME/comment.
2496
2497 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2498
2499         * buffer.C: increment file format to 230.
2500
2501 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * cursor.C (dispatch): avoid infinite loops
2504
2505 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * rowpainter.C (paintSelection): fix x coordinates
2508
2509 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2510
2511         * text.C (rowBreakPoint): fix breaking before displayed insets
2512
2513 2004-03-01  André Pönitz  <poenitz@gmx.net>
2514
2515         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2516
2517         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2518
2519         * Makefile.am:
2520         * BufferView.C:
2521         * BufferView_pimpl.C:
2522         * buffer.C:
2523         * lyxfind.C:
2524         * lyxfunc.C:
2525         * text.C:
2526         * text2.C:
2527         * text3.C: adjust
2528
2529 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2530
2531         * lyxtext.h:
2532         * text.C:
2533         * text2.C:
2534         * rowpainter.C:
2535         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2536         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2537
2538 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2539
2540         * Bidi.[Ch] (computeTables): const correctness
2541         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2542         fill_hfill, fill_label_hfill and x from Row
2543         * lyxtext.h: prepareToPrint returns a RowMetrics
2544         * rowPainter.C: adjust
2545         * text.C (prepareToPrint): use width, not textWidth. adjust
2546         (redoParagraphInternal, cursorX): adjust
2547         * text2.C (getColumnNearX): adjust
2548         (init): put a default value to the top LyXText::width
2549
2550 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2553
2554 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * lyxtext.h: add FontIterator class
2557
2558         * text.C (FontIterator, operator*, operator->, operator++): add
2559         (rowBreakPoint, setRowWidth): adjust (fixing a
2560         rebreaking bug)
2561
2562 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2563
2564         * BufferView_pimpl.C (workAreaDispatch): allow also
2565         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2566
2567 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2568
2569         * text.C (rowBreakPoint): fix a bug showing with very large insets
2570
2571 2004-02-25  André Pönitz  <poenitz@gmx.net>
2572
2573         * text3.C:
2574         * cursor.[Ch]: move some mathed specific code to mathed
2575
2576 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2577
2578         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2579         use_tempdir in preferences
2580         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2581         tempfile creation
2582         * lyx_main.C: ensure that tempdir is valid
2583         * lyxlex.h: correct typo
2584         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2585         * paragraph.[Ch] (isMultiLingual): make const
2586         * cursor.[Ch] (openable): make const
2587
2588 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2589
2590         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2591
2592 2004-02-20  André Pönitz  <poenitz@gmx.net>
2593
2594         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2595
2596         * cursor.[Ch]: prepare for localized getStatus()
2597
2598         * lyxtext.h:
2599         * tabular.C:
2600         * text.C:
2601         * text2.C:
2602         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2603
2604 2004-02-20  André Pönitz  <poenitz@gmx.net>
2605
2606         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2607
2608 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2609
2610         * text2.C (setCursorFromCoordinates): switch to absolute coords
2611         (cursorUp): adjust
2612         (cursorDown): adjust
2613         * text3.C (dispatch): adjust
2614
2615 2004-02-16  André Pönitz  <poenitz@gmx.net>
2616
2617         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2618           insets/ChangeLog)
2619
2620         * cursor_slice.[Ch]: remove unneeded acessor function
2621
2622         * lyxtext.h: rename rtl() to isRTL()
2623
2624         * rowpainter.C:
2625         * tabular.C:
2626         * text.C:
2627         * text2.C:
2628         * text3.C: adjust
2629
2630 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * rowpainter.C (paintSelection): coord fix
2633
2634 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2635
2636         * Spacing.C: compile fix
2637
2638 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2639
2640         * cursor.C (dispatch): restore current_ before returning
2641
2642 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2643
2644         * text2.C (cursorUp, cursorDown): fix coords
2645         (moveUp): fix crash
2646
2647 2004-02-12  André Pönitz  <poenitz@gmx.net>
2648
2649         * lyxtext.h:
2650         * text.C:
2651         * text2.C:
2652         * text3.C: add LCursor & parameter to most cursor movement functions
2653           remove usage of LyXText::cursorRow() and cursorPar()
2654
2655         * cursor.[Ch]: add textRow() needed members
2656
2657         * BufferView.C:
2658         * BufferView_pimpl.C:
2659         * paragraph.[Ch]:
2660         * BufferView.C:
2661         * BufferView_pimpl.C: adjust
2662
2663 2004-02-11  André Pönitz  <poenitz@gmx.net>
2664
2665         * lyxfunc.C:
2666         * BufferView.[Ch]:
2667         * BufferView_pimpl.C: shift undo/redo handling
2668
2669         * cursor.[Ch]: fix mathed crash
2670
2671         * lyxfind.C:
2672         * lyxtext.h: move selectionAsText to LCursor
2673
2674         * output_latex.C:
2675         * paragraph.C:
2676         * text.C:
2677         * text2.C:
2678         * text3.C: adjust
2679
2680         * rowpainter.C: fix excessive drawing
2681
2682 2004-02-06  André Pönitz  <poenitz@gmx.net>
2683
2684         * BufferView.[Ch]:
2685         * BufferView_pimpl.[Ch]:
2686         * text3.C: move some text specific LFUN handling
2687
2688 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2689
2690         * text3.C (checkInsetHit): adjust coords
2691         * text2.C (getColumnNearX): adjust coords
2692         (edit): adjust coords
2693         * text.C (getRowNearY): add two asserts
2694
2695 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2696
2697         * converter.C:
2698         * format.C: add using std::distance to compile on gcc 2.95/stlport
2699
2700 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2701
2702         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2703
2704 2004-02-04  André Pönitz  <poenitz@gmx.net>
2705
2706         * BufferView.[Ch] (insertInset):
2707         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2708
2709         * text2.C:
2710         * text3.C: adjust
2711
2712 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2715         on the default clause of the switch
2716         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2717         wasn't catched by LCursor::dispatch
2718
2719 2004-02-03  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.C:
2722         * cursor.[Ch]: some additional asserts
2723
2724         * undo.[Ch]: remove LyXText dependency in interface
2725
2726         * lyxfunc.C: adjust
2727
2728         * lyxtext.h (firstPar, lastPar): remove dead functions
2729
2730         * text.C:
2731         * text2.C:
2732         * text3.C:
2733         * paragraph.[Ch]: adjust
2734
2735 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * lyxfind.C (find): fix argument order in call to ::find
2738
2739 2004-02-02  André Pönitz  <poenitz@gmx.net>
2740
2741         * cursor.[Ch]: remove direct access to anchor
2742
2743         * text.C: remove findText() hack
2744
2745 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * iterators.[Ch] (lockPath): remove in favour of...
2748         * BufferView.[Ch] (setCursor): this addition
2749         * BufferView.C (putSelectionAt): adjust
2750         * undo.C (performUndoOrRedo): adjust
2751         * lyxfunc.C (dispatch): adjust
2752
2753 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * iterators.C (lockPath): add a missing slice
2756         * undo.C (performUndoOrRedo): remove redundant positioning code
2757
2758 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2759
2760         * vc-backend.C (scanMaster): ";" -> ';'
2761
2762 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2763
2764         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2765         std::binary_function
2766
2767         * lyxtextclass.C (compare_name): rename to...
2768         (LayoutNamesEqual): ...this
2769
2770         * lyxlex_pimpl.C (compare_tags): inherit from
2771         std::binary_function, put back into anon namespace
2772
2773         * lyxfind.C (MatchString): inherig from std::binary_function
2774         (findChange): use empty() istead of !size()
2775
2776         * format.C (FormatNamesEqual): new functor
2777         (getFormat): use it
2778         (getNumber): use it
2779         (add): use it
2780         (erase): use it
2781         (setViewer): use it
2782
2783         * converter.C (compare_Converter): rename to...
2784         (ConverterEqual): ...this, and fixup a bit.
2785         (getConverter): use it, and make function const
2786         (getNumber): use it, and make function const
2787         (add): use it
2788         (erase): use it:
2789
2790         * bufferlist.C: add using boost::bind
2791
2792         * MenuBackend.C (MenuNamesEqual): new functor
2793         (hasMenu): use it, and make function const
2794         (hasSubmenu): use nested bind to get rid of compare_memfun.
2795
2796 2004-01-30  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView_pimpl.C:
2799         * cursor.C:
2800         * cursor.h:
2801         * cursor_slice.[Ch]:
2802         * lyxfunc.C:
2803         * lyxtext.h:
2804         * paragraph_funcs.C:
2805         * paragraph_funcs.h:
2806         * rowpainter.C:
2807         * text.C:
2808         * text2.C:
2809         * text3.C: move some of the edit(x,y) handling to the insets
2810         some coordinate changes.
2811
2812 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2813
2814         * text.C: add using statements for std::advance and std::distance
2815
2816         * paragraph.C: add using statement for std::distance
2817
2818         * lyxfind.C: add using statement for std::advance
2819
2820         * cursor.C (region): remove std:: from swap
2821         (openable): use nucleus in stead of operator->
2822
2823         * BufferView.C: add using statements for std::distance and std::swap
2824
2825 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2826
2827         * iterators.C: Remove the pimple, move the needed structures to
2828         the header file. Create accessor for the positions stack.
2829         (asPosIterator): remove function
2830
2831         * PosIterator.C (PosIterator): move constructors to top of file
2832         (PosIterator): reimplement the constructor taking a ParIterator in
2833         terms of setFrom.
2834         (setFrom): new function
2835         (operator!=): inline it
2836
2837 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2838
2839         * lyxfind.C (replaceAll): use std::advance
2840
2841         * iterators.h: inherit from std::iterator.
2842
2843         * PosIterator.C (advance, distance): remove
2844         * PosIterator.h: interit from std::iterator.
2845
2846 2004-01-26  André Pönitz  <poenitz@gmx.net>
2847
2848         * BufferView.[Ch]:
2849         * BufferView_pimpl.[Ch]:
2850         * InsetList.[Ch]:
2851         * PosIterator.[Ch]:
2852         * buffer.h:
2853         * bufferview_funcs.C:
2854         * cursor.[Ch]:
2855         * cursor_slice.h:
2856         * factory.[Ch]:
2857         * iterators.[Ch]:
2858         * lyxfind.C:
2859         * lyxfunc.C:
2860         * lyxtext.h:
2861         * output_docbook.C:
2862         * output_latex.C:
2863         * output_linuxdoc.C:
2864         * output_plaintext.C:
2865         * paragraph.[Ch]:
2866         * paragraph_funcs.[Ch]:
2867         * paragraph_pimpl.[Ch]:
2868         * rowpainter.C:
2869         * tabular.C:
2870         * tabular.h:
2871         * text.C:
2872         * text2.C:
2873         * text3.C: more IU:  dumps most of the rest of the mathcursor
2874     implementation into cursor.[Ch]; "globalize" a bit of it.
2875
2876 2004-01-25  Angus Leeming  <leeming@lyx.org>
2877
2878         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2879
2880 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2881
2882         * LaTeXFeatures.h: add nice_ and nice() const
2883         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2884
2885 2004-01-20  André Pönitz  <poenitz@gmx.net>
2886
2887         * BufferView.[Ch]:
2888         * BufferView_pimpl.C:
2889         * PosIterator.C:
2890         * bufferview_funcs.C:
2891         * cursor.[Ch]:
2892         * cursor_slice.[Ch]:
2893         * factory.C:
2894         * iterators.C:
2895         * lyx_cb.C:
2896         * lyxfind.C:
2897         * lyxfunc.C:
2898         * lyxtext.h:
2899         * rowpainter.C:
2900         * text.C:
2901         * text2.C:
2902         * text3.C:
2903         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2904           LCursor and mathcursor parts to LCursor and InsetBase.
2905
2906 2004-01-15  André Pönitz  <poenitz@gmx.net>
2907
2908         * cursor_slice.[Ch]: add a few covienience functions
2909
2910         * funcrequest.[Ch]: remove BufferView * member
2911
2912         * BufferView_pimpl.C:
2913         * cursor.C:
2914         * factory.[Ch]:
2915         * lyxfind.[Ch]:
2916         * lyxfunc.C:
2917         * lyxtext.h:
2918         * text3.C:
2919         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2920
2921 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2924         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2925
2926 2004-01-13  André Pönitz  <poenitz@gmx.net>
2927
2928         * textcursor.[Ch]:
2929         * lyxtext.h: hide cursor and selection anchor behind accessor function
2930
2931         * BufferView.C:
2932         * BufferView_pimpl.[Ch]:
2933         * PosIterator.C:
2934         * bufferview_funcs.C:
2935         * cursor.h:
2936         * lyxfind.C:
2937         * lyxfunc.C:
2938         * text.C:
2939         * text2.C:
2940         * text3.C:
2941         * undo.C: adjust
2942
2943         * cursor.h:
2944         * cursor_slice.[Ch]: some integer type changes for inset unification
2945
2946         * lyxcursor.[hC]: remove, it's CursorSlice now.
2947
2948         * Makefile.am:
2949         * BufferView_pimpl.[Ch]:
2950         * bufferview_funcs.C:
2951         * cursor_slice.C:
2952         * lyxtext.h:
2953         * text.C:
2954         * text2.C:
2955         * text3.C:
2956         * textcursor.[Ch]: adjust
2957
2958 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * text2.C (undoSpan): add and use
2961         * text.C (breakParagraph): use undoSpan (fix bug 578)
2962         * lyxtext.h: adjust
2963
2964 2004-01-08  Angus Leeming  <leeming@lyx.org>
2965
2966         * BufferView_pimpl.C (MenuInsertLyXFile):
2967         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2968         * lyxfunc.C (menuNew, open, doImport):
2969         FileFilterList change to the FileDialog open and save functions.
2970
2971 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2972
2973         * ShareContainer.h: make isEqual and isUnique adaptable
2974
2975         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2976
2977 2004-01-07  Angus Leeming  <leeming@lyx.org>
2978
2979         * LyXAction.C:
2980         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2981
2982         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2983
2984         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2985         functions replacing find, replace and replaceAll.
2986
2987         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2988         LFUN_WORDFIND(FORWARD|BACKWARD).
2989
2990 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * text.C (breakParagraph): remove an outdated #warning
2993
2994 2004-01-07  André Pönitz  <poenitz@gmx.net>
2995
2996         * lyxfind.C: somewhat clearer logic
2997
2998         * text.C: prevent crash in cursorX on unitialized row cache
2999
3000 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * lyxcursor.[Ch] (operator>): add
3003         * textcursor.C (selStart, selEnd): use std::min and std::max
3004
3005 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3006
3007         * Chktex.C: include boost/format.hpp
3008
3009 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3010
3011         * InsetList.C: replace functor MathcIt with adaptable functor
3012         InsetTablePosLess
3013         (insetIterator): modify accordingly
3014
3015         * BranchList.h: move the BranchNamesEqual functor here from...
3016         * BranchList.C: ... to here
3017
3018         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3019         SameName and match.
3020         (add): replace a finding loop with std::find_if.
3021
3022 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3023
3024         * output_docbook.C: moving LatexParam functionality into
3025         .layout files
3026
3027 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3028
3029         * buffer.C: increment format to 229.
3030
3031 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3032
3033         * LaTeXFeatures.C:
3034         * lyx_sty.[Ch]: remove minipageindent_def
3035
3036         * LyXAction.C:
3037         * factory.C:
3038         * lfuns.h:
3039         * lyxfunc.C:
3040         * text3.C: remove LFUN_INSET_MINIPAGE
3041
3042 2003-12-28  Angus Leeming  <leeming@lyx.org>
3043
3044         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3045
3046 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3047
3048         * text2.C (setParagraph): fix off-by-one crash
3049
3050 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3051
3052         * output_docbook.C: header stuff for AGU
3053
3054 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3055
3056         * text2.C (redoCursor): remove
3057         * text.C:
3058         * text3.C:
3059         * BufferView_pimpl.C: remove calls to redoCursor and
3060         setCursor(cursor.par(), cursor.pos()) all around
3061
3062 2003-12-15  Angus Leeming  <leeming@lyx.org>
3063
3064         * buffer.C: up the format to 228.
3065
3066 2003-12-15  André Pönitz  <poenitz@gmx.net>
3067
3068         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3069         slices
3070
3071         * Makefile.am:
3072
3073         * BufferView_pimpl.C:
3074         * cursor.[Ch]:
3075         * lyxcursor.[Ch]:
3076         * rowpainter.[Ch]:
3077         * lyxtext.h:
3078         * text.C:
3079         * text2.C:
3080         * text3.C: adjust
3081
3082 2003-12-15  Angus Leeming  <leeming@lyx.org>
3083
3084         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3085         than getFromGUIName to manipulate the color.
3086
3087 2003-12-14  Angus Leeming  <leeming@lyx.org>
3088
3089         * BranchList.[Ch]: minimize the API.
3090         (Branch::getBranch, getColor): now return a 'const &'.
3091         (Branch::setSelected) now returns a bool set to true if the
3092         selection status changes.
3093         (BranchList::clear, size, getColor, setColor, setSelected,
3094         allBranches, allSelected, separator): removed.
3095         (BranchList::find): new functions, returning the Branch with
3096         the given name.
3097         (BranchList::add, remove): return a bool indicating that
3098         the operation was successful.
3099
3100         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3101         new InsetBranch::isBranchSlected member function.
3102
3103         * LColor.[Ch]: mimimize the API.
3104         (fill): renamed as addColor and made private.
3105         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3106         versions of these functions taking a string arg have been removed.
3107
3108         * bufferparams.C (readToken):
3109         * lyxfunc.C (dispatch):
3110         * lyxrc.C (read): changes due to the altered BranchList and
3111         LColor APIs.
3112
3113         * factory.C (createInset, readInset): changes due to altered
3114         InsetBranch c-tor.
3115
3116 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3117
3118         * factory.C:
3119         * lyxfunc.C: remove insetminipage. "minipage-insert"
3120         now produces a frameless minipage box inset.
3121
3122 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3123
3124         * textcursor.[Ch] (selStart,selEnd): add new methods
3125         remove selection::start, end, use LyXCursor::operator<
3126         * lyxcursor.[Ch] (operator<): add
3127         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3128         * BufferView.[Ch] (unsetXSel): add
3129         * text2.C (clearSelection): use unsetXSel,adjust
3130         * text.C: adjust
3131         * text3.C: adjust
3132         * rowpainter.C: adjust
3133         * bufferview_funcs.C (put_selection_at): adjust
3134
3135 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * BufferView_pimpl.C: small coord. correction
3138
3139 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3142         dragging over the splash screen.
3143
3144 2003-12-11  Angus Leeming  <leeming@lyx.org>
3145
3146         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3147         as it is now handled in LyXText::dispatch.
3148
3149         * text3.C (doInsertInset): remove a level of nesting.
3150
3151 2003-12-11  Angus Leeming  <leeming@lyx.org>
3152
3153         * factory.C (createInset): changes due to the changed interface to
3154         InsetCommandMailer::string2params.
3155
3156 2003-12-10  Angus Leeming  <leeming@lyx.org>
3157
3158         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3159         'dialog-show-new-inset <inset name>'
3160
3161 2003-12-10  Angus Leeming  <leeming@lyx.org>
3162
3163         * buffer.C: up the format to 227.
3164
3165         * factory.C: the box inset is now identified simply by 'Box'.
3166
3167 2003-12-10  Angus Leeming  <leeming@lyx.org>
3168
3169         * buffer.C: up the format to 226.
3170
3171         * factory.C: the note inset is now identified simply by 'Note'.
3172
3173 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3176         when a pit is enough. Standarize a couple of loops.
3177
3178 2003-12-05  Angus Leeming  <leeming@lyx.org>
3179
3180         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3181         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3182         data to the re-worked "log" dialog.
3183
3184 2003-12-03  André Pönitz  <poenitz@gmx.net>
3185
3186         * PosIterator.C:
3187         * iterators.C:
3188         * lyxtext.h:
3189         * output_latex.C:
3190         * paragraph_funcs.C:
3191         * text.C:
3192         * text2.C: use Inset::getText instead of Inset::getParagraph
3193
3194 2003-12-03  André Pönitz  <poenitz@gmx.net>
3195
3196         * buffer.[Ch]:
3197         * lyxtext.h:
3198         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3199         InsetText::read() as LyXText::read()
3200
3201 2003-12-02  Angus Leeming  <leeming@lyx.org>
3202
3203         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3204         type. Add a comment in the implementation that the function uses
3205         the stream's bad() function rather than fail() as the std::streams
3206         would do.
3207
3208 2003-12-02  André Pönitz  <poenitz@gmx.net>
3209
3210         * lyxlex.[Ch]: make interface more similar to std::stream
3211
3212         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3213
3214 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3215
3216         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3217
3218 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3219
3220         * vspace.[Ch]: remove VSpace::NONE
3221
3222 2003-12-01  André Pönitz  <poenitz@gmx.net>
3223
3224         * buffer.[Ch]:
3225         * lyxtext.h: move ParagraphList member to LyXText
3226         rename LyXText::ownerParagraphs to LyXText::paragraph
3227
3228         * CutAndPaste.C:
3229         * bufferview_funcs.C:
3230         * iterators.[Ch]:
3231         * lyx_cb.C:
3232         * paragraph.C:
3233         * rowpainter.C:
3234         * tabular.C:
3235         * text.C:
3236         * text2.C:
3237         * text3.C: adjust
3238
3239         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3240
3241         * undo.C: fix cursor positioning
3242
3243 2003-12-01  John Levon  <levon@movementarian.org>
3244
3245         * BufferView_pimpl.C: fix a crash on exit with
3246         a buffer open
3247
3248 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * BranchList.C: fix setSelected() method.
3251
3252 2003-11-28  André Pönitz  <poenitz@gmx.net>
3253
3254         * ParagraphParameters.[Ch]:
3255         * ParameterStruct.h: remove space above/below from Paragraph to
3256          InsetVSpace
3257
3258         * BufferView_pimpl.C:
3259         * factory.C:
3260         * lyxfunc.C:
3261         * lyxtext.h:
3262         * output_latex.C:
3263         * paragraph.C:
3264         * paragraph_funcs.C:
3265         * rowpainter.[Ch]:
3266         * text.C:
3267         * text2.C:
3268         * text3.C: adjust
3269
3270 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3271
3272         * factory.C: Syntax change for CharStyles
3273
3274 2003-11-28  André Pönitz  <poenitz@gmx.net>
3275
3276         * BufferView.[Ch]:
3277         * BufferView.[Ch]:
3278         * buffer.[Ch]:
3279         * buffer.[Ch]: move LyXText member
3280
3281 2003-11-28  André Pönitz  <poenitz@gmx.net>
3282
3283         * BufferView.[Ch]: make LyXText * text a private member
3284
3285         * BufferView_pimpl.C:
3286         * cursor.C:
3287         * iterators.C:
3288         * lyx_cb.C:
3289         * lyxfind.C:
3290         * lyxtext.h:
3291         * rowpainter.[Ch]:
3292         * text.C:
3293         * text2.C:
3294         * undo.C: adjust
3295
3296         * output_plaintext.C: cleanup
3297
3298 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3299
3300         * buffer.C:
3301         * lyxtextclass.[Ch]: parametrize SGML document header
3302
3303 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3304
3305         * converter.[Ch]:
3306         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3307         getFlavor().
3308
3309 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * text2.C (setFont): rework using PosIterator (no more recursive)
3312         (setCharFont): no more needed
3313         (setLayout): no more selection cursors fiddling (done by redoCursor)
3314         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3315         destroy remaining ones)
3316
3317 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3320         * lyxtext.h: ditto
3321         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3322         selection cursors
3323         * lyxfunc.C: adjust
3324         * text3.C: adjust + re-allow multi par depth changes
3325         * textcursor.C: simplify a bit
3326
3327 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3328
3329         * src/buffer.C:
3330         * src/lyxlayout.C:
3331         * src/lyxlayout.h:
3332         * src/lyxtext.h:
3333         * src/output_docbook.C:
3334         * src/output_latex.C:
3335         * src/paragraph.C:
3336         * src/paragraph.h:
3337         * src/sgml.C:
3338         * src/sgml.h:
3339         * src/text2.C: Introducing a number of tags parametrizing various
3340         XML formats that we may want to support
3341
3342 2003-11-25  André Pönitz  <poenitz@gmx.net>
3343
3344         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3345
3346         * lyxtext.h (leftMargin/rightMargin): simplify interface
3347
3348         * rowpainter.C:
3349         * text.C:
3350         * text2.C:
3351         * text3.C: adjust
3352
3353 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3354
3355         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3356         master file to any child files. Fixes bug 546.
3357
3358 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3361
3362 2003-11-24  André Pönitz  <poenitz@gmx.net>
3363
3364         * rowpainter.C: simplification
3365
3366         * text2.C (updateCounters): remove call to redoParagraph on
3367         changed labels as this is far too expensive.
3368
3369 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * converter.C (convert): fix a crash: this function gets
3372         called with buffer == 0 from importer code.
3373
3374 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3375
3376         * text3.C (cursorPrevious): make sure that we do not compare
3377         iterators form different containers.
3378         (cursorNext): ditto
3379
3380         * rowpainter.C (paintSelection): make sure that we do not compare
3381         iterators from different containers.
3382
3383         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3384         iterators from different ParagraphList containers.
3385         [NEXT] ditto
3386
3387         * text2.C (LyXText): change order of initialization slightly
3388         (operator=): new function. copy all variables except cache_par_
3389         (moveUp): make sure that we do not compare iterators from
3390         different ParagraphList constainers.
3391         (moveDown): ditto
3392
3393         * text.C (firstPar): new function
3394         (lastPar): new function
3395         (endPar): new function
3396
3397         * lyxtext.h: move things around and group public functions, public
3398         variables, private functions, private variables
3399
3400 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3401
3402         * factory.C: change call to InsetERT constructor to avoid
3403         additional invocation of method status
3404         * text2.C (toggleInset): remove redundant update() call
3405         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3406         instead of a Bufferview pointer
3407
3408 2003-11-21  André Pönitz  <poenitz@gmx.net>
3409
3410         * rowpainter.C: simplification
3411
3412 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3413
3414         * text3.C (dispatch): make possible to extend a word/row selection
3415         with the mouse
3416
3417 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * lyxtext.h: x0_,y0_ -> xo_,yo_
3420         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3421         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3422         * rowpainter.C (paintRows): paint full paragraphs
3423
3424 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3425
3426         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3427         screen coordinates)
3428
3429 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3430
3431         * lyxtext.h: add x0_, y0_
3432         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3433         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3434
3435 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3436
3437         * text2.C (setCursorIntern): move the x_target update here *
3438         * text3.C: change some bv() to true/false in calls to
3439         cursorUp/Down/Right/Left
3440         * cursor.C: use helper function.
3441
3442 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3445         * paragraph_funcs.[Ch]: correct comment
3446         * rowpainter.C: do not paint selections away from bv->cursor()
3447         Fix a long standing selection painting bug.
3448         * text3.C: generalize mouse-selection code to LyXTexts other that
3449         top one
3450         * textcursor.C: do not use y coords if we can use par offsets
3451
3452 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3455         cursor position after e.g. inset insert)
3456
3457 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3458
3459         * lyxfind.C (replace): adjust to locking removal + some
3460         code simplification
3461
3462 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3463
3464         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3465         of the path
3466
3467 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3468
3469         * lyxlayout.[Ch]:
3470         * output_docbook.C: XML sanitation: new layout
3471         parameters InnerTag and CommandDepth
3472
3473 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3474
3475         * BufferView_pimpl.C:
3476         * factory.C:
3477         * text3.C: Fix the insertion and modification of button-style
3478         insets
3479
3480 2003-11-13  André Pönitz  <poenitz@gmx.net>
3481
3482         * InsetList.[Ch]: remove deleteLyXText
3483
3484         * paragraph.[Ch]: cache beginOfBody position
3485
3486         * Bidi.C:
3487         * text.C:
3488         * text2.C:
3489         * text3.C: remove superfluous update() calls
3490
3491         * vspace.C: cleanup
3492
3493 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3496         * BufferView.C (fitLockedInsetCursor): remove
3497         * cursor.[Ch] (getDim): add
3498         * text.C (getRowNearY): add faster version
3499         * text3.C: remove some update calls
3500
3501 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3502
3503         * LaTeXFeatures.C:
3504         * LyXAction.C:
3505         * MenuBackend.C:
3506         * MenuBackend.h:
3507         * dispatchresult.h:
3508         * factory.C:
3509         * lfuns.h:
3510         * lyxfunc.C:
3511         * lyxtextclass.C:
3512         * lyxtextclass.h:
3513         * text3.C: The Character Style /XML short element patch.
3514
3515 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3516
3517         * text3.C:
3518         * factory.C: Small step to solving 'unable to insert some insets'
3519         problem
3520
3521 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * cursor.[Ch] (updatePos): new function for updating the y
3524         position of the tip inset
3525         * bufferview_funcs.C (put_selection_at):
3526         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3527
3528 2003-11-11  André Pönitz  <poenitz@gmx.net>
3529
3530         * text.C: remove big comment on invalid Paragraph pointers as it is
3531         not valid anymore
3532
3533 2003-11-11  André Pönitz  <poenitz@gmx.net>
3534
3535         * text_funcs.[Ch]: merge with ...
3536
3537         * text.C: ... this
3538
3539         * lyxtext.h:
3540         * text2.C:
3541         * text3.C: adjust
3542
3543         * Makefile.am: remove text_funcs.[Ch]
3544
3545 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * cursor.C (getPos): return absolute cached y coord
3548
3549         * BufferView_pimpl.C (fitCursor): new simplistic code
3550         (workAreaDispatch): add a fitCursor call
3551
3552 2003-11-10  André Pönitz  <poenitz@gmx.net>
3553
3554         * BufferView.[Ch]:
3555         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3556
3557 2003-11-10  André Pönitz  <poenitz@gmx.net>
3558
3559         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3560         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3561         indicate that the cursor needs to leave an inset
3562
3563         * lyxtext.h: remove inset locking
3564
3565         * cursor.[Ch]: re-implement functionality provided by inset locking
3566
3567         * BufferView.[Ch]:
3568         * BufferView_pimpl.[Ch]:
3569         * LyXAction.C:
3570         * bufferview_funcs.[Ch]:
3571         * factory.C:
3572         * funcrequest.[Ch]:
3573         * iterators.C:
3574         * lyx_cb.C:
3575         * lyxfind.C:
3576         * lyxfunc.C:
3577         * text.C:
3578         * text2.C:
3579         * text3.C:
3580         * undo.C: adjust
3581
3582 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * PosIterator.[Ch]: replace the stack with a vector, add inset
3585         accesor
3586         * iterators.[C]: adjust
3587
3588 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3591         replaced
3592         * paragraph_funcs.C (readParToken): put the correct id in the
3593         error item, not the id of the top paragraph
3594
3595 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3598         * bufferview_funcs.C (put_selection_at): use the above
3599
3600 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3603
3604 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3605
3606         * output_linuxdoc.h:
3607         * output_plaintext.h:
3608         * output.h:
3609         * output_docbook.h: add #include statements
3610
3611 2003-11-05  José Matos  <jamatos@lyx.org>
3612
3613         * output_docbook.[Ch]:
3614         * output_latex.[Ch]:
3615         * output_linuxdoc.[Ch]:
3616         * output_plaintext.[Ch]: New files for output formats.
3617         * output.[Ch]: New file for helper functions.
3618
3619         * buffer.[Ch]:
3620         * paragraph_funcs.[Ch]: output functions moved to new files.
3621
3622         * outputparams.h: rename of latexrunparams.h
3623
3624         * LaTeX.[Ch]:
3625         * buffer.[Ch]:
3626         * bufferlist.[Ch]:
3627         * converter.[Ch]:
3628         * exporter.C:
3629         * paragraph.[Ch]:
3630         * paragraph_funcs.[Ch]:
3631         * paragraph_pimpl.[Ch]:
3632         * tabular.[Ch]: rename ascii to plaintext
3633         and LatexRunParams to OutputParams.
3634
3635 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * iterators.[Ch] (text): require bv argument
3638         * undo.C (recordUndo):
3639         * lyxfunc.C (dispatch):
3640         * bufferview_funcs.C (put_selection_at): adjust
3641
3642 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3643
3644         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3645
3646 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3649         nestings
3650
3651 2003-11-04  André Pönitz  <poenitz@gmx.net>
3652
3653         * cursor.[Ch]: restructure
3654
3655         * BufferView.[Ch]:
3656         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3657
3658         * iterators.[Ch] (asCursor): remove
3659
3660         * lfuns.h: remove LFUN_INSET_EDIT
3661
3662         * lyxfunc.C:
3663         * tabular.C:
3664         * text.C:
3665         * text2.C:
3666         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3667
3668 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3669
3670         * lyxfind.[Ch]: complete overhaul
3671         * BufferView_pimpl.C:
3672         * lyxfunc.C: adjust
3673         * paragraph.[Ch] (insert): add
3674
3675 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * BufferView.[Ch]:
3678         * lyxtext.h:
3679         * text.C: remove dead spellcheck code
3680
3681 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * dispatchresult.h: add a val setter
3684
3685         * cursor.C (dispatch): use a tempvar for data_[i]
3686
3687 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * PosIterator.[Ch]: compile fix
3690
3691 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * text.C (cursorPar): deactivate the cursor cache
3694
3695 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3696
3697         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3698
3699 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * text3.C (dispatch): adjust for new DisptchResult semantics.
3702
3703         * lyxfunc.C (dispatch): handle update when return from
3704         Cursor::dispatch, adjust for new DispatchResult semantics.
3705
3706         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3707         DispatchResult(true) mean to not update. Add class functions for
3708         setting dispatched and update, as well as reading.
3709
3710         * cursor.C (dispatch): don't handle update here
3711
3712 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3715         * trans_mgr.C: adjust
3716
3717         * paragraph_funcs.C (readParToken): exception safety
3718
3719         * lyxvc.h: store the vcs pointer in a scoped_ptr
3720         * lyxvc.C: adjust
3721
3722         * lyxsocket.C (serverCallback): exception safety
3723
3724         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3725
3726         * ispell.C (clone): make it return a auto_ptr
3727
3728         * factory.C (createInset): exception safety
3729         (readInset): exception safety
3730
3731         * bufferlist.C (newBuffer): exception safety
3732
3733         * Thesaurus.C (Thesaurus): use initialization for aik_
3734
3735         * MenuBackend.C (expandToc): exception safety.
3736
3737 2003-11-03  André Pönitz  <poenitz@gmx.net>
3738
3739         * buffer.C:
3740         * buffer.h:
3741         * bufferview_funcs.C: remove getInsetFromId()
3742
3743         * lyxcursor.[Ch]:
3744         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3745
3746         * lyxfunc.C:
3747         * text2.C:
3748         * text3.C: adjust
3749
3750 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * PosIterator.C (distance, advance): new
3753         * bufferview_funcs.[Ch] (put_selection_at): new
3754         * iterators.[Ch] (lockPath): new
3755
3756 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * iterators.[Ch] (asPosIterator): added
3759         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3760         * PosIterator.[Ch]: added
3761
3762 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * text3.C:
3765         * lyxfunc.C:
3766         * cursor.C (dispatch):
3767         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3768
3769         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3770         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3771         contructor, add a class function dispatched. Remove operator>=
3772
3773 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * debug.C: only use the default constructor for debugstream
3776         (lyxerr) here.
3777
3778         * main.C (main): include debug.h and setup the lyxerr streambuf
3779         here.
3780
3781 2003-10-31  José Matos  <jamatos@lyx.org>
3782
3783         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3784
3785         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3786         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3787         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3788         * paragraph_pimpl.C (simpleTeXSpecialC):
3789         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3790         add LatexRunParams argument.
3791
3792         * exporter.C (Export): change call accordingly.
3793
3794         * latexrunparams.h: add new member to take care of the other backends.
3795 2003-10-30  José Matos  <jamatos@lyx.org>
3796
3797         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3798         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3799         factorise code for paragraph output.
3800         * buffer.[Ch]:
3801         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3802         move functions.
3803
3804 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * text3.C (dispatch):
3807         * lyxfunc.C (dispatch):
3808         * cursor.C (dispatch):
3809         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3810
3811         * dispatchresult.h: make the dispatch_result_t ctor explicit
3812
3813 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3814
3815         * sgml.[Ch]:
3816         * buffer.C: small refactoring of docbook stuff
3817
3818 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3819
3820         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3821         meaning.
3822
3823 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3826         operator dispatch_result_t, and operators for == != and >=
3827
3828         * cursor.C (dispatch): adjust for operator dispatch_result_t
3829         removal. comment out call to update
3830
3831         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3832
3833 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * text3.C:
3836         * text2.C:
3837         * text.C:
3838         * lyxtext.h:
3839         * lyxfunc.C:
3840         * cursor.C:
3841         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3842         (dispatch):
3843
3844         * dispatchresult.h: new file, DispatchResult broken out of
3845         insets/insetbase.h
3846
3847         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3848
3849 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * text.C (rowBreakPoint): put a hack inside #if 0
3852
3853 2003-10-28  André Pönitz  <poenitz@gmx.net>
3854
3855         * lyxtext.h:
3856         * metricsinfo.C:
3857         * paragraph_funcs.C:
3858         * rowpainter.C:
3859         * text.C:
3860         * text2.C: general cleanup (lots of small stuff)
3861
3862 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * text2.C (cursorEnd): simple fix to the "end key goes to one
3865         before the end on last row" bug
3866
3867 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * text.C (backspace): fix the "zombie characters"
3870
3871 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3872
3873         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3874
3875 2003-10-27  André Pönitz  <poenitz@gmx.net>
3876
3877         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3878
3879         * factory.C: handle new InsetPagebreak, InsetLine
3880
3881         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3882         and move handling into new InsetPagebreak, InsetLine
3883
3884         * BufferView_pimpl.C:
3885         * LyXAction.C:
3886         * ParagraphParameters.C:
3887         * ParameterStruct.h:
3888         * lyxfunc.C:
3889         * lyxtext.h:
3890         * paragraph.C:
3891         * paragraph.h:
3892         * paragraph_funcs.C:
3893         * paragraph_pimpl.C:
3894         * rowpainter.C:
3895         * text.C:
3896         * text2.C:
3897         * text3.C: adjust
3898
3899 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * text.C:
3902         * lyxrow_funcs.[Ch]:
3903         * Bidi.C:
3904         * paragraph.C:
3905         * lyxtext.h:
3906         * rowpainter.C:
3907         * text2.C:
3908         * text3.C: remove lastPos uses in favour of Row::endpos
3909
3910 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3911
3912         * undo.C (performUndoOrRedo): fix two crashes by setting a
3913         cursor by hand and reordering some calls. Use bv->lockInset instead
3914         of inset->edit because the latter loses cursor information
3915
3916 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3917
3918         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3919         by Martin
3920         (rowBreakPoint): fix width. change point to point + 1.
3921         Add a missing check.
3922
3923 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * MenuBackend.C:
3926         * lyxfunc.C: fix (at least partly) the problems
3927         with the Nav menu and headers inside branch insets
3928         reported by Kayvan
3929
3930 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * paragraph.C (getChar): add strong asserts
3933
3934         * lyxrow_funcs.C (lastPos): remove hideous hack
3935
3936         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3937         (fill): adjust to that (avoid an infinite loop)
3938
3939 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3940
3941         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3942
3943 2003-10-23  André Pönitz  <poenitz@gmx.net>
3944
3945         * RowList_fwd.h: change list<> to vector<> to gain speed
3946         after suggestion from Alfredo
3947
3948 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * lyxtext.h: move the bidi stuff from here...
3951         * text.C: and here
3952         * text2.C: and here
3953         * Bidi.[Ch]: ... to here
3954
3955 2003-10-23  André Pönitz  <poenitz@gmx.net>
3956
3957         * lyxtext.h:
3958         * text.C (isLastRow, isFirstRow): new functions
3959
3960         * paragraph.h: new width cache member
3961
3962         * rowpainter.C: replace RowList::iterator with Row & where possible
3963
3964         * lyxfunc.C: replace several view()->text with a single call
3965
3966         * toc.C: fix 'unused' warning
3967
3968 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3971         when woring with stream::pos_type
3972         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3973
3974 2003-10-22  André Pönitz  <poenitz@gmx.net>
3975
3976         * lyxtext.h:
3977         * text.C: use Row & instead of RowList::iterator
3978
3979         * lyxrow.h: rename end() to endpos()
3980
3981         * rowpainter.C:
3982         * text.C:
3983         * text2.C: adjust
3984
3985 2003-10-22  Angus Leeming  <leeming@lyx.org>
3986
3987         * buffer.[Ch] (fully_loaded): new member function, returning true
3988         only when the file has been loaded fully.
3989         Used to prevent the premature generation of previews and by the
3990         citation inset to prevent computation of the natbib-style label.
3991
3992         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3993         templates are all set up.
3994
3995         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3996
3997 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3998
3999         * text.C: fixed an "oops" in the "is a bit silly"
4000         bug fix
4001
4002 2003-10-21  André Pönitz  <poenitz@gmx.net>
4003
4004         * FuncStatus.[Ch]: small stuff, whitespace
4005
4006         * lyxfont.[Ch]: operator<<() for debug reasons
4007
4008         * lyxfunc.C:
4009         * lyxrow_funcs.C:
4010         * lyxtext.h: whitespace, spelling
4011
4012         * paragraph.C: naming of variables
4013
4014         * text.C:
4015         * text2.C: small stuff
4016
4017
4018 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4019
4020         * text.C: (1) finish off the inset display() work;
4021         (2) fix the "is a bit silly" bug (accessing char
4022         past end of par).
4023
4024 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * text.C: re-introduce display() for insets, fixing the
4027         various bugs (stretch of line above, math inset
4028         positioning, ...)
4029
4030 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4031
4032         * text.C (rightMargin): remove spurious semicolon
4033
4034         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4035         1415)
4036
4037 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4038
4039         * text3.C: fix one crash due to wrong cursor def
4040
4041 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * vc-backend.C (scanMaster): make the regex static
4044
4045         * LaTeX.C (scanAuxFile): make the regexs static
4046
4047         * text3.C (doInsertInset, dispatch, dispatch):
4048         * text2.C (cursorUp, cursorDown):
4049         * text.C (selectNextWordToSpellcheck):
4050         * BufferView_pimpl.C (dispatch):
4051         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4052
4053 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4054
4055         * lyxsocket.C: include <cerrno>
4056
4057 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * lyxfunc.C (dispatch): remove textcache stuff
4060
4061         * bufferlist.C (release): remove textcache stuff
4062         (closeAll): ditto
4063
4064         * TextCache.C: delete file
4065         * TextCache.h: delete file
4066
4067         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4068
4069         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4070         delete of the bv_->text.
4071         (resizeCurrentBuffer): remove texcache stuff
4072         (workAreaResize): ditto
4073
4074 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4077         action.
4078
4079 2003-10-16  André Pönitz  <poenitz@gmx.net>
4080
4081         * lyxrow.[Ch]:
4082         * paragraph.h:
4083         * rowpainter.C:
4084         * text.C:
4085         * text2.C:
4086         * text3.C: speed up by storing y positions per paragraph plus per-row
4087         offset instead of having a 'full' y position in the row.
4088
4089 2003-10-15  André Pönitz  <poenitz@gmx.net>
4090
4091         * iterators.[Ch]:
4092         * iterators.[Ch]:
4093         * undo.[Ch]: make undo aware of inner insets
4094
4095 2003-10-14  Angus Leeming  <leeming@lyx.org>
4096
4097         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4098         static member functions LyX::ref() and LyX::cref.
4099         (lastfiles): new accessor functions for the new lastfiles_ member var.
4100         (addLyXView, views_): add a new LyXView to the list of views_.
4101         (updateInset): loop over all LyXViews to call their own updateInset
4102         member function, returning a pointer to the Buffer owning the inset.
4103
4104         * BufferView_pimpl.C (loadLyXFile):
4105         * MenuBackend.C (expandLastfiles):
4106         * bufferlist.C (MenuWrite, QuitLyX):
4107         lastfiles is no longer a global variable.
4108         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4109
4110         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4111         static function. Access through LyX::cref().emergencyCleanup().
4112
4113 2003-10-14  André Pönitz  <poenitz@gmx.net>
4114
4115         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4116
4117         * undo.[Ch]: restoring part of 'undo in insets'
4118
4119         * Makefile.am:
4120         * undo_funcs.[Ch]: merge with undo.[Ch]
4121
4122         * tabular.C: small cleansing stuff
4123
4124 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * paragraph_funcs.C (readParToken): report unknown insets as error
4127         boxes. Use the outer paragraph as location (also for unknown
4128         tokens).
4129
4130         * factory.C (readInset): do not abort on reading an unknown inset.
4131         Eat it and return 0.
4132
4133 2003-10-13  Angus Leeming  <leeming@lyx.org>
4134
4135         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4136
4137         * lyxrc.C: displayTranslator is now a function,
4138         declared in GraphicsTypes.h.
4139
4140 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4141
4142         * format.C: new placeholder $$a to pass the socket address.
4143
4144         * bufferlist.[Ch]: new function getBufferFromTmp.
4145
4146         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4147           files in the temporary dir.
4148
4149 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4150
4151         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4152
4153         * Makefile.am: add lyxsocket.[Ch].
4154
4155         * lyx_main.C (error_handler): handle SIGPIPE.
4156
4157 2003-10-13  André Pönitz  <poenitz@gmx.net>
4158
4159         * BufferView_pimpl.C:
4160         * lyxtext.h:
4161         * text.C:
4162         * text2.C:
4163         * text3.C:
4164         * undo_funcs.[Ch]: use paroffset_type instead of
4165           ParagraphList::iterators to prevent multiple conversion
4166           (and get a more robust interface)
4167
4168 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4171         * lyxtext.h: ditto
4172         * text3.C (dispatch): ditto
4173
4174 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4175
4176         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4177         move the onlyfile, use onlyfile instead of foundfile in a couple
4178         of places.
4179
4180         * DepTable.C (update): flush the error stream a bit more
4181
4182 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * lyxserver.C (callback): adjust
4185
4186         * lyxfunc.C (getStatus): add a missing brace in commented code
4187         (ensureBufferClean): reindent
4188         (dispatch): delete version taking a string
4189
4190 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * LaTeX.C (deplog): move found file handlig from here...
4193         (handleFoundFile): .. to new function here.
4194         (deplog): make sure to discover several files mentioned on the
4195         same log line.
4196
4197 2003-10-10  André Pönitz  <poenitz@gmx.net>
4198
4199         * lyxfunc.C:
4200         * lyxtext.h:
4201         * tabular.C:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: fix some of the tabular crashes
4205
4206 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4207
4208         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4209
4210         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4211
4212 2003-10-09  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4215
4216         * BufferView.C:
4217         * BufferView_pimpl.C:
4218         * bufferview_funcs.C:
4219         * lyx_cb.C:
4220         * lyxcursor.C:
4221         * lyxfind.C:
4222         * lyxfunc.C:
4223         * lyxtext.h:
4224         * text.C:
4225         * text2.C:
4226         * text3.C:
4227         * text_funcs.[Ch]:
4228         * textcursor.[Ch]:
4229         * undo_funcs.C: adjust
4230
4231 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * text2.C (incrementItemDepth): new function, use a backtracking
4234         algorithm to discover the correct item depth.
4235         (resetEnumCounterIfNeeded): new function, use a backtracking
4236         algorithm to discover if counter reset is needed.
4237         (setCounter): use them. Simplify a bit. Add different labels for
4238         different item depths for itemize.
4239
4240         * paragraph.C (Paragraph): remove initialization of enumdepth
4241         (operator=): ditto
4242
4243         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4244         enumerate and itemize. Change the type of itemdepth to signed char.
4245
4246 2003-10-08  André Pönitz  <poenitz@gmx.net>
4247
4248         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4249           thing assignable.
4250         * text.C:
4251         * text2.C: adjust
4252
4253         * tabular.[Ch]: fix crash after 'row-insert'
4254
4255 2003-10-08  Angus Leeming  <leeming@lyx.org>
4256
4257         Fix doxygen warnings.
4258
4259         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4260         Remove CutAndPaste:: prefix from header file declaration.
4261
4262         * LColor.h (fill): remove LColor:: prefix from declaration.
4263
4264         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4265         use lyx::depth_type rather than Paragraph::depth_type so that
4266         header file and .C file match.
4267
4268         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4269
4270         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4271         * aspell.C: \file aspell_local.C -> \file aspell.C
4272         * gettext.C: \file gettext.C -> \file src/gettext.C
4273         * gettext.h: \file gettext.h -> \file src/gettext.h
4274         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4275         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4276         * text.C: \file text.C -> \file src/text.C
4277
4278         * toc.C: move comment so that doxygen is not confused.
4279
4280 2003-10-07  Angus Leeming  <leeming@lyx.org>
4281
4282         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4283
4284 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4285
4286         * aspell.C:
4287         * aspell_local.h: add forgotten std::string's.
4288
4289 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4290
4291         * LaTeXFeatures.C:
4292         * LyXAction.C:
4293         * factory.C:
4294         * lfuns.h:
4295         * lyxfunc.C:
4296         * text3.C: The Box patch. Fancybox support, minipage, parbox
4297
4298 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4299
4300         * CutAndPaste.h:
4301         * DepTable.h:
4302         * FloatList.h:
4303         * LaTeXFeatures.h:
4304         * ParagraphParameters.h:
4305         * TextCache.h:
4306         * Thesaurus.h:
4307         * bufferlist.h:
4308         * exporter.h:
4309         * importer.h:
4310         * lastfiles.h:
4311         * lyxfind.h:
4312         * lyxfont.h:
4313         * lyxlex.h:
4314         * lyxtextclasslist.h:
4315         * messages.h:
4316         * paragraph.h:
4317         * paragraph_pimpl.C:
4318         * textcursor.h: add <string> and other small fixes to make Lars'
4319         std::string patch compile with STLport.
4320
4321 2003-10-06  Angus Leeming  <leeming@lyx.org>
4322
4323         * LColor.h: Add missing #include <string>.
4324
4325 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * All most all file in all subdirs: Make <string> be the prefered
4328         way of getting to std::string, add using declarations.
4329
4330 2003-10-06  André Pönitz  <poenitz@gmx.net>
4331
4332         * metricsinfo.C: initialize LyXFont before changing attribute.
4333         (fixes the 'math in \emph is upright' bug)
4334
4335 2003-10-06  André Pönitz  <poenitz@gmx.net>
4336
4337         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4338
4339 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4340
4341         * graph.C:
4342         * paragraph_pimpl.C: Small fixes to build using STLport
4343
4344 2003-10-02  André Pönitz  <poenitz@gmx.net>
4345
4346         * lyxfunc.C:
4347         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4348
4349 2003-10-01  André Pönitz  <poenitz@gmx.net>
4350
4351         * factory.C: assert early
4352
4353 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * lyx_main.C: remove the global debug object
4356
4357         * debug.h: adjust for new debugstream
4358
4359         * debug.C: adjust for new debugstream and keep the global debug
4360         object here.
4361
4362 2003-09-22  Angus Leeming  <leeming@lyx.org>
4363
4364         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4365         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4366         an incomplete class LyXFont.
4367
4368 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * factory.C: bug fix in branches
4371
4372 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * lyxfunc.C (processKeySym): adjust
4375         (dispatch): adjust
4376         (dispatch): change arg name from ev to func, adjust
4377         (sendDispatchMessage): ditto
4378
4379         * lyx_main.C (defaultKeyBindings): adjust keybindings
4380         (deadKeyBindings): ditto
4381
4382         * kbsequence.C (addkey): return a FuncRequest
4383
4384         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4385
4386         * kbmap.C (bind): take a FuncRequest as arg, adjust
4387         (read): adjust
4388         (lookup): adjust
4389         (defkey): change to take a FuncRequest as arg, adjust
4390         (findbinding): take a FuncRequest as arg, adjust.
4391
4392         * funcrequest.h (operator=): added
4393
4394         * funcrequest.C (FuncRequest): default kb_action changed from
4395         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4396
4397         * buffer.C (dispatch): simplify
4398         (dispatch): adjust to take a FuncRequest as arg, adjust
4399
4400         * boost.C (assertion_failed): change assertion message slightly
4401
4402         * ToolbarBackend.C (read): simplify
4403
4404         * MenuBackend.C (binding): adjust call to findbinding, add a
4405         message if no binding is found.
4406         (read): simplify
4407         (expandToc): correct by adding a empty FuncRequest
4408
4409         * LyXAction.C: include <boost/assert.hpp>
4410         (isPseudoAction): delete function
4411         (LookupFunc): change name to...
4412         (lookupFunc): this. change return type to FuncRequest.
4413         (getActionName): take kb_action as arg, simplify
4414         (funcHasFlag): add an assert, simplify.
4415
4416 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * toc.C (action): return a FuncRequest, simplify
4419
4420         * lyxfunc.C (processKeySym): adjust
4421         (getStatus): delete version that takes an int.
4422         (getStatus): adjust
4423         (dispatch): delete version that takes action as int
4424         (dispatch): adjust
4425         (sendDispatchMessage): simplify and adjust
4426
4427         * funcrequest.C (getArg): take unsigned int as arg
4428
4429         * ToolbarBackend.C (read): adjust
4430         (add): delete version that takes func as a string.
4431         (getIton): take a FuncRequest as arg
4432
4433         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4434         action.
4435
4436         * MenuBackend.C (MenuItem): add a new construct that only takes a
4437         Kind, simplify the constructor use for submenus.
4438         (add): adjust
4439         (expandLastfiles): adjust
4440         (expandDocuments): adjust
4441         (expandFormats): adjust
4442         (expandFloatListInsert): adjust
4443         (expandFloatInsert): adjust
4444         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4445
4446         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4447         Remove class variables lyx_pseudo_map and lyx_arg_map
4448
4449         * LyXAction.C (searchActionArg): delete function
4450         (getPseudoAction): delete function
4451         (retrieveActionArg): delete function
4452         (LookupFunc): make it return kb_action, simplify.
4453         (getActionName): simplify
4454
4455         * factory.C (createInset): fix new bug
4456
4457 2003-09-19  Angus Leeming  <leeming@lyx.org>
4458
4459         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4460         masterFilename_ parameter in the include inset.
4461
4462         * factory.C (createInset): changes due to the changes to InsetInclude.
4463
4464 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4465
4466         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4467
4468 2003-09-18  Angus Leeming  <leeming@lyx.org>
4469
4470         * buffer.C:
4471         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4472         Inset::fillWithBibKeys.
4473         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4474
4475 2003-09-18  Angus Leeming  <leeming@lyx.org>
4476
4477         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4478         variables.
4479         (ctor): pass and store a 'Buffer const &'
4480         (buffer): new member function.
4481
4482         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4483         '*this' to the LaTeXFeatures ctor.
4484
4485 2003-09-18  Angus Leeming  <leeming@lyx.org>
4486
4487         * LColor.h:
4488         * lyxfont.C:
4489         * lyxfont.h:
4490         * lyxtext.h:
4491         * text.C: rename EnumLColor as LColor_color.
4492
4493 2003-09-18  Angus Leeming  <leeming@lyx.org>
4494
4495         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4496         remove #include "insets/insetbase.h" from cursor.h.
4497
4498 2003-09-18  Angus Leeming  <leeming@lyx.org>
4499
4500         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4501         InsetOld_code to remove #include "inset.h".
4502
4503         * iterators.C: add #include "insets/inset.h"
4504
4505 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4506
4507         * BufferView.C: remove more locking stuff that apparently doesn't
4508         do anything sensible.
4509
4510 2003-09-16  André Pönitz  <poenitz@gmx.net>
4511
4512         * paragraph.[Ch]:
4513         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4514           performance boost.
4515
4516 2003-09-16  Angus Leeming  <leeming@lyx.org>
4517
4518         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4519
4520         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4521         arg/return type.
4522
4523         * paragraph.h: remove #include "lyxfont.h". Forward declare
4524         LyXFont_size.
4525
4526 2003-09-16  Angus Leeming  <leeming@lyx.org>
4527
4528         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4529         of support/textutils.h.
4530         (isWord): move the contents of support/textutils.h's IsWordChar here.
4531
4532         * buffer.C:
4533         * lyxfind.C:
4534         * rowpainter.C:
4535         * text.C:
4536         * text2.C: add #include "paragraph.h".
4537
4538         * rowpainter.C:
4539         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4540
4541 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * main.C:
4544         * lyx_main.C:
4545         * lyx_cb.C:
4546         * buffer.C:
4547         * LaTeX.C: use namespace alias for lyx::support::os
4548
4549 2003-09-16  Angus Leeming  <leeming@lyx.org>
4550
4551         * bufferparams.C:
4552         * bufferview_funcs.C:
4553         * factory.C:
4554         * lyxfunc.C:
4555         * paragraph_pimpl.C:
4556         * rowpainter.C:
4557         * text.C: add #include "LColor.h".
4558
4559 2003-09-16  Angus Leeming  <leeming@lyx.org>
4560
4561         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4562         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4563         return LyXFont &.
4564         Store the FontBits::color variable as an int rather than as an
4565         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4566         file.
4567
4568         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4569         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4570         string calls together.
4571
4572         * lyxrc.C: add #include "LColor.h".
4573
4574 2003-09-15  Angus Leeming  <leeming@lyx.org>
4575
4576         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4577         a cow_ptr.
4578
4579 2003-09-15  Angus Leeming  <leeming@lyx.org>
4580
4581         * LColor.h: add an EnumLColor wrapper for LColor::color.
4582
4583         * lyxfont.[Ch] (color, setColor, realColor):
4584         * lyxtext.h, text.C (backgroundColor):
4585         pass EnumLColor args to/from the functions, rather than LColor::color
4586         ones.
4587
4588         * lyxfont.h:
4589         * lyxtext.h: forward declare EnumLColor.
4590
4591         * lyx_main.C: add #include "LColor.h".
4592
4593 2003-09-15  Angus Leeming  <leeming@lyx.org>
4594
4595         * .cvsignore: add lyx-gtk.
4596
4597 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * Chktex.C
4600         * LaTeX.C
4601         * LaTeXFeatures.C
4602         * ParagraphParameters.C
4603         * Spacing.C
4604         * buffer.C
4605         * bufferparams.C
4606         * bufferview_funcs.C
4607         * chset.C
4608         * counters.C
4609         * funcrequest.C
4610         * lyxfont.C
4611         * lyxgluelength.C
4612         * lyxlength.C
4613         * paragraph.C
4614         * paragraph_funcs.C
4615         * text3.C
4616         * vc-backend.C: remove usage of STRCONV
4617
4618 2003-09-15  Angus Leeming  <leeming@lyx.org>
4619
4620         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4621         explicitly define the color passed to the painter.
4622
4623 2003-09-15  Angus Leeming  <leeming@lyx.org>
4624
4625         * bufferparams.C (BufferParams): reorder member initializers to avoid
4626         compiler warning.
4627
4628 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4631         * text.C (updateRowPositions): remove an unusual nop
4632
4633 2003-09-12  André Pönitz  <poenitz@gmx.net>
4634
4635         * BufferView_pimpl.C:
4636         * Bullet.C:
4637         * layout.h:
4638         * lyxfunc.C:
4639         * lyxlayout.[Ch]:
4640         * lyxtextclass.C:
4641         * rowpainter.C:
4642         * text.C:
4643         * text2.C:
4644         * Counters.[Ch]: finish the 'automatic counters' job
4645
4646 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4647
4648         * aspell.C: include <boost/assert.cpp> (compile fix)
4649
4650 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4651
4652         * boost.C (assertion_failed): use lyx::support::abort instead of
4653         assert.
4654
4655 2003-09-10  Angus Leeming  <leeming@lyx.org>
4656
4657         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4658         with their _fwd progeny.
4659
4660 2003-09-09  Angus Leeming  <leeming@lyx.org>
4661
4662         134 files throughtout the source tree: replace 'using namespace abc;'
4663         directives with the appropriate 'using abc::xyz;' declarations.
4664
4665 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4666
4667         * boost.C (emergencyCleanup): moved here from LAssert.c
4668         (assertion_failed): new function, called by BOOST_ASSERT
4669
4670         * several files: change Assert to BOOST_ASSERT
4671
4672 2003-09-09  Angus Leeming  <leeming@lyx.org>
4673
4674         * buffer.[Ch]: Add an Impl class and move Buffer's member
4675         variables into it. As a result move several header files out of
4676         buffer.h.
4677
4678         Add header files to lots of .C files all over the tree as a result.
4679
4680 2003-09-09  Angus Leeming  <leeming@lyx.org>
4681
4682         * buffer.[Ch]: make Buffer's member variables private. Add
4683         accessor functions.
4684
4685         Lots of changes all over the tree as a result.
4686
4687 2003-09-08  Angus Leeming  <leeming@lyx.org>
4688
4689         * graph.C: #include <config.h>.
4690
4691 2003-09-08  Angus Leeming  <leeming@lyx.org>
4692
4693         * BranchList.C:
4694         * BufferView.C:
4695         * BufferView_pimpl.C:
4696         * CutAndPaste.C:
4697         * DepTable.C:
4698         * LaTeX.C:
4699         * LaTeXFeatures.C:
4700         * LyXAction.C:
4701         * MenuBackend.C:
4702         * TextCache.C:
4703         * aspell.C:
4704         * buffer.C:
4705         * bufferlist.C:
4706         * changes.C:
4707         * chset.C:
4708         * converter.C:
4709         * counters.C:
4710         * debug.C:
4711         * graph.C:
4712         * ispell.C:
4713         * lyx_cb.C:
4714         * lyxfind.C:
4715         * lyxfunc.C:
4716         * lyxlex_pimpl.C:
4717         * lyxrc.C:
4718         * lyxrow.C:
4719         * paragraph.C:
4720         * rowpainter.C:
4721         * texrow.C:
4722         * text.C:
4723         * text2.C:
4724         * toc.C: remove redundant using directives.
4725
4726 2003-09-07  Angus Leeming  <leeming@lyx.org>
4727
4728         * LaTeXFeatures.h: remove #include "support/types.h".
4729         * ToolbarBackend.h: remove #include <algorithm>.
4730         * changes.h: remove #include <ctime>.
4731         * debug.h: remove #include <iosfwd>.
4732         * graph.h: remove #include "support/std_string.h".
4733         * lyx_main.h: remove #include <csignal>.
4734         * lyxlex_pimpl.h: remove #include <fstream>.
4735         * sgml.h: remove #include <algorithm>, <utility>.
4736         * toc.h: remove #include "support/std_ostream.h".
4737         Add #include <iosfwd>.
4738
4739 2003-09-07  Angus Leeming  <leeming@lyx.org>
4740
4741         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4742
4743         * converter.h: forward declare LatexRunParams.
4744         * encoding.h: remove #include "lyxrc.h".
4745         * lyxtext.h: remove #include "LColor.h".
4746         * lyxtextclass.h: remove #include "support/types.h".
4747         * trans.h: remove #include "tex-accent.h".
4748         * trans_mgr.h: remove #include "tex-accent.h".
4749         * insets/inset.h: remove #include "support/types.h", <vector>.
4750         * insets/insetcollapsable.h: remove #include "LColor.h".
4751         * insets/insetinclude.h: remove #include "dimension.h".
4752         * insets/insetlatexaccent.h: remove #include "dimension.h".
4753         * insets/insetoptarg.h:: remove #include "insettext.h".
4754         * insets/insettext.h: remove #include "dimension.h",
4755         <boost/shared_ptr.hpp>
4756
4757         * insets/renderers.h: add #include "dimension.h".
4758         * insets/updatableinset.h: add #include "support/types.h".
4759
4760         * many .C files: Associated changes.
4761
4762 2003-09-06  Angus Leeming  <leeming@lyx.org>
4763
4764         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4765         one, inside testInvariant.
4766
4767         * PrinterParams.C: new file.
4768         * PrinterParams.[Ch]: move the function bodies out of line.
4769
4770 2003-09-06  Angus Leeming  <leeming@lyx.org>
4771
4772         * ParagraphParameters.h: forward declare ParameterStruct rather than
4773         including its header file.
4774         (depth): moved out-of-line.
4775
4776 2003-09-06  Angus Leeming  <leeming@lyx.org>
4777
4778         * BufferView_pimpl.h:
4779         * kbmap.h:
4780         * kbsequence.h:
4781         * lyxfunc.h: forward declare LyXKeySym rather than
4782         #include "frontends/LyXKeySym.h".
4783
4784         * BufferView_pimpl.C:
4785         * kbmap.C:
4786         * kbsequence.C:
4787         * lyxfunc.C: associated changes.
4788
4789 2003-09-06  Angus Leeming  <leeming@lyx.org>
4790
4791         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4792         As a result, can remove the #include "insets/inset.h" from BufferView.h
4793
4794 2003-09-06  Angus Leeming  <leeming@lyx.org>
4795
4796         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4797         As a result, can remove the #include "insets/inset.h" from BufferView.h
4798
4799 2003-09-06  Angus Leeming  <leeming@lyx.org>
4800
4801         * buffer_funcs.C:
4802         * buffer.h:
4803         * bufferlist.C:
4804         * BufferView.C:
4805         * bufferview_funcs.C:
4806         * BufferView_pimpl.C:
4807         * CutAndPaste.C:
4808         * lyx_cb.C:
4809         * lyxfunc.C:
4810         * paragraph.h:
4811         * ParagraphParameters.C:
4812         * tabular.C:
4813         * text3.C:
4814         * toc.C:
4815         * undo_funcs.C:
4816         * frontends/controllers/ControlDocument.C:
4817         * insets/insetcaption.C: rearrange the #includes into some sort of
4818         coherent order.
4819
4820         * buffer.h: remove #includes ErrorList.h, undo.h
4821
4822 2003-09-06  Angus Leeming  <leeming@lyx.org>
4823
4824         * support/types.h: add a 'depth_type' typedef, used to store the
4825         nesting depth of a paragraph.
4826
4827         * paragraph.h:
4828         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4829         defining explicitly.
4830
4831         * buffer.h:
4832         * paragraph_funcs.h:
4833         * ParagraphParameters.h:
4834         * sgml.h: use lyx::depth_type rather than Paragraph or
4835         ParameterStruct's depth_type.
4836
4837         * buffer.h
4838         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4839
4840         * BufferView.C:
4841         * BufferView_pimpl.C:
4842         * CutAndPaste.C:
4843         * ParagraphParameters.C:
4844         * buffer_funcs.C:
4845         * bufferlist.C:
4846         * bufferview_funcs.C:
4847         * lyx_cb.C:
4848         * lyxfunc.C:
4849         * tabular.C:
4850         * text3.C:
4851         * toc.C:
4852         * undo_funcs.C:
4853         * frontends/LyXView.C:
4854         * frontends/controllers/ControlDocument.C:
4855         * frontends/controllers/ControlErrorList.C:
4856         * insets/insetbibitem.C:
4857         * insets/insetbranch.C:
4858         * insets/insetcaption.C:
4859         * insets/insetcollapsable.C:
4860         * insets/insetenv.C:
4861         * insets/insetert.C:
4862         * insets/insetfloat.C:
4863         * insets/insetfoot.C:
4864         * insets/insetfootlike.C:
4865         * insets/insetnewline.C:
4866         * insets/insetquotes.C:
4867         * insets/insettabular.C:
4868         * insets/insettext.C:
4869         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4870
4871         * frontends/controllers/ControlChanges.C: #include "changes.h".
4872
4873 2003-09-06  Angus Leeming  <leeming@lyx.org>
4874
4875         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4876         than #including paragraph.h.
4877
4878         * ParagraphList.h:
4879         * RowList.h: deleted. Superfluous.
4880
4881         * CutAndPaste.h:
4882         * iterators.h:
4883         * lyxcursor.h:
4884         * lyxtext.h:
4885         * text_funcs.h:
4886         * undo.h:
4887         * undo_funcs.h:
4888         * insets/inset.h:
4889         * insets/insettext.h: use ParagraphList_fwd.h rather than
4890         ParagraphList.h.
4891
4892         * paragraph.h: don't forward declare ParagraphList.
4893
4894         * buffer.h:
4895         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4896         rather than ParagraphList.h. paragraph.h is still needed for the
4897         Paragraph::depth_type parameters.
4898
4899         * textcursor.h: enable it to compile stand-alone in light of the
4900         above changes.
4901
4902         * bufferview_funcs.C:
4903         * iterators.C:
4904         * lyxfunc.C:
4905         * lyxrow_funcs.C:
4906         * paragraph.C:
4907         * rowpainter.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C:
4911         * text_funcs.C:
4912         * textcursor.C:
4913         * undo.C:
4914         * frontends/controllers/ControlParagraph.C:
4915         * frontends/controllers/ControlTabular.C:
4916         * insets/insetmarginal.C:
4917         * insets/insetminipage.C:
4918         * insets/insetnote.C:
4919         * insets/insetoptarg.C: add header files needed to compile again.
4920
4921 2003-09-06  Angus Leeming  <leeming@lyx.org>
4922
4923         * RowList_fwd.h: new file, forward-declaring Row rather than
4924         #including lyxrow.h.
4925
4926         * lyxrow_funcs.h:
4927         * lyxtext.h:
4928         * paragraph.h:
4929         * insets/insettext.h: use it instead of RowList.h
4930
4931         * bufferview_funcs.C:
4932         * lyxfunc.C:
4933         * lyxrow_funcs.C:
4934         * paragraph.C:
4935         * rowpainter.C:
4936         * text.C:
4937         * text2.C:
4938         * text3.C: #include "RowList.h".
4939
4940 2003-09-05  Angus Leeming  <leeming@lyx.org>
4941
4942         * factory.C (createInset):
4943         * vspace.C (c-tor): replace sscanf call with an istringstream.
4944         * ispell.C: re-add missing HP/UX headers.
4945         * lyxserver.C: re-add missing  os2 headers.
4946
4947 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4948
4949         * BranchList.C:
4950         * graph.C:
4951         * ispell.C:
4952         * lastfiles.C:
4953         * lyx_cb.C:
4954         * lyxserver.C:
4955         * texrow.C:
4956         * text3.C: re-add missing system headers, needed for 2.95.2.
4957
4958 2003-09-05  Angus Leeming  <leeming@lyx.org>
4959
4960         Changes most place everywhere due to the removal of using directives
4961         from support/std_sstream.h.
4962
4963 2003-09-05  Angus Leeming  <leeming@lyx.org>
4964
4965         Replace LString.h with support/std_string.h,
4966         Lsstream.h with support/std_sstream.h,
4967         support/LIstream.h with support/std_istream.h,
4968         support/LOstream.h with support/std_ostream.h.
4969
4970         Changes resulting throughout the tree.
4971
4972 2003-09-05  Angus Leeming  <leeming@lyx.org>
4973
4974         * sgml.h: ensure that the header file can be compiled stand-alone.
4975         * *.C: strip out redundant #includes. (320 in total.)
4976
4977 2003-09-04  Angus Leeming  <leeming@lyx.org>
4978
4979         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4980         here (from getPackages).
4981
4982         * debug.[Ch]: add a new EXTERNAL tag.
4983
4984 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4985
4986         * text2.C (cursorEnd): simplify
4987         (setCursor): adjust
4988         (getColumnNearX): adjust
4989
4990         * text.C (computeBidiTables): adjust
4991         (fill): adjust
4992
4993         * rowpainter.C (paintChars): adjust
4994         (paintSelection): adjust
4995         (paintChangeBar): adjust
4996         (paintText): adjust
4997
4998         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4999         lastPos instead.
5000         (numberOfSeparators): adjust
5001
5002 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5003
5004         * LyXAction.C:
5005         * box.[Ch]:
5006         * lfuns.h:
5007         * lyxfunc.C:
5008         * text3.C: Restricts the mouse click functionality
5009         of insets like bibtex, include, toc and floatlist to the visible
5010         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5011         up the dialogs. Cursor has to be in front of the inset (i.e.
5012         start of row) for this to function.
5013
5014 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5015
5016         * bufferview_funcs.C (currentState): output row information
5017
5018 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5019
5020         * bufferview_funcs.C (currentState): output paragraph position
5021
5022 2003-09-04  Angus Leeming  <leeming@lyx.org>
5023
5024         * FloatList.h: move out #include "Floating.h".
5025         * LaTeX.h: move out #include "DepTable.h".
5026         * LyXAction.h: move out #include "funcrequest.h".
5027         * buffer.h: move out #include "author.h", "iterators.h".
5028         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5029         * lyx_main.h: move out #include "errorlist.h".
5030         * lyxfunc.h: move out #include "FuncStatus.h".
5031         * lyxtext: move out #include "lyxcursor.h".
5032         * paragraph_pimpl.h: move out #include "counters.h".
5033
5034 2003-09-03  Angus Leeming  <leeming@lyx.org>
5035
5036         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5037         preamble_snippets list, enabling us to add snippets to the preamble
5038         only if the snippet was not there already.
5039
5040 2003-09-04  Angus Leeming  <leeming@lyx.org>
5041
5042         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5043
5044 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5047         update
5048
5049 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5050
5051         * BranchList.C: point fix, earlier forgotten
5052
5053 2003-09-02  Angus Leeming  <leeming@lyx.org>
5054
5055         * box.C (contains): renamed from 'contained' after a fantastic
5056         amount of hot air.
5057
5058 2003-09-02  John Levon  <levon@movementarian.org>
5059
5060         * BufferView.C:
5061         * lyxcursor.h:
5062         * lyxcursor.C:
5063         * lyxfunc.C:
5064         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5065
5066 2003-09-02  John Levon  <levon@movementarian.org>
5067
5068         * text2.C: simplification of cursorEnd(), including partial
5069         fix for bug 1376
5070
5071 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * buffer.C (readFile): add a space
5074
5075 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5078
5079 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * buffer.C (readFile): new function, take a filename and a
5082         ParagraphList::iterator
5083         (readFile): adjust
5084         (readFile): adjust, make it private. don't use setStream, make
5085         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5086         always contain the filename.
5087
5088         * BufferView.C (insertLyXFile): simplify and make it work for
5089         gzipped files.
5090
5091 2003-08-30  John Levon  <levon@movementarian.org>
5092
5093         * Makefile.am: fix dist (from Kayvan)
5094
5095 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * most files: change to use const Buffer refs
5098
5099 2003-08-27  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5102         on top of ownerPar().
5103
5104 2003-08-27  John Levon  <levon@movementarian.org>
5105
5106         * funcrequest.C: properly initialise POD members
5107
5108 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * lyxtext.h (top_y): move top_y from here
5111         * text.C:
5112         * text2.C:
5113         * text3.C:
5114         * BufferView.[Ch]:
5115         * BufferView_pimpl.[Ch]: to here
5116         * frontends/screen.C:
5117         * insets/insettabular.C:
5118         * insets/insettext.C: adjust
5119         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5120
5121 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * BufferView.[Ch]:
5124         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5125
5126 2003-08-26  André Pönitz  <poenitz@gmx.net>
5127
5128         * paragraph_func.[Ch] (outerPar): new function
5129
5130         * paragraph.C:
5131         * paragraph_funcs.C:
5132         * paragraph_funcs.h:
5133         * paragraph_pimpl.C:
5134         * text2.C: remove Inset::par_owner
5135
5136 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5137
5138         * lyxrow_funcs.C:
5139         * lyxtext.h:
5140         * text.C:
5141         * text2.C: eliminates the needFullRow/display() stuff
5142         altogether, putting the logic in metrics/draw in the insets.
5143
5144 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * text2.C (redoParagraphInternal, redoParagraphs):
5147         * text.C (redoParagraph): add a call to updateRowPositions at the
5148         end of each 'metrics-like' call. Remove all others.
5149         (getRow): remove the 'y-computing' version.
5150         (getRowNearY): do not compute nor return the real y. Solve the
5151         'y < 0' problem and simplify.
5152
5153 2003-08-22  Angus Leeming  <leeming@lyx.org>
5154
5155         * *.[Ch]: clean-up of licence and author blurbs.
5156         Also move config.h out of a few .h files and into a few .C files.
5157
5158 2003-08-22  André Pönitz  <poenitz@gmx.net>
5159
5160         * lyxrow.[Ch]: add x_ and *fill_ members
5161
5162         * lyxtext.h:
5163         * text.C:
5164         * rowpainter.C:
5165         * text2.C: adjust/remove prepareToPrint() calls
5166
5167 2003-08-22  André Pönitz  <poenitz@gmx.net>
5168
5169         * lyxrow.[Ch]: add  end_ member
5170
5171         * lyxrow_funcs.C: use LyXRow::end_
5172
5173         * lyxtext.h (singleWidth): add LyXFont parameter
5174
5175         * rowpainter.C:
5176         * text2.C: adjust LyXText::singleWidth() calls
5177
5178         * text.C (redoParagraph): simplify row breaking logic
5179
5180
5181 2003-08-19  André Pönitz  <poenitz@gmx.net>
5182
5183         * funcrequest.C: initialize button_ member
5184
5185         * text3.C:
5186         * rowpainter.[Ch]: interface consolidation
5187
5188 2003-08-18  André Pönitz  <poenitz@gmx.net>
5189
5190         * BufferView.C:
5191         * BufferView_pimpl.C:
5192         * lyxfind.C:
5193         * paragraph_funcs.C:
5194         * rowpainter.C:
5195         * text3.C: remove LyXScreen::draw() and fitCursor calls
5196
5197         * BranchList.h: remove spurious semicolons
5198
5199         * MenuBackend.C: fix branchlist related crash
5200
5201 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5202
5203         * BranchList.[Ch]:
5204         * InsetList.[Ch]:
5205         * LColor.[Ch]:
5206         * LyXAction.C:
5207         * Makefile.am:
5208         * MenuBackend.[Ch]:
5209         * bufferparams.[Ch]:
5210         * factory.C:
5211         * lfuns.h:
5212         * lyxfunc.C:
5213         * text3.C: implements the 'branch inset'
5214         idea. This allows the output of various versions of a document
5215         from a single source version, selectively outputing or suppressing
5216         output of parts of the text.
5217         This implementation contains a 'branch list editor' in a separate
5218         tab of the document settings dialog. Branches are user definable
5219         and have a "display colour" to distinguish them on-screen.
5220
5221         ColorHandler was somewhat cleaned up.
5222         (1) make possible a dynamically growing LColor list by allowing
5223         the graphic context cache to grow along (vector);
5224         (2) eliminate an IMHO unnecessary step in colour allocation.
5225
5226 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5227
5228         * BufferView_pimpl.C: compile fix
5229
5230 2003-08-15  André Pönitz  <poenitz@gmx.net>
5231
5232         * rowpainter.C: remove extra metrics calls
5233
5234         * lyxtext.h: merge the two constructors into a single one,
5235           pass reference to owner's par list
5236
5237         * BufferView_pimpl.C:
5238         * text.C:
5239         * text2.C: adjust
5240
5241 2003-08-15  André Pönitz  <poenitz@gmx.net>
5242
5243         * lyxrow_funcs.[Ch]:
5244         * lyxtext.h:
5245         * paragraph.h:
5246         * paragraph_funcs.C:
5247         * rowpainter.C:
5248         * text.C:
5249         * text2.C:
5250         * text3.C:
5251         * text_funcs.C: split LyXText::rowlist_ into individual
5252         Paragraph::rows_ chunks
5253
5254         * BufferView.[Ch]:
5255         * BufferView_pimpl.[Ch]:
5256         * lyxfind.C:
5257         * lyxtext.h:
5258         * text3.C: remove toggleSelection()
5259
5260 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5261
5262         * bufferlist.C: beautify two alerts (shorter text of buttons)
5263         * buffer.C: Remove redundant ' ' from message
5264         * tabular.h:
5265         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5266         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5267         rename VALIGN_CENTER to VALIGN_MIDDLE
5268
5269 2003-08-11  André Pönitz  <poenitz@gmx.net>
5270
5271         * lyxtext.h (getPar):
5272         * text.C: new function
5273
5274 2003-08-11  André Pönitz  <poenitz@gmx.net>
5275
5276         * Makefile.am:
5277         * tracer.[Ch]: remove unneeded files
5278
5279         * InsetList.[Ch]: remove resizeInsetsLyXText()
5280
5281         * lyxtext.h:
5282         * text.C:
5283         * text2.C:
5284         * text3.C: merge insertParagraphs() and appendParagraph()
5285         remove breakAgain(), update()
5286
5287         * BufferView_pimpl.[Ch]:
5288         * bufferview_funcs.[Ch]:
5289         * lyxfunc.C:
5290         * paragraph.[Ch]:
5291         * rowpainter.C:
5292         * tabular.C: adjust after text & InsetList changes.
5293
5294 2003-08-08  André Pönitz  <poenitz@gmx.net>
5295
5296         * text.C (insertChar, backspace): replace rowlist fiddling
5297         with rebreak of full par
5298
5299         * lyxtext.h:
5300         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5301         checkParagraph, updateInset): removed
5302
5303 2003-08-07  André Pönitz  <poenitz@gmx.net>
5304
5305         * paragraph.C:
5306         * text3.C: merge some LFUN handlers, remove dead code
5307
5308 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5309
5310         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5311
5312 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * text2.C (DEPM): fix part of bug 1255 and 1256
5315
5316 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5317
5318         * BufferView_pimpl.C (workAreaDispatch): change to use
5319         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5320         that are no mouse related.
5321
5322 2003-08-05  André Pönitz  <poenitz@gmx.net>
5323
5324         * BufferView.[Ch]:
5325         * BufferView_pimpl.[Ch]:
5326         * bufferview_funcs.C:
5327         * text2.C:
5328         * text3.C: rip out "deep update"
5329
5330         * textcursor.[Ch] (last_sel_cursor): remove unused member
5331
5332 2003-08-04  André Pönitz  <poenitz@gmx.net>
5333
5334         * BufferView.[Ch]:
5335         * BufferView_pimpl.[Ch]:
5336         * ParagraphParameters.C:
5337         * bufferview_funcs.C:
5338         * lyx_cb.C:
5339         * lyxfind.C:
5340         * lyxfunc.C:
5341         * text.C:
5342         * text2.C:
5343         * text3.C: replace "complicated" BufferView::update(...) calls with
5344         simpler ones.
5345
5346         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5347
5348 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5349
5350         * Makefile.am (lyx_SOURCES): add paper.h
5351
5352 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5353
5354         * Makefile.am: move things around so that both lyx-qt and
5355         lyx-xforms can be built (according to --with-frontend). Then lyx
5356         is a symbolic link to lyx-[firstfrontend]
5357
5358 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5359
5360         * Always use std::endl with lyxerr
5361
5362 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5363
5364         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5365
5366 2003-08-01  André Pönitz  <poenitz@gmx.net>
5367
5368         * BufferView.[Ch]:
5369         * BufferView_pimpl.[Ch]:
5370         * lyxfunc.C:
5371         * text3.C: merge BufferView::repaint() and BufferView::update()
5372
5373 2003-08-01  José Matos  <jamatos@lyx.org>
5374
5375         * buffer.[Ch]: file_format is no longer a buffer data element.
5376
5377 2003-08-01  André Pönitz  <poenitz@gmx.net>
5378
5379         * BufferView.C:
5380         * lyxtext.h:
5381         * text.C:
5382         * text2.C: make redoParagraph more independent of current cursor
5383
5384         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5385         * text.C:
5386         * text2.C: remove unneeded members
5387
5388 2003-07-30  André Pönitz  <poenitz@gmx.net>
5389
5390         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5391
5392         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5393           create a single function...
5394
5395         * paragraph_funcs.C (moveItem): ... here.
5396
5397         * text.C:
5398           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5399
5400 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5401
5402         * LColor.[Ch]: Add comment and greyedout logical colors.
5403
5404 2003-07-30  André Pönitz  <poenitz@gmx.net>
5405
5406         * tabular.C: don't use Assert too heavily. This crashes where it
5407           shouldn't
5408
5409 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5412         is disabled (bug 1232)
5413
5414 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5415
5416         * factory.C: limited 'arg' scope
5417
5418 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5419
5420         * factory.C: fixed Note submenu issues
5421
5422 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5423
5424         * factory.C: submenu for Note/Comment/Greyedout
5425
5426 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * lyx_main.C (LyX):
5429         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5430
5431 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5432
5433         * LaTeXFeatures.C:
5434         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5435         greyedout. Patch provided by Jürgen Spitzmüller.
5436
5437 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5438
5439         * kbmap.C (read): fix error message when reading bind files
5440
5441 2003-07-29  Angus Leeming  <leeming@lyx.org>
5442
5443         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5444         certainly does not do what it purports to do. I am doing it, and
5445         us, a favour by killing it.
5446
5447 2003-07-28  José Matos  <jamatos@lyx.org>
5448
5449         * buffer.C (readBody, do_writeFile):
5450         * paragraph.C(readParagraph): \end_document replaces \the_end.
5451
5452 2003-07-29  André Pönitz  <poenitz@gmx.net>
5453
5454         * BufferView.[Ch]:
5455         * BufferView_pimpl.[Ch]:
5456         * lyxfunc.C:
5457         * text2.C:
5458         * text3.C:
5459         * textcursor.[Ch]: remove toggleToggle & Co
5460
5461 2003-07-28  José Matos  <jamatos@fep.up.pt>
5462
5463         * buffer.C (readParagraph):
5464         * params_func (readParToken, readParagraph):
5465         * paragraph.C (write): \layout -> \begin_layout.
5466
5467 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * lyxlex_pimpl.C (setFile): clean up slightly.
5470
5471         * bufferparams.h: add compressed var
5472
5473         * buffer_funcs.C (readFile): adjust for LyXLex change
5474         (newFile): ditto + simplify
5475
5476         * buffer.C (writeFile): handle writing of compressed files
5477
5478         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5479         Check if the file is compressed and set a bufferparm if so.
5480
5481         * Makefile.am (lyx_LDADD): remove explicit -lz
5482
5483 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5484
5485         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5486         makeDocBookFile): put the real LyX version in the first line of
5487         the file
5488
5489         * version.h:
5490         * version.C.in: remove lyx_docversion
5491
5492         * tabular.C (write_attribute): add a template-based version to
5493         write enums properly
5494
5495 2003-07-28  André Pönitz  <poenitz@gmx.net>
5496
5497         * lyxtext.h:
5498         * text.C:
5499         * text2.C:
5500         * text3.C: use doubles again for x-coordinates. They are needed.
5501
5502 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * messages.C (getLocaleDir): use lyx_localedir()
5505
5506         * lyxlex_pimpl.C (setFile): compress stuff
5507
5508         * buffer.C (writeFile): add some compression stuff
5509         (do_writeFile): new func, dont call expliti close... will this
5510         breake anything?
5511
5512         * Makefile.am (lyx_LDADD): add -lz
5513
5514 2003-07-28  José Matos  <jamatos@fep.up.pt>
5515
5516         * buffer.C: increment file format.
5517         * paragraph_funcs (readParagraph, readParToken):
5518         * paragraph.C (readParagraph): add \end_layout.
5519
5520 2003-07-27  Angus Leeming  <leeming@lyx.org>
5521
5522         * Makefile.am: remove special casing for configure-time setting of
5523         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5524
5525         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5526         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5527
5528 2003-07-26  André Pönitz  <poenitz@gmx.net>
5529
5530         * paragraph_func.[Ch]:
5531         * paragraph.C (realizeFont): inline it whereever it is used
5532
5533         * rowpainter.C:
5534         * text.C:
5535         * text2.C:
5536         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5537
5538
5539 2003-07-26  André Pönitz  <poenitz@gmx.net>
5540
5541         *       lyxtext.h:
5542         * text.C:
5543         * text2.C: get rid of LyXText::need_break_row
5544
5545 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * toc.[Ch]: put namespace toc inside namespace lyx
5548
5549         * MenuBackend.C (expandToc2): adjust for lyx::toc
5550         (expandToc): ditto
5551
5552         * lyxfunc.C (dispatch): adjust for lyx::find
5553
5554         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5555         lyx::find instead. Reorganize a bit.
5556         (LyXReplace): rename to replace
5557         (LyXFind): rename to find
5558
5559         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5560         (dispatch): ditto
5561
5562 2003-07-26  André Pönitz  <poenitz@gmx.net>
5563
5564         * text.C (setHeightOfRow): restrict scope of temporary variable
5565
5566         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5567           code (never has been used?)
5568
5569 2003-07-27  Asger Alstrup  <alstrup@local>
5570
5571         * text.C (fill): Optimise algorithm to exploit that we can reuse
5572         the LyXFont for many characters.
5573         (setHeightOfRow): Same thing.
5574         (rowBreakPoint): Same thing.
5575
5576 2003-07-26  Asger Alstrup  <alstrup@local>
5577
5578         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5579
5580         * text.C (singleWidth): Spurious font copying in hot-spot
5581         singleWidth avoided. Reorder tests for arabic for efficiency.
5582
5583         * text.C (fill): handle empty paragraphs better.
5584
5585 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5586
5587         * ispell.C:
5588         * encoding.h: add includes
5589
5590         * lyxrc.C: remove reading of bind files
5591
5592         * lyx_main.C (init): setup bindings and menus only if we have a
5593         gui.
5594
5595         * kbmap.C (read): new method. Do the actual reading of bind
5596         files.
5597
5598         * converter.C (dvipdfm_options):
5599         * bufferparams.C:
5600         * lyxrc.C (read):
5601         (output): adapt PAPER_* enums.
5602
5603         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5604
5605         * bufferparams.h: remove paper-related enums from there
5606
5607         * paper.h: New file. A trivial header file to hold paper-related
5608         enums. It should later expand to contain many paper-related
5609         horrors access.
5610
5611         * lyxrc.C: declare extern displayTranslator
5612
5613 2003-07-27  José Matos  <jamatos@fep.up.pt>
5614
5615         * tabular.[Ch] (linuxdoc): add support for tables and figures
5616         (linuxdoc).
5617
5618 2003-07-27  José Matos  <jamatos@fep.up.pt>
5619
5620         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5621         consistency in both functions.
5622         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5623
5624 2003-07-26  Asger Alstrup  <alstrup@local>
5625
5626         * rowpainter.C (paintRows): Change algorithm to work directly on
5627         the insets rather than asking every character in the document
5628         whether its an inset.
5629
5630 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * buffer.C (openFileWrite): factorize some code
5633
5634 2003-07-26  Angus Leeming  <leeming@lyx.org>
5635
5636         * lyx_cb.C:
5637         * lyx_main.[Ch]: replace occurances of system_tempdir with
5638         os::getTmpDir().
5639
5640 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * rename Inset to InsetOld
5643
5644 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5645
5646         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5647         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5648         which I think is a bit clearer. EDIT is gone, since it was
5649         premature optimisation, and broken for mathed anyway.
5650         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5651         with cursor positioning in insets as well (math insets still do not
5652         work, but that's a different story anyway.) It mysteriously
5653         crashes sometimes with undo in the first paragraph, but I'm fairly
5654         confident that this is a compiler bug.
5655
5656 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * paragraph.C (Paragraph): adjust for new clone return type
5659         (operator==): ditto
5660         (copyIntoMinibuffer): ditto
5661
5662 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5663
5664         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5665         by not having a special case, and always doing a full rebreak of
5666         the document after undo.
5667
5668 2003-07-23  Angus Leeming  <leeming@lyx.org>
5669
5670         * factory.C (createInset): InsetExternal::setParams now takes a
5671         Buffer const * arg.
5672
5673 2003-07-23  Angus Leeming  <leeming@lyx.org>
5674
5675         * factory.C (createInset): changed interface to the external and
5676         graphics mailers' string2params functions.
5677
5678 2003-07-23  Angus Leeming  <leeming@lyx.org>
5679
5680         * factory.C (createInset): pass a
5681         Buffer const * parameter to InsetExternalMailer's string2params.
5682
5683 2003-07-22  John Levon  <levon@movementarian.org>
5684
5685         * Thesaurus.h: include the right aiksaurus header
5686
5687 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5688
5689         * MenuBackend.C (expand): check menu shortcuts unconditionally
5690
5691 2003-07-21  Angus Leeming  <leeming@lyx.org>
5692
5693         * factory.C (createInset): pass a
5694         buffer_path parameter to InsetGraphicsMailer's string2params.
5695
5696 2003-07-21  Angus Leeming  <leeming@lyx.org>
5697
5698         * BufferView_pimpl.C (buffer):
5699         * buffer.C (d-tor):
5700         * lyx_main.C (LyX):
5701         * lyxfunc.C (dispatch):
5702         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5703         rather than the grfx shortcut.
5704
5705 2003-07-21  André Pönitz  <poenitz@gmx.net>
5706
5707         * rowpainter.C: remove unused variables
5708
5709         * tabular_funcs.C:
5710         * tabular_funcs.h: move to tabular.C
5711         * Makefile.am: adjust
5712
5713         * tabular.[Ch]: basic optical cleaning
5714
5715         * author.h: pass references, not values
5716
5717 2003-07-18  André Pönitz  <poenitz@gmx.net>
5718
5719         * lyxtext.h:
5720         * metricsinfo.C:
5721         * metricsinfo.h:
5722         * rowpainter.C:
5723         * text.C:
5724         * text2.C:
5725         * text3.C: two-phase drawing for InsetText and InsetTabular
5726         some float -> int changes.
5727
5728 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5729
5730         * lyx_main.C: fix the fix
5731
5732 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5733
5734         * lyx_main.C: fix a crash in batch mode if no files specified
5735         * converter.C: ws
5736
5737 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5738
5739         * format.[Ch] (papersize): moved to BufferParams
5740         * converter.[Ch] (dvips_options): moved to BufferParams
5741         (dvipdfm_options): moved to anon namespace
5742         * bufferparams.[Ch]: added above functions.
5743
5744 2003-07-17  André Pönitz  <poenitz@gmx.net>
5745
5746         * lyxtext.h:
5747         * rowpainter.C:
5748         * text2.C: don't call inset->update() anymore
5749
5750         * metricsinfo.[Ch]: add convenience constructor
5751
5752 2003-07-16  André Pönitz  <poenitz@gmx.net>
5753
5754         * lyxcursor.[Ch]:
5755         * lyxfunc.[Ch]:
5756         * text.C:
5757         * text2.C: replace the LyXCursor::irow_ member with
5758          on-demand computation of the value
5759
5760 2003-07-16  John Levon  <levon@movementarian.org>
5761
5762         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5763
5764 2003-07-15  André Pönitz  <poenitz@gmx.net>
5765
5766         * text.C:
5767         * text2.C: remove no more needed refresh_row
5768
5769 2003-07-15  André Pönitz  <poenitz@gmx.net>
5770
5771         * lyxtext.h:
5772         * rowpainter.C:
5773         * text2.C:
5774         * text3.C: refresh_status tristate -> need_update bool
5775
5776 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * lyxtext.h (init): remove reinit argument (act as if always true)
5779         * text2.C: adjust to that
5780
5781 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5782
5783         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5784         * text3.C: use it to delete selections in some cases
5785         (bugs 441, 673, 702, 954).
5786
5787 2003-07-14  André Pönitz  <poenitz@gmx.net>
5788
5789         * rowpainter.[Ch]: reduce interface
5790
5791 2003-07-14  André Pönitz  <poenitz@gmx.net>
5792
5793         * BufferView_pimpl.C:
5794         * text2.C: adjust after removing unused BufferView * argument
5795
5796 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5797
5798         * text2.C (init): fix a crash fired on resize
5799
5800 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * buffer.[Ch]: added new closing signal
5803         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5804         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5805         BufferView::Pimpl via the closing the signal
5806
5807 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5808
5809         * buffer.[Ch]: take out all bv-related from buffer
5810         * BufferView.C:
5811         * BufferView_pimpl.[Ch]: connect to new signals
5812         * CutAndPaste.C: removed useless asserts
5813         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5814         * lyxvc.[Ch]:
5815         * vc-backend.[Ch]:
5816         * lyxfunc.C: moved view-related funciontality from vc here
5817         * paragraph.C: removed outdated comments
5818         * text.C: ws
5819
5820 2003-07-10  André Pönitz  <poenitz@gmx.net>
5821
5822         * BufferView_pimpl.C:
5823         * tabular.h:
5824         * tabular_funcs.C:
5825         * text.C:
5826         * text2.C: remove InsetText::InnerCache, clean up consequences
5827
5828 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5829
5830         * ispell.C: fix two typos in error messages
5831
5832 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5833
5834         * Extend Note inset to other forms of annotation like Comment
5835         and Greyedout. Right button click gives dialog.
5836
5837         Files modified or added (+):
5838
5839         * insetnote.[Ch]
5840         * FormNote.[Ch]      +
5841         * ControlNote.[Ch]   +
5842         * form_note.fd       +
5843         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5844         frontends/controllers
5845         * xforms/Dialogs.C
5846         * factory.C
5847
5848 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5849
5850         * aspell.C: add missing namespace lyx::support
5851
5852 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5853
5854         * BufferView.[Ch] (newFile): Add
5855         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5856         * LaTeX.[Ch] (message): added this signal and use it
5857         * buffer.[Ch] (busy, message): added these signals and use them
5858         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5859         * converter.C:
5860         * exporter.C:
5861         * format.C:
5862         * importer.C: use buffer signals instead of direct bv calling
5863         * lyx_cb.[Ch] (ShowMessage): removed
5864         * lyx_main.C:
5865         * lyxfunc.C:
5866         * paragraph_funcs.C:
5867         * text2.C: use buffer signals
5868
5869 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * introduce namespace lyx::graphics
5872
5873 2003-07-02  André Pönitz  <poenitz@gmx.net>
5874
5875         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5876
5877 2003-07-01  André Pönitz  <poenitz@gmx.net>
5878
5879         * text.C:
5880         * text2.C:
5881         * text3.C:
5882         * text_funcs.[Ch]:
5883         * textcursor.h:
5884         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5885           text*.C to text_func.C
5886
5887 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * introduce namespace lyx::support
5890
5891 2003-06-30  André Pönitz  <poenitz@gmx.net>
5892
5893         * Chktex.C:
5894         * funcrequest.C:
5895         * lyxtext.h:
5896         * text.C: re-enable --with-included-string
5897
5898 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * textcursor.C: add <config.h>
5901
5902         * text.C (getWord): remove const from word_location arg
5903
5904         * lyxvc.C (getLogFile): fix const type order
5905
5906         * lyxtext.h: remove const from word_location arg, add arg name
5907
5908         * lyxlayout.h: currect type on labeltype.
5909
5910         * importer.C: correct \file
5911
5912         * converter.C (intToFormat): use std:: on ret val, ws changes
5913
5914         * bufferlist.h: correct \file
5915
5916         * buffer.C (makeLinuxDocFile): fix const type order
5917         (makeDocBookFile): ditto
5918         (fillWithBibKeys): use std:: on stdlib args.
5919
5920         * CutAndPaste.C: fix authors.
5921         (availableSelections): use std:: on return vector
5922
5923 2003-06-27  André Pönitz  <poenitz@gmx.net>
5924
5925         * BufferView_pimpl.C:
5926         * bufferview_funcs.C:
5927         * lyxcursor.C:
5928         * lyxcursor.h:
5929         * lyxfunc.C:
5930         * lyxtext.h:
5931         * rowpainter.C:
5932         * text.C:
5933         * text2.C:
5934         * text3.C: remove LyXCursor::row_ member
5935
5936         * lyxtext.h:
5937         * text.C: rename fullRebreak() to partialRebreak() and implement
5938           a fullRebreak() that really bereks fully
5939
5940         * textcursor.h: new struct for cursor-related data
5941
5942 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5943
5944         * lyx_main.C (LyX): get full path of document loaded on the
5945         command line
5946
5947 2003-06-26  André Pönitz  <poenitz@gmx.net>
5948
5949         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5950           remove unused/broken operator>,<,>=.
5951
5952         *       text.C: remove only use of broken operator<= in an Assert().
5953
5954 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5955
5956         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5957         moved errorlist_.clear to showErrorList
5958
5959 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5960
5961         * converter.C (scanLog, runLaTeX):
5962         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5963         move the bv->showErrorList call to the callers
5964         * lyxfunc.C: i.e. here...
5965         * text2.C: and here
5966         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5967         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5968         namespace, the second to...
5969         * buffer_funcs (BufferFormat, parseErrors): added
5970         * errorlist.C (ErrorList(TeXErrors const &)): removed
5971
5972 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5973
5974         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5975
5976 2003-06-24  "Garst R. Reese" <reese@isn.net>
5977
5978         * debug.C: fix typo
5979
5980 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5981
5982         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5983
5984         * version.C.in: change docversion to 1.4
5985
5986 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5987
5988         * buffer.C: fix a bug just introduced
5989
5990 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5991
5992         * buffer.[Ch]: added the parseError signal and use it, removed
5993         sgmlError
5994         * BufferView.[Ch] (addError): moved to ...
5995         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5996         to the Buffer::parseError signal to catch (guess what) parse errors
5997         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5998
5999 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6002         ability to create a buffer and to return an existing one from
6003         the list. Moved these functions to...
6004         * buffer_funcs.[Ch]: added
6005         * BufferView.[Ch] (loadLyXFile): added
6006         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6007         job removed from bufferlist::loadLyXFile.
6008         * buffer.C (setReadOnly): make it work without view
6009         (i.e added an if (users))
6010
6011 2003-06-19  Angus Leeming  <leeming@lyx.org>
6012
6013         * lfuns.h:
6014         * LyXAction.C (init):
6015         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6016         with LFUN_DIALOG_SHOW <name> <data>.
6017
6018 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6019
6020         * CutAndPaste.C (availableSelections): small compilation fix for
6021         ancient (gcc 2.9x) compilers
6022
6023 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * text3.C (cursorNext): add tmp var
6026
6027         * text2.C (updateCounters): for function calling out of for clause
6028         (replaceSelectionWithString): ditto
6029         (insertStringAsParagraphs): ditto
6030         (getColumnNearX): add tmp var
6031         (setCursorFromCoordinates): add tmp var
6032         (cursorDownParagraph): add tmp var
6033         (deleteEmptyParagraphMechanism): add tmp var
6034
6035         * text.C (insertChar): add tmp var
6036
6037         * rowpainter.C (paintDepthBar): add tmp var
6038
6039         * CutAndPaste.C (availableSelections): potentially check all
6040         paragraphs in a cut to fill the shown strings.
6041
6042 2003-06-18  André Pönitz  <poenitz@gmx.net>
6043
6044         * kbmap.[Ch]: use vector<> instead of list<>
6045
6046 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6047
6048         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6049         pasteSelection with index
6050
6051         * text2.C (pasteSelection): modify, call pasteSelection with index
6052
6053         * paragraph.C (asString): reimplement version with no interval to
6054         call the one with interval.
6055
6056         * lyxtext.h: add index arg to pasteSelection
6057
6058         * MenuBackend.C (MenuItem): handle PasteRecent
6059         (Menu::read::Menutags): add md_pasterecent
6060         (read): handle it
6061         (expandPasteRecent): new function
6062         (expand): use it
6063
6064         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6065
6066         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6067         the limited stack
6068         (availableSelections): new function
6069
6070 2003-06-17  Angus Leeming  <leeming@lyx.org>
6071
6072         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6073
6074 2003-06-17  Angus Leeming  <leeming@lyx.org>
6075
6076         * lfuns.h:
6077         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6078
6079         * lyxfunc.C (dispatch): invoke it.
6080
6081 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6082
6083         * iterators.C (operator++, ParPosition): reintroduce some
6084         const_cast for the benefit of older compilers.
6085
6086 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6087
6088         * text3.C (dispatch): do not modify clipboard when doing
6089         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6090         LFUN_DELETE_SKIP on a selection selection
6091
6092 2003-06-16  André Pönitz  <poenitz@gmx.net>
6093
6094         * BufferView.C:
6095         * buffer.C:
6096         * buffer.h:
6097         * paragraph.C:
6098         * tabular.[Ch]: IU of clone() and getLabelList();
6099
6100 2003-06-13  André Pönitz  <poenitz@gmx.net>
6101
6102         * tabular.h: compactification
6103
6104 2003-06-12  André Pönitz  <poenitz@gmx.net>
6105
6106         * tabular.C:
6107         * tabular.h:
6108         * tabular_funcs.h: some renaming plus whitespace
6109
6110 2003-06-12  André Pönitz  <poenitz@gmx.net>
6111
6112         * BufferView.C:
6113         * BufferView_pimpl.C:
6114         * CutAndPaste.C:
6115         * buffer.C:
6116         * iterators.[Ch]:
6117         * lyxfunc.C:
6118         * text.C:
6119         * toc.C: Return a Paragraph & for ParIterator::operator*()
6120
6121 2003-06-11  John Levon  <levon@movementarian.org>
6122
6123         * lyx_main.C:
6124         * ToolbarBackend.h:
6125         * ToolbarBackend.C: add "Toolbars" section and
6126         put the flags there
6127
6128 2003-06-10  Angus Leeming  <leeming@lyx.org>
6129
6130         * lfuns.h:
6131         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6132
6133         * lyxfunc.C (dispatch): invoke it.
6134
6135 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * main.C: protect <ios> with HAVE_IOS
6138         (main): protect sync_with_stdio with HAVE_IOS
6139
6140 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6141
6142         * text2.C (cutSelection): adjust
6143         (pasteSelection): adjust
6144
6145         * messages.C: handle get of empty string
6146
6147         * main.C (main): use sync_with_stdio(false)
6148
6149         * lyxfunc.C (dispatch): adjust
6150
6151         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6152         (WriteAs): remove unneeded BufferView arg.
6153
6154         * bufferparams.h: use correct types on papersize, papersize2 and
6155         paperpackage.
6156
6157         * bufferparams.C (readToken): adjust for type
6158         (writeLaTeX): add missing cases to switch.
6159
6160         * bufferlist.C (quitWriteBuffer): adjust
6161         (close): adjust
6162
6163         * buffer.C (asciiParagraph): remove some commented code.
6164
6165         * CutAndPaste.C: remove current_view extern variable.
6166         (cutSelection): add BufferParams arg.
6167         (eraseSelection): add BufferParams arg.
6168         (pasteSelection): add Buffer const & arg
6169
6170 2003-06-07  John Levon  <levon@movementarian.org>
6171
6172         * buffer.C:
6173         * paragraph_funcs.C:
6174         * paragraph_pimpl.C:
6175         * text.C:
6176         * text2.C:
6177         * paragraph.h:
6178         * paragraph.C: allow InsetERT to freely space lines,
6179         and some consolidation of code
6180
6181 2003-06-06  José Matos  <jamatos@fep.up.pt>
6182
6183         * buffer.C (makeDocBookFile): fix bug #821
6184
6185 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6186
6187         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6188
6189 2003-06-04  Angus Leeming  <leeming@lyx.org>
6190
6191         * buffer.C: bump format to 224.
6192
6193 2003-06-05  André Pönitz  <poenitz@gmx.net>
6194
6195         * text2.C (redoParagraphs): remove two const_cast<>
6196
6197 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6198
6199         * ParagraphList.h: remove last remnants of NO_STD_LIST
6200
6201 2003-06-03  Angus Leeming  <leeming@lyx.org>
6202
6203         * factory.C (createInset): small change to the way InsetExternal's params
6204         are set.
6205
6206 2003-06-04  André Pönitz  <poenitz@gmx.net>
6207
6208         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6209
6210         * paragraph_pimpl.h:
6211         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6212
6213         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6214
6215         * undo_funcs.C: make some simple cases of undo work again
6216
6217 2003-06-03  John Levon  <levon@movementarian.org>
6218
6219         * ispell.C: HPUX doesn't have sys/select.h
6220         (from Albert Chin)
6221
6222 2003-06-03  John Levon  <levon@movementarian.org>
6223
6224         * CutAndPaste.C: update tabular and include inset
6225         buffer references
6226
6227         * buffer.h:
6228         * paragraph.h:
6229         * paragraph.C: remove owningBuffer(), don't pass Buffer
6230         to clone()
6231
6232         * factory.C: insetGraphicsParams changed
6233
6234 2003-06-02  John Levon  <levon@movementarian.org>
6235
6236         * LyXAction.C:
6237         * factory.C:
6238         * lfuns.h:
6239         * lyxfunc.C:
6240         * text3.C: remove insetparent
6241
6242 2003-06-02  John Levon  <levon@movementarian.org>
6243
6244         * buffer.h:
6245         * buffer.C: fix inset_iterator.end(), move out of line
6246         (bug 1149)
6247
6248 2003-06-01  John Levon  <levon@movementarian.org>
6249
6250         * text3.C: use a proper cut/paste when doing inset
6251         insert (from Jürgen Spitzmüller)
6252
6253 2003-06-01  John Levon  <levon@movementarian.org>
6254
6255         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6256
6257 2003-05-30  André Pönitz  <poenitz@gmx.net>
6258
6259         * rowpainter.C: unify second drawing phase
6260
6261 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * trans_mgr.C: remove one case of current_view
6264
6265         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6266
6267         * paragraph_funcs.h: remove paragraph.h include
6268
6269         * paragraph.h: delete NO_STD_LIST stuff
6270
6271         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6272
6273         * buffer.h: remove paragraph.h include
6274
6275         * ParagraphList.C: delete file
6276
6277         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6278
6279         * toc.C (getTocList): adjust
6280
6281         * paragraph_pimpl.C (validate): adjust
6282
6283         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6284
6285         * paragraph.C (Paragraph): adjust
6286         (getPositionOfInset): use const_iterator, adjust
6287         (bibitem): use const_iterator, adjust
6288         (setInsetOwner): adjust
6289
6290         * iterators.C (operator++): adjust
6291
6292         * InsetList.[Ch]: Replace selfmade iterator with standard
6293         vector::iterator also introduce const_iterator. Remove getPos,
6294         getInset and setInset from InsetTable. Adjust accordingly.
6295
6296         * BufferView.C (lockInset): adjust
6297         (ChangeInsets): adjust
6298
6299         * tabular.[Ch]: delete commented same_id functions
6300
6301 2003-05-28  John Levon  <levon@movementarian.org>
6302
6303         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6304
6305 2003-05-28  André Pönitz  <poenitz@gmx.net>
6306
6307         * metricsinfo.[Ch]: remove 'fullredraw' member
6308
6309 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6310
6311         * lyxtextclass.C (operator): remove caching.
6312
6313 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * text3.C: adjust
6316
6317         * text2.C (cursorBottom): adjust
6318         (setCounter): use ParagraphList::find, adjust
6319
6320         * text.C (workWidth): use ParagraphList::find, adjust
6321
6322         * lyxcursor.C (LyXCursor): adjust
6323
6324         * buffer.C (inset_iterator): adjust
6325
6326         * ParagraphList.h: make iterator(value_type) private, make
6327         ParagraphList a friend of iterator.
6328
6329         * ParagraphList.C (find): new function
6330
6331         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6332
6333 2003-05-27  André Pönitz  <poenitz@gmx.net>
6334
6335         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6336
6337 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6338
6339         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6340
6341 2003-05-26  John Levon  <levon@movementarian.org>
6342
6343         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6344
6345 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * remove same_id from function signatures, adjust.
6348
6349 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6352
6353         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6354
6355         * paragraph.C (Paragraph): get rid of same_ids parameter
6356
6357         * ParagraphList.C (insert): adjust
6358         (push_back): adjust
6359
6360 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * paragraph_funcs.C (breakParagraph): adjust
6363         (breakParagraphConservative): adjust
6364
6365         * buffer.C (readParagraph): adjust
6366
6367         * ParagraphList.C (insert): take a reference instead of a pointer
6368         (insert): adjust
6369
6370         * paragraph.[Ch] (id): new function
6371
6372         * bufferlist.C (newFile): adjust
6373
6374         * ParagraphList.C (ParagraphList): adjust
6375         (assign): adjust
6376         (push_back): take a reference instead of a pointer.
6377
6378         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6379
6380         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6381         instead.
6382
6383         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6384         set else use old code.
6385
6386         * ParagraphList.C: remove all NO_NEXT code and only compile this
6387         code of NO_STD_LIST is set.
6388
6389 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * BufferView_pimpl.C:
6392         * TextCache.C:
6393         * TextCache.h:
6394         * bufferlist.C:
6395         * errorlist.h:
6396         * format.C:
6397         * format.h:
6398         * graph.C:
6399         * lyxfunc.C:
6400         * lyxrc.C:
6401         * graphics/GraphicsConverter.C:
6402         * graphics/PreviewLoader.C: header adjustment
6403
6404 2003-05-23  Angus Leeming  <leeming@lyx.org>
6405
6406         * LaTeXFeatures.[Ch] (useBabel): new method.
6407         * bufferparams.C (writeLaTeX): use it.
6408
6409 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * ParagraphList.h (set): remove unused function.
6412
6413 2003-05-23  André Pönitz  <poenitz@gmx.net>
6414
6415         * BufferView.C:
6416         * BufferView_pimpl.C:
6417         * buffer.C:
6418         * buffer.h:
6419         * lyxfunc.C:
6420         * undo_funcs.C: setUndo reworked
6421
6422         * iterators.[Ch]: add access to topmost ParagraphList
6423
6424         * lyxtext.[Ch] (workWidth): add a const
6425
6426 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * texrow.[Ch] (increasePos): remove function
6429         * exporter.C (export): removed unused var and outdated comment
6430
6431 2003-05-23  Angus Leeming  <leeming@lyx.org>
6432
6433         * latexrunparams.h: rename fragile as moving_arg.
6434         * paragraph.C (simpleTeXOnePar): ditto.
6435         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6436
6437 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6438
6439         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6440         (createUndo): ditto
6441         (textUndoOrRedo): comment out a currently unused var.
6442
6443         * paragraph.h (NO_NEXT): enable NO_NEXT
6444
6445         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6446
6447         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6448
6449         * exporter.C (Export): adjust for removeAutoInsets removal.
6450
6451         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6452
6453         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6454
6455         * BufferView.[Ch] (removeAutoInsets): delete function
6456
6457 2003-05-22  Angus Leeming  <leeming@lyx.org>
6458
6459         * latexrunparams.h: add a free_spacing variable.
6460
6461         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6462         to pass moving_arg, as the data is stored in runparams.fragile.
6463
6464         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6465         to Inset::latexOptional or to simpleTeXOnePar.
6466
6467         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6468         free_spacing arg to Inset::latexOptional.
6469
6470         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6471         free_spacing arg.
6472
6473 2003-05-22  Angus Leeming  <leeming@lyx.org>
6474
6475         * latexrunparams.h: add fragile and use_babel variables.
6476
6477         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6478         * buffer.C (makeLaTeXFile): store this returned value in
6479         runparams.use_babel, thus passing it to the inset::latex methods.
6480
6481         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6482         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6483
6484         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6485         longer has a fragile arg, as it is stored in runparams.fragile.
6486
6487         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6488         moving_arg parameter as the data is stored in runparams.fragile.
6489
6490         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6491         a fragile parameter as the data is stored in runparams.fragile.
6492
6493 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6496
6497 2003-05-22  Angus Leeming  <leeming@lyx.org>
6498
6499         * latexrunparams.h: add a 'bool nice' which defaults to false.
6500
6501         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6502         now encapsulated within runparams.
6503
6504         * bufferlist.C (updateIncludedTeXfiles):
6505         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6506
6507 2003-05-22  Angus Leeming  <leeming@lyx.org>
6508
6509         * latexrunparams.h: new file containing struct LatexRunParams.
6510         * Makefile.am: add new file.
6511
6512         * LaTeX.[Ch] (c-tor, run):
6513         * buffer.[Ch] (makeLaTeXFile):
6514         * bufferlist.[Ch] (updateIncludedTeXfiles):
6515         * converter.C (convert, scanLog):
6516         * converter.[Ch] (runLaTeX):
6517         * exporter.C (Export):
6518         * paragraph.[Ch] (simpleTeXOnePar):
6519         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6520         * paragraph_funcs.[Ch] (latexParagraphs):
6521         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6522         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6523         pass around a LatexRunParams parameter.
6524
6525 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * paragraph.[Ch]: remove unused constructor
6528
6529         * ParagraphList.C (erase): new function, taking two iterators
6530
6531 2003-05-22  André Pönitz  <poenitz@gmx.net>
6532
6533         * undo_funcs.C: remove duplicated code
6534
6535         * iterator.[Ch]: operator=
6536
6537 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * tabular.C (SetMultiColumn): ws changes
6540
6541         * rowpainter.C (paintFirst): get rid of a ->previous
6542
6543         * lyx_cb.C (getPossibleLabel): parlist simplification
6544
6545         * BufferView.C (ChangeInsets): simplify slightly.
6546
6547 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6548
6549         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6550         * lfuns.h: new LFUN_SPACE
6551         * lyxfunc.C: protected space has a new lfun
6552         * paragraph_funcs.C: read new space insets
6553         * text3.C:
6554         * factory.C: handle new space insets
6555
6556 2003-05-22  André Pönitz  <poenitz@gmx.net>
6557
6558         * BufferView.C:
6559         * BufferView_pimpl.C:
6560         * buffer.[Ch]:
6561         * lyxfunc.C:
6562         * undo_funcs.C: return a ParIterator from getParFromID.
6563
6564         * iterators.[Ch]: add two const's
6565
6566 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * toc.C (getTocList): adjust
6569
6570         * iterators.[Ch]: rework for parlist
6571
6572         * buffer.C (par_iterator_begin): adjust
6573         (par_iterator_end): adjust
6574
6575         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6576
6577         * BufferView.C (removeAutoInsets): adjust
6578         (ChangeInsets): adjust
6579
6580 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6581
6582         * text.C (top_y): fix bug 1110
6583
6584 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6585
6586         * errorlist.[Ch]: added
6587         * buffer.C:
6588         * BufferView.[Ch]:
6589         * BufferView_pimpl.C:
6590         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6591         instead
6592
6593 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * Makefile.am: ensure that lyx is relinked upon changes to the
6596         various "convenience" libs.
6597
6598 2003-05-20  Angus Leeming  <leeming@lyx.org>
6599
6600         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6601         files are compiled in alphabetical order again.
6602
6603         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6604
6605 2003-05-19  Angus Leeming  <leeming@lyx.org>
6606
6607         * gettext.[Ch]: remove "char const * _(char const *)".
6608
6609 2003-05-19  André Pönitz  <poenitz@gmx.net>
6610
6611         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6612
6613         * Makefile.am:
6614         * BufferView.C:
6615         * DepTable.h:
6616         * LaTeXFeatures.C:
6617         * buffer.C:
6618         * lyxfont.C:
6619         * lyxlex.h:
6620         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6621
6622 2003-05-19  André Pönitz  <poenitz@gmx.net>
6623
6624         * buffer.C:
6625         * lyxlayout.[Ch]:
6626         * lyxtextclass.[Ch]:
6627         * paragraph.C:
6628         * paragraph_funcs.[Ch]:
6629         * text2.C:
6630         * text3.C: more insetenv work
6631
6632 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6633
6634         * ParagraphParameters.C (params2string): small bug fixed
6635
6636 2003-05-16  André Pönitz  <poenitz@gmx.net>
6637
6638         * debug.C:
6639         * bufferview_funcs.C: patch from Kornel Benko to prevent
6640           crash when _(...) is called twice in a statement
6641
6642 2003-05-16  André Pönitz  <poenitz@gmx.net>
6643
6644         * BufferView.C:
6645         * lyxfunc.C:
6646         * text.C:
6647         * text2.C:
6648         * text3.C:
6649         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6650
6651 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6652
6653         * lyx_main.C (init): remove spurious static_cast
6654
6655 2003-05-14  André Pönitz  <poenitz@gmx.net>
6656
6657         * BufferView.C: fix format string
6658
6659 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6660
6661         * BufferView.[Ch] (insertErrors): removed
6662         * BufferView.[Ch] (showErrorList): added
6663         * buffer.C (runChkTeX):
6664         * converter.C (scanLog): call showErrorList instead of inserterrors
6665
6666 2003-05-13  André Pönitz  <poenitz@gmx.net>
6667
6668         * BufferView_pimpl.C:
6669         * buffer.C:
6670         * bufferview_func.C:
6671         * MenuBackend.C:
6672         * lyxfunc.C:
6673         * lyxrc.C:
6674         * tex-accent.C:
6675         * text3.C:
6676         * toc.C:
6677         * tabular_funcs.h: tostr() from its own header
6678
6679         * ParagraphParameters.C:
6680         * ToolbarBackend.C:
6681         * bufferparams.C:
6682         * format.C:
6683         * lyxlex_pimpl.C:
6684         * text3.C: STRCONV()
6685
6686 2003-05-12  André Pönitz  <poenitz@gmx.net>
6687
6688         * BufferView.C:
6689         * BufferView_pimpl.C:
6690         * CutAndPaste.C:
6691         * LaTeX.C:
6692         * LaTeXFeatures.C:
6693         * ParagraphParameters.C:
6694         * buffer.C:
6695         * bufferlist.C:
6696         * bufferparams.C:
6697         * bufferview_funcs.C:
6698         * converter.C:
6699         * counters.C:
6700         * debug.C:
6701         * exporter.C:
6702         * format.C:
6703         * importer.C:
6704         * lyx_cb.C:
6705         * lyx_main.C:
6706         * lyxfont.C:
6707         * lyxfunc.C:
6708         * lyxvc.C:
6709         * paragraph.C:
6710         * paragraph_funcs.C:
6711         * tabular.C:
6712         * tabular_funcs.C:
6713         * text2.C:
6714         * text3.C:  boost::format -> bformat  all over the place
6715
6716
6717 2003-05-09  André Pönitz  <poenitz@gmx.net>
6718
6719         * LColor.[Ch]: Pimpl the #include <map> away
6720
6721 2003-05-09  John Levon  <levon@movementarian.org>
6722
6723         * bufferlist.C: never remove emergency saves
6724
6725 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * Makefile.am: better lib building
6728
6729 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6732         instead.
6733         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6734         (simpleTeXSpecialChars): adjust
6735         (simpleTeXSpecialChars): adjust
6736         * paragraph.C (simpleTeXOnePar): adjust
6737         * buffer.C (makeLaTeXFile): adjust
6738
6739         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6740
6741         * text2.C (changeDepth): parlist cleanup
6742         (getColumnNearX): ditto
6743
6744         * rowpainter.C (getLabelFont): parlist cleanup
6745
6746         * bufferlist.C (newFile): parlist cleanup
6747
6748         * CutAndPaste.C (eraseSelection): parlist cleanup
6749
6750         * BufferView_pimpl.C (trackChanges): parlist cleanup
6751         (dispatch): ditto
6752
6753         * BufferView.C (lockInset): parlist cleanup.
6754         (ChangeInsets): ditto
6755
6756 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * CutAndPaste.h: Update file header.
6759
6760         * CutAndPaste.C: Update file header.
6761         Store the parts cut out of the Document in a limited_stack.
6762         (copySelection): adjust
6763         (pasteSelection): new function, takes the index in the limited stack.
6764         (nrOfParagraphs): adjust
6765         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6766         simplify error inset insertion.
6767         (checkPastePossible): adjust
6768
6769 2003-05-06  John Levon  <levon@movementarian.org>
6770
6771         * text2.C: don't cast wrap inset to float
6772
6773 2003-05-05  André Pönitz  <poenitz@gmx.net>
6774
6775         * iterator.C:
6776         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6777
6778         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6779           few naked Paragraph *.
6780
6781 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6782
6783         * bufferparams.C: Output warning if a document with missing
6784         TeX document class is loaded
6785         * exporter.C: Disable TeX exports if the document class is missing
6786         * lyxtextclass.C:
6787         * lyxtextclass.h:
6788         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6789         isTeXClassAvailable()
6790
6791 2003-05-03  John Levon  <levon@movementarian.org>
6792
6793         * BufferView.h:
6794         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6795         explicit cursor show/hide
6796
6797         * BufferView_pimpl.h:
6798         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6799         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6800
6801         * lyxfunc.C: hide cursor before dispatching.
6802
6803         * lyx_cb.C:
6804         * lyxfind.C:
6805         * text.C:
6806         * text3.C: remove explicit cursor hides
6807
6808 2003-05-02  André Pönitz  <poenitz@gmx.net>
6809
6810         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6811
6812         * undo_funcs.C:
6813         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6814           linked lists
6815
6816         * text2.C: tiny whitespace
6817
6818 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * undo_funcs.C: almost only ws changes.
6821
6822         * ParagraphList.C (splice): just return if pl is empty.
6823
6824 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * ParagraphList.C (splice): new function.
6827
6828         * CutAndPaste.C (pasteSelection): use it
6829
6830 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * CutAndPaste.C (pasteSelection): remove the last next and
6833         previous from this file.
6834
6835 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * CutAndPaste.C (pasteSelection): more clean up, user proper
6838         ParagraphList functions for pasteing.
6839
6840         * ParagraphList.C (insert): new function, three arg insert
6841
6842 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * ParagraphList.C (insert): new function, three arg insert
6845
6846         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6847         not on paragraphs.
6848
6849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6852
6853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6856
6857 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6860         (copySelection): clean up a bit.
6861         (pasteSelection): use make_pair
6862
6863         * ParagraphList.C (ParagraphList): implement copy constructor
6864         (operator=): implement, base on copy constructor.
6865         (assign): new func
6866
6867         * paragraph.C (erase): return a bool
6868
6869         * paragraph_pimpl.C (erasePos): remove function, move contents...
6870         (erase): ... here. Return a bool.
6871         (erase): call erase instead of erasePos.
6872
6873 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * ParagraphList.h: define PitPosPair
6876         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6877         ParagraphList, fix a bug on pasting multiple pars
6878         * text2.C: change interface to C&P
6879
6880 2003-04-30  André Pönitz  <poenitz@gmx.net>
6881
6882         * undo_func.C: revert part of yesterday's patch 2
6883
6884 2003-04-30  John Levon  <levon@movementarian.org>
6885
6886         * LColor.C: s/tabular/table/
6887
6888 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * text3.C (dispatch): do not convert iterator -> pointer
6891         * undo_funcs.C (setCursorParUndo): ditto
6892         * text_funcs.C (transposeChars): ditto
6893
6894         * text2.C (setLayout): ws changes only
6895
6896         * text.C (breakParagraph): do not convert iterator -> pointer
6897         (insertChar): ditto
6898         (acceptChange): ditto
6899         (rejectChange): ditto
6900         (changeCase): ditto
6901         (Delete): ditto
6902         (backspace): ditto
6903
6904         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6905         pointer
6906
6907 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * text3.C (gotoInset): YABG (yet another bad getChar)
6910
6911 2003-04-29  André Pönitz  <poenitz@gmx.net>
6912
6913         * paragraph.h: make operator= private unimplemented as long as
6914           it is unusable
6915
6916         * ParagraphList.C: whitespace
6917
6918         * paragraph.[Ch]:
6919         * paragraph_pimpl.[Ch]:
6920         * paragraph_funcs.C:
6921         * CutAndPaste.C:
6922         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6923
6924         * text2.C:
6925           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6926
6927 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6930         * paragraph.[Ch] (erase):
6931         * paragraph_pimpl.[Ch] (erase): change return type and value
6932         * text2.C (cutSelection): some rework
6933
6934 2003-04-28  John Levon  <levon@movementarian.org>
6935
6936         * bufferlist.C: changes for unsaved changes dialog
6937
6938 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * bufferlist.C (newFile): set language (messages_) for new
6941         documents also.
6942
6943         * buffer.C (readFile): ws changes only.
6944
6945 2003-04-28  André Pönitz  <poenitz@gmx.net>
6946
6947         * undo_funcs.C:
6948         * lyxfunc.C:
6949         * buffer.[Ch]:
6950         * BufferView_pimpl.C:
6951         * BufferView.C: getParFromID related ParagraphList::iterator changes
6952
6953 2003-04-28  André Pönitz  <poenitz@gmx.net>
6954
6955         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6956           Changes
6957
6958 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * messages.C: remove one more localedir class variable.
6961
6962 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * messages.C (getLocaleDir): singleton generation function
6965         (Pimpl): use it.
6966         (Messages): add a default constructor.
6967
6968         * main.C (main): do not setup localedir here, do not call
6969         gettext_init.
6970
6971         * gettext.C (_): use it.
6972         (gettext_init): delete funciton
6973
6974 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6975
6976         * gettext.C (getLyXMessages): new singleton generating function.
6977
6978         * buffer.C (updateDocLang): adjust
6979
6980         * Makefile.am (messages.o): add target
6981         (main.o): remove target
6982
6983 2003-04-27  John Levon  <levon@movementarian.org>
6984
6985         * bufferlist.C:
6986         * lyx_cb.C:
6987         * lyxfunc.C:
6988         * lyxvc.C: specify cancel button in Alert::prompt
6989
6990 2003-04-26  John Levon  <levon@movementarian.org>
6991
6992         * text3.C:
6993         * lyxfunc.C:
6994         * lfuns.h:
6995         * LyXAction.C: add LFUN_INSET_SETTINGS
6996
6997         * lyxfunc.C: don't enable tabular-feature when there's
6998         just any locking inset
6999
7000 2003-04-26  John Levon  <levon@movementarian.org>
7001
7002         * bufferlist.C: re-add Cancel to buffer close question
7003
7004         * lyxfunc.C: fix import UI a bit
7005
7006 2003-04-25  John Levon  <levon@movementarian.org>
7007
7008         * gettext.C: remove the broken asserts for now
7009
7010 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * messages.C: make case where setlocale cannot comply work better.
7013
7014         * buffer.C (updateDocLang): new function
7015         (changeLanguage): use it
7016         (readFile): use it
7017
7018         * text2.C (setCounter): use B_ a bit.
7019
7020         * lyxlayout.C (Read): be sure to trim the label strings.
7021
7022         * messages.C (Messages): fix typo in comment
7023
7024         * buffer.C (readFile): set message_ after file is loaded.
7025         (makeDocBookFile): remove double return
7026         (changeLanguage): reset message_ upon language change.
7027         (B_): new func, use this to get translated buffer strings.
7028
7029         * main.C: add myself and Jean Marc as authors.
7030
7031 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * messages.[hC]: pimplify Messages, and three different pimpls to be
7034         used in different circumstances.
7035
7036         * gettext.[Ch]: change for use with new message code.
7037
7038 2003-04-24 André Pönitz <poenitz@gmx.net>
7039
7040         * factory.C: support for eqref
7041
7042 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * messages.[Ch]: add missing char
7045
7046         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7047
7048         * messages.[Ch]: New files
7049
7050 2003-04-18  John Levon  <levon@movementarian.org>
7051
7052         * BufferView.h:
7053         * BufferView.C:
7054         * BufferView_pimpl.C:
7055         * lfuns.h:
7056         * LyXAction.C:
7057         * lyxtext.h:
7058         * text2.C: remove layout-copy/paste (bug 778)
7059
7060 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7063
7064 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7067         if they succeed. Act accordingly.
7068
7069 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * text2.C (setCharFont): adjust
7072         (setCounter): adjust
7073         (insertStringAsLines): adjust
7074
7075         * text.C (leftMargin): adjust
7076         (setHeightOfRow): adjust
7077
7078         * rowpainter.C (paintFirst): adjust
7079         (paintLast): adjust
7080
7081         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7082         (outerHook): ditto
7083         (isFirstInSequence): ditto
7084         (getEndLabel): ditto
7085         (outerFont): adjust
7086
7087         * paragraph.C (getParLanguage): comment out some hard stuff.
7088
7089         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7090         (sgmlError): ditto
7091         (simpleDocBookOnePar): ditto
7092         (makeDocBookFile): use ParagraphList::iterator
7093
7094         * CutAndPaste.C (pasteSelection): adjust
7095
7096 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * text2.C (getFont): adjust
7099         (getLayoutFont): adjust
7100         (getLabelFont): adjust
7101
7102         * paragraph_funcs.C (TeXOnePar): adjust
7103
7104         * buffer.C (simpleLinuxDocOnePar): adjust
7105         (simpleDocBookOnePar): adjust
7106
7107         * CutAndPaste.C (pasteSelection): adjust
7108
7109         * BufferView.C (getEncoding): adjust
7110
7111         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7112
7113 2003-04-16  John Levon  <levon@movementarian.org>
7114
7115         * lyxfind.C: use parlist stuff for search/changes
7116
7117 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7120
7121         * text2.C (deleteEmptyParagraphMechanism): adjust
7122
7123         * text2.[Ch] (ownerParagraph): delete func (both of them
7124
7125 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7128
7129 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * ParagraphList.C: prepare for NO_NEXT
7132
7133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7134
7135         * text2.C (getFont): adjust
7136         (getLayoutFont): adjust
7137         (getLabelFont): adjust
7138
7139         * paragraph.C (getFont): adjust
7140         (getLabelFont): adjust
7141         (getLayoutFont): adjust
7142
7143         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7144
7145 2003-04-15  John Levon  <levon@movementarian.org>
7146
7147         From Angus Leeming
7148
7149         * lyx_main.C: handle Include in .ui files
7150
7151 2003-04-15  John Levon  <levon@movementarian.org>
7152
7153         * MenuBackend.C: make the doc files length shorter
7154
7155         * ToolbarBackend.h:
7156         * ToolbarBackend.C: handle toolbar placement flags,
7157         Minibuffer
7158
7159 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7162         adjust
7163
7164         * paragraph_funcs.C (TeXOnePar): adjust
7165
7166         * paragraph.C (getLabelFont): add outerfont arg, adjust
7167         (getLayoutFont): ditto
7168         (simpleTeXOnePar): adjust
7169
7170         * paragraph_pimpl.C (realizeFont): delete func
7171
7172 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7173
7174         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7175         row argument, constify cur argument.
7176
7177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * text2.C (getFont): adjust
7180         (getLayoutFont): adjust
7181         (getLabelFont): adjust
7182
7183         * paragraph_funcs.C (TeXOnePar): adjust
7184         (outerFont): new func...
7185         (realizeFont): ...moved out from here, changed this to facilitate
7186         transition
7187
7188         * paragraph.C (getFont): take outerfont as arg, adjust
7189         (simpleTeXOnePar): add outerfont arg, adjust
7190
7191         * buffer.C (simpleLinuxDocOnePar): adjust
7192         (simpleDocBookOnePar): adjust
7193
7194         * CutAndPaste.C (pasteSelection): adjust
7195
7196         * BufferView.C (getEncoding): adjust
7197
7198 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * text2.C (setCharFont): adjust
7201         (setCounter): adjust
7202
7203         * text.C (leftMargin): adjust
7204         (setHeightOfRow): adjust
7205
7206         * rowpainter.C (paintFirst): adjust
7207         (paintLast): adjust
7208
7209         * paragraph_pimpl.C (realizeFont): adjust
7210
7211         * paragraph.C (isFirstInSequence): move from here...
7212         * paragraph_funcs.C (isFirstInSequence): ...to here
7213
7214         * paragraph.C (outerHook): move from here...
7215         * paragraph_funcs.C (outerHook): ...to here
7216
7217         * paragraph.C (depthHook): move from here...
7218         * paragraph_funcs.C (depthHook): ...to here
7219
7220         * paragraph.C (getEndLabel): move from here...
7221         * paragraph_funcs.C (getEndLabel): ...to here
7222
7223         * text2.C (realizeFont): move from here...
7224         * paragraph_funcs.C (realizeFont): ...to here
7225
7226 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7229
7230 2003-04-14  Angus Leeming  <leeming@lyx.org>
7231
7232         * LColor.[Ch]: scrap LColor mathcursor.
7233
7234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * lyxlex.[Ch] (text): delete function
7237         * trans.C (Load): adjust
7238         * paragraph_funcs.C (readParToken): adjust
7239
7240 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7243         vector<char> instead of a char[].
7244
7245         * lyxlex_pimpl.C (getString): adjust
7246         (next): adjust
7247         (lex): use getString
7248         (eatLine): adjust
7249         (nextToken): adjust
7250
7251         * lyxlex.C (text): use pimpl_->getString()
7252         (getBool): ditto
7253         (findToken): ditto
7254
7255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7258         (makeFontEntriesLayoutSpecific): temp var for par.size()
7259         (setLayout): temp var for ownerParagraphs().end()
7260         (fullRebreak): temp var for rows().end()
7261         (selectionAsString): temp var for boost::next(startpit), realize
7262         that the while really is a regular for loop.
7263         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7264         setCursor in one place.
7265         (setParagraph): temp vr for ownerParagraphs().end()
7266         (updateCounters): make the while loop a for loop
7267         (cutSelection): temp var for ownerParagraphs().end()
7268         (updateInset): make the do {} while() a regular for loop
7269         (getCursorX): use temp vars
7270         (setCurrentFont): use temp vars
7271         (getColumnNearX): use temp vars
7272
7273 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text.C (transformChar): use temp var for getChar
7276         (computeBidiTables): use temp var for row->par()
7277         (fill): move temp vars for row->par() and pit->layout() earlier in
7278         the function.
7279         (labelFill): use temp var for row->par()
7280         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7281         asc and desc, realize that pit never changes and that firstpit is
7282         just a duplicate and not needed. Exchange rit->par() with pit in a
7283         lot of places.
7284         (breakAgain): use a temp var for boost::next(rit)
7285         (breakAgainOneRow): ditto
7286         (breakParagraph): use a temp var for rows().begin()
7287         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7288         (cursorRightOneWord): use temp var for cursor.par() and
7289         cursor.pos(), remove usage of tmpcursor.
7290         (cursorLeftOneWord): use temp var for cursor.par() and
7291         cursor.pos() only set cur at end of function.
7292
7293 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * text.C, text2.C: exchange all usage of Paragraph::next with
7296         boost::next(ParagraphList::iterator)
7297
7298         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7299
7300         * text2.C (cursorTop): simplify implementation
7301         (cursorBottom): ditto
7302         (setParagraph): use ParagraphList::iterator
7303         (setCurrentFont): adjust
7304         (getColumnNearX): adjust
7305         (cursorRight): adjust
7306         (cursorLeft): remove usage of Paragraph::previous
7307         (cursorUpParagraph): ditto
7308         (deleteEmptyParagraphMechanism): slight cleanup
7309
7310         * text.C (isBoundary): take a Paragraph const & instead of a
7311         pointer as arg.
7312         (addressBreakPoint): ditto
7313         (leftMargin): remove usage of Paragraph::previous.
7314         (setHeightOfRow): ditto
7315         (cursorLeftOneWord): ditto
7316         (selectNextWordToSpellcheck): ditto
7317         (Delete): ditto
7318         (backspace): ditto
7319         (breakParagraph): remove one usage of Paragraph::next
7320         (redoParagraph): ditto
7321         (acceptChange): ditto
7322         (insertChar): adjust
7323         (rowBreakPoint): adjust
7324
7325         * bufferview_funcs.C (toggleAndShow): adjust
7326
7327 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7330         methods to access it.
7331         * lyxtext.h:
7332         * text.C: Added updateRowPositions to compute all row positions.
7333         Make top_y and getRowNearY() to use the cached y position
7334
7335 2003-04-11  John Levon  <levon@movementarian.org>
7336
7337         * text.C (rowBreakPoint): reintroduce the labelEnd
7338         checks, code copied from the row fill stuff. Deep voodoo.
7339
7340         * text.C (fill): add a comment and debugging for the
7341         next poor soul.
7342
7343 2003-04-11  John Levon  <levon@movementarian.org>
7344
7345         * text.C: make sure fullrow insets get wrapped to the next line,
7346         even when they're in a manual label
7347
7348 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * text2.C (insertParagraph): make it take ParagraphList::iterator
7351         as arg.
7352         (setLayout): make it return ParagraphList::iterator
7353         (redoParagraphs): ditto
7354         (setCounter): ditto
7355         (checkParagraph): ditto
7356
7357         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7358
7359         * text2.C: adjust several funcs.
7360         (realizeFont): take a ParagraphList::iterator as arg.
7361         (getLayoutFont): ditto
7362         (getLabelFont): ditto
7363         (setCharFont): ditto
7364
7365         * text.C: adjust several funcs.
7366
7367 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * text.C (selectNextWordToSpellcheck): don't accidentally
7370         skip insets
7371
7372 2003-04-10  John Levon  <levon@movementarian.org>
7373
7374         * ToolbarBackend.C (getIcon): special handling for
7375         LFUN_MATH_DELIM
7376
7377 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7378
7379         * text2.C (cursorRight): a getChar assert fixed
7380
7381 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * text2.C (getFont): change to take a ParagraphList::iterator
7384         instead of Paragraph*
7385         Adjust several functions.
7386
7387         * text.C (transformChar): change to take a ParagraphList::iterator
7388         instead of Paragraph*
7389         (singleWidth): ditto
7390         Adjust several functions.
7391
7392         * rowpainter.C: adjust several functions
7393         * rowpainter.h:store a ParagraphList::iterator and not a
7394         Paragraph&.
7395
7396
7397 2003-04-09  John Levon  <levon@movementarian.org>
7398
7399         * lyxfunc.C:
7400         * lfuns.h:
7401         * LyXAction.h:
7402         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7403         and the "help" bits as well
7404
7405 2003-04-09  John Levon  <levon@movementarian.org>
7406
7407         * ToolbarBackend.h:
7408         * ToolbarBackend.C: allow multiple toolbars
7409
7410 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * undo_funcs.C (setCursorParUndo): adjust
7413
7414         * text_funcs.C (transposeChars): adjust
7415
7416         * text3.C (gotoNextInset): adjust
7417         (dispatch): adjust
7418
7419         * text2.C (setLayout): adjust
7420         (changeDepth): adjust
7421         (setFont): adjust
7422         (redoParagraphs): adjust
7423         (selectionAsString): adjust
7424         (setParagraph): adjust
7425         (insertInset): adjust
7426         (cutSelection): adjust
7427         (copySelection): adjust
7428         (pasteSelection): adjust
7429         (insertStringAsLines): adjust
7430         (updateInset): adjust
7431         (setCursor): change to take a ParagraphList::iterator parameter
7432         (setCursorIntern): change to take a ParagraphList::iterator parameter
7433         (setCurrentFont): adjust
7434         (cursorLeft): adjust
7435         (cursorRight): adjust
7436         (deleteEmptyParagraphMechanism): adjust
7437
7438         * text.C (breakParagraph): adjust
7439         (insertChar): adjust
7440         (acceptChange): adjust
7441         (rejectChange): adjust
7442         (selectNextWordToSpellcheck): adjust
7443         (changeCase): adjust
7444         (Delete): adjust
7445         (backspace): adjust
7446
7447         * lyxfind.C (SearchForward): adjust
7448         (SearchBackward): adjust
7449         (nextChange): adjust
7450
7451         * lyxcursor.C (par): adjust
7452
7453         * lyxcursor.h: store a ParagraphList::iterator instead of a
7454         Paragraph*
7455
7456         * lyx_cb.C (getPossibleLabel): adjust
7457
7458         * bufferview_funcs.C (toggleAndShow): adjust
7459
7460         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7461         (dispatch): adjust
7462
7463         * BufferView.C (removeAutoInsets): adjust
7464         (lockedInsetStoreUndo): adjust
7465
7466 2003-04-09  John Levon  <levon@movementarian.org>
7467
7468         * ToolbarBackend.C: try icon without argument
7469         if with argument fails
7470
7471 2003-04-08  John Levon  <levon@movementarian.org>
7472
7473         * ToolbarBackend.h:
7474         * ToolbarBackend.C: add getIcon(), handle tooltip,
7475         and change from "Icon" to "Item".
7476
7477 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7478
7479         * BufferView.C (lockInset): another bad getchar crunched
7480
7481 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7482
7483         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7484         again)
7485
7486 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * lyxfind.C (searchForward, searchBackwards): bug 782
7489
7490 2003-04-07  John Levon  <levon@movementarian.org>
7491
7492         * paragraph.C: remove dead comment
7493
7494         * text.C: remove troublesome depth-fiddling code
7495         in leftMargin() and rightMargin() (bug 1017)
7496
7497         * text.C: fix breaking of rows in nested lists
7498         (bug 1004)
7499
7500         * text2.C (updateCounters): fix up depth values
7501         (bug 1013)
7502
7503 2003-04-07  John Levon  <levon@movementarian.org>
7504
7505         * BufferView_pimpl.C: clear message when doc finishes resizing,
7506         and after a mouse event
7507
7508         * lyxfunc.C: clear message after exiting inset
7509
7510 2003-04-07  John Levon  <levon@movementarian.org>
7511
7512         * bufferview_funcs.C: show math status not outside
7513         status in the statusbar
7514
7515 2003-04-07  John Levon  <levon@movementarian.org>
7516
7517         * lyxfunc.C: note status changed after a depth change
7518
7519 2003-04-04  Angus Leeming  <leeming@lyx.org>
7520
7521         * LaTeX.h: move AuxInfo operator==, != out of line.
7522         Remove LaTeX virtual destructor; nothing derives from it.
7523         Move operator()() out of public area and rename it startscript().
7524         Change protected for private.
7525
7526 2003-04-04  Angus Leeming  <leeming@lyx.org>
7527
7528         * lyxfunc.C:
7529         * text2.C: remove unneeded #includes.
7530
7531 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7532
7533         * text2.C (dEPM): fix the heigth of the next row
7534
7535 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7536
7537         * text.C: squashed an invalid getChar requester + some ws changes
7538
7539 2003-04-03  John Levon  <levon@movementarian.org>
7540
7541         * bufferview_funcs.h:
7542         * bufferview_funcs.C:
7543         * lyxfunc.C:
7544         * lyxtext.h:
7545         * text2.C: make getStatus work for the env depth lfuns
7546
7547 2003-04-03  John Levon  <levon@movementarian.org>
7548
7549         * bufferview_funcs.h:
7550         * bufferview_funcs.C:
7551         * lyxfunc.C:
7552         * lyxtext.h:
7553         * text2.C: parlistize decDepth(), by merging it with incDepth()
7554
7555 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * lyxrow.h: store a ParagraphList::iterator instead of a
7558         Paragraph* and adjust other class functions to suit.
7559
7560         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7561         above.
7562
7563 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7564
7565         * text2.C (setCursor): do not anchor to cursor row for the time being
7566
7567 2003-04-02  John Levon  <levon@movementarian.org>
7568
7569         * LyXAction.C:
7570         * lfuns.h:
7571         * lyx_main.C:
7572         * lyxtext.h:
7573         * text.C:
7574         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7575
7576 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * paragraph.h: make ParagraphList and ParagraphList::iterator
7579         friends of Paragraph.
7580
7581         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7582
7583         * ParagraphList.C: Use the private next_ and previous_ from
7584         Paragraph.
7585
7586 2003-04-01  John Levon  <levon@movementarian.org>
7587
7588         * ToolbarBackend.h:
7589         * ToolbarBackend.C:
7590         * Makefile.am: rename, remove defaults gunk
7591
7592         * MenuBackend.h:
7593         * MenuBackend.C: remove defaults gunk
7594
7595         * Languages.h:
7596         * Languages.C: remove defaults gunk
7597
7598         * lyx_main.h:
7599         * lyx_main.C: error out if files couldn't be found.
7600
7601 2003-04-02  John Levon  <levon@movementarian.org>
7602
7603         * text2.C: make incDepth() use parlist
7604
7605 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * undo_funcs.C (firstUndoParagraph): adjust
7608
7609         * text3.C (gotoInset): adjust
7610         (dispatch): adjust, and rewrite loop.
7611
7612         * text2.C (init): adjust, and rewrite loop.
7613         (redoParagraphs): adjust
7614         (updateInset): adjust, and rewrite loop.
7615         (deleteEmptyParagraphMechanism): adjust
7616
7617         * tabular.C (LyXTabular): adjust
7618         (SetMultiColumn): adjust
7619         (TeXRow): adjust
7620
7621         * lyxtext.[Ch] (ownerParagraph): delete function
7622         (ownerParagraphs): new function returns a ParagraphList.
7623
7624         * BufferView.C (removeAutoInsets): adjust
7625         (insertErrors): adjust
7626         (setCursorFromRow): adjust
7627
7628 2003-04-01  Angus Leeming  <leeming@lyx.org>
7629
7630         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7631         in the frontends.
7632
7633 2003-04-02  John Levon  <levon@movementarian.org>
7634
7635         * lyxtext.h:
7636         * text.C:
7637         * Makefile.am:
7638         * text_funcs.h:
7639         * text_funcs.C: make transposeChars a free function
7640
7641         * lyxrow_funcs.C: remove wrong comment
7642
7643 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7644
7645         * lyxtext.h: adjust
7646         * rowpainter.C: adjust
7647         * text.C: adjust
7648         * text2.C: adjust
7649         * text3.C: adjust
7650
7651         * lyxrow_funcs. [Ch]: new files
7652
7653         * lyxrow.[Ch]: remove next and previous pointers
7654         (next,previous): remove accessor functions
7655         (isParEnd): move to lyxrow_funcs
7656         (lastPos): move to lyxrow_funcs
7657         (nextRowIsAllInset): move to lyxrow_funcs
7658         (lastPrintablePos): move to lyxrow_funcs
7659         (numberOfSeparators): move to lyxrow_funcs
7660         (numberOfHfills): move to lyxrow_funcs
7661         (numberOfLabelHfills): move to lyxrow_funcs
7662         (hfillExpansion): move to lyxrow_funcs
7663
7664         * lyxfunc.C: adjust
7665
7666         * bufferview_funcs.C (toggleAndShow): adjust
7667
7668         * RowList.h: Remove class RowList from file leave just a
7669         std::list<Row>.
7670
7671         * RowList.C: delete file
7672
7673         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7674         and lyxrow_funcs.h
7675
7676 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * text3.C (cursorPrevious): adjust
7679         (cursorNext): adjust
7680         (dispatch): adjust
7681
7682         * text2.C (redoHeightOfParagraph): adjust
7683         (redoDrawingOfParagraph): adjust
7684         (setCursor): adjust
7685
7686         * text.C (breakParagraph): adjust
7687         (insertChar): adjust
7688         (backspace): adjust
7689
7690         * rowpainter.C (RowPainter): adjust
7691         (leftMargin): simplify and adjust
7692         (most rowpainter functions): adjust.
7693
7694         * rowpainter.h: store the row as RowList::iterator not as Row*
7695
7696         * lyxcursor.C (row): taka RowList::iterator as arg
7697         (irow): ditto
7698
7699         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7700         of Row*.
7701
7702 2003-04-01  Angus Leeming  <leeming@lyx.org>
7703
7704         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7705         stuff like bool Bool.
7706
7707 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7708
7709         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7710         rewrite a loop
7711
7712 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7715         RowList::iterator.
7716
7717         * lyxtext.h (rows): drop one version and leve a const variant that
7718         returns a RowList::iterator.
7719
7720 2003-03-31  Angus Leeming  <leeming@lyx.org>
7721
7722         * text.C (fill): ensure that the signature is the same as that in the
7723         header file.
7724
7725 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * text2.C (redoParagraphs): adjust
7728         (updateCounters): adjust
7729         (checkParagraph): adjust
7730         (getColumnNearX): adjust and reformat a bit.
7731
7732         * text.C (top_y): adjust
7733         (workWidth): adjust
7734         (leftMargin): adjust
7735         (prepareToPrint): adjust
7736         (getRow): adjust
7737         (getRowNearY): adjust
7738
7739         * lyxtext.h: make rowlist_ mutable.
7740
7741         * RowList.h: add const_iterator
7742         * RowList.C: adjust for RowList::const_iterator.
7743
7744         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7745         adjust.
7746
7747 2003-03-31  John Levon  <levon@movementarian.org>
7748
7749         * lyxrc.h:
7750         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7751
7752         * lyx_main.C: set default fonts from using lyx_gui funcs
7753
7754         * exporter.C: pdf_mode moved from lyxrc
7755
7756         * lyx_cb.C:
7757         * lyxfunc.C: changes from above
7758
7759 2003-03-31  John Levon  <levon@movementarian.org>
7760
7761         * lyx_main.C: fix to the last fix
7762
7763 2003-03-31  John Levon  <levon@movementarian.org>
7764
7765         * bufferlist.C: "Load original" -> "Load Original"
7766
7767         * converter.C:
7768         * exporter.C:
7769         * importer.C:
7770         * lyx_main.C:
7771         * format.C: more Alert cleanups
7772
7773 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * text2.C (removeParagraph): make it take a RowList::iterator as
7776         arg, adjust.
7777         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7778         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7779
7780         * text.C (anchor_row): make it take a RowList::iterator as arg,
7781         adjust.
7782         (computeBidiTables): make it take a const reference to Row instead
7783         of Row pointer, adjust.
7784         (leftMargin): make it take a RowList::iterator as arg, adjust.
7785         (rowBreakPoint): adjust
7786         (breakAgainOneRow): make it take a RowList::iterator as arg,
7787         adjust.
7788         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7789
7790         * bufferview_funcs.C (toggleAndShow): adjust
7791
7792 2003-03-30  John Levon  <levon@movementarian.org>
7793
7794         * Makefile.am:
7795         * BoostFormat.h:
7796         * boost-inst.C: moved to support
7797
7798         * several files: changes as a result
7799
7800 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * text2.C (LyXText): adjust.
7803         (init): adjust
7804         (removeRow): make it take a RowList::iterator as arg, adjust.
7805         (fullRebreak): adjust
7806         (deleteEmptyParagraphMechanism): adjust
7807         (clearPaint): adjust
7808         (postPaint): adjust
7809
7810         * text.C (top_y): adjust
7811         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7812         (breakAgain): make it take a RowList::iterator as arg, adjust.
7813         (breakParagraph): adjust
7814         (insertChar): adjust
7815         (backspace): adjust
7816
7817         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7818         need_break_row, and refresh_row.
7819
7820         * text3.C (dispatch): adjust
7821
7822         * text2.C (checkParagraph): adjust
7823         (setCursor): adjust
7824         (setCursorFromCoordinates): adjust
7825
7826         * text.C (top_y): adjust
7827         (workWidth): adjust
7828         (getRow): make it return a RowList::iterator, adjust
7829         (getRowNearY): make it return a RowList::iterator, adjust
7830
7831         * text2.C (init): adjust
7832         (insertRow): remove function
7833         (insertParagraph): adjust
7834         (redoParagraphs): adjust
7835         (fullRebreak): adjust
7836         (updateCounters): adjust
7837
7838         * text.C (top_y): rewrite to use RowList iterators.
7839         (top_y): adjust
7840         (setHeightOfRow): rewrite to sue RowList iterators.
7841         (appendParagraph): adjust
7842         (breakAgain): adjust
7843         (breakAgainOneRow): adjust
7844         (breakParagraph): adjust
7845         (getRow): adjust
7846         (getRowNearY): adjust, and remove commented code.
7847
7848         * lyxtext.h (firstRow): delete function
7849         (lastRow): delete function
7850         (rows): new function (const and non-const versions.)
7851         (insertRow): delete function
7852
7853         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7854
7855 2003-03-29  John Levon  <levon@movementarian.org>
7856
7857         * BufferView_pimpl.C: always update scrollbar top
7858         because pasting text when we're anchored could mean we
7859         miss an update altogether
7860
7861 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * text2.C (init): use rowlist_.end() and not 0.
7864         (insertRow): change to take a RowList::iterator as arg, adjust
7865         for this.
7866         (insertParagraph): change to take a RowList::iterator as arg,
7867         adjust for this.
7868         (redoParagraphs): remove some debug msgs.
7869
7870         * text.C (appendParagraph): change to take a RowList::iterator
7871         arg, adjust for this.
7872         (breakAgain): add an assert
7873         (breakAgainOneRow): ditto
7874
7875 2003-03-29  John Levon  <levon@movementarian.org>
7876
7877         * text2.C: do not clear selection after inc/decDepth
7878         (bug 550)
7879
7880 2003-03-29  John Levon  <levon@movementarian.org>
7881
7882         * BufferView.C:
7883         * buffer.C: fix broken strerrors according to Lars
7884
7885 2003-03-29  John Levon  <levon@movementarian.org>
7886
7887         * converters.C: more Alert cleanups
7888
7889 2003-03-29  John Levon  <levon@movementarian.org>
7890
7891         * bufferview_funcs.C: remove pointless Alert
7892
7893         * buffer.C: fix confusing error message when
7894         a template is chmoded 000
7895
7896 2003-03-29  John Levon  <levon@movementarian.org>
7897
7898         * BufferView.C:
7899         * BufferView.h:
7900         * BufferView_pimpl.C: Alert fixes
7901
7902         * Makefile.am:
7903         * tabular.C:
7904         * tabular-old.C: remove unused table compat reading
7905
7906 2003-03-29  John Levon  <levon@movementarian.org>
7907
7908         * BufferView.C:
7909         * buffer.C:
7910         * lyx_cb.h:
7911         * lyx_cb.C: more Alert cleanups
7912
7913         * lyxfunc.C: don't allow chktex if not latex document
7914
7915 2003-03-29  John Levon  <levon@movementarian.org>
7916
7917         * lyx_cb.C:
7918         * BufferView.C:
7919         * buffer.C: warnings pushed down from support/,
7920         kill err_alert
7921
7922 2003-03-29  John Levon  <levon@movementarian.org>
7923
7924         * lyxfunc.C: safety check for C-r (revert)
7925
7926 2003-03-29  John Levon  <levon@movementarian.org>
7927
7928         * bufferlist.h:
7929         * bufferlist.C: several UI fixes using Alert::prompt.
7930         Fix the pointless looping quit code. Fix stupid revert
7931         behaviour (bug 938)
7932
7933         * lyxvc.h:
7934         * lyxvc.C:
7935         * lyx_cb.C: use Alert::prompt
7936
7937         * lyx_main.C: remove a silly question
7938
7939         * lyxfunc.C: remove a couple of silly questions,
7940         use Alert::prompt
7941
7942 2003-03-28  John Levon  <levon@movementarian.org>
7943
7944         * text2.C: fix bug 974 (End on empty par)
7945
7946 2003-03-28  John Levon  <levon@movementarian.org>
7947
7948         * BufferView_pimpl.C:
7949         * LyXAction.C:
7950         * lfuns.h: remove do-nothing math greek lfuns
7951
7952 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * lyxgluelength.h (isValidGlueLength): add default arg on
7955         parameter 2. Remove default arg from friend in class.
7956
7957         * lyxlength.h (isValidLength): add default arg on parameter 2.
7958         Remove default arg from friend in class.
7959
7960         * text2.C (LyXText): adjust, initialize refresh_row.
7961         (init): adjust
7962         (removeRow): adjust
7963         (insertRow): adjust
7964         (insertParagraph): adjst
7965         (redoParagraphs): adjust
7966         (fullRebreak): adjust
7967         (updateCounters): adjust
7968         (deleteEmptyParagraphMechanism): first attempt at fixing a
7969         crashing bug.
7970
7971         * text.C (top_y): adjust
7972         (setHeightOfRow): adjust
7973         (getRow): adjust
7974         (getRowNearY): adjust
7975
7976         * lyxtext.h: include RowList.h
7977         (~LyXText): not needed anymore, deleted.
7978         (firstRow): modify for RowList
7979         (lastRow): new function
7980         Delete firstrow and lastrow class variables, add a Rowlist
7981         rowlist_ class variable.
7982
7983         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7984         paragraph is empty.
7985
7986         * RowList.C (insert): fix case where it == begin().
7987
7988 2003-03-26  Angus Leeming  <leeming@lyx.org>
7989
7990         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7991         the thesaurus dialog.
7992
7993 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7996
7997         * RowList.[Ch]: new files
7998
7999         * ParagraphList.C (erase): handle the case where it == begin
8000         correctly.
8001
8002 2003-03-25  John Levon  <levon@movementarian.org>
8003
8004         * Makefile.am:
8005         * aspell_local.h:
8006         * aspell.C: add new aspell support
8007
8008         * lyxrc.h:
8009         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8010         have it accessible.
8011
8012 2003-03-25  Angus Leeming  <leeming@lyx.org>
8013
8014         * lfuns.h:
8015         * LyXAction.C (init): new LFUN_INSET_INSERT.
8016
8017         * BufferView_pimpl.C (dispatch): split out part of the
8018         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8019
8020         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8021         LFUN_INSET_APPLY.
8022
8023 2003-03-25  Angus Leeming  <leeming@lyx.org>
8024
8025         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8026
8027 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * text2.C:
8030         * text3.C: remove useless row->height(0)
8031
8032 2003-03-25  John Levon  <levon@movementarian.org>
8033
8034         * lyxtext.h:
8035         * text2.C:
8036         * text3.C: rename the refreshing stuff to better names
8037
8038 2003-03-24  John Levon  <levon@movementarian.org>
8039
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C: update layout choice on a mouse
8042         press/release
8043
8044 2003-03-23  John Levon  <levon@movementarian.org>
8045
8046         * Makefile.am: fix commandtags.h reference
8047
8048 2003-03-22  John Levon  <levon@movementarian.org>
8049
8050         * BufferView_pimpl.C:
8051         * lyxtext.h:
8052         * rowpainter.C:
8053         * rowpainter.h:
8054         * text.C:
8055         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8056
8057 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8058
8059         * lyxtext.h:
8060         * text.C: take the rtl methods out of line
8061
8062 2003-03-21 André Pönitz <poenitz@gmx.net>
8063
8064         * metricsinfo.[Ch]: new files containing structures to be passed around
8065         during the two-phase-drawing...
8066
8067 2003-03-21 André Pönitz <poenitz@gmx.net>
8068
8069         * lyxtextclass.C: read 'environment' tag.
8070
8071 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8072
8073         * text2.C (removeRow): fix bug 964
8074
8075 2003-03-20  John Levon  <levon@movementarian.org>
8076
8077         * rowpainter.C:
8078         * text.C:
8079         * text2.C: paint cleanups. Inset::update() dropped font
8080         parameter
8081
8082 2003-03-19  John Levon  <levon@movementarian.org>
8083
8084         * lyxfunc.C: only fitcursor/markDirty if available()
8085
8086 2003-03-19  John Levon  <levon@movementarian.org>
8087
8088         * commandtags.h: rename to ...
8089
8090         * lfuns.h: ... this, and renumber / cleanup
8091
8092 2003-03-19  John Levon  <levon@movementarian.org>
8093
8094         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8095         fit the cursor after an lfun
8096
8097         * BufferView.h:
8098         * BufferView.C:
8099         * BufferView_pimpl.h:
8100         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8101
8102         * LyXAction.C: layout-character should have ReadOnly
8103
8104         * ParagraphParameters.C:
8105         * buffer.C:
8106         * bufferview_funcs.C:
8107         * lyx_cb.C:
8108         * lyxfind.C:
8109         * lyxtext.h:
8110         * text.C:
8111         * text2.C:
8112         * text3.C:
8113         * undo_funcs.C: changes from above
8114
8115 2003-03-18  John Levon  <levon@movementarian.org>
8116
8117         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8118         remove it from update()
8119
8120         * lyxfunc.C: update layout choice after an lfun
8121
8122         * text3.C: remove extra updateLayoutChoice()s
8123
8124 2003-03-18  John Levon  <levon@movementarian.org>
8125
8126         * text.C: top_y change means full repaint, fix
8127         a drawing bug with cursor movement
8128
8129 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8130
8131         * lyxtext.h:
8132         * text.C:
8133         * text2.C: anchor row on setCursor
8134
8135 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8136
8137         * lyxtext.h: remove almost all mutable keywords
8138         * text.C:
8139         * text2.C:
8140         * text3.C: remove const keywords accordingly
8141
8142 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8145         anon namespace
8146         (TeXEnvironment): ditto
8147         (TeXOnePar): ditto
8148
8149 2003-03-17  John Levon  <levon@movementarian.org>
8150
8151         * text.C (rowBreakPoint): remove attempt to fix displayed
8152         math insets inside a manual label
8153
8154 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * lyxtext.h: remove BufferView* as first arg from almost all class
8157         functions.
8158         * other files: adjust.
8159
8160 2003-03-17  John Levon  <levon@movementarian.org>
8161
8162         * lyxtext.h:
8163         * undo_funcs.C:
8164         * text2.C: more paint cleanups
8165
8166         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8167
8168         * rowpainter.h:
8169         * rowpainter.C: remove "smart" background painting code
8170
8171 2003-03-16  John Levon  <levon@movementarian.org>
8172
8173         * lyxtext.h:
8174         * text.C:
8175         * text2.C:
8176         * text3.C: add helper functions for setting refresh_row/y
8177
8178 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8179
8180         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8181         newline inset which *can* get inserted in the pass_thru layouts.
8182         This is primarily for literate documents.
8183
8184 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8185
8186         * buffer.C: increment LYX_FORMAT to 223
8187
8188 2003-03-14 André Pönitz <poenitz@gmx.net>
8189
8190         * textclass.h: prepare for environment handling, ws changes
8191         * lyxlayout.C: read latexheader and latexfooter tags
8192
8193 2003-03-14  John Levon  <levon@movementarian.org>
8194
8195         * text2.C: rewrite ::status() a bit
8196
8197 2003-03-13  John Levon  <levon@movementarian.org>
8198
8199         * lyxtext.h: add some docs
8200
8201 2003-03-13  John Levon  <levon@movementarian.org>
8202
8203         * lyxtext.h:
8204         * text.C:
8205         * text2.C:
8206         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8207
8208 2003-03-13  John Levon  <levon@movementarian.org>
8209
8210         * text3.C: fix appendix redrawing
8211
8212 2003-03-13  John Levon  <levon@movementarian.org>
8213
8214         * text.C (setHeightOfRow):
8215         * rowpainter.h:
8216         * rowpainter.C: make appendix mark have the text
8217           "Appendix" so the user knows what it is
8218
8219         * LColor.h:
8220         * LColor.C: s/appendixline/appendix/ from above
8221
8222 2003-03-13  John Levon  <levon@movementarian.org>
8223
8224         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8225
8226         * text.C: fix a getChar(pos) bug properly
8227
8228 2003-03-13  Angus Leeming  <leeming@lyx.org>
8229
8230         * commandtags.h:
8231         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8232         Probably only temporary. Let's see how things pan out.
8233
8234         * BufferView.C (unlockInset):
8235         * BufferView_pimpl.C (fitCursor):
8236         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8237
8238         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8239         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8240
8241         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8242         new functions that convert ParagraphParameters to and from a string.
8243
8244         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8245         BufferView::Pimpl's dispatch.
8246         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8247
8248 2003-03-13 André Pönitz <poenitz@gmx.net>
8249
8250         * lyxfunc.C:
8251         * text3.C:
8252         * factory.C: make it aware of InsetEnv
8253
8254 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * text2.C (setCursor): never ask for one past last
8257         (setCursor): add some debugging messages.
8258
8259         * text.C (singleWidth): never ask for one past last
8260         (singleWidth): ditto
8261         (leftMargin): ditto
8262         (rightMargin): ditto
8263         (rowBreakPoint): ditto
8264         (setHeightOfRow): ditto
8265         (prepareToPrint): ditto
8266
8267         * rowpainter.C (paintBackground): never ask for one past last
8268         (paintText): never ask for one past last
8269
8270         * paragraph_pimpl.C (getChar): make the assert stricter, never
8271         allow the one past last pos to be taken
8272
8273         * paragraph.C (getChar): ws changes only
8274
8275         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8276         (numberOfSeparators): ditto
8277         (numberOfHfills): ditto
8278
8279 2003-03-12  John Levon  <levon@movementarian.org>
8280
8281         * author.h:
8282         * author.C:
8283         * bufferparams.h:
8284         * bufferparams.C:
8285         * paragraph_funcs.C: fix per-buffer authorlists
8286
8287 2003-03-12  John Levon  <levon@movementarian.org>
8288
8289         * text.C: fix newline in right address
8290
8291 2003-03-12  Angus Leeming  <leeming@lyx.org>
8292
8293         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8294         duplicate those in LyXFunc::dispatch.
8295
8296         * commandtags.h:
8297         * LyXAction.C:
8298         * ToolbarDefaults.C:
8299         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8300         Add LFUN_FONTFREE_UPDATE.
8301
8302         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8303         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8304
8305         * bufferview_func.[Ch]: several new functions to facilliate
8306         transfer of data to and from the character dialog.
8307
8308 2003-03-12  John Levon  <levon@movementarian.org>
8309
8310         * buffer.C:
8311         * paragraph.h:
8312         * paragraph.C:
8313         * paragraph_funcs.C:
8314         * paragraph_pimpl.C:
8315         * sgml.C:
8316         * tabular.C:
8317         * text.C:
8318         * text3.C: remove META_NEWLINE in favour of an inset
8319
8320         * rowpainter.h:
8321         * rowpainter.C: remove paintNewline (done by inset)
8322
8323 2003-03-12  John Levon  <levon@movementarian.org>
8324
8325         * paragraph_pimpl.C: complain about bad getChar()s
8326         for a while at least
8327
8328 2003-03-12  John Levon  <levon@movementarian.org>
8329
8330         * buffer.h:
8331         * buffer.C: move paragraph read into a separate function,
8332         a little renaming to reflect that.
8333
8334         * bufferparams.h:
8335         * bufferparams.C: remove the author_ids map, not necessary now
8336
8337         * factory.h:
8338         * factory.C: moved Buffer::readInset to here
8339
8340         * paragraph_funcs.h:
8341         * paragraph_funcs.C: readParagraph free function moved from
8342         buffer.C
8343
8344         * tabular.C: name change
8345
8346 2003-03-12  John Levon  <levon@movementarian.org>
8347
8348         * buffer.C:
8349         * ParagraphParameters.C: move par params input to
8350         a read() method
8351
8352         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8353         behave like a normal read from the stream wrt reading
8354         a line vs. a \\token
8355
8356 2003-03-12  John Levon  <levon@movementarian.org>
8357
8358         * paragraph.C:
8359         * ParagraphParameters.h:
8360         * ParagraphParameters.C: move output code to a
8361         ::write() method
8362
8363 2003-03-12  John Levon  <levon@movementarian.org>
8364
8365         * BufferView.C (insertLyXFile):
8366         * buffer.h:
8367         * buffer.C:
8368         * tabular.C: use a parlist iterator for creating the
8369           document.
8370
8371 2003-03-12  John Levon  <levon@movementarian.org>
8372
8373         * buffer.C: make current_change static local not
8374           static file-scope
8375
8376 2003-03-12  John Levon  <levon@movementarian.org>
8377
8378         * buffer.C: fix insertStringAsLines for change tracking
8379
8380 2003-03-12  John Levon  <levon@movementarian.org>
8381
8382         * BufferView.C:
8383         * tabular.C:
8384         * buffer.h:
8385         * buffer.C:
8386         * bufferparams.h:
8387         * bufferparams.C: move author list into params. Rename some
8388           functions. Move the header reading into a separate token
8389           loop. Move the header token reading into BufferParams.
8390
8391 2003-03-12  John Levon  <levon@movementarian.org>
8392
8393         * changes.C: put debug inside lyxerr.debugging() checks
8394
8395 2003-03-11 André Pönitz <poenitz@gmx.net>
8396
8397         * factory.C: make it aware of InsetHFill
8398
8399 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8400
8401         * buffer.C (latexParagraphs): move function from here...
8402         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8403         args.
8404
8405 2003-03-10  Angus Leeming  <leeming@lyx.org>
8406
8407         * LyXAction.C (init): fix bug in poplating array with multiple entries
8408         with the same LFUN (spotted by JMarc).
8409
8410 2003-03-10  John Levon  <levon@movementarian.org>
8411
8412         * text.C:
8413         * text2.C: move getColumnNearX() near its
8414         only call site
8415
8416 2003-03-10  John Levon  <levon@movementarian.org>
8417
8418         * text.C: fix break before a minipage
8419
8420 2003-03-10  John Levon  <levon@movementarian.org>
8421
8422         * text.C: fix the last commit
8423
8424 2003-03-09  John Levon  <levon@movementarian.org>
8425
8426         * lyxtext.h:
8427         * text.C:
8428         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8429         bug 365 (don't break before insets unless needed). Don't
8430         return a value > last under any circumstances.
8431
8432 2003-03-09  Angus Leeming  <leeming@lyx.org>
8433
8434         * BufferView_pimpl.C (trackChanges, dispatch): call
8435         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8436
8437 2003-03-09  Angus Leeming  <leeming@lyx.org>
8438
8439         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8440         than Dialogs::showAboutlyx().
8441
8442 2003-03-09  Angus Leeming  <leeming@lyx.org>
8443
8444         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8445         than Dialogs::showTabularCreate().
8446
8447 2003-03-09  John Levon  <levon@movementarian.org>
8448
8449         * lyxtext.h:
8450         * text.C:
8451         * text2.C: 3rd arg to nextBreakPoint was always the same.
8452           Use references.
8453
8454 2003-03-08  John Levon  <levon@movementarian.org>
8455
8456         * lyxrow.C:
8457         * paragraph.C:
8458         * paragraph.h:
8459         * rowpainter.C:
8460         * text.C:
8461         * text2.C: Remove the "main" bit from the "main body"
8462           notion.
8463
8464 2003-03-08  John Levon  <levon@movementarian.org>
8465
8466         * text.C (leftMargin): The left margin of an empty
8467         manual label paragraph should not include the label width
8468         string length.
8469
8470         * text.C (prepareToPrint): don't attempt to measure hfills
8471         for empty manual label paragraphs - the answer should be 0
8472
8473 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * CutAndPaste.C: remove commented code and reindent.
8476
8477 2003-03-08  John Levon  <levon@movementarian.org>
8478
8479         * lyxfunc.h:
8480         * lyxfunc.C: move reloadBuffer()
8481
8482         * BufferView.h:
8483         * BufferView.C: to here
8484
8485         * lyxvc.C: add comment
8486
8487         * vc-backend.h:
8488         * vc-backend.C: call bv->reload() to avoid
8489           getStatus() check on MENURELOAD
8490
8491 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8492
8493         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8494         to an old format .dep file.
8495
8496 2003-03-07  Angus Leeming  <leeming@lyx.org>
8497
8498         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8499         when the LFUN_MOUSE_RELEASE should have been handled by
8500         inset->localDispatch.
8501
8502 2003-03-07  Angus Leeming  <leeming@lyx.org>
8503
8504         * BufferView_pimpl.C (dispatch):
8505         * LyXAction.C (init):
8506         * ToolbarDefaults.C (init):
8507         * commandtags.h:
8508         * lyxfunc.C (getStatus):
8509         remove LFUN_INSET_GRAPHICS.
8510
8511         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8512
8513 2003-03-07  Angus Leeming  <leeming@lyx.org>
8514
8515         * commandtags.h:
8516         * LyXAction.C (init):
8517         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8518
8519         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8520
8521         * commandtags.h:
8522         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8523
8524         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8525         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8526
8527 2003-03-07  Angus Leeming  <leeming@lyx.org>
8528
8529         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8530         remove "ert".
8531
8532 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * ParagraphList.C (front): new function
8535         (back): implement
8536
8537 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8538
8539         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8540         and top_row_offset_. removed var first_y.
8541         * text.C (top_y):
8542         * text2.C (LyXText, removeRow):
8543         * text3.C:
8544         * BufferView_pimpl.C:
8545         use these methods instead of using first_y
8546
8547 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * text2.C (pasteSelection): adjust for checkPastePossible
8550
8551         * CutAndPaste.C: remove Paragraph * buf and replace with
8552         ParagraphList paragraphs.
8553         (DeleteBuffer): delete
8554         (cutSelection): change the tc type to textclass_type
8555         (copySelection): change the tc type to textclass_type
8556         (copySelection): adjust for ParagraphList
8557         (pasteSelection): change the tc type to textclass_type
8558         (pasteSelection): adjust for Paragraphlist
8559         (nrOfParagraphs): simplify for ParagraphList
8560         (checkPastePossible): simplify for ParagraphList
8561         (checkPastePossible): remove unused arg
8562
8563         * ParagraphList.C (insert): handle the case where there are no
8564         paragraphs yet.
8565
8566         * CutAndPaste.h: make CutAndPaste a namespace.
8567
8568         * text3.C (dispatch): adjust
8569
8570         * text.C (breakParagraph): add a ParagraphList as arg
8571
8572         * paragraph_funcs.C (breakParagraph): change to take a
8573         BufferParams and a ParagraphList as args.
8574         (breakParagraphConservative): ditto
8575         (mergeParagraph): ditto
8576         (TeXDeeper): add a ParagraphList arg
8577         (TeXEnvironment): ditto
8578         (TeXOnePar): ditto
8579
8580         * buffer.C (readLyXformat2): adjust
8581         (insertStringAsLines): adjust
8582         (latexParagraphs): adjust
8583
8584         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8585         (cutSelection): adjust
8586         (pasteSelection): adjust
8587
8588         * BufferView_pimpl.C (insertInset): adjust
8589
8590 2003-03-05  Angus Leeming  <leeming@lyx.org>
8591
8592         * commandtags.h:
8593         * LyXAction.C (init):
8594         * BufferView_pimpl.C (dispatch):
8595         * lyxfunc.C (getStatus):
8596         remove LFUN_CHILD_INSERT.
8597
8598         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8599
8600 2003-03-05  Angus Leeming  <leeming@lyx.org>
8601
8602         * commandtags.h:
8603         * LyXAction.C (init):
8604         * src/factory.C (createInset):
8605         * lyxfunc.C (getStatus):
8606         * text3.C (dispatch):
8607         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8608
8609         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8610
8611 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * ParagraphList.C (insert): handle insert right before end()
8614         (erase): fix cases where it can be first or last paragraph.
8615
8616 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8617
8618         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8619         Paragraph::next and Paragraph::previous
8620         (TeXOnePar): ditto
8621
8622         * text.C (breakParagraph): adjust
8623
8624         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8625         BufferParams& as arg.
8626         (breakParagraph): use ParagraphList::insert
8627         (breakParagraphConservative): take a Buffer* instead of a
8628         BufferParams& as arg.
8629         (breakParagraphConservative): use ParagraphList::insert.
8630
8631         * buffer.C (insertStringAsLines): un-const it
8632         (insertStringAsLines): adjust
8633
8634         * ParagraphList.C (insert): new function
8635
8636         * CutAndPaste.C (pasteSelection): adjust
8637
8638         * text.C (backspace): adjust
8639
8640         * tabular.C (SetMultiColumn): adjust
8641
8642         * CutAndPaste.C (cutSelection): adjust
8643         (pasteSelection): adjust
8644
8645         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8646         Buffer const * as arg
8647
8648         * ParagraphList.C (erase): new function
8649         * paragraph_funcs.C (mergeParagraph): use it
8650         (mergeParagraph): make it take a Buffer* instead of a
8651         BufferParams* as arg
8652
8653         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8654         as arg
8655         (breakParagraphConservative): ditto
8656
8657         * paragraph.h: remove the breakParagraph friend
8658
8659         * paragraph.C (eraseIntern): new function
8660         (setChange): new function
8661
8662         * paragraph_funcs.C (mergeParagraph): make it take a
8663         ParagraphList::iterator instead of a Paragraph *, adjust
8664         accordingly.
8665
8666         * paragraph.h: move an #endif so that the change tracking stuff
8667         also works in the NO_NEXT case.
8668
8669 2003-03-04  Angus Leeming  <leeming@lyx.org>
8670
8671         * commandtags.h:
8672         * LyXAction.C: new LFUN_INSET_MODIFY.
8673
8674         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8675         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8676
8677 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8678
8679         * several files: ws changes only
8680
8681         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8682         (TeXEnvironment): ditto
8683         (TeXDeeper): ditto
8684
8685         * buffer.C (makeLaTeXFile): adjust
8686         (latexParagraphs): make it take ParagraphList::iterator as args
8687
8688 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * buffer.C (latexParagraphs): adjust
8691
8692         * paragraph.C (TeXOnePar): move function...
8693         (optArgInset): move function...
8694         (TeXEnvironment): move function...
8695         * paragraph_pimpl.C (TeXDeeper): move function...
8696         * paragraph_funcs.C: ...here
8697
8698         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8699
8700 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * buffer.C (readInset): remove compability code for old Figure and
8703         InsetInfo insets
8704
8705 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8706
8707         * buffer.C: ws changes
8708         (readInset):
8709
8710         * BufferView_pimpl.C: ditto
8711         * author.C: ditto
8712         * buffer.h: ditto
8713         * bufferlist.h: ditto
8714         * changes.h: ditto
8715         * lyxfunc.C: ditto
8716
8717 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8718
8719         * converter.[Ch]: split into itself +
8720         * graph.[Ch]
8721         * format.[Ch]
8722         * Makefile.am: += graph.[Ch] + format.[Ch]
8723         * MenuBackend.C
8724         * buffer.C
8725         * exporter.C
8726         * importer.C
8727         * lyx_main.C
8728         * lyxfunc.C
8729         * lyxrc.C: added #include "format.h"
8730
8731 2003-02-27  Angus Leeming  <leeming@lyx.org>
8732
8733         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8734           a label.
8735
8736         * factory.C (createInset): add "label" to the factory.
8737
8738         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8739           string and do no more.
8740
8741 2003-02-27  Angus Leeming  <leeming@lyx.org>
8742
8743         * commandtags.h:
8744         * LyXAction.C (init):
8745         * factory.C (createInset):
8746         * BufferView_pimpl.C (dispatch):
8747           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8748
8749         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8750
8751         * lyxfunc.C (dispatch):
8752         * text3.C (dispatch): pass name to params2string.
8753
8754 2003-02-26  Angus Leeming  <leeming@lyx.org>
8755
8756         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8757           blocks together.
8758           Rearrange the ~includes. Strip out the unnecessary ones.
8759
8760         * factory.C (createInset): reformat.
8761           create new insets for the various LFUN_XYZ_APPLY lfuns.
8762
8763 2003-02-26  John Levon  <levon@movementarian.org>
8764
8765         * lyxrow.h:
8766         * lyxrow.C: add isParStart,isParEnd helpers
8767
8768         * paragraph.h: make isInserted/DeletedText take refs
8769
8770         * paragraph_funcs.h:
8771         * paragraph_funcs.C: remove #if 0'd code
8772
8773         * lyxtext.h:
8774         * text3.C:
8775         * text2.C:
8776         * text.C: use lyxrow helpers above.
8777           Move draw and paint routines to RowPainter.
8778           Make several methods use refs not pointers.
8779           Make backgroundColor() const.
8780           Add markChangeInDraw(), isInInset().
8781           Merge changeRegionCase into changeCase.
8782           Make workWidth() shouldn't-happen code into an Assert.
8783
8784         * rowpainter.h:
8785         * rowpainter.C: new class for painting a row.
8786
8787         * vspace.h:
8788         * vspace.C: make inPixels take a ref
8789
8790 2003-02-26  Angus Leeming  <leeming@lyx.org>
8791
8792         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8793         LFUN_REF_APPLY.
8794
8795 2003-02-25  John Levon  <levon@movementarian.org>
8796
8797         * ispell.C: give the forked command a more accurate name
8798
8799 2003-02-22  John Levon  <levon@movementarian.org>
8800
8801         * toc.h:
8802         * toc.C: make TocItem store an id not a Paragraph *
8803           (bug #913)
8804
8805 2003-02-21  Angus Leeming  <leeming@lyx.org>
8806
8807         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8808           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8809           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8810           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8811           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8812           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8813
8814         * BufferView_pimpl.C (dispatch):
8815         * LyXAction.C (init):
8816         * factory.C (createInset):
8817         * lyxfunc.C (getStatus, dispatch):
8818         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8819
8820 2003-02-21  Angus Leeming  <leeming@lyx.org>
8821
8822         * BufferView_pimpl.C (MenuInsertLyXFile):
8823         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8824         * lyxfunc.C (menuNew, open, doImport):
8825           no longer pass a LyXView & to fileDlg.
8826
8827 2003-02-21  Angus Leeming  <leeming@lyx.org>
8828
8829         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8830         * LyXAction.C: change, BIBKEY to BIBITEM.
8831         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8832         Change InsetBibKey to InsetBibitem.
8833         Change BIBKEY_CODE to BIBITEM_CODE.
8834         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8835         * factory.C: replace insetbib.h with insetbibitem.h.
8836         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8837         * paragraph.C: replace insetbib.h with insetbibitem.h.
8838         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8839         Change bibkey() to bibitem().
8840         * text.C: remove insetbib.h.
8841         * text2.C: replace insetbib.h with insetbibitem.h.
8842         change bibkey() to bibitem().
8843         * text3.C: remove insetbib.h.
8844         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8845
8846 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8847
8848         * lyxrc.C (output): enclose user email in quotes (in case there are
8849         several words)
8850
8851 2003-02-18  John Levon  <levon@movementarian.org>
8852
8853         * buffer.h: add std::
8854
8855 2003-02-17  John Levon  <levon@movementarian.org>
8856
8857         * SpellBase.h:
8858         * ispell.h:
8859         * ispell.C:
8860         * pspell.h:
8861         * pspell.C: reworking. Especially in ispell, a large
8862           number of clean ups and bug fixes.
8863
8864         * lyxfunc.C: fix revert to behave sensibly
8865
8866 2003-02-17 André Pönitz <poenitz@gmx.net>
8867
8868         * LyXAction.C:
8869         * commandtags.h: new LFUN_INSERT_BIBKEY
8870
8871         * layout.h:
8872         * lyxlayout.C:
8873         * buffer.C:
8874         * factory.C:
8875         * text.C:
8876         * text2.C:
8877         * text3.C:
8878         * paragraph.[Ch]:
8879         * paragraph_func.C: remove special bibkey handling
8880
8881 2003-02-17  John Levon  <levon@movementarian.org>
8882
8883         * text.C (Delete): fix case where delete at the end of
8884           the very first paragraph would not merge the pars
8885
8886 2003-02-17  John Levon  <levon@movementarian.org>
8887
8888         * lyxrow.C: fix lastPrintablePos()
8889
8890 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * bufferparams.C (writeLaTeX): add a std:here
8893
8894         * buffer.C: and remove a using directive there
8895
8896 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * buffer.C (makeLaTeXFile): move the code that generates the
8899           preamble...
8900
8901         * bufferparams.C (writeLaTeX): ... in this new method
8902
8903         * LaTeXFeatures.C (getEncodingSet): make const
8904           (getLanguages): make const
8905
8906         * MenuBackend.C (binding): returns the binding associated to this
8907           action
8908           (add): sets the status of each item by calling getStatus. Adds
8909           some intelligence.
8910           (read): add support for OptSubMenu
8911           (expand): remove extra separator at the end of expanded menu
8912
8913 2003-02-15  John Levon  <levon@movementarian.org>
8914
8915         * BufferView.C:
8916         * BufferView_pimpl.C:
8917         * bufferlist.h:
8918         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8919           inset code that had no actual effect. Remove unneeded status
8920           code.
8921
8922 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8925           in preamble
8926
8927 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8928
8929         * text.C (drawLengthMarker): also draw an arrow marker for
8930           symbolic lengths (medskip...)
8931
8932 2003-02-14  John Levon  <levon@movementarian.org>
8933
8934         * tabular.h:
8935         * tabular.C: better method names
8936
8937 2003-02-14  John Levon  <levon@movementarian.org>
8938
8939         * BufferView_pimpl.C:
8940         * bufferlist.C:
8941         * buffer.C:
8942         * converter.C:
8943         * lyx_cb.C:
8944         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8945           it's a more accurate name. Remove some pointless uses.
8946
8947 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8948
8949         * text2.C (LyXText): change order of initilizers to shut off
8950           warnings
8951
8952 2003-02-14  John Levon  <levon@movementarian.org>
8953
8954         * buffer.C: use ParIterator for getParFromID()
8955
8956         * paragraph.h:
8957         * paragraph.C:
8958         * paragraph_pimpl.h:
8959         * paragraph_pimpl.C: remove unused getParFromID()
8960
8961 2003-02-14  John Levon  <levon@movementarian.org>
8962
8963         * buffer.C: remove some very old #if 0'd parse code
8964
8965 2003-02-13  John Levon  <levon@movementarian.org>
8966
8967         * text.h:
8968         * text.C:
8969         * text2.C: move hfillExpansion(), numberOfSeparators(),
8970           rowLast(), rowLastPrintable(), numberofHfills(),
8971           numberOfLabelHfills() ...
8972
8973         * lyxrow.h:
8974         * lyxrow.C: ... to member functions here.
8975
8976         * paragraph.h:
8977         * paragraph.C:
8978         * lyxtext.h:
8979         * text.C: remove LyXText::beginningOfMainBody(), and call
8980           p->beginningOfMainBody() directly. Move the check for
8981           LABEL_MANUAL into the latter.
8982
8983         * text.h:
8984         * text.C:
8985         * text2.C:
8986         * vspace.C:
8987         * BufferView.h:
8988         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8989
8990         * text.h:
8991         * text.C:
8992         * text2.C:
8993         * text3.C:
8994         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8995           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8996
8997 2003-02-13  John Levon  <levon@movementarian.org>
8998
8999         * CutAndPaste.C: remove debug
9000
9001 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * paragraph.C (asString): remove two unused variables
9004
9005         * lyxtextclass.C (readTitleType):
9006           (Read):
9007           (LyXTextClass): handle new members titletype_ and titlename_
9008
9009         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9010
9011 2003-02-09  John Levon  <levon@movementarian.org>
9012
9013         * buffer.h:
9014         * buffer.C: replace hand-coded list with a map for the dep clean
9015
9016 2003-02-08  John Levon  <levon@movementarian.org>
9017
9018         * LaTeX.C: consolidate code into showRunMessage() helper
9019
9020 2003-02-08  John Levon  <levon@movementarian.org>
9021
9022         * lyxfind.C:
9023         * lyxtext.h:
9024         * text2.C:
9025         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9026           and pass the size in explicitly
9027
9028         * BufferView_pimpl.h:
9029         * BufferView_pimpl.C:
9030         * BufferView.h:
9031         * BufferView.C: add getCurrentChange()
9032
9033         * BufferView_pimpl.h:
9034         * BufferView_pimpl.C: handle change lfuns
9035
9036         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9037           for changes. Mark pasted paragraphs as new.
9038
9039         * support/lyxtime.h:
9040         * support/lyxtime.C:
9041         * DepTable.C: abstract time_t as lyx::time_type
9042
9043         * LColor.h:
9044         * LColor.C: add colours for new text, deleted text, changebars
9045
9046         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9047           package use "usenames" option.
9048
9049         * commandtags.h:
9050         * lyxfunc.C:
9051         * LyXAction.C: add change lfuns
9052
9053         * Makefile.am:
9054         * author.h:
9055         * author.C: author handling
9056
9057         * buffer.h:
9058         * buffer.C: add a per-buffer author list, with first entry as
9059           current author. Handle new .lyx tokens for change tracking. Output
9060           author list to .lyx file. Output dvipost stuff to .tex preamble.
9061           Bump lyx format to 222.
9062
9063         * bufferlist.h:
9064         * bufferlist.C: add setCurrentAuthor() to reset current author details
9065           in all buffers.
9066
9067         * bufferparams.h:
9068         * bufferparams.C: add param for tracking
9069
9070         * bufferview_funcs.C: output change info in minibuffer
9071
9072         * Makefile.am:
9073         * changes.h:
9074         * changes.C: add change-tracking structure
9075
9076         * debug.h:
9077         * debug.C: add CHANGES debug flag
9078
9079         * lyxfind.h:
9080         * lyxfind.C: add code for finding the next change piece
9081
9082         * lyxrc.h:
9083         * lyxrc.C: add user_name and user_email
9084
9085         * lyxrow.h:
9086         * lyxrow.C: add a metric for the top of the text line
9087
9088         * lyxtext.h:
9089         * text.C: implement accept/rejectChange()
9090
9091         * lyxtext.h:
9092         * text.C: paint changebars. Paint new/deleted text in the chosen
9093         colours. Strike through deleted text.
9094
9095         * paragraph.h:
9096         * paragraph.C:
9097         * paragraph_pimpl.h:
9098         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9099           in the current change to the insert functions. Rework erase to
9100           mark text as deleted, adding an eraseIntern() and a range-based
9101           erase(). Implement per-paragraph change lookup and
9102           accept/reject.
9103
9104         * paragraph_funcs.C: Fixup paste for change tracking.
9105
9106         * tabular.C: mark added row/columns as new.
9107
9108         * text.C: fix rowLast() to never return -1. Don't allow
9109           spellchecking of deleted text. Track transpose changes. Don't
9110           allow paragraph break or merge where appropriate.
9111
9112         * text2.C: leave cursor at end of selection after a cut.
9113
9114 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9115
9116         * text.C (getLengthMarkerHeight):
9117         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9118         visible on screen too.
9119
9120 2003-02-07  John Levon  <levon@movementarian.org>
9121
9122         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9123
9124 2003-02-05  Angus Leeming  <leeming@lyx.org>
9125
9126         * lyxserver.C (read_ready): revert my patch of 11 September last year
9127         as it sends PC cpu through the roof. Presumably this means that
9128         the lyxserver will no longer run on an Alpha...
9129
9130 2003-01-30  Angus Leeming  <leeming@lyx.org>
9131
9132         * factory.C (createInset): create an InsetCommandParam of type "index"
9133         and use it to 'do the right thing'.
9134
9135         * text2.C (getStringToIndex): ensure that cursor position is always
9136         reset to the reset_cursor position.
9137
9138 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9139
9140         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9141         disabled.
9142
9143 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9144
9145         * bufferview.C:
9146         * lyxcb.C:
9147         * lyxfunc.C: Output messages with identical spelling, punctuation,
9148         and spaces
9149
9150 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9151
9152         * MenuBackend.C (expandFormats): List only viewable export formats
9153         in "View" menu
9154
9155         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9156         message
9157
9158         * lyxfunc.C (getStatus): Make sure that formats other than
9159         "fax" can also be disabled
9160
9161 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9162
9163         * text3.C (dispatch): put the lfuns that insert insets in 3
9164         groups, and call doInsertInset with appropriate arguments.
9165         (doInsertInset): new function, that creates an inset and inserts
9166         it according to some boolean parameters.
9167
9168 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * buffer.C (readFile): remember to pass on 'par' when calling
9171         readFile recursively.
9172
9173 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9174
9175         * MenuBackend.C (expandFormats): add "..." to import formats.
9176
9177 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9178
9179         * paragraph.C (asString): Remove XForms RTL hacks.
9180
9181 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9182         * buffer.C: fix typo
9183
9184 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * Makefile.am (LIBS): delete var
9187         (lyx_LDADD): add @LIBS@ here instead.
9188
9189 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9190
9191         * Clarify the meaning of "wheel mouse jump"
9192
9193 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9196         tabular in a float
9197
9198 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * importer.C (Loaders): do not preallocate 3 elements in the
9201         vector, since one ends up with 6 elements otherwise
9202
9203 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9204
9205         * DepTable.C (write): write the file name as last element of the
9206         .dep file (because it may contain spaces)
9207         (read): read info in the right order
9208
9209 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9210
9211         * paragraph_pimpl.C (simpleTeXBlanks):
9212         (simpleTeXSpecialChars):
9213         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9214
9215         * tabular.C (latex): add some missing case statements. Reindent.
9216
9217         * MenuBackend.C (expandToc): remove unused variable.
9218
9219 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9220
9221         * LColor.C:
9222         * LaTeX.C:
9223         * LyXAction.C:
9224         * MenuBackend.C:
9225         * buffer.C:
9226         * exporter.C:
9227         * lyxfunc.C:
9228         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9229         and the like.
9230
9231 2003-01-05  John Levon  <levon@movementarian.org>
9232
9233         * BufferView.h:
9234         * BufferView.C: add getEncoding()
9235
9236         * kbsequence.h:
9237         * kbsequence.C: do not store last keypress
9238
9239         * lyxfunc.h:
9240         * lyxfunc.C: store last keypress here instead. Pass encoding
9241           to getISOEncoded()
9242
9243 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9244
9245         * lyx_main.C (init): remove annoying error message when following
9246         symbolic links (bug #780)
9247
9248 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9249
9250         * text.C (insertChar):
9251         * lyxrc.C (getDescription): remove extra spaces
9252
9253 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9254
9255         * lyxrc.C (getDescription): remove extra spaces
9256
9257 2002-12-20  John Levon  <levon@movementarian.org>
9258
9259         * text3.C: hack fix for page up/down across tall rows
9260
9261 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9262
9263         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9264         not been invoked
9265
9266 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9267
9268         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9269         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9270         thesaurus is not compiled in
9271
9272 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9273
9274         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9275
9276 2002-12-16  Angus Leeming  <leeming@lyx.org>
9277
9278         * lyxrc.[Ch]:
9279         * lyx_main.C (init): remove override_x_deadkeys stuff.
9280
9281 2002-12-12  John Levon  <levon@movementarian.org>
9282
9283         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9284           insert. Only remove shift modifier under strict
9285           circumstances.
9286
9287 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9288
9289         * MenuBackend.C (expandToc): fix crash.
9290
9291 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9292
9293         * MenuBackend.C (expandToc): gettext on float names.
9294
9295 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9296
9297         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9298         implement bool empty() [bug 490]
9299
9300 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9301
9302         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9303
9304 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9305
9306         * several files: ws changes
9307
9308 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * text2.C (setCounter): clean up a bit, use boost.format.
9311         (updateCounters): initialize par upon declaration.
9312
9313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9314         if the layout exists. We do not just store the layout any more.
9315         (SwitchLayoutsBetweenClasses): use boost.format
9316
9317 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9318
9319         * converter.C (convert): if from and to files are the same, use a
9320         temporary files as intermediary
9321
9322 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9323
9324         * commandtags.h:
9325         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9326
9327 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9328
9329         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9330
9331 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * tabular.C (asciiPrintCell): use string(size, char) instead of
9334         explicit loop.
9335
9336         * sgml.C (openTag): fix order of arguments to string constructor
9337         (closeTag): ditto
9338
9339         * lyxfunc.C (dispatch): use boost.format
9340
9341         * lots of files: change "c" -> 'c'
9342
9343 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9344
9345         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9346
9347 2002-11-25  Angus Leeming  <leeming@lyx.org>
9348
9349         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9350
9351         * lyx_main.C (init): compile fix.
9352
9353 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9354
9355         * lyx_cb.C (start): boost.formatify
9356         do not include <iostream>
9357
9358         * lengthcommon.C: ws only
9359
9360         * boost-inst.C,BoostFormat.h: add more explict instantations
9361
9362 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9363
9364         * lots of files: handle USE_BOOST_FORMAT
9365
9366 2002-11-21  John Levon  <levon@movementarian.org>
9367
9368         * pspell.C: fix compile
9369
9370 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9371
9372         * lyxfunc.C (dispatch): use boost::format
9373         (open): ditto
9374         (doImport): ditto
9375
9376         * lyxfont.C (stateText): use boost::format
9377
9378         * lyx_main.C (LyX): use boost::format
9379         (init): ditto
9380         (queryUserLyXDir): ditto
9381         (readRcFile): ditto
9382         (parse_dbg): ditto
9383         (typedef boost::function): use the recommened syntax.
9384
9385         * importer.C (Import): use boost::format
9386
9387         * debug.C (showLevel): use boost::format
9388
9389         * converter.C (view): use boost::format
9390         (convert): ditto
9391         (move): ditto
9392         (scanLog): ditto
9393
9394         * bufferview_funcs.C (currentState): use boost::format
9395
9396         * bufferlist.C (emergencyWrite): use boost::format
9397
9398         * buffer.C (readLyXformat2): use boost::format
9399         (parseSingleLyXformat2Token): ditto
9400
9401         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9402
9403         * LaTeX.C (run): use boost::format
9404
9405         * Chktex.C (scanLogFile): use boost::format
9406
9407         * BufferView_pimpl.C (savePosition): use boost::format
9408         (restorePosition): ditto
9409         (MenuInsertLyXFile): ditto
9410
9411         * BoostFormat.h: help file for explicit instation.
9412
9413 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9414
9415         * tabular.C (latex): Support for block alignment in fixed width
9416         columns.
9417
9418 2002-11-17  John Levon  <levon@movementarian.org>
9419
9420         * BufferView_pimpl.C:
9421         * lyx_cb.C:
9422         * lyxfunc.C: split filedialog into open/save
9423
9424 2002-11-08  Juergen Vigna  <jug@sad.it>
9425
9426         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9427         by my last patch (hopefully).
9428
9429 2002-11-08  John Levon  <levon@movementarian.org>
9430
9431         * iterators.h:
9432         * iterators.C:
9433         * buffer.h:
9434         * buffer.C:
9435         * paragraph.h:
9436         * paragraph.C:
9437         * toc.h:
9438         * toc.C: ParConstIterator, and use it (from Lars)
9439
9440 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9441
9442         * lyxtextclass.[Ch]: revise and add doxygen comments
9443
9444 2002-11-07  John Levon  <levon@movementarian.org>
9445
9446         * text.C: fix progress value for spellchecker
9447
9448         * toc.C: fix navigate menu for insetwrap inside minipage
9449
9450         * paragraph_funcs.C: added FIXME for suspect code
9451
9452 2002-11-07  John Levon  <levon@movementarian.org>
9453
9454         * BufferView_pimpl.C: fix redrawing of insets
9455           on buffer switch
9456
9457 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * text2.C (updateCounters): fix bug 668
9460
9461 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9462
9463         * text3.C (dispatch): Do not make the buffer dirty when moving the
9464         cursor.
9465
9466 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * vc-backend.C: STRCONV
9469         (scanMaster): ditto
9470
9471         * text2.C (setCounter): STRCONV
9472
9473         * paragraph.C (asString): STRCONV
9474
9475         * lyxlength.C (asString): STRCONV
9476         (asLatexString): ditto
9477
9478         * lyxgluelength.C (asString): STRCONV
9479         (asLatexString): ditto
9480
9481         * lyxfunc.C (dispatch): STRCONV
9482         (open): ditto
9483
9484         * lyxfont.C (stateText): STRCONV
9485
9486         * importer.C (Import): STRCONV
9487
9488         * counters.C (labelItem): STRCONV
9489         (numberLabel): ditto
9490         (numberLabel): remove unused ostringstream o
9491
9492         * chset.C: STRCONV
9493         (loadFile): ditto
9494
9495         * bufferview_funcs.C (currentState): STRCONV
9496
9497         * buffer.C (readFile): STRCONV
9498         (asciiParagraph): ditto
9499         (makeLaTeXFile): ditto
9500
9501         * Spacing.C (writeEnvirBegin): STRCONV
9502
9503         * LaTeXFeatures.C (getLanguages): STRCONV
9504         (getPackages): ditto
9505         (getMacros): ditto
9506         (getBabelOptions): ditto
9507         (getTClassPreamble): ditto
9508         (getLyXSGMLEntities): ditto
9509         (getIncludedFiles): ditto
9510
9511         * LaTeX.C: STRCONV
9512         (run): ditto
9513         (scanAuxFile): ditto
9514         (deplog): ditto
9515
9516         * LString.h: add the STRCONV macros
9517
9518         * BufferView_pimpl.C (savePosition): STRCONV
9519         (restorePosition): ditto
9520         (MenuInsertLyXFile): ditto
9521
9522         * vc-backend.C (scanMaster): change from submatch[...] to
9523         submatch.str(...)
9524
9525         * funcrequest.C: include config.h
9526
9527         * factory.C: include config.h
9528
9529         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9530
9531         * box.C: include config.h
9532
9533         * LaTeX.C (scanAuxFile): change from submatch[...] to
9534         submatch.str(...)
9535         (deplog): ditto
9536
9537 2002-10-25  Angus Leeming  <leeming@lyx.org>
9538
9539         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9540
9541         * ispell.[Ch] (setError): new method.
9542         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9543         Use setError() insetead of goto END.
9544
9545         * lyx_cb.C (AutoSave): move out child process into new class
9546         AutoSaveBuffer.
9547
9548 2002-10-30  John Levon  <levon@movementarian.org>
9549
9550         * text3.C: make start appendix undoable
9551
9552 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9553
9554         * lyxlength.C (inPixels): Fix returned value.
9555
9556         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9557         environment.
9558
9559 2002-10-24  Angus Leeming  <leeming@lyx.org>
9560
9561         * lyxgluelength.h: no need to forward declare BufferParams
9562         or BufferView, so don't.
9563
9564 2002-10-21  John Levon  <levon@movementarian.org>
9565
9566         * BufferView.C: menuUndo ->undo, redo
9567
9568         * BufferView.h: document, remove dead, make some methods private
9569
9570         * paragraph_funcs.h:
9571         * paragraph_funcs.C:
9572         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9573
9574         * buffer.h:
9575         * buffer.C:
9576         * sgml.h:
9577         * sgml.C: move sgml open/close tag into sgml.C
9578
9579         * bufferview_funcs.h: unused prototype
9580
9581         * lyxfunc.h:
9582         * lyxfunc.C: remove unused
9583
9584         * lyxtext.h:
9585         * text.C: remove unused
9586
9587 2002-10-21  John Levon  <levon@movementarian.org>
9588
9589         * BufferView.h:
9590         * BufferView.C:
9591         * BufferView_pimpl.h:
9592         * BufferView_pimpl.C: fix mouse wheel handling based on
9593           patch from Darren Freeman
9594
9595 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9596
9597         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9598
9599 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9600
9601         * lyxlength.C (inPixels): Fix hanfling of negative length.
9602         Fix LyXLength::MU case.
9603
9604 2002-10-16  John Levon  <levon@movementarian.org>
9605
9606         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9607
9608 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9609
9610         * converter.C (view): add support for $$i (file name) and $$p
9611         (file path) for the viewer command. If $$i is not specified, then
9612         it is appended to the command (for compatibility with old syntax)
9613
9614 2002-10-14  Juergen Vigna  <jug@sad.it>
9615
9616         * undo_funcs.C (textHandleUndo): alter the order in which the
9617         new undopar is added to the LyXText, as we have to set first
9618         the right prev/next and then add it as otherwise the rebuild of
9619         LyXText is not correct. Also reset the cursor to the right paragraph,
9620         with this IMO we could remove the hack in "redoParagraphs()".
9621
9622 2002-10-09  Angus Leeming  <leeming@lyx.org>
9623
9624         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9625         to turn off an optimisation if a new inset is to be inserted.
9626
9627 2002-10-11 André Pönitz <poenitz@gmx.net>
9628
9629         * lyxtext.h: make some functions public to allow access
9630         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9631
9632 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9633
9634         * text3.C (dispatch): when changing layout, avoid an infinite loop
9635         [bug #652]
9636
9637 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * lyxrc.C (read): treat a viewer or converter command of "none" as
9640         if it were empty.
9641
9642         * MenuBackend.C (expandFormats): for an update, also allow the
9643         formats that are not viewable
9644
9645         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9646         script if it is newer than the lyxrc.defaults in user directory
9647
9648 2002-10-07 André Pönitz <poenitz@gmx.net>
9649
9650         * text.C: Vitaly Lipatov's small i18n fix
9651
9652 2002-09-25  Angus Leeming  <leeming@lyx.org>
9653
9654         * ispell.h: doxygen fix.
9655
9656 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9657
9658         * buffer.h (readFile): Add a new argument to the method, to allow
9659         reading of old-format templates.
9660
9661 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9662
9663         * toc.C (getTocList): Get TOC from InsetWrap.
9664
9665 2002-09-16  John Levon  <levon@movementarian.org>
9666
9667         * lyxfunc.C: check tabular for cut/copy too
9668
9669 2002-09-12  John Levon  <levon@movementarian.org>
9670
9671         * LyXAction.C: tidy
9672
9673         * factory.h:
9674         * factory.C: add header
9675
9676         * paragraph_funcs.h:
9677         * paragraph_funcs.C: cleanup
9678
9679 2002-09-11  John Levon  <levon@movementarian.org>
9680
9681         * PrinterParams.h: odd/even default to true
9682
9683 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9684
9685         * PrinterParams.h: update printer parameters for new xforms dialog
9686
9687 2002-09-11  Angus Leeming  <leeming@lyx.org>
9688
9689         * lyxserver.C (read_ready): re-write to make it more transparent
9690         and to make it work in coherent fashion under Tru64 Unix.
9691
9692 2002-09-11  André Pönitz <poenitz@gmx.net>
9693
9694         * commandtags.h:
9695         * LyXAction.C:
9696         * text3.C: implement LFUN_WORDSEL
9697
9698 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9699
9700         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9701         make floatlist_ a boost::shared_ptr<FloatList>
9702
9703         * lyxtextclass.C: include FloatList.h
9704         (LyXTextClass): initialize floatlist_
9705         (TextClassTags): add TC_NOFLOAT
9706         (Read): match "nofloat" to TC_NOFLOAT and use it.
9707         (readFloat): modify call to floatlist_
9708         (floats): ditto
9709         (floats): ditto
9710
9711         * FloatList.[Ch] (FloatList): remove commented out float
9712         initialization.
9713         (erase): new function
9714
9715 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9716
9717         * MenuBackend.C (expandToc): fix crash when there is no document
9718         open
9719
9720 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9721
9722         * many files: Add insetwrap.
9723
9724 2002-09-09  John Levon  <levon@movementarian.org>
9725
9726         * text2.C: remove confusing and awkward depth wraparound
9727
9728 2002-09-09  John Levon  <levon@movementarian.org>
9729
9730         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9731
9732         * buffer.h:
9733         * buffer.C: remove getIncludeonlyList()
9734
9735         * paragraph.C:
9736         * lyxfunc.C: remove headers
9737
9738 2002-09-09  Juergen Vigna  <jug@sad.it>
9739
9740         * text.C (getColumnNearX): fix form Michael this is most
9741         probably a cut&paste bug.
9742
9743 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9746
9747         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9748         references, ws changes.
9749
9750         * text2.C (init): update counters after init
9751         (insertParagraph): no need to set counter on idividual paragraphs.
9752         (setCounter): access the counters object in the textclass object
9753         on in the buffer object.
9754         (updateCounters): ditto
9755
9756         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9757         shared_ptr<Counters> to avoid loading counters.h in all
9758         compilation units.
9759         (LyXTextClass): initialize ctrs_
9760         (TextClassTags): add TC_COUNTER, and ...
9761         (Read): use it here.
9762         (CounterTags): new tags
9763         (readCounter): new function
9764         (counters): new funtion
9765         (defaultLayoutName): return a const reference
9766
9767         * counters.C (Counters): remove contructor
9768         (newCounter): remove a couple of unneeded statements.
9769         (newCounter): simplify a bit.
9770         (numberLabel): some small formatting changes.
9771
9772         * buffer.[Ch]: remove all traces of counters, move the Counters
9773         object to the LyXTextClass.
9774
9775 2002-09-06  Alain Castera  <castera@in2p3.fr>
9776
9777         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9778         package to set the horizontal alignment on fixed width columns.
9779
9780         * lyx_sty.C:
9781         * lyx_sty.h: added tabularnewline macro def.
9782
9783         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9784
9785 2002-09-06  John Levon  <levon@movementarian.org>
9786
9787         * LyXAction.C: tooltips for sub/superscript
9788
9789         * MenuBackend.C: a bit more verbose
9790
9791         * lyxfunc.C: tiny clean
9792
9793         * undo_funcs.C: document undo_frozen
9794
9795 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9796
9797         * counters.C (Counters): add missing algorithm counter.
9798
9799         * text2.C (setCounter): lookup the counter with layouts latexname
9800         instead of by section number.
9801         (setCounter): use a hackish way to lookup the correct enum
9802         counter.
9803         a float name->type change
9804         reset enum couners with counter name directly instead of depth value.
9805
9806         * counters.C (Counters): remove the push_backs, change to use the
9807         float type not the float name.
9808         (labelItem): remove unused string, float name->type change
9809
9810         * counters.h: don't include vector, loose the enums and sects vectors
9811
9812 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9815         (Read): add float->TC_FLOAT to textclassTags
9816         (Read): and handle it in the switch
9817         (readFloat): new function
9818
9819         * FloatList.C (FloatList): comment out the hardcoded float
9820         definitions.
9821
9822         * lyxlayout.h: ws change.
9823
9824 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9825
9826         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9827
9828 2002-09-03  Angus Leeming  <leeming@lyx.org>
9829
9830         * BufferView_pimpl.h: qualified name is not allowed in member
9831         declaration: WorkArea & Pimpl::workarea() const;
9832
9833         * factory.C: added using std::endl directive.
9834
9835         * text3.C: added using std::find and std::vector directives.
9836
9837 2002-08-29  André Pönitz <poenitz@gmx.net>
9838
9839         * lyxtext.h:
9840         * text2.C: remove unused member number_of_rows
9841
9842         * Makefile.am:
9843         * BufferView2.C: remove file, move contents to...
9844         * BufferView.C: ... here
9845
9846         * BufferView_pimpl.C:
9847         * factory.C: move more inset creation to factory
9848
9849         * vspace.C: avoid direct usage of LyXText, ws changes
9850
9851         * BufferView.[Ch]:
9852                 don't provide direct access to WorkArea, use two simple
9853                 acessors haveSelction() and workHeight() instead
9854
9855
9856 2002-08-29  John Levon  <levon@movementarian.org>
9857
9858         * BufferView_pimpl.C (dispatch): do not continue when
9859           no buffer
9860
9861 2002-08-28  André Pönitz <poenitz@gmx.net>
9862
9863         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9864
9865         * BufferView.h:
9866         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9867
9868 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9869
9870         * buffer.C: increment LYX_FORMAT to 221
9871
9872         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9873         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9874
9875         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9876
9877         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9878
9879 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9880
9881         * factory.C (createInset): use LyXTextClass::floats
9882
9883         * MenuBackend.C (expandFloatListInsert):
9884         (expandFloatInsert):
9885         (expandToc):
9886
9887         * text2.C (setCounter):
9888
9889         * LaTeXFeatures.C (useFloat):
9890         (getFloatDefinitions):
9891
9892         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9893
9894         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9895         floatlist_, with accessor floats().
9896
9897         * FloatList.h: remove global FloatList
9898
9899 2002-08-26  André Pönitz <poenitz@gmx.net>
9900
9901         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9902
9903         * BufferView.h:
9904         * BufferView2.C:
9905         * BufferView_pimpl.C:
9906         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9907
9908 2002-08-25  John Levon  <levon@movementarian.org>
9909
9910         * LyXAction.C: fix margin note description
9911
9912 2002-08-24  John Levon  <levon@movementarian.org>
9913
9914         * buffer.C:
9915         * bufferlist.C:
9916         * bufferview_funcs.C:
9917         * lyxfont.C:
9918         * undo_funcs.C: cleanups
9919
9920         * lyxfunc.C: disable CUT/COPY when no selection
9921
9922 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9923
9924         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9925         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9926
9927         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9928         Add backward compatibility to "mono", "gray" and "no".
9929
9930 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9933         (and file_format >= 200).
9934
9935 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9938
9939 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9940
9941         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9942
9943 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9944
9945         * BufferView_pimpl.C:
9946         * LyXAction.C:
9947         * buffer.C:
9948         * commandtags.h:
9949         * lyxfunc.C:
9950         * paragraph.[Ch]:
9951         * text2.C:
9952         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9953         inset and code to make it  work with the paragraph code. The inset
9954         can be anywhere in the paragraph, but will only do the expected
9955         thing in LaTeX if the layout file contains the parameter line
9956                         OptionalArgs    1
9957         (or more generally, a nonzero value) for that layout.
9958
9959 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9960
9961         * paragraph.h: remove the declaration of undefined counters class
9962         function.
9963
9964 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9965
9966         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9967         Dr. Richard Hawkins.
9968
9969 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * paragraph_funcs.h: remove some unneeded includes
9972
9973         * text.C (backspace): pasteParagraph now in global scipe
9974
9975         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9976         (pasteSelection): ditto
9977
9978         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9979         * paragraph_funcs.C (pasteParagraph): ... here
9980
9981 2002-08-20  André Pönitz <poenitz@gmx.net>
9982
9983         * commandtags.h: new LFUNs for swapping/copying table row/colums
9984
9985         * LyXAction.C:
9986         * lyxfunc.C: support for new lfuns
9987
9988 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9989
9990         * tabular.C:
9991         * buffer.[Ch]: remove NO_COMPABILITY stuff
9992
9993 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9994
9995         * boost.C (throw_exception): new file, with helper function for
9996         boost compiled without exceptions.
9997
9998         * paragraph.h:
9999         * lyxlength.C:
10000         * buffer.C:
10001         * ParameterStruct.h:
10002         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10003
10004         * bufferlist.C (emergencyWriteAll): use boost bind
10005
10006         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10007
10008         * text.C: include paragraph_funcs.h
10009         (breakParagraph): breakParagraph is now in global scope
10010
10011         * paragraph_funcs.[Ch]: new files
10012
10013         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10014         global scope
10015
10016         * buffer.C: include paragraph_funcs.h
10017         (insertStringAsLines): breakParagraph is now in global scope
10018
10019         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10020         paragraph_funcs.C
10021
10022         * CutAndPaste.C: include paragraph_funcs.h
10023         (cutSelection): breakParagraphConservative is now in global scope
10024         (pasteSelection): ditto
10025
10026         * buffer.h: declare oprator== and operator!= for
10027         Buffer::inset_iterator
10028
10029         * bufferlist.C (emergencyWrite): don't use fmt(...)
10030
10031         * text3.C: add using std::endl
10032
10033         * BufferView.C (moveCursorUpdate): remove default arg
10034
10035 2002-08-20  André Pönitz <poenitz@gmx.net>
10036
10037         * buffer.[Ch]: move inline functions to .C
10038
10039         * BufferView2.C:
10040         * BufferView_pimpl.C:
10041         * text.C:
10042         * buffer.[Ch]: use improved inset_iterator
10043
10044         * buffer.C:
10045         * paragraph.[Ch]: write one paragraph at a time
10046
10047 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10048
10049         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10050         style if style is not specified.
10051
10052 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * text2.C (setCounter): when searching for right label for a
10055         caption, make sure to recurse to parent insets (so that a caption
10056         in a minipage in a figure float works) (bug #568)
10057
10058 2002-08-20  André Pönitz <poenitz@gmx.net>
10059
10060         * text3.C: new file for LyXText::dispatch() and helpers
10061
10062         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10063
10064         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10065
10066 2002-08-19  André Pönitz <poenitz@gmx.net>
10067
10068         * lyxtext.h:
10069         * text.C: new LyXText::dispatch()
10070
10071         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10072
10073 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10074
10075         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10076
10077         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10078         Hebrew text.
10079
10080 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * Makefile.am: use $(variables) instead of @substitutions@
10083
10084 2002-08-15  André Pönitz <poenitz@gmx.net>
10085
10086         * lyxfunc.C:
10087         * BufferView_pimpl.C: streamlining mathed <-> outer world
10088         interaction
10089
10090         * commandtags.h:
10091         * LyXAction.C: remove unused LFUN_MATH
10092
10093 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10094
10095         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10096
10097 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10098
10099         * paragraph.C (Paragraph): reformat a bit
10100         (cutIntoMinibuffer): use builtin InsetList function instad of
10101         doing it manually.
10102         (getInset): ditto
10103
10104         * buffer.C: include boost/bind.hpp, add using std::for_each
10105         (writeFileAscii): use ParagraphList iterators
10106         (validate): use for_each for validate traversal of paragraphs
10107         (getBibkeyList): use ParagraphList iterators
10108         (resizeInsets): use for_each to resizeInsetsLyXText for all
10109         paragraphs.
10110         (getParFromID): use ParagraphList iterators
10111
10112         * BufferView2.C (lockInset): use paragraph list and iterators
10113
10114 2002-08-14  John Levon  <levon@movementarian.org>
10115
10116         * lyxserver.C: remove spurious xforms include
10117
10118 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10121
10122 2002-08-13  André Pönitz <poenitz@gmx.net>
10123
10124         * LyXAction.[Ch]:
10125         * lyxfunc.C: further cleaning
10126
10127 2002-08-13  André Pönitz <poenitz@gmx.net>
10128
10129         * funcrequest.h: new constructor
10130
10131         * funcrequest.C: move stuff here from .h
10132
10133         * Makefile.am:
10134         * BufferView_pimpl.C:
10135         * LyXAction.C:
10136         * toc.C:
10137         * lyxfunc.C: subsequent changes
10138
10139         * lyxfunc.h: new view() member function
10140
10141         * lyxfunc.C: subsequent changes
10142
10143 2002-08-13  Angus Leeming  <leeming@lyx.org>
10144
10145         * BufferView2.C:
10146         * BufferView_pimpl.C:
10147         * buffer.C:
10148         * converter.C:
10149         * importer.C:
10150         * lyxfunc.C:
10151         * lyxvc.C:
10152         * toc.C:
10153         * vc-backend.C:
10154         changes due to the changed LyXView interface that now returns references
10155         to member variables not pointers.
10156
10157 2002-08-13  Angus Leeming  <leeming@lyx.org>
10158
10159         * WordLangTuple (word, lang_code): return references to strings,
10160         not strings.
10161
10162         * BufferView.h:
10163         * SpellBase.h:
10164         * lyxtext.h: forward-declare WordLangTuple.
10165
10166         * BufferView2.C:
10167         * ispell.C:
10168         * pspell.C:
10169         * text.C: #include "WordLangTuple.h".
10170
10171         * lyxtext.h:
10172         * text.C: (selectNextWordToSpellcheck): constify return type.
10173
10174 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10175
10176         * buffer.C:
10177         * buffer.h:
10178         * lyxtext.h:
10179         * paragraph.C:
10180         * paragraph_pimpl.h:
10181         * text.C:
10182         * text2.C:
10183         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10184         suggested by Angus.
10185         Made updateCounter always count from start of buffer, and removed
10186         second argument (par).
10187         Reverted floats number display to '#'. Perhaps I'll try again when the
10188         code base is sanitized a bit.
10189
10190 2002-08-12  Angus Leeming  <leeming@lyx.org>
10191
10192         * buffer.[Ch] (getLabelList): constify.
10193
10194 2002-08-07  André Pönitz <poenitz@gmx.net>
10195
10196         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10197
10198         * funcrequest.h: extension to keep mouse (x,y) position
10199
10200 2002-08-12  Juergen Vigna  <jug@sad.it>
10201
10202         * BufferView2.C (insertErrors): forbid undo when inserting error
10203         insets.
10204
10205         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10206
10207 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10208
10209         * ParagraphList.[Ch]: new files
10210
10211         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10212
10213         * BufferView2.C (lockInset): ParagraphList changes
10214         * toc.C: ditto
10215         * text2.C: ditto
10216         * bufferlist.C: ditto
10217         * buffer.h: ditto
10218         * buffer.C: ditto
10219
10220 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10221
10222         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10223         unused class variable counter_,
10224
10225         * paragraph.[Ch] (getFirstCounter): delete unused function
10226
10227         * counters.C: include LAssert.h
10228         (reset): add a new function with no arg, change other version to
10229         not have def. arg and to not allow empty arg.
10230
10231         * text2.C (setCounter): remove empty arg from call to Counters::reset
10232
10233 2002-08-11  John Levon  <levon@movementarian.org>
10234
10235         * Makefile.am: add WordLangTuple.h
10236
10237 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10240         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10241
10242         * insets/insettext.C: InsetList changes
10243
10244         * graphics/GraphicsSupport.C (operator()): InsetList changes
10245
10246         * toc.C (getTocList): InsetList changes
10247
10248         * paragraph_pimpl.[Ch]: InsetList changes
10249
10250         * paragraph.[Ch]: InsetList changes
10251
10252         * buffer.C (inset_iterator): InsetList changes
10253         (setParagraph): ditto
10254         * buffer.h (inset_iterator): ditto
10255         * iterators.C (operator++): ditto
10256         * iterators.h: ditto
10257
10258         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10259
10260         * InsetList.[Ch]: new files, most InsetList handling moved out of
10261         paragraph.C.
10262
10263         * BufferView2.C (removeAutoInsets): InsetList changes
10264         (lockInset): ditto
10265         (ChangeInsets): ditto
10266
10267 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10268
10269         * paragraph_pimpl.h (empty): new function
10270
10271         * paragraph.[Ch] (empty): new function
10272
10273         * other files: use the new Paragraph::empty function
10274
10275 2002-08-09  John Levon  <levon@movementarian.org>
10276
10277         * lyxtext.h: remove unused refresh_height
10278
10279 2002-08-09  John Levon  <levon@movementarian.org>
10280
10281         * Makefile.am:
10282         * sgml.h:
10283         * sgml.C:
10284         * buffer.C:
10285         * paragraph.h:
10286         * paragraph.C: move sgml char escaping out of paragraph
10287
10288         * paragraph.h:
10289         * paragraph.C: remove id setter
10290
10291         * buffer.C:
10292         * paragraph.C:
10293         * paragraph_pimpl.C: remove dead tex_code_break_column
10294
10295         * bufferview_funcs.C: small cleanup
10296
10297         * lyxfunc.C: remove dead proto
10298
10299         * lyxtext.h: make some stuff private. Remove some dead stuff.
10300
10301         * lyxgluelength.C: make as[LyX]String() readable
10302
10303 2002-08-08  John Levon  <levon@movementarian.org>
10304
10305         * LyXAction.h:
10306         * LyXAction.C:
10307         * MenuBackend.C:
10308         * ToolbarDefaults.C:
10309         * lyxfunc.C:
10310         * lyxrc.C:
10311         * toc.C: lyxaction cleanup
10312
10313 2002-08-08  John Levon  <levon@movementarian.org>
10314
10315         * BufferView2.C: small cleanup
10316
10317         * lyxfind.h:
10318         * lyxfind.C: move unnecessary header into the .C
10319
10320 2002-08-08  John Levon  <levon@movementarian.org>
10321
10322         * funcrequest.h: just tedious nonsense
10323
10324         * lyx_main.h:
10325         * lyx_main.C: cleanups
10326
10327         * buffer.C:
10328         * vspace.C: remove dead header lyx_main.h
10329
10330 2002-08-07  Angus Leeming  <leeming@lyx.org>
10331
10332         * Paragraph.[Ch]:
10333         * paragraph_pimpl.h:
10334         Forward declare class Counters in paragraph.h by moving the ctrs member
10335         variable into Paragraph::Pimpl.
10336         (counters): new method, returning a reference to pimpl_->ctrs.
10337
10338         * text2.C: ensuing changes.
10339
10340 2002-08-07  John Levon  <levon@movementarian.org>
10341
10342         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10343
10344         * BufferView_pimpl.C: announce X selection on double/triple
10345           click
10346
10347         * lyx_main.C: use correct bool in batch dispatch
10348
10349         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10350
10351 2002-08-07  André Pönitz <poenitz@gmx.net>
10352
10353         * funcrequest.h: new class to wrap a kb_action and its argument
10354
10355         * BufferView.[Ch]:
10356         * BufferView_pimpl[Ch]:
10357         * LaTeX.C:
10358         * LyXAction.[Ch]:
10359         * lyxfunc.[Ch]:
10360         * lyxrc.C: subsequent changes
10361
10362
10363 2002-08-07  John Levon  <levon@movementarian.org>
10364
10365         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10366           document options change.
10367
10368 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10369
10370         * counters.[Ch]
10371         * text2.C
10372         * paragraph.[Ch]
10373         * makefile.am: move counters functionality over from
10374         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10375
10376 2002-08-06  John Levon  <levon@movementarian.org>
10377
10378         * WordLangTuple.h: new file for word + language code tuple
10379
10380         * SpellBase.h:
10381         * pspell.h:
10382         * pspell.C:
10383         * ispell.h:
10384         * ispell.C:
10385         * lyxtext.h:
10386         * text.C:
10387         * text2.C:
10388         * BufferView.h:
10389         * BufferView2.C: use WordLangTuple
10390
10391         * layout.h:
10392         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10393
10394 2002-08-06  John Levon  <levon@movementarian.org>
10395
10396         * lyx_main.C: fix cmdline batch handling
10397
10398 2002-08-06  André Pönitz <poenitz@gmx.net>
10399
10400         * lyxrc.C: set default for show_banner to true
10401
10402 2002-08-06  John Levon  <levon@movementarian.org>
10403
10404         * pspell.C: fix a crash, and allow new aspell to work
10405
10406 2002-08-06  John Levon  <levon@movementarian.org>
10407
10408         * lyxfunc.C:
10409         * kbmap.C: small cleanup
10410
10411         * vspace.h:
10412         * vspace.C: add const
10413
10414 2002-08-05  John Levon  <levon@movementarian.org>
10415
10416         * LyXAction.C: back to tabular-insert
10417
10418 2002-08-04  John Levon  <levon@movementarian.org>
10419
10420         * BufferView.h:
10421         * BufferView.C: cosmetic change
10422
10423         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10424
10425         * bufferlist.C:
10426         * buffer.h:
10427         * buffer.C:
10428         * lyxcb.h:
10429         * lyxcb.C:
10430         * lyxserver.C:
10431         * lyxvc.C:
10432         * vc-backend.C:
10433         * BufferView2.C: purge all "Lyx" not "LyX" strings
10434
10435         * lyxcursor.h:
10436         * lyxcursor.C: attempt to add some documentation
10437
10438         * lyxfunc.C:
10439         * commandtags.h:
10440         * LyXAction.C:
10441         * ToolbarDefaults.C:
10442         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10443           merge with LFUN_TABULAR_INSERT
10444
10445         * Makefile.am:
10446         * SpellBase.h:
10447         * ispell.h:
10448         * ispell.C:
10449         * pspell.h:
10450         * pspell.C: split up i/pspell implementations into separate
10451           files, many cleanups
10452
10453         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10454
10455         * text2.C: some cleanup
10456
10457         * lyxfunc.C: don't check for isp_command == "none" any more, it
10458           didn't make any sense
10459
10460 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10461
10462         * counters.[Ch]
10463         * text2.C
10464         * paragraph.[Ch]
10465         * makefile.am: move counters functionality over
10466         from text2.C/paragraph.[Ch] to counters.[Ch], and
10467         make proper C++.
10468 2002-08-02  John Levon  <levon@movementarian.org>
10469
10470         * buffer.C: s/lyxconvert/lyx2lyx/
10471
10472 2002-08-02  Angus Leeming  <leeming@lyx.org>
10473
10474         * lyxlex.C: revert John's change as it breaks reading of the user
10475         preamble.
10476
10477 2002-08-02  Angus Leeming  <leeming@lyx.org>
10478
10479         * importer.C (Import):
10480         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10481         changes due to LyXView::view() now returning a boost::shared_ptr.
10482
10483 2002-08-02  John Levon  <levon@movementarian.org>
10484
10485         * lyxlex.C: small cleanup
10486
10487 2002-08-02  John Levon  <levon@movementarian.org>
10488
10489         * text2.C (status): small cleanup, no logic change
10490
10491 2002-08-01  John Levon  <levon@movementarian.org>
10492
10493         * buffer.h:
10494         * buffer.C (writeFile): don't output alerts, caller
10495           handles this
10496
10497         * bufferlist.C:
10498         * lyx_cb.C: from above
10499
10500         * lyxfunc.C: allow to open non-existent files
10501
10502 2002-07-31  John Levon  <levon@movementarian.org>
10503
10504         * lyxserver.C: don't let incidental errors get
10505           in the way (errno)
10506
10507 2002-07-30  John Levon  <levon@movementarian.org>
10508
10509         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10510
10511 2002-07-30  John Levon  <levon@movementarian.org>
10512
10513         * lyxserver.h:
10514         * lyxserver.C: remove I/O callback too
10515
10516 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10519         log.
10520
10521 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10522
10523         * many files: strip,frontStrip -> trim,ltrim,rtrim
10524
10525 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10526
10527         * PrinterParams.h: remove extern containsOnly, and include
10528         support/lstrings.h instead.
10529
10530         * LaTeX.C (scanAuxFile): modify because of strip changes
10531         (deplog): ditto
10532         * buffer.C (makeLaTeXFile): ditto
10533         * bufferparams.C (writeFile): ditt
10534         * lyxfont.C (stateText): ditto
10535         * lyxserver.C (read_ready): ditto
10536         * vc-backend.C (scanMaster): ditto
10537
10538         * BufferView_pimpl.h: ws changes
10539
10540         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10541
10542 2002-07-26  André Pönitz <poenitz@gmx.net>
10543
10544         * kb_sequence.C: remove unnedred usings
10545
10546 2002-07-26  Juergen Vigna  <jug@sad.it>
10547
10548         * lyxfind.C (LyXReplace): we have to check better if the returned
10549         text is not of theLockingInset()->getLockingInset().
10550
10551 2002-07-25  Juergen Vigna  <jug@sad.it>
10552
10553         * lyxfind.C (LyXReplace): don't replace if we don't get the
10554         right LyXText.
10555
10556         * undo_funcs.C (createUndo): remove debugging code.
10557
10558 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * buffer.C (parseSingleLyXformat2Token): Use default placement
10561         when reading old floats.
10562
10563         * FloatList.C (FloatList): Change the default placement of figure
10564         and tables to "tbp".
10565
10566 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * MenuBackend.C: using std::max
10569
10570 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * MenuBackend.C (expandToc):
10573         (expandToc2): code moved from xforms menu frontend. It is now
10574         generic and TOCs are transparent to menu frontends.
10575
10576 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * toc.C (getTocList): protect against buf=0
10579
10580         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10581         Menu as first parameter. Now, this calls itself recursively to
10582         expand a whole tree (this will be useful for TOC handling)
10583         (expandFloatInsert): remove 'wide' version of floats
10584
10585         * MenuBackend.h (submenuname): returns the name of the submenu.
10586         (submenu): returns the submenu itself, provided it has been
10587         created by MenuBackend::expand
10588
10589 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10592         insets which have noFontChange == true. (bug #172)
10593
10594 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10595
10596         * BufferView_pimpl.C: add connection objects and use them...
10597         (Pimpl): here.
10598
10599 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * MenuBackend.C (expandLastfiles):
10602         (expandDocuments):
10603         (expandFormats):
10604         (expandFloatListInsert):
10605         (expandFloatInsert):
10606         (expand): split expand in parts
10607
10608 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * lyx_gui.C: use lyx_gui::exit()
10611
10612 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * LyXAction.C: show the failing pseudo action
10615
10616 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * buffer.C (readFile): Run the lyxconvert script in order to read
10619         old files.
10620
10621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * LyXAction.C:
10624         * commandtags.h:
10625         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10626
10627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * LyXAction.C:
10630         * commandtags.h:
10631         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10632
10633 2002-07-22  Herbert Voss  <voss@lyx.org>
10634
10635         * lengthcommon.C:
10636         * lyxlength.[Ch]: add support for the vertical lengths
10637
10638 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * toc.[Ch]: std:: fixes
10641
10642 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * lyxrc.C: do not include lyx_main.h
10645
10646         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10647         for layouts
10648
10649         * lyxrc.C:
10650         * encoding.C:
10651         * bufferlist.C:
10652         * BufferView2.C: include "lyxlex.h"
10653
10654         * tabular.h:
10655         * bufferparams.h: do not #include "lyxlex.h"
10656
10657         * lyxtextclasslist.C (Add): remove method
10658         (classlist): renamed to classlist_
10659
10660         * paragraph_pimpl.C:
10661         * paragraph.C:
10662         * text2.C:
10663         * CutAndPaste.C:
10664         * bufferview_funcs.C:
10665         * bufferlist.C:
10666         * text.C:
10667         * LaTeXFeatures.C:
10668         * buffer.C:
10669         * toc.C (getTocList): use BufferParams::getLyXTextClass
10670
10671         * toc.C (getTocList): use InsetFloat::addToToc
10672
10673         * toc.[Ch]: new files, containing helper functions to handle table
10674         of contents
10675
10676         * lyxfunc.C (dispatch): no need to remove spaces around command
10677         given as a string
10678         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10679         first command of the sequence; it is not very clever, but I do not
10680         have a better idea, actually
10681
10682         * LyXAction.C (LookupFunc): make sure to remove space at the
10683         beginning and end of the command
10684
10685 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10686
10687         * MenuBackend.C (getMenubar): new method: return the menubar of
10688         this menu set
10689         (read): treat differently reading of menu and menubar (in
10690         particular, the menubar has no name now)
10691         (Menu::menubar): remove
10692
10693         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10694         saving is finished
10695
10696 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10697
10698         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10699         a bibitem inset in a RTL paragraph.
10700
10701 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * paragraph_pimpl.C: constify
10704
10705         * BufferView_pimpl.C:
10706         * LaTeX.C:
10707         * lyxfunc.C: fix dispatch in a nicer way
10708
10709 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * lyxfunc.C (dispatch):
10712         * BufferView_pimpl.C:
10713         * BufferView_pimpl.h:
10714         * BufferView.C:
10715         * BufferView.h: rename Dispatch() to dispatch()
10716
10717         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10718
10719         * lyxlayout.C (Read): honor DependsOn tag
10720
10721         * lyxlayout.[Ch] (depends_on): new method
10722
10723         * version.C.in: update lyx_docversion
10724
10725         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10726
10727         * paragraph.C (validate): remove from here...
10728         * paragraph_pimpl.C (validate): ... and move here
10729         (isTextAt): make it const
10730
10731         * buffer.C (getLists): ws cleanup
10732
10733 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * language.C (read): Use iso8859-1 encoding in latex_lang
10736         (this prevents LyX from crashing when using iso10646-1 encoding).
10737
10738 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * text2.C (toggleInset): if cursor is inside an inset, close the
10741         inset and leave cursor _after_ it
10742
10743 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * lyxfunc.C: move minibuffer completion handling out of here
10746
10747 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView_pimpl.C:
10750         * LaTeX.C: fix dispatch calls
10751
10752 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * text.C (drawChars): Fix Arabic text rendering.
10755
10756 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * LyXAction.C:
10759         * commandtags.h:
10760         * lyxfunc.C: remove message-push/pop
10761
10762         * lyxserver.C:
10763         * lyxfunc.h:
10764         * lyxfunc.C: rationalise some code by removing verboseDispatch
10765           in favour of a bool argument to dispatch()
10766
10767 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * lyx_main.C (init): make sure to read symlinks as absolute paths
10770
10771 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * lyxfunc.h:
10774         * lyxfunc.C: no need for commandshortcut to be a member
10775
10776 2002-07-15  André Pönitz <poenitz@gmx.net>
10777
10778         * converter.C: add support for $$s (scripts from lib/scripts dir)
10779         * lyx_main.C: white space
10780
10781 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * bufferlist.C:
10784         * lyxrc.h:
10785         * lyxrc.C: remove second exit confirmation
10786
10787 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * BufferView.h:
10790         * BufferView.C:
10791         * BufferView2.C:
10792         * BufferView_pimpl.h:
10793         * BufferView_pimpl.C:
10794         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10795
10796 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * MenuBackend.C (expand): add numeric shortcuts to document menu
10799
10800         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10801
10802 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10803
10804         * lyxfont.C (setLyXFamily):
10805         (setLyXSeries):
10806         (setLyXShape):
10807         (setLyXSize):
10808         (setLyXMisc):
10809         (lyxRead):
10810         * debug.C (value):
10811         * buffer.C (asciiParagraph): use ascii_lowercase
10812
10813 2002-07-15  Mike Fabian  <mfabian@suse.de>
10814
10815         * lyxlex_pimpl.C (search_kw):
10816         * lyxlex.C (getLongString):
10817         * converter.h (operator<):
10818         * converter.C (operator<):
10819         * buffer.C (parseSingleLyXformat2Token):
10820         (asciiParagraph):
10821         * ToolbarDefaults.C (read):
10822         * MenuBackend.C (checkShortcuts):
10823         (read):
10824         * LColor.C (getFromGUIName):
10825         (getFromLyXName): use the compare_ascii_no_case instead of
10826         compare_no_case, because in turkish, 'i' is not the lowercase
10827         version of 'I', and thus turkish locale breaks parsing of tags.
10828
10829 2002-07-16  Angus Leeming  <leeming@lyx.org>
10830
10831         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10832         now takes a Buffer const & argument.
10833
10834 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * BufferView.C (resize): check there's a buffer to resize
10837
10838 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10839
10840         * lyxfunc.C: remove dead code
10841
10842         * lyxserver.h:
10843         * lyxserver.C: use lyx_guii::set_read_callback
10844
10845 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10846
10847         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10848         an inset in a RTL paragraph.
10849
10850 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * lyxfunc.C: repaint after a font size update
10853
10854 2002-07-15  André Pönitz <poenitz@gmx.net>
10855
10856         * lyxlength.C: inBP should be able to return negative values
10857
10858 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * lyxfunc.C: use lyx_gui::update_fonts()
10861
10862 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * lyxfunc.C: use lyx_gui::update_color()
10865
10866 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * bufferlist.C:
10869         * lyxfunc.h:
10870         * lyxfunc.C:
10871         * lyxrc.h:
10872         * lyxrc.C: remove file->new asks for name option, and let
10873           buffer-new take an argument
10874
10875 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * BufferView_pimpl.C: remove unneeded extra repaint()
10878
10879 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * LyXAction.C: allow command-sequence with NoBuffer
10882
10883         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10884
10885 2002-07-10  Angus Leeming  <leeming@lyx.org>
10886
10887         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10888
10889 2002-07-09  Angus Leeming  <leeming@lyx.org>
10890
10891         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10892
10893 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * lengthcommon.h: whitespace
10896
10897         * lyxfunc.C: update scrollbar after goto paragraph
10898
10899         * lyxtext.h: factor out page break drawing, and fix it so
10900           page break/added space paints as selected nicely
10901
10902 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * BufferView_pimpl.C: add FIXMEs, clean up a little
10905
10906 2002-07-09  André Pönitz <poenitz@gmx.net>
10907
10908         * lyxfont.[Ch]: support for wasy symbols
10909
10910 2002-07-08  André Pönitz <poenitz@gmx.net>
10911
10912         * BufferView_pimpl.C: apply John's patch for #93.
10913
10914 2002-07-05  Angus Leeming  <leeming@lyx.org>
10915
10916         * BufferView_pimpl.C (buffer): generate previews if desired.
10917
10918         * LColor.h: add "preview" to the color enum.
10919
10920         * LColor.C (LColor): add a corresponding entry to the items array.
10921
10922         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10923         with this buffer.
10924
10925 2002-07-05  Angus Leeming  <leeming@lyx.org>
10926
10927         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10928         The body of the code is now in the method that is passed an ostream &
10929         rather than a file name.
10930         Pass an additional only_preamble parameter, useful for the forthcoming
10931         preview stuff.
10932
10933 2002-07-03  André Pönitz <poenitz@gmx.net>
10934
10935         * lyxfunc.C: simplify getStatus() a bit for math stuff
10936
10937 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10938
10939         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10940
10941 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * text.C (changeRegionCase): do not change case of all the
10944         document when region ends at paragraph end (bug #461)
10945
10946 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10947
10948         * paragraph.C (startTeXParParams):
10949         (endTeXParParams): add \protect when necessary
10950
10951 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * BufferView_pimpl.C (workAreaExpose): remove warning
10954
10955 2002-06-27  Angus Leeming  <leeming@lyx.org>
10956
10957         * Makefile.am: add lyxlayout_ptr_fwd.h.
10958
10959 2002-06-26  André Pönitz <poenitz@gmx.net>
10960
10961         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10962
10963 2002-06-25  Angus Leeming  <leeming@lyx.org>
10964
10965         * lyxfunc.C (dispatch): Comment out the call to
10966         grfx::GCache::changeDisplay. The method no longer exists now that the
10967         pixmap generation part of the graphics loader has been moved into
10968         InsetGraphics.
10969
10970 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * text2.C: layout as layout
10973
10974         * text.C: layout as layout
10975
10976         * tabular.C (OldFormatRead): layout as layout
10977
10978         * paragraph_pimpl.C (TeXDeeper): layout as layout
10979         (realizeFont): layout as layout
10980
10981         * paragraph.C (writeFile): layout as layout
10982         (validate): layout as layout
10983         (getFont): layout as layout
10984         (getLabelFont): layout as layout
10985         (getLayoutFont): layout as layout
10986         (breakParagraph): layout as layout
10987         (stripLeadingSpaces): layout as layout
10988         (getEndLabel): layout as layout
10989         (getMaxDepthAfter): layout as layout
10990         (applyLayout): layout as layout
10991         (TeXOnePar): layout as layout
10992         (simpleTeXOnePar): layout as layout
10993         (TeXEnvironment): layout as layout
10994         (layout): layout as layout
10995         (layout): layout as layout
10996
10997         * lyxtextclass.C (compare_name): new functor to work with
10998         shared_ptr, layout as layout
10999         (Read): layout as layout
11000         (hasLayout): layout as layout
11001         (operator): layout as layout
11002         (delete_layout): layout as layout
11003         (defaultLayout): layout as layout
11004
11005         * lyxlayout_ptr_fwd.h: new file
11006
11007         * lyxlayout.C (Read): layout as layout
11008
11009         * lyx_cb.C (MenuInsertLabel): layout as layout
11010
11011         * bufferlist.C (newFile): layout as layout
11012
11013         * buffer.C (readLyXformat2): layout as layout
11014         (parseSingleLyXformat2Token): layout as layout
11015         (insertStringAsLines): layout as layout
11016         (asciiParagraph): layout as layout
11017         (latexParagraphs): layout as layout
11018         (makeLinuxDocFile): layout as layout
11019         (simpleLinuxDocOnePar): layout as layout
11020         (makeDocBookFile): layout as layout
11021         (simpleDocBookOnePar): layout as layout
11022         (getLists): layout as layout
11023
11024         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11025
11026         * CutAndPaste.C (cutSelection): layout as layout
11027         (pasteSelection): layout as layout
11028         (SwitchLayoutsBetweenClasses): layout as layout
11029
11030         * BufferView_pimpl.C (Dispatch): layout as layout
11031         (smartQuote): layout as layout
11032
11033         * BufferView2.C (unlockInset): layout as layout
11034
11035 2002-06-24  André Pönitz <poenitz@gmx.net>
11036
11037         * lyxfunc.C: fix #487
11038
11039 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * lyxrc.h:
11042         * lyxrc.C:
11043         * lyxfunc.C: remove display_shortcuts, show_banner
11044
11045 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11046
11047         * Buffer_pimpl.C: oops, update on resize
11048
11049 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11050
11051         * buffer.C:
11052         * converter.C:
11053         * exporter.C:
11054         * lyxfunc.C:
11055         * BufferView.h:
11056         * BufferView.C: use repaint()
11057
11058         * BufferView_pimpl.h:
11059         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11060           as it's a clearer description. Remove superfluous
11061           redraws.
11062
11063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * text.C: fix bug 488. Not ideal, but getting
11066           getWord() to work properly for the insets that
11067           matter is more difficult ...
11068
11069 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11070
11071         * BufferView_pimpl.C:
11072         * LyXAction.C:
11073         * commandtags.h:
11074         * lyxfunc.C: remove the six million index lyxfuncs to just
11075           one, and DTRT (bug 458)
11076
11077 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * BufferView.h:
11080         * BufferView.C:
11081         * BufferView_pimpl.h:
11082         * BufferView_pimpl.C: clean up resize() stuff,
11083           and unnecessary updateScreen()s
11084
11085 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * BufferView.h:
11088         * BufferView.C:
11089         * BufferView_pimpl.h:
11090         * BufferView_pimpl.C:
11091         * lyxfind.h:
11092         * lyxfind.C:
11093         * minibuffer.C: remove focus management of workarea,
11094           not needed. Use screen's greyOut()
11095
11096 2002-06-17  Herbert Voss  <voss@lyx.org>
11097
11098         * converter.C: (convert) do not post a message, when converting
11099         fails, let the calling function decide what to do in this case
11100
11101 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * lyxfunc.C: tidy up a little
11104
11105 2002-06-16    <alstrup@diku.dk>
11106
11107         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11108         Got rid of FORMS_H_LOCATION include. Now we are
11109         GUII.
11110
11111 2002-06-15  LyX Development team  <lyx@rilke>
11112
11113         * buffer.[Ch] (sgmlOpenTag):
11114         (sgmlCloseTag): Added support for avoiding pernicious mixed
11115         content. Return number of lines written.
11116
11117         (makeLinuxDocFile):
11118         (makeDocBookFile): Fixed calls to sgml*Tag.
11119         Simple white space clean.
11120
11121         (simpleDocBookOnePar): Simple white space clean.
11122
11123         * tabular.[Ch] (docBook): Renamed to docbook and got another
11124         argument to related with the pernicious mixed content.
11125
11126         (docbookRow): Fixed calls for docbook inset method.
11127
11128 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11129
11130         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11131         so it's X11 independent.
11132
11133         * kb*.[Ch]: ditto.
11134
11135         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11136
11137 2002-06-15  Lyx Development team  <lyx@electronia>
11138
11139         * intl.h: Renamed getTrans to getTransManager.
11140
11141 2002-06-14  Angus Leeming  <leeming@lyx.org>
11142
11143         * Makefile.am: nuke forgotten stl_string_fwd.h.
11144
11145 2002-06-12  Angus Leeming  <leeming@lyx.org>
11146
11147         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11148
11149 2002-06-13  Angus Leeming  <leeming@lyx.org>
11150
11151         * LaTeX.C:
11152         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11153
11154 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11155
11156         * kbmap.C (getiso): add support for cyrillic and greek
11157
11158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * BufferView.h:
11161         * BufferView.C:
11162         * BufferView_pimpl.h:
11163         * BufferView_pimpl.C: move bogus scrolling logic
11164           to xforms
11165
11166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * lyxfunc.C:
11169         * BufferView_pimpl.C: view->resize() change
11170
11171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * BufferView_pimpl.C: topCursorVisible
11174           prototype change
11175
11176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * Makefile.am:
11179         * lyx_gui.h:
11180         * lyx_gui.C: move to frontends/
11181
11182         * main.C:
11183         * lyx_main.h:
11184         * lyx_main.C: changes from above
11185
11186 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * intl.C:
11189         * intl.h:
11190         * kbmap.C:
11191         * kbsequence.C:
11192         * lyx_cb.C:
11193         * lyx_main.C: minor tidy
11194
11195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * BufferView_pimpl.h:
11198         * BufferView_pimpl.C:
11199         * BufferView.h:
11200         * BufferView.C: make painter() const,
11201           remove dead code
11202
11203         * BufferView2.C: use screen() accessor
11204
11205         * lyx_main.h:
11206         * lyx_main.C: some minor cleanup
11207
11208 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * BufferView_pimpl.h:
11211         * BufferView_pimpl.C: remove enter/leaveView,
11212           use workHeight()
11213
11214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * BufferView.h:
11217         * BufferView.C:
11218         * BufferView2.C:
11219         * BufferView_pimpl.h:
11220         * BufferView_pimpl.C: only construct screen once,
11221           rename
11222
11223         * lyxrc.C: remove pointless comment
11224
11225 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * BufferView.h:
11228         * BufferView.C: remove active() and belowMouse()
11229
11230         * BufferView_pimpl.h:
11231         * BufferView_pimpl.C: use workarea() not workarea_,
11232           and make it use a scoped_ptr instead
11233
11234 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * lyx_gui.C: add debug message on BadWindow
11237
11238 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * sp_spell.C: fdopen is not part of the C++ standard.
11241
11242         * paragraph.C (InsetIterator): use >= instead of ==
11243
11244 2002-06-07  Angus Leeming  <leeming@lyx.org>
11245
11246         Fixes needed to compile with Compaq cxx 6.5.
11247         * BufferView_pimpl.C:
11248         * DepTable.C:
11249         * buffer.C:
11250         * converter.C:
11251         * encoding.C:
11252         * lyx_gui.C:
11253         * lyx_main.C:
11254         * lyxtextclasslist.C:
11255         * minibuffer.C:
11256         * sp_spell.C:
11257         * tabular_funcs.C:
11258         * vc-backend.C:
11259         all c-library variables have been moved into namespace std. Wrap
11260         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11261
11262         * lyxlength.C:
11263         * tabular-old.C:
11264         * tabular.C:
11265         Add a using std::abs declaration.
11266
11267         * kbmap.h (modifier_pair):
11268         * paragraph.h (InsetTable, InsetList):
11269         * lyxfont.h (FontBits):
11270         type definition made public.
11271
11272         * bufferlist.C (emergencyWriteAll): the compiler complains that
11273         there is more than one possible lyx::class_fun template to choose from.
11274         I re-named the void specialisation as lyx::void_class_fun.
11275
11276         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11277
11278         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11279         the compiler is is unable to find tostr in write_attribute.
11280
11281 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * buffer.C (sgmlError): hide #warning
11284
11285 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * xtl/*: get rid of xtl, which is not in use anyway
11288
11289         * LyXAction.C (init):
11290         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11291         were unimplemented xtl experimentation
11292
11293 2002-06-04  André Pönitz <poenitz@gmx.net>
11294
11295         * lyxfunc.C: disable array operation on simple formulae
11296
11297 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * converter.C: constify a bit
11300
11301 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * lyx_gui.C: check xforms version correctly
11304
11305 2002-04-30  Herbert Voss  <voss@lyx.org>
11306
11307         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11308         "keep" option
11309
11310 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11313           attempt to register it with a VCS)
11314
11315 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyx_main.C (init): honor variables LYX_DIR_13x and
11318         LYX_USERDIR_13x
11319
11320 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * buffer.h:
11323         * buffer.C:
11324         * lyx_main.C: fix a crash on bad command line,
11325           and give a useful exit status on error
11326
11327         * lyxfunc.C (doImport): allow -i lyx to work
11328
11329 2002-03-30  André Pönitz <poenitz@gmx.net>
11330
11331         * lyxfunc.C: mathed font changes
11332
11333 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * LaTeX.C:
11336         * importer.h:
11337         * importer.C:
11338         * lyx_sty.h:
11339         * lyx_sty.C:
11340         * lyxlex.C:
11341         * lyxrow.h:
11342         * lyxtext.h:
11343         * paragraph.h:
11344         * paragraph.C:
11345         * texrow.h:
11346         * texrow.C:
11347         * text.C:
11348         * trans_mgr.h: srcdocs, and some minor cleanups
11349
11350 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11353         call getFont all the time)
11354
11355 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * switch from SigC signals to boost::signals
11358
11359 2002-05-29  André Pönitz <poenitz@gmx.net>
11360
11361         * paragraph_pimpl.C (getChar): don't call size() too often...
11362
11363 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * paragraph_pimpl.C (insertChar): do not try to update tables when
11366         appending (pos == size())
11367
11368         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11369         in order to reduce drastically the number of comparisons needed to
11370         parse a large document
11371
11372 2002-05-29  André Pönitz <poenitz@gmx.net>
11373
11374         * text.C:
11375         * text2.C:
11376         * lyxtextclass.C:
11377         * sp_pspell.h:
11378         * textclasslist.[Ch]:
11379         * sp_ispell.h: whitespace change
11380
11381 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11384         lyxaction directly now.
11385
11386 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * trans.C:
11389         * lyxfont.C:
11390         * lyxvc.C: remove unused headers
11391
11392 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * Makefile.am:
11395         * buffer.h:
11396         * undostack.h:
11397         * undostack.C:
11398         * undo_funcs.h:
11399         * undo_funcs.C: some cleanups. Use shared_ptr
11400           and a template for the undo stacks.
11401
11402 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * BufferView_pimpl.h:
11405         * BufferView_pimpl.C:
11406         * kbmap.h:
11407         * kbmap.C:
11408         * kbsequence.h:
11409         * kbsequence.C:
11410         * lyxfunc.h:
11411         * lyxfunc.C:
11412         * text2.C: use key_state/mouse_state
11413
11414 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11415
11416         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11417         and LSubstring
11418
11419         * chset.C: change include order
11420         (loadFile): use boost regex and get rid of LRegex and LSubstring
11421
11422         * Makefile.am (BOOST_LIBS): new variable
11423         (lyx_LDADD): use it
11424
11425         * LaTeX.C: change include order.
11426         (scanAuxFile): use boost regex and get rid of LRegex and
11427         LSubstring
11428         (deplog): ditto
11429
11430 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * ColorHandler.h:
11433         * ColorHandler.C:
11434         * FontInfo.h:
11435         * FontInfo.C: moved to frontends/xforms/
11436
11437         * FontLoader.h:
11438         * FontLoader.C: moved into frontends for GUIIzation
11439
11440         * Makefile.am:
11441         * lyx_gui.C:
11442         * lyxfont.C:
11443         * lyxfunc.C: changes from above
11444
11445 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * LColor.C: remove spurious X include
11448
11449         * BufferView_pimpl.C:
11450         * Makefile.am:
11451         * font.h:
11452         * font.C:
11453         * text.C:
11454         * text2.C: move font metrics to frontends/
11455
11456 2002-05-24  Juergen Vigna  <jug@sad.it>
11457
11458         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11459         setting the undo_cursor.
11460
11461         * ParagraphParameters.h: include local includes first.
11462
11463 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * BufferView_pimpl.C:
11466         * BufferView_pimpl.h:
11467         * Makefile.am:
11468         * WorkArea.h:
11469         * WorkArea.C:
11470         * screen.C: move WorkArea into frontends/
11471
11472         * lyxscreen.h:
11473         * screen.C:
11474         * text.C:
11475         * BufferView.C:
11476         * BufferView2.C: move LyXScreen into frontends/
11477
11478         * lyxlookup.h:
11479         * lyxlookup.C:
11480         * lyx_gui.C: move lyxlookup into frontends/xforms/
11481
11482 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * BufferView2.C:
11485         * BufferView_pimpl.C:
11486         * FontLoader.C:
11487         * LyXView.h:
11488         * LyXView.C:
11489         * Makefile.am:
11490         * WorkArea.C:
11491         * XFormsView.h:
11492         * XFormsView.C:
11493         * buffer.C:
11494         * bufferlist.C:
11495         * bufferview_funcs.C:
11496         * converter.C:
11497         * importer.C:
11498         * lyx_cb.C:
11499         * lyx_gui.C:
11500         * lyx_main.C:
11501         * lyx_find.C:
11502         * lyxfunc.C:
11503         * lyxvc.C:
11504         * minibuffer.C:
11505         * text.C:
11506         * text2.C:
11507         * trans.C:
11508         * vc-backend.C: move LyX/XFormsView into frontends/
11509
11510 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * Makefile.am:
11513         * PainterBase.C:
11514         * PainterBase.h:
11515         * Painter.C:
11516         * Painter.h:
11517         * WorkArea.C:
11518         * WorkArea.h:
11519         * screen.C:
11520         * tabular.C:
11521         * text.C:
11522         * text2.C: move Painter to frontends/
11523
11524 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * buffer.C: comment out some some code that depend upon lyx_format
11527         < 220
11528
11529         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11530         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11531
11532         * buffer.h (NO_COMPABILITY): turn off compability
11533
11534         * ColorHandler.C: include scoped_array.hpp
11535
11536         * font.C: Use more specific smart_ptr header.
11537         * Painter.C: ditto
11538         * gettext.C: ditto
11539         * ShareContainer.h: ditto
11540         * lyx_main.h: ditto
11541         * kbmap.h: ditto
11542         * FontInfo.h: ditto
11543         * BufferView_pimpl.h: ditto
11544         * ColorHandler.h: ditto
11545
11546         * kbmap.C (defkey): change call to shared_ptr::reset
11547
11548 2002-05-21  Juergen Vigna  <jug@sad.it>
11549
11550         * buffer.C (insertErtContents): fix to insert ert asis if it is
11551         non empty. Skip it completely if it contains only whitespaces.
11552
11553 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * BufferView_pimpl.C:
11556         * BufferView2.C: clear selection on paste (bug 393)
11557
11558 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * DepTable.C: include ctime
11561
11562 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11565
11566 2002-05-14  Juergen Vigna  <jug@sad.it>
11567
11568         * text.C (breakParagraph): fixed function to honor the keepempty
11569         layout in the right maner and also to permit the right breaking
11570         algorithm on empty or non empyt keepempty paragraphs.
11571
11572         * paragraph.C (breakParagraph): we have to check also if the par
11573         is really empty (!size()) for isempty otherwise we do the wrong
11574         paragraph break.
11575
11576 2002-05-10  Juergen Vigna  <jug@sad.it>
11577
11578         * buffer.[Ch] : The following are only changes to the ert
11579         compatibility read reading old LaTeX layout and font stuff and
11580         convert it to ERTInsets.
11581
11582         * buffer.h: added isErtInset().
11583
11584         * buffer.C (struct ErtComp): add a fromlayout bool to check
11585         if we're inside a LaTeX layout.
11586         (isErtInset): new helper function.
11587         (insertErtContents): look for other ert insets before this one
11588         and insert the contents there, so that we don't have subsequent
11589         ERT insets with nothing between them. This way we create only one
11590         inset with multiple paragraphs. Also check if we don't insert only
11591         spaces ' ' as they are ignored anyway afterwards in the .tex file
11592         so if we have only spaces we will ignore this latex part in the
11593         new file.
11594         (parseSingleLyXformat2Token \\layout): better compatibility when
11595         reading layout-latex stuff.
11596         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11597         language tag.
11598         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11599         stuff after reading the inset only get the information back from
11600         the stack.
11601
11602 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11603
11604         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11605
11606         * LaTeXFeatures.C (getBabelOptions): New method.
11607
11608 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * BufferView_pimpl.C (Dispatch): work around missing argument for
11611         'layout'
11612
11613 2002-05-08  Juergen Vigna  <jug@sad.it>
11614
11615         * text.C (leftMargin): handle paragraph leftindent.
11616
11617         * paragraph.C (writeFile): write the new \\leftindent tag.
11618         (validate): handle leftindent code.
11619         (TeXEnvironment): handle paragraphleftindent code again.
11620
11621         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11622
11623         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11624         for paragrap_extra indent code and new token \\leftindent.
11625         (latexParagraphs): handle the leftindent as environment.
11626
11627         * ParameterStruct.h: added leftindent support.
11628
11629         * ParagraphParameters.C (leftIndent): added support functions for
11630         the paragraph left indent.
11631
11632         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11633         more appropriate.
11634
11635 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11636
11637         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11638         inside insetERT.
11639
11640         * text.C (computeBidiTables): No bidi in insetERT.
11641
11642         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11643         in RTL documents.
11644
11645 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * version.C.in: pre 5
11648
11649 2002-05-02  José Matos  <jamatos@fep.up.pt>
11650         * buffer.C (makeDocBookFile): white space changes, add newline to
11651         command styles.
11652         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11653
11654         * tabular.C (docBook): fix typo.
11655
11656 2002-05-03  Juergen Vigna  <jug@sad.it>
11657
11658         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11659         change in LyXText as we can not be sure it was not freed.
11660         (drawOneRow): remove unused code.
11661
11662         * text.C (drawInset): redo the calculation of the need_break_row as
11663         it could have a row which was already freed.
11664         (draw): look at the return value of drawInset and return false if
11665         it also returned false.
11666         (paintRowText): look at the return value of draw and return false if
11667         it also returned false.
11668
11669         * lyxtext.h: added bool return type to drawInset() and draw() so that
11670         if we have a change in the row so that the rowbreak has to be redone
11671         we abort drawing as it will be called again.
11672
11673 2002-05-02  Juergen Vigna  <jug@sad.it>
11674
11675         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11676         a change in the maintext also if we're inside an inset.
11677         (Dispatch): set the cursor again after a break line and after the
11678         screen has been updated as it could be we're in a different row.
11679
11680         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11681         to set the cursor behind the pargraph with > size().
11682         (setCursor): check also for the same paragraph when checking where
11683         to put the cursor if we have a NFR inset.
11684
11685         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11686         parts of layout read further up as it still was in the wrong
11687         position.
11688
11689 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * screen.C (drawFromTo): change sine fullRebreak always return
11692         true.
11693
11694         * buffer.C (parseSingleLyXformat2Token): reindent some
11695
11696         * BufferView_pimpl.C (update): change since fullRebreak always
11697         return true.
11698         (Dispatch): git rid of the last hardcoded "Standard"s.
11699
11700 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * text2.[Ch] (fullRebreak): make it return void now that we always
11703         returned true.
11704
11705 2002-04-30  Juergen Vigna  <jug@sad.it>
11706
11707         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11708         ert compatibility check for "latex" layout.
11709
11710 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11711
11712         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11713         minipages: use col% instead of p%, and also use the current font.
11714         (makeLaTeXFile): Fix use babel condition.
11715         (parseSingleLyXformat2Token): Correct font when reading old floats.
11716
11717 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11718
11719         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11720         inserting list of floats.
11721
11722 2002-04-25  Herbert Voss  <voss@lyx.org>
11723
11724         * MenuBackend.C (expand): don't add the graphics extensions to the
11725         export menu
11726
11727 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11730         non-existing layout, do not complain if it was the default layout
11731         of the original class (bug #342)
11732
11733 2002-04-24  Juergen Vigna  <jug@sad.it>
11734
11735         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11736         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11737
11738 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11739
11740         * buffer.C (getBibkeyList): If using \bibliography, return the
11741         option field with the reference itself. Enables us to provide natbib
11742         support when using \bibliography.
11743
11744 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11745
11746         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11747
11748         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11749         natbib is provided by the LaTeX class.
11750
11751 2002-04-23  Juergen Vigna  <jug@sad.it>
11752
11753         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11754         Wakeup functions.
11755
11756         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11757
11758 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11759
11760         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11761
11762         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11763         ensuremath around textordmasculine, textordfeminine and
11764         textdegree.
11765
11766 2002-04-19  Juergen Vigna  <jug@sad.it>
11767
11768         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11769         reinitializing the buffer otherwise row-dimensions may be wrong.
11770         (update): reset also the selection cursors if they do exits otherwise
11771         their x/y positions may be wrong.
11772
11773         * text2.C (cursorDown): don't enter the inset if we came from a row
11774         above and are one row over the inset.
11775
11776         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11777         really leaving an inset.
11778
11779 2002-04-18  Juergen Vigna  <jug@sad.it>
11780
11781         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11782         of the selected paragraph does not have the selected layout also if
11783         the last one had!
11784
11785         * text2.C (setLayout): fixed bug which did not change last selected
11786         paragraph.
11787
11788         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11789         changed the read and substituted \\end_float with \\end_inset!
11790
11791         * BufferView_pimpl.C (cursorPrevious):
11792         (cursorNext): fixed to make it work with rows heigher than the work
11793         area without moving the cursor only the draw of the row.
11794         (workAreaMotionNotify): fix jumping over high rows.
11795
11796 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11799         Ressler.
11800
11801 2002-04-16  Juergen Vigna  <jug@sad.it>
11802
11803         * text2.C (setCursor): set also the irow().
11804         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11805         (cursorUp):
11806         (cursorDown): support for locking an inset if the x_fix value goes
11807         inside it. That way I can transverse insets too with cursor up/down.
11808
11809         * lyxrow.h: added irow helper function same as other (i) functions.
11810
11811         * BufferView_pimpl.C (cursorPrevious):
11812         (cursorNext): fixed for insets!
11813
11814 2002-04-15  Juergen Vigna  <jug@sad.it>
11815
11816         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11817         position otherwise it is wrong in some cases.
11818
11819         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11820         inside the inset before the call.
11821
11822 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * buffer.[Ch] (getBibkeyList): make it const.
11825
11826 2002-04-12  Juergen Vigna  <jug@sad.it>
11827
11828         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11829
11830         * text2.C (getCursorX): new helper function
11831         (setCursor): compute also ix_
11832         (setCursorFromCoordinates): set also ix.
11833
11834         * lyxcursor.h: added ix_ and helper functions.
11835
11836         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11837
11838         * buffer.C (insertStringAsLines): dont break paragraph if the this
11839         paragraph is inside an inset which does not permit it!
11840
11841         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11842         also with no chars on this paragraph.
11843         (paintRowText): only paint stuff if it's inside the workarea!
11844
11845         * paragraph.C (breakParagraph): honor keepempty flag and break the
11846         paragraph always below not above.
11847
11848         * BufferView2.C (unlockInset): update the paragraph layout on inset
11849         unlock as we changed paragraph in such a case.
11850
11851         * lyxfind.C (LyXFind): clear the former selection if not found!
11852
11853         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11854         again called in insertChar().
11855
11856         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11857         an inset which uses the whole row!
11858         (rightMargin): ditto.
11859         (insertChar): force a rebreak if we inserted an inset!
11860
11861 2002-03-28  Herbert Voss  <voss@lyx.org>
11862
11863         * lyxlength.[Ch]: add inBP() to get the right PS-point
11864         units (BigPoint). With inPixels we have rounding errors
11865
11866 2002-04-11  Juergen Vigna  <jug@sad.it>
11867
11868         * text2.C (setCursorFromCoordinates): set iy to the right value.
11869         (setCursor): add check if row->previous exists!
11870
11871         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11872         an old float_type as this was the case in the old code!
11873
11874         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11875
11876         * BufferView2.C (showLockedInsetCursor): use iy
11877         (fitLockedInsetCursor): ditto
11878
11879         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11880         locked insets as there we have the right value now.
11881
11882         * lyxcursor.C: added iy_ variable and iy functions to set to the
11883         baseline of cursor-y of the locked inset.
11884
11885         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11886         (setCursor): fixed for insets which need a full row.
11887
11888         * text.C (rowLastPrintable): don't ignore the last space when before
11889         an inset which needs a full row.
11890         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11891         as last character of a row when before a inset which needs a full row.
11892
11893 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * version.C.in: update date
11896
11897         * text2.C (fullRebreak): try to always return true and see what
11898         happens...
11899
11900 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * MenuBackend.C (expand): use Floating::listName
11903
11904         * FloatList.C (FloatList): add listName argument to the built-in
11905         floats
11906
11907         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11908         text associated with the float.
11909
11910 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11913
11914 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * ShareContainer.h: add a couple of missing typenames.
11917
11918 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * lyxrc.C (getDescription): use _() correctly rather than N_().
11921
11922 2002-03-28  Herbert Voss  <voss@lyx.org>
11923
11924         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11925         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11926
11927 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11930         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11931
11932 2002-03-29  Juergen Vigna  <jug@sad.it>
11933
11934         * lyxfunc.C (dispatch): add a missing fitCursor call.
11935
11936         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11937         it was scrolled by a cursor move, so return the bool status.
11938
11939         * BufferView.C (fitCursor): return the bool flag also to the outside
11940         world as this is needed.
11941
11942         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11943
11944         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11945         call the edit() as it is not needed (and wrong) IMO.
11946         (workAreaButtonPress): set the screen_first variable before evt.
11947         unlock the inset as this may change screen_first and then we have
11948         a wrong y position for the click!
11949
11950 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11951
11952         * MenuBackend.C (expand): another translation that I missed
11953
11954 2002-03-28  Juergen Vigna  <jug@sad.it>
11955
11956         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11957
11958         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11959
11960 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11963
11964         * MenuBackend.C (expand): fix export/view/update when there is no
11965         document open.
11966
11967 2002-03-27  Herbert Voss  <voss@lyx.org>
11968
11969         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11970         and text%
11971
11972 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * bufferview_funcs.C (currentState): only show paragraph number
11975         for is DEVEL_VERSION is set.
11976
11977         * lyxfunc.C (dispatch): put warning in INFO channel
11978
11979         * MenuBackend.C (expand): translate the name of floats
11980
11981         * FloatList.C (FloatList): mark the float names for translation
11982
11983         * converter.C (convert): use LibScriptSearch
11984
11985 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11986
11987         * MenuBackend.C (defaults): fix default menu (we might as well get
11988         rid of it...)
11989
11990 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11991
11992         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11993         directory.
11994
11995 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * lyxvc.C: reorder includes.
11998
11999 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12002           properly
12003
12004 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * CutAndPaste.C: change layouts earlier on paste
12007           to avoid crashing when calling getFont()
12008
12009 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12012         irritating #error.
12013
12014 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * WorkArea.C: remove 'Pending' debug message.
12017
12018         * most files: ws cleanup
12019
12020         * buffer.[Ch]: ws changes
12021
12022         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12023
12024 2002-03-21  Juergen Vigna  <jug@sad.it>
12025
12026         * tabular.C (SetMultiColumn): collapse also the contents of the
12027         cells and set the last border right. Added a Buffer const * param.
12028
12029 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12032         linking or not.
12033
12034 2002-03-19  Juergen Vigna  <jug@sad.it>
12035
12036         * text2.C (clearSelection): reset also xsel_cache.
12037
12038         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12039         where it needs to be called (John tells us to do so too :)
12040         (selectionLost): reset sel_cache.
12041
12042         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12043
12044 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * text2.C (setCursorIntern): put debuging code in INSETS channel
12047
12048 2002-03-19  André Pönitz <poenitz@gmx.net>
12049
12050         * lyxfunc.C: tiny whitespace change
12051
12052 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12053
12054         * ToolbarDefaults.C (init):
12055         * LyXAction.C (init):
12056         * commandtags.h:
12057         * BufferView_pimpl.C (Dispatch):
12058         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12059
12060 2002-03-19  Allan Rae  <rae@lyx.org>
12061
12062         * exporter.C (Export): removeAutoInsets before doing anything else.
12063         While I've just introduced a dependency on BufferView this really is
12064         the best place to clean the buffer otherwise you need to cleanup in
12065         a dozen places before calling export or cleanup in a dozen functions
12066         that export calls.
12067
12068         * converter.C (runLaTeX):
12069         (scanLog): Better handling of removeAutoInsets and screen updates.
12070
12071         * lyxfunc.C (dispatch): small whitespace changes
12072
12073 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12074
12075         * WorkArea.C (C_WorkAreaEvent): return a value.
12076         (event_cb): return 1 if we handled the event, 0 otherwise.
12077
12078         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12079
12080 2002-03-18  Juergen Vigna  <jug@sad.it>
12081
12082         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12083         (GetAdditionalWidth): ditto.
12084         (RightLine): ditto.
12085         (LeftLine): ditto.
12086
12087         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12088         inset if we're there actually (probably not used right now but this
12089         is the direction to go for unifying code).
12090         (paste): disable code to clear the selection.
12091
12092         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12093         inside an InsetText and move the check further up as it is in the
12094         wrong place.
12095
12096         * text2.C (pasteSelection): set a selection over the pasted text.
12097
12098 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12099
12100         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12101         and libgraphics to build on Cygwin.
12102
12103 2002-03-15  Juergen Vigna  <jug@sad.it>
12104
12105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12106         inserting an Inset into the paragraph. I know this is not the best
12107         fix but we already use current_view in CutAndPaste so we will remove
12108         all of it's using at the same time.
12109
12110         * buffer.C (sgmlError): deactivated function till it is rewritten in
12111         the right mode, now it can create problems.
12112
12113         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12114         before accessing it.
12115
12116 2002-03-14  Juergen Vigna  <jug@sad.it>
12117
12118         * undo_funcs.C (textHandleUndo): do the right thing when updating
12119         the inset after the undo/redo.
12120
12121         * text2.C (setCursor): just some testcode for #44 not ready yet.
12122
12123         * undo_funcs.C (textHandleUndo): set the next() and previous()
12124         pointers of the paragraph to 0 before deleting otherwise we have
12125         problems with the Paragraph::[destructor].
12126
12127         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12128         on a paragraph insertion.
12129
12130 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * buffer.C (asciiParagraph): use += operator for char append to
12133         string.
12134
12135         * paragraph.C (getFontSettings): compare >= not just >
12136         (highestFontInRange): ditto
12137         (setFont): ditto
12138
12139 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * paragraph.C: change several algorithm to be more appripriate for
12142         the problem domain. This is lookip in FontList and in the InsetList.
12143
12144 2002-03-13  André Pönitz <poenitz@gmx.net>
12145
12146         * commandtags.h:
12147         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12148
12149 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * commandtags.h:
12152         * LyXAction.C:
12153         * lyxfunc.C:
12154         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12155
12156 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * Painter.C (display): anon helper function, adjust code for this
12159         change.
12160         (pixmap): remove function.
12161
12162         * Painter.h: remove private display variable.
12163
12164         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12165
12166 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12167
12168         * WorkArea.[Ch]: remove figinset_canvas cruft.
12169
12170 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * lyxtextclass.C (operator): add one item cache optimization.
12173
12174         * bufferlist.h: doxy changes
12175
12176         * bufferlist.C: ws changes
12177
12178         * DepTable.[Ch] (ext_exist): place const in the right spot.
12179
12180         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12181         call resizeInsets.
12182         (workAreaExpose): call resizeInsets when the with BufferView changes.
12183         (Dispatch): adjust for protectedBlank removal
12184         (specialChar): call updateInset if the insert went ok.
12185
12186         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12187         specialChar instead.
12188
12189         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12190
12191         * BufferView.h: doxy change
12192
12193         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12194
12195         * lyxtextclass.C (operator[]): remove non-const version
12196         (defaultLayout): remove non-const version
12197
12198 2002-03-12  Juergen Vigna  <jug@sad.it>
12199
12200         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12201         did resize the LyXText too.
12202
12203         * buffer.C (readLyXformat2): set layout information on newly allocated
12204         paragraphs.
12205
12206         * tabular.C (OldFormatRead): set layout information on the paragraph.
12207
12208 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12209
12210         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12211
12212 2002-03-11  Juergen Vigna  <jug@sad.it>
12213
12214         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12215         plainly wrong.
12216         (resizeCurrentBuffer): force also the insets to resize themselfes.
12217         (moveCursorUpdate): fixed up for InsetText.
12218
12219 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12220
12221         * commandtags.h:
12222         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12223         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12224         value of Dialogs::tooltipsEnabled().
12225         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12226
12227 2002-03-08  Juergen Vigna  <jug@sad.it>
12228
12229         * BufferView_pimpl.C (updateInset): update inset inside inset also
12230         if it isn't inside theLockingInset().
12231
12232 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * buffer.C (asciiParagraph): redo some of the word and line length
12235         handling.
12236         (getLists): look for Caption instead of caption.
12237
12238 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12239
12240         * buffer.C (Buffer): initialize niceFile to true
12241         (makeLaTeXFile):
12242         (makeLinuxDocFile):
12243         (makeDocBookFile): make sure niceFile is true on exit
12244
12245 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12246
12247         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12248
12249 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * LyXSendto.C: remove.
12252         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12253         * lyx_gui.C: remove now-redundant comment.
12254         * ColorHandler.h: remove forward declaration of class WorkArea.
12255         * lyxfunc.C: remove #include "WorkArea.h".
12256
12257 2002-03-07  Juergen Vigna  <jug@sad.it>
12258
12259         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12260         got moved away with the DEPM and also set the inset_owner always
12261         right which before could have been omitted.
12262
12263 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12266         wanted layout is not found.
12267
12268 2002-03-07  Juergen Vigna  <jug@sad.it>
12269
12270         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12271
12272 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * paragraph.C (breakParagraph): use default layout not layout of
12275         prev paragraph.
12276         (Paragraph): clear ParagraphParameters.
12277
12278 2002-03-06  Juergen Vigna  <jug@sad.it>
12279
12280         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12281         otherwise it would not be a valid lenght. Fixed a special case in
12282         the minipage compatibility read where we end the document with a
12283         minipage.
12284
12285         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12286         was set as it could be 0 for InsetTexts first entry.
12287
12288 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12289
12290         * paragraph.C (writeFile): if layout is empty write out
12291         defaultLayoutName().
12292
12293         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12294         file without named layout we set layout to defaultLayoutName().
12295
12296 2002-03-06  Juergen Vigna  <jug@sad.it>
12297
12298         * CutAndPaste.C (copySelection): set layout for new paragraph.
12299
12300         * text.C (prepareToPrint): leave ERT inset left aligned
12301         (leftMargin): don't indent paragraphs inside ERT insets
12302
12303 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * paragraph.C (breakParagraph): dont call clear do the work manually
12306
12307         * paragraph.[Ch] (clear): remove function
12308
12309 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * paragraph.C (Paragraph): dont call clear, the work has already
12312         been done.
12313
12314         * lyxtextclass.C (operator): assert if n is empty
12315
12316         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12317         work manually instead.
12318
12319 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * BufferView_pimpl.C: protect selectionLost against text == 0
12322
12323 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * text.C (breakParagraph): fix a setting layout to '0' problem.
12326
12327 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12328
12329         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12330         final location of file, for the included files, and graphics.
12331
12332 2002-03-05  Juergen Vigna  <jug@sad.it>
12333
12334         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12335
12336 2002-03-04  Juergen Vigna  <jug@sad.it>
12337
12338         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12339
12340         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12341         last column of multicolumn cells.
12342         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12343
12344 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12345
12346         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12347         file if it doesn't go to a temporary file.
12348
12349         * buffer.C (sgmlOpenTag):
12350         (sgmlCloseTag):  remove extra newline insertion.
12351
12352 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * text.C (getRowNearY): comment out debug msg
12355
12356 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * text2.C: first -> first_y
12359
12360         * text.C (getRowNearY): add some attemts at a possible
12361         optimization, not working.
12362
12363         * tabular.[Ch]: add BufferParams to several function so that newly
12364         created paragraph can be initialized to he default layotu for the
12365         buffers textclass.
12366
12367         * tabular-old.C (ReadOld): add buf->params to call of Init
12368
12369         * screen.C: rename text->first to text->first_y
12370
12371         * paragraph.C (breakParagraph): always set layout in the broken
12372         paragraph
12373
12374         * lyxtextclass.C (Read): remove lowercase
12375         (hasLayout): ditto
12376         (operator): ditto
12377         (delete_layout): ditto
12378
12379         * lyxtext.h: rename first -> first_y
12380
12381         * lyxlayout.C (Read): remove lowercase
12382         (name): ditto
12383         (setName): ditto
12384         (obsoleted_by): ditto
12385
12386         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12387
12388         * buffer.C (insertErtContents): add params are to InsetERT
12389         (parseSingleLyXformat2Token): add code to check if a paragraphs
12390         layout really exist.
12391         (parseSingleLyXformat2Token): add params to several inset
12392         constructors
12393         (asciiParagraph): remove lowercase, do the layout comparisons with
12394         no_case
12395
12396         * BufferView_pimpl.C (cursorNext): first -> first_y
12397         (resizeCurrentBuffer): first -> first_y
12398         (updateScrollbar): first -> first_y
12399         (scrollCB): first -> first_y
12400         (workAreaMotionNotify): first -> first_y
12401         (workAreaButtonPress): first -> first_y
12402         (checkInsetHit): first -> first_y
12403         (cursorPrevious): first -> first_y
12404         (cursorNext): first -> first_y
12405         (Dispatch): add buffer_->params to severl inset contructors
12406
12407 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * lyxlayout.C (Read): remove some debug info that I forgot.
12410
12411         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12412         clean up the code slightly.
12413         (makeLinuxDocFile): ditto
12414         (makeDocBookFile): ditto
12415
12416         * text2.C: layout as string
12417
12418         * text.C: layout as string
12419
12420         * paragraph_pimpl.C: layout as string
12421
12422         * paragraph.[Ch]: layout as string
12423
12424         * lyxtextclasslist.[Ch]: layout as string
12425
12426         * lyxtextclass.[Ch]: layout as string
12427
12428         * lyxtext.h: layout as string
12429
12430         * lyxlayout.[Ch]: layout as string
12431
12432         * lyx_cb.C: layout as string
12433
12434         * bufferview_funcs.C: layout as string
12435
12436         * bufferparams.C: layout as string
12437
12438         * buffer.C: layout as string
12439
12440         * LyXView.[Ch]: layout as string
12441
12442         * LaTeXFeatures.[Ch]: layout as string
12443
12444         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12445
12446         * BufferView_pimpl.C: change current_layout to string, remove
12447         lyx::layout_type.
12448         (Dispatch):
12449         (smartQuote):
12450         (insertInset):
12451         (workAreaButtonRelease): layout as string
12452
12453         * BufferView2.C (unlockInset): adjust
12454
12455         * vspace.C (asLatexCommand): use an explict temp variable.
12456
12457 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * Makefile.am: use FRONTEND_*
12460
12461 2002-03-01  Juergen Vigna  <jug@sad.it>
12462
12463         * tabular.C (SetWidthOfMulticolCell): changed to something better
12464         I hope but still work in progress.
12465         (recalculateMulticolumnsOfColumn): renamed function from
12466         recalculateMulticolCells as it is more appropriate now.
12467         (SetWidthOfCell): calculate multicols better.
12468
12469 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12470
12471         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12472
12473         * lyxfunc.C (processKeySym): print sequence also if it is
12474         `deleted' (complete)
12475
12476         * kbsequence.C (print): print sequence even if it is deleted
12477         (complete would be a better word, actually).
12478
12479         * lyxfunc.C (dispatch): print complete options after a prefix key
12480
12481         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12482
12483 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12484
12485         * text2.C (setCharFont): eliminate setCharFont code duplication.
12486
12487 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12490         LFUN_TABULAR_FEATURE (bug #177)
12491
12492 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12493
12494         * Makefile.am: remove figure.h
12495
12496 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12497
12498         * Bufferview_pimpl.C:
12499         * CutAndPasteC:
12500         * LaTeX.C:
12501         * LyXSendto.C:
12502         * buffer.C:
12503         * bufferlist.C:
12504         * converter.C:
12505         * language.C:
12506         * lyxfunc.C:
12507         * lyxvc.C:
12508         * paragraph.C:
12509         * text.C:
12510         * text2.C: remove #include "lyx_gui_misc.h".
12511
12512         * LaTeX.C: added #include <cstdio>
12513
12514 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12517         that the paragraph following this one can have.
12518
12519         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12520
12521         * vspace.C (asLatexCommand): fix bogus gcc warning
12522
12523         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12524
12525 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12526
12527         * text2.C (setLayout): get rid of redundant code
12528
12529 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12530
12531         * text2.C (incDepth): make sure depth cannot be increased beyond
12532         reasonable values.
12533
12534 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12537         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12538
12539         * PainterBase.h (image):
12540         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12541         a LyXImage const *.
12542
12543 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * BufferView.C:
12546         * BufferView.h:
12547         * BufferView_pimpl.C:
12548         * BufferView_pimpl.h:
12549         * LaTeXFeatures.C:
12550         * LyXAction.C:
12551         * LyXView.C:
12552         * Makefile.am:
12553         * UpdateList.h:
12554         * UpdateList.C:
12555         * buffer.C:
12556         * figure.h:
12557         * figureForm.C:
12558         * figureForm.h:
12559         * figure_form.C:
12560         * figure_form.h:
12561         * lyx_cb.C:
12562         * lyx_gui.C:
12563         * lyx_gui_misc.C:
12564         * lyxfunc.C:
12565         * sp_base.h:
12566         * sp_ispell.h:
12567         * sp_pspell.h:
12568         * sp_spell.C: remove fig inset, and the crap house of
12569           cards that follows it
12570
12571 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * Makefile.am:
12574         * lyxserver.C:
12575         * os2_defines.h:
12576         * os2_errortable.h:
12577         * nt_defines.h: move .h into support/
12578
12579         * vms_defines.h: remove
12580
12581         * WorkArea.C: add space in debug output
12582
12583         * text2.C:
12584         * paragraph.C:
12585         * buffer.C: add WITH_WARNINGS
12586
12587         * vc-backend.h:
12588         * vc-backend.C:
12589         * bufferlist.C: s/retrive/retrieve/, add docs
12590
12591         * vspace.h:
12592         * vspace.C:
12593         * kbmap.h:
12594         * lyxlength.h:
12595         * lyxgluelength.h:
12596         * length_common.h:
12597         * chset.h:
12598         * chset.C: add docs
12599
12600         * lyxgui.C: add ID to X error handler
12601
12602         * lyxtestclass.c: fix typo
12603
12604 2002-02-26  Juergen Vigna  <jug@sad.it>
12605
12606         * tabular_funcs.C (write_attribute): changed so that some default
12607         attributes are not written at all.
12608         (getTokenValue): set default values before trying to read the
12609         value so we have the return value always set as default if we don't
12610         find the token we search for.
12611
12612         * tabular.C (Write): write bools as bools not as strings!
12613
12614 2002-02-22  Juergen Vigna  <jug@sad.it>
12615
12616         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12617         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12618
12619         * text.C (leftMargin): don't add an indent for paragraphs inside
12620         tabular cells (fix #208).
12621
12622 2002-02-21  José Matos  <jamatos@fep.up.pt>
12623
12624         * tabular.C (docBook): fixed support for long tables.
12625
12626 2002-02-20  Juergen Vigna  <jug@sad.it>
12627
12628         * text2.C (getFont): get the drawing font of the Inset if this
12629         paragraph is inside an inset (only important for InsetERT for now).
12630
12631         * buffer.C (insertErtContents): use new lanugage params in ERT
12632         constructor.
12633
12634         * CutAndPaste.C: commenting out seemingly uneeded code.
12635
12636 2002-02-19  Allan Rae  <rae@lyx.org>
12637
12638         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12639         Iterators might be simple to use but they also get invalidated.
12640         (removeAutoInsets): renamed saved cursor tracking variables and added
12641         some comments to clarify what everything does.
12642
12643 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * Chktex.C:
12646         * LaTeX.C:
12647         * LyXSendto.C:
12648         * converter.C:
12649         * lyx_cb.C:
12650         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12651         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12652
12653         * lyxfunc.C:
12654         * vc-backend.h: remove #include "support/syscall.h"
12655
12656         * LaTeX.C:
12657         * LyXSendto.C:
12658         * converter.C: rearrange #includes in Lars' approved fashion.
12659
12660         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12661         forward declare class Timeout in the header file.
12662
12663         * XFormsView.C: changes due to the above.
12664
12665         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12666         similar to LyXView.
12667
12668         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12669         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12670
12671 2002-02-18  José Matos  <jamatos@fep.up.pt>
12672
12673         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12674         insets contents.
12675
12676 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12677
12678         * a lot of small ws changes
12679         * add a lot of using std::XXX
12680         * use std construcs some places where approp.
12681         * use some exisint stuff from lyxfunctional where approp.
12682         * Make file changes to use partial linking (lets test this now...)
12683
12684 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12685
12686         * Chktex.C:
12687         * buffer.C:
12688         remove #include "support/syscontr.h" as it's redundant. Always has been.
12689
12690         * Chktex.C:
12691         * LaTeX.C:
12692         * LyXSendto.C:
12693         * converter.C:
12694         * lyx_cb.C:
12695         * vc-backend.C:
12696         change Systemcalls::System to Systemcalls::Wait and
12697         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12698         No change of functionality, just reflects the stripped down Systemcalls
12699         class.
12700
12701 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12702
12703         * debug.[Ch]: add a GRAPHICS type to the enum.
12704
12705 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12708
12709         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12710         there is an inset.
12711
12712 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12715         match the changes below.
12716
12717         * text2.C (toggleInset): if there is not editable inset at cursor
12718         position, try to see if cursor is _inside_ a collapsable inset
12719         and close it.
12720
12721 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12724         document menu has a nice checkbox
12725
12726 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * lyxlength.C (asLatexString): change PW to output as percent of
12729         \textwidth.
12730
12731         * lengthcommon.C: change '%' to 't%'
12732
12733         * lyxfunc.C (dispatch): a few comments from Martin
12734
12735 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * WorkArea.h:
12738         * WorkArea.C:
12739         * BufferView_pimpl.h:
12740         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12741           the X selection.
12742
12743 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12744
12745         * vspace.C (inPixels): fix compiler warning
12746
12747 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12748
12749         * lyxfunc.C (getStatus): fix status message for disabled commands.
12750
12751 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * BufferView_pimpl.C: fix crash on close buffer
12754         during selection (#227)
12755
12756 2002-01-27  Herbert Voss  <voss@lyx.org>
12757
12758         * buffer.C: link old Figure to new graphic inset
12759
12760 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * FontLoader.C (getFontinfo): Change the latex font names in order
12763         to match the names of type1inst.
12764
12765 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12766
12767         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12768
12769         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12770         (extchanged): ditto
12771         (ext_exist): ditto
12772         (remove_files_with_extension): ditto
12773         (remove_file): ditto
12774         (write): ditto
12775
12776         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12777         document is smaller than the work area height. Do not initialize
12778         static variables to 0.
12779
12780 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12783
12784         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12785         LFUN_LAYOUT_PARAGRAPHS.
12786
12787         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12788         tabular. It is possible to provide a possible cell, which will
12789         typically be the actcell from the corresponding insettabular
12790
12791         * lyxfunc.C (getStatus): small cleanup; disable
12792         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12793         true
12794
12795 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12798
12799         * paragraph.C (startTeXParParams):
12800         (endTeXParParams): new methods. The LaTeX code to
12801         start/end paragraph formatting
12802         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12803         empty (fixes bug #200)
12804
12805         * vspace.C (inPixels): adapt to the change below
12806         (inPixels): [later] more cleanups (remove unused variables)
12807
12808         * lyxlength.C (inPixels): change to use a width and a height as
12809         parameter.
12810
12811 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12812
12813         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12814         Replaced with \paperwidth
12815
12816         * DepTable.C (insert): add std:: qualifier
12817
12818 2002-01-18  Allan Rae  <rae@lyx.org>
12819
12820         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12821         updated also?
12822
12823         * text.C (drawInset): Turned out I didn't know enough about how
12824         rebreaking worked.  This fixes most of the redraw problems.  I see
12825         an occasional cursor trail when a line is broken now and the cursor
12826         placement can seem out by a few pixels also after a rebreak.
12827
12828 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12829
12830         * buffer.C (parseSingleLyXformat2Token): update because minipage
12831         width is now a LyXLength
12832
12833         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12834
12835         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12836         math insets
12837
12838 2002-01-17  Juergen Vigna  <jug@sad.it>
12839
12840         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12841
12842         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12843         is set correctly and the inset is updated correctly.
12844
12845 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12846
12847         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12848         the beginning of the loop.
12849
12850 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12851
12852         * lyxrc.C: improve help for use_scalable_fonts
12853
12854 2002-01-17  Allan Rae  <rae@lyx.org>
12855
12856         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12857
12858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12861         make sure to set their inset_owner to the right value (bug #171)
12862
12863 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12864
12865         * DepTable.h
12866         * DepTable.C: Implement mtime checking to reduce time spent doing
12867         CRCs.
12868
12869 2002-01-16  Juergen Vigna  <jug@sad.it>
12870
12871         * tabular.C (GetAdditionalHeight): one of error fixed.
12872
12873         * lyxrc.C (output): small fix in writing use_pspell.
12874
12875 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12876
12877         * sp_base.h: #include LString.h
12878
12879 2002-01-16  Allan Rae  <rae@lyx.org>
12880
12881         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12882         Can someone check this please?
12883
12884         * text.C (drawInset): It was possible that p.row would be removed by
12885         breakAgainOneRow upsetting a few other settings.  There may be another
12886         small tweak possible by setting need_break_row = 0 when p.row has been
12887         removed but I don't know enough about the logic here.
12888
12889 2002-01-15  Allan Rae  <rae@lyx.org>
12890
12891         * text.C (insertChar): removed conditional truism.
12892
12893         * BufferView2.C (removeAutoInsets): More tweaks.
12894         cur_par_prev could be a stray pointer.  Check for trailing empty line
12895         in case last line was cur_par and only had an error inset on it.
12896
12897 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12900         absolute
12901
12902         * vc-backend.C (most methods):
12903         * exporter.C (Export):
12904         * converter.C (convert):
12905         (runLaTeX):
12906         * LyXSendto.C (SendtoApplyCB):
12907         * lyxfunc.C (dispatch):
12908         (menuNew):
12909         (open):
12910         (doImport):
12911         * lyx_cb.C (AutoSave):
12912         (InsertAsciiFile):
12913         * BufferView_pimpl.C (MenuInsertLyXFile):
12914         * buffer.C (runChktex): use Buffer::filePath().
12915
12916         * buffer.h: rename filename to filename_; rename filepath to
12917         filepath_ and make it private
12918         (filePath): new method
12919
12920         * buffer.C (writeFile): use fileName()
12921         (getLatexName):
12922
12923         * lyx_main.C (init): fix starting  of LyX when the binary is a
12924         link from so,ewhere else.
12925
12926         * minibuffer.C: include <cctype> for isprint
12927
12928 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12929
12930         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12931         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12932         name clash with InsetCollapsable's width function.
12933
12934 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * lastfiles.C: include <iterator>
12937
12938 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12939
12940         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12941         std::count.
12942
12943         * buffer.C (makeLaTeXFile): ditto.
12944         Also make loop operation more transparent.
12945
12946 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * ToolbarDefaults.C: remove trailing comma closing namespace.
12949
12950         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12951
12952         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12953         as in WorkArea.
12954
12955         * trans.C (Load): comment out unused variable, allowed.
12956
12957 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12958
12959         * minibuffer.[Ch] (append_char): new method to recieve input from the
12960         drop-down completion browser. If a key was pressed, then recieve this
12961         char and append it to the existing string.
12962         (peek_event): modify the positioning data passed to the completion
12963         browser so that it can be placed above the minibuffer rather than below.
12964 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * LyXAction.C (init): alloe error-next for readonly documents.
12967
12968         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12969         count.
12970
12971 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * bufferlist.C (readFile): create the buffer _after_ checking that
12974         the file exists.
12975
12976         * lyxfunc.C (verboseDispatch): fix handling of arguments
12977
12978         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12979
12980         * lyxrc.C: use string::erase() instead of initializing to "".
12981
12982
12983 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * BufferView_pimpl.h:
12986         * BufferView_pimpl.C:
12987         * WorkArea.h:
12988         * WorkArea.C:
12989         * text2.C: tell X when we have made a selection for copying
12990
12991 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12992
12993         * BufferView_pimpl.C (MenuInsertLyXFile):
12994         * lyxfunc.C (menuNew):
12995         (open):
12996         (doImport): add shortcuts to directory buttons
12997
12998         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12999         open a float)
13000
13001         * lyxfunc.C (setStatusMessage):
13002         (getStatusMessage): new methods
13003         (getStatus):use setStatusMessage instead of setErrorMessage
13004         (dispatch): when function is disabled, set error message here
13005         [instead of in getStatus previously]
13006
13007         * BufferView_pimpl.C (workAreaButtonRelease): update
13008         toolbar/menubar here too.
13009
13010 2002-01-13  Allan Rae  <rae@lyx.org>
13011
13012         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13013         Now seems indestructible.  Remaining task is to audit all other
13014         code affected by deleteEmptyParagraphMechanism.  One small quirk
13015         left is that an empty document with an error in the preamble can
13016         be made to report an error but no error box appears.  I don't know
13017         where it goes.
13018         (removeAutoInsets): Improved comments.
13019
13020 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * Thesaurus.h:
13023         * Thesaurus.C: update for Aiksaurus 0.14
13024
13025 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * text2.C (firstParagraph): removed member function, all uses
13028         replaces with ownerParagraph
13029         (redoParagraphs): here
13030         (updateInset): here
13031         (toggleAppendix): here
13032         * BufferView2.C (insertErrors): here
13033         (setCursorFromRow): here
13034
13035 2002-01-13  Allan Rae  <rae@lyx.org>
13036
13037         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13038         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13039         There is still a way to segfault this although you may have to do this
13040         multiple times: Have an InsetERT with an unknown command in it.
13041         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13042         <down-arrow>, <Enter> again, View->DVI, BANG!
13043
13044         * text2.C (setCursor):
13045         (deleteEmptyParagraphMechanism):
13046         * lyxtext.h (setCursor):
13047         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13048         Making use of the return value may help fix other bugs.
13049
13050 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13051
13052         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13053
13054         * LyXView.C (updateMenubar): call MenuBar::update here
13055         (updateToolbar): but not here
13056         (showState): do not update toolbar/menubar
13057
13058         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13059         should need to care about that.
13060
13061         * lyxfunc.C (verboseDispatch): simplify a bit
13062         (getStatus): have a version which takes a pseudoaction, and
13063         another which requires a (kb_action,string).
13064
13065         * LyXAction.C (retrieveActionArg): make it work also when action
13066         is not a pseudo-action.
13067         (getActionName): simplify a bit
13068         (helpText):
13069
13070 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13071
13072         * lyxfunc.C (verboseDispatch): new families of methods with
13073         several ways to specify a command and a bool to indicate whether
13074         the command name and shortcut should be displayed in minibuffer
13075         (eventually, we could extend that to a finer bitmask like
13076         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13077         (dispatch): the pristine dispatch command which just, well,
13078         dispatchs! Note it still sets its result to minibuffer; I'm not
13079         sure we want that.
13080
13081         * lyxfunc.h: remove setHintMessage
13082
13083         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13084
13085 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * BufferView_pimpl.C (specialChar): delete new inset if we have
13088         not been able to insert it.
13089
13090         * kbmap.C: revert to using int instead of kb_action, since all we
13091         are dealing with is pseudo-actions.
13092
13093         * LyXAction.C (searchActionArg): change to return int instead of
13094         kb_action, since the result is a pseudoaction.
13095
13096 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13097
13098         * buffer.C (insertErtContents): Fix (partially) the font bug.
13099
13100 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13101
13102         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13103         as the other one is broken on my machine!
13104
13105 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13106
13107         * commandtags.h:
13108         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13109
13110 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13111
13112         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13113         reflect their actual use. Provide compatibility code for older lyxrc
13114         files.
13115
13116         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13117         FL_NORMAL_STYLE.
13118         change names of popup font variables in line with the changes to lyxrc.C
13119
13120 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * buffer.C (asciiParagraph): avoid outputing a word twice after
13123         an inset.
13124
13125         * lyxrc.C (getDescription): document that document_path and
13126         template_path can be empty.
13127
13128 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13129
13130         * LaTeXFeatures.C (getMacros):
13131         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13132
13133         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13134
13135         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13136         getPackages.
13137         (getPackages): rename feature "floats" to "float". Use an array to
13138         iterate over 'simple' features (i.e. just a \usepackage). Add
13139         handling of "amsmath" (renamed from "amsstyle").
13140
13141 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13142
13143         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13144         features list.
13145
13146 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13149         FuncStaus::FuncStatus & FuncStaus::some_method().
13150
13151 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13152
13153         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13154         of the func_satus stuff. Edited and massaged in various ways by
13155         JMarc.
13156
13157         * lyxfunc.C (getStatus): use FuncStatus
13158
13159 2002-01-08  Juergen Vigna  <jug@sad.it>
13160
13161         * text.C (nextBreakPoint): use function Inset::isChar().
13162
13163         * paragraph.C (TeXOnePar): use function
13164         Inset::forceDefaultParagraphs.
13165
13166         * buffer.C (latexParagraphs): use function
13167         Inset::forceDefaultParagraphs.
13168
13169 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * lyx_gui.C (init): set the style of the menu popups to
13172         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13173
13174 2002-01-07  Juergen Vigna  <jug@sad.it>
13175
13176         * text.C (setHeightOfRow): small fix
13177         (prepareToPrint): don't look at alignment if we don't have the place
13178         for doing it.
13179
13180 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13181
13182         * box.C: New file. Move the Box methods and functions out of box.h,
13183         following Lars' suggestion.
13184
13185 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * box.h: #include "support/LOstream.h", needed for inlined function.
13188
13189         * lyxtextclass.C:
13190         * lyxtextclasslist.C: added some using std declarations.
13191
13192 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * box.h: make signed dimensions to allow insets wider than
13195           the screen (bug #162)
13196
13197         * BufferView_pimpl.C: add some insetHit debug
13198
13199 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * vc-backend.C: add FIXME
13202
13203 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13204
13205         * lyxfunc.C (getStatus): enable code for showing math font status
13206         in toolbar/menu.
13207
13208 2002-01-07  Juergen Vigna  <jug@sad.it>
13209
13210         * text.C (nextBreakPoint): removed debug output not needed anymore.
13211
13212 2002-01-06  Juergen Vigna  <jug@sad.it>
13213
13214         * text.C (nextBreakPoint): fixed up this function we had this bug
13215         since ever but now hopefully we break row better.
13216         (insertChar): we have to check if an inset is the next char as it
13217         could now happen that a large inset is causing a break.
13218
13219 2002-01-05  Juergen Vigna  <jug@sad.it>
13220
13221         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13222         if it doesn't like to be drawed.
13223
13224 2002-01-04  Juergen Vigna  <jug@sad.it>
13225
13226         * BufferView2.C (lockInset): forgot to set a cursor.
13227
13228         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13229
13230 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13231
13232         * FormMathsPanel.C:
13233         * FormMathsPanel.h
13234         * MathsSymbols.C:
13235         * form_maths_panel.C:
13236         * form_maths_panel.h:
13237         * form_maths_panel.fd: implemented sub- and super- buttons in math
13238         panel.
13239
13240         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13241         (or ^ space) to be used as in TeX (req'd by André).
13242
13243         * lyxfunc.C: Allow ^ and _ again to be used both as
13244         super/subscript (mathed) and as themselves (in text).
13245
13246 2002-01-03  Allan Rae  <rae@lyx.org>
13247
13248         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13249         "LyX" or the filename of the current buffer if it has one.  This is a
13250         modified form of John Levon's patch.
13251
13252         * XFormsView.C (setWindowTitle): also set icon title.
13253
13254         * LyXView.h (setWindowTitle): signature changed.
13255         * XFormsView.h (setWindowTitle): ditto.
13256
13257 2002-01-02  Juergen Vigna  <jug@sad.it>
13258
13259         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13260
13261 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13262
13263         * screen.C (topCursorVisible): introduce a temp var for
13264         text->cursor.row(), handle the case where this row is null. (kindo
13265         hachish)
13266
13267         * text2.C (setCursor): add a couple of asserts.
13268
13269         * paragraph.h (inset_iterator): add -> operator
13270
13271         * paragraph.[Ch] (autoDeleteInsets): remove member function
13272
13273         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13274         cursor pos correctly and handle inset deletion by itself.
13275         (insertErrors): move iterator declaration out of for expression
13276
13277         * lyxtextclass.C: add <algorithm>
13278
13279         * Makefile.am: added the new files to sources, removed layout.C
13280
13281         * layout.C: removed file
13282
13283         * layout.h: remove LYX_DUMMY_LAYOUT
13284
13285         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13286         layout.
13287
13288         * lyxlayout.[Ch]:
13289         * lyxtextclass.[Ch]:
13290         * lyxtextclasslist.[Ch]: new files
13291
13292         * include order changes to a lot of files, also changes because of
13293         the six new files.
13294
13295 2001-12-27  Juergen Vigna  <jug@sad.it>
13296
13297         * buffer.C (asciiParagraph): more fixes.
13298
13299         * tabular.C (ascii): make ascii export support export of only the
13300         data separated by a column-delimiter.
13301         (ascii): better support for ascii export.
13302
13303         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13304
13305 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13306
13307         * tabular_funcs.C: use a "using std::getline" instead of the
13308         previous fix from Angus (necessary for cxx + lyxstring)
13309
13310 2001-12-24  Juergen Vigna  <jug@sad.it>
13311
13312         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13313
13314         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13315         problems. First check a minipage also if we have some ert-contents
13316         (not only on par->size(), second set the right depth of the paragraph
13317         on the relink to the root-paragraph-list!
13318
13319         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13320         which then did not anymore update the main paragraphs on undo/redo!
13321
13322 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13325         code. Support all font-changing funcs (even those which are not in
13326         menu currently). Support for reporting font settings in
13327         mathed (disabled until Andre provides a function on mathed's side).
13328
13329         * func_status.h (toggle): small helper function to set toggle
13330         state on a flag.
13331
13332 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * tabular_funcs.C: getline -> std::getline
13335
13336 2001-12-21  Juergen Vigna  <jug@sad.it>
13337
13338         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13339         accessed and could be 0 (I couldn't generate this but it seems
13340         Michael could!).
13341
13342 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13345         * tabular_funcs.h: here and include iosfwd
13346
13347 2001-12-20  Juergen Vigna  <jug@sad.it>
13348
13349         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13350         inside inset but undo_par was.
13351
13352 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13353
13354         * Thesaurus.C: always include <config.h> in sources.
13355
13356         * Painter.h:
13357         * lyxlookup.h:
13358         * box.h: do not include <config.h> in header files
13359
13360         * text.C (paintLastRow): remove unused variable
13361
13362         * text.C (transformChar):
13363         (insertChar):
13364         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13365
13366         * Painter.C (text):
13367         * font.C (width): rewrite to use uppercase() instead of
13368         islower/toupper.
13369
13370         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13371
13372 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13373
13374         * lyxfind.C: clean up of find failure position change
13375
13376 2001-12-20  Juergen Vigna  <jug@sad.it>
13377
13378         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13379
13380         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13381         (TeXRow): added to LaTeX a single tabular row.
13382         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13383         (Latex): simplified and finally good LT-h/f support.
13384         (various_functions): just small adaptions for LT-h/f support.
13385
13386         * tabular_funcs.[hC]: added and moved here all not classfunctions
13387         of LyXTabular.
13388
13389 2001-12-19  Juergen Vigna  <jug@sad.it>
13390
13391         * tabular.[Ch]: better support for longtabular options (not finished
13392         yet!)
13393
13394 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13395
13396         * text.C (paintLastRow): use the label font instead of the font of
13397         the last character to compute the size of *_BOX. This makes more
13398         sense and avoids a crash with empty paragraphs.
13399         Use Painter::rectangle to draw EMPTY_BOX.
13400
13401 2001-12-19  Juergen Vigna  <jug@sad.it>
13402
13403         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13404         the paragraphs if the replaced paragraph is not the first one!
13405         Tried to delete not used paragraphs but does not work yet so for
13406         now it's inside #ifdef's and by default off!
13407
13408 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * MenuBackend.C: include "lyx_main.h" instead of declaring
13411         lastfiles (actually was declared as LastFiles* instead of a
13412         scoped_ptr).
13413
13414 2001-12-17  Juergen Vigna  <jug@sad.it>
13415
13416         * tabular.C (AppendColumn): applied John's fix
13417
13418 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * BufferView.h:
13421         * BufferView.C:
13422         * BufferView_pimpl.h:
13423         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13424
13425         * Makefile.am:
13426         * box.h: new start of class for above
13427
13428         * lyxfunc.C: ignore space-only minibuffer dispatches.
13429           Show the command name when it doesn't exist
13430
13431         * minibuffer.C: don't add empty lines to the history
13432
13433         * minibuffer.C: add a space on dropdown completion
13434
13435 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13436
13437         * text.C: fix line above/below drawing in insets
13438
13439 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * lyxlength.C (LyXLength): Initialize private variables.
13442
13443 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13446         when inserting error insets.
13447
13448 2001-12-13  Juergen Vigna  <jug@sad.it>
13449
13450         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13451         actually sometimes the before-paragraph.
13452         (setUndo): don't clear the redostack if we're not actually undoing!
13453
13454 2001-12-06  Juergen Vigna  <jug@sad.it>
13455
13456         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13457         and fixed redoing of main paragraph, so we can use it now ;)
13458
13459         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13460
13461 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13464         Juergen's request
13465
13466 2001-12-13  André Pönitz <poenitz@gmx.net>
13467
13468         * undostack.[Ch]:
13469         * undo_func.C: minor cleanup
13470
13471 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13472
13473         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13474         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13475         font in urw-fonts package which is marked as -urw-fontspecific and
13476         does not work (incidentally, changing the encoding in the
13477         fonts.dir of this package to -adobe-fontspecific fixes the
13478         problem).
13479
13480         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13481         is a crash when undoing first paragraph (Juergen, please take a
13482         look). THis does not mean the undo fix is wrong, just that it
13483         uncovers problems.
13484
13485         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13486         the (Paragraph*) version when needed instead of duplicating the
13487         code.
13488
13489         * text.C (workWidth): use Inset::parOwner to find out where the
13490         inset has been inserted. This is a huge performance gain for large
13491         documents with lots of insets. If Inset::parOwner is not set, fall
13492         back on the brute force method
13493
13494         * paragraph_pimpl.C (insertInset):
13495         * paragraph.C (Paragraph):
13496         (cutIntoMinibuffer): set parOwner of insets when
13497         inserting/removing them
13498
13499         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13500
13501 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13502
13503         * commandtags.h:
13504         * LyXAction.C:
13505         * lyx_main.C:
13506         * lyxfunc.C:
13507         * mathed/formulabase.C:
13508         * mathed/math_cursor.[Ch]:
13509         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13510
13511
13512 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * lyxlength.[Ch] (operator!=): new function
13515
13516 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13517
13518         * text.C (workWidth): use Inset::parOwner to find out where the
13519         inset has been inserted. This is a huge performance gain for large
13520         documents with lots of insets. If Inset::parOwner is not set, fall
13521         back on the brute force method
13522
13523         * paragraph_pimpl.C (insertInset):
13524         * paragraph.C (Paragraph):
13525         (cutIntoMinibuffer): set parOwner of insets when
13526         inserting/removing them
13527
13528         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13529
13530 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13531
13532         * tabular-old.C (getTokenValue):
13533         * tabular.C (getTokenValue):
13534         (write_attribute): new versions for LyXLength
13535         (everywhere): adjust the use of widths
13536
13537         * tabular.h: change the type of widths from string to LyXLength
13538
13539 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13540
13541         * paragraph.C: fixed missing line number count when exporting
13542         Environments to LaTeX file
13543
13544         * buffer.C: added informational message for checking line numbers.
13545
13546 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13547
13548         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13549         paragraph, do the 'double space' part, but not the 'empty
13550         paragraph' one.
13551
13552         * text.C (workWidth): small optimization
13553         (getLengthMarkerHeight): use minimal size for negative lengths.
13554
13555 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13556
13557         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13558
13559         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13560
13561 2001-12-11  André Pönitz <poenitz@gmx.net>
13562
13563         * FontLoader.C:
13564         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13565
13566 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * text2.C: keep selection on a setFont()
13569
13570 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyx_cb.C: another bv->text misuse, from insert label
13573
13574 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * kbsequence.h:
13577         * kbsequence.C: re-instate nmodifier mask
13578
13579 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * lyx_main.h: make lyxGUI private.
13582
13583 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * lyxfind.C: place the cursor correctly on failed search
13586
13587 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13588
13589         * text.C (getLengthMarkerHeight): for small heights, the arrows
13590         are not always on top/bottom of the text
13591         (drawLengthMarker): smaller arrows; take the left margin in
13592         account; draw also vfills.
13593         (paintFirstRow):
13594         (paintLastRow): remove special code for vfill and standard spaces,
13595         since everything is handled in drawLengthMarker now.
13596
13597 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13598
13599         * buffer.C (insertErtContents): try to handle font and language
13600         interaction a bit better.g
13601
13602         * ColorHandler.C (updateColor): change the hash to cover the whole
13603         LColor enum, ws cleanup
13604         (getGCLinepars): ditto
13605         (getGCLinepars): only lookup in the linecache once.
13606
13607 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13608
13609         * iterators.C (operator++): Make the iterator more robust
13610
13611         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13612         (John's patch)
13613         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13614
13615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * lyxtext.h:
13618         * text.C: better added space drawing
13619
13620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * LyXView.C:
13623         * BufferView2.C: fix layout combo update on inset unlock
13624
13625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * Makefile.am: don't compile unused files
13628
13629 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13630
13631         * lyxfunc.C:
13632         * commandtags.h:
13633         * LyXAction.C: remove old LFUN_LAYOUTNO
13634
13635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * paragraph_pimpl.h:
13638         * paragraph_pimpl.C: isTextAt() doesn't need font param
13639
13640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * lyxlex.h:
13643         * lyxlex.C: little cleanup
13644
13645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13646
13647         * BufferView_pimpl.C: fix insertAscii for insets
13648
13649 2001-12-05  Juergen Vigna  <jug@sad.it>
13650
13651         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13652         set the right font on the "multi" paragraph paste!
13653
13654 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * trans_decl.h:
13657         * trans_mgr.[Ch]:
13658         * trans.[Ch]:
13659         * lyxgluelength.C:
13660         * lyxlength.C: remove out-commented code.
13661
13662         * BufferView_pimpl:
13663         * CutAndPaste.C:
13664         * DepTable.C:
13665         * buffer.C:
13666         * chset.C:
13667         * lastfiles.C:
13668         * lyxlex.C:
13669         * lyxlex_pimpl.C:
13670         * lyxserver.C:
13671         * screen.C:
13672         * tabular-old.C:
13673         * tabular.C:
13674         * text.C:
13675         * trans_mgr.C:
13676         * vc-backend.C: change "while(" to "while ("
13677
13678         * lyxlength.[Ch]: add zero function to check if length is zero or
13679         not
13680         * lyxgluelength.C: use it
13681
13682 2001-12-05  Allan Rae  <rae@lyx.org>
13683
13684         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13685         Works for 2.95.3, from what I understand of Garst's reports this should
13686         work for other g++ versions.  We're screwed if the abs(int) definition
13687         changed between bugfix releases of gcc.
13688
13689 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * text.C: fix chapter label offset !
13692
13693 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * lyxtext.h:
13696         * text.C: fix hfill at end of line, clean up
13697
13698 2001-12-04  Juergen Vigna  <jug@sad.it>
13699
13700         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13701         that we force an update of the inset and it's owners if neccessary.
13702
13703 2001-12-03  Juergen Vigna  <jug@sad.it>
13704
13705         * text.C (rowLast): simplified code
13706
13707 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * lyxfunc.C: fix show options on timeout
13710
13711 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * screen.C (topCursorVisible): scroll half a page when the cursor
13714         reached top of bottom of screen
13715
13716 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * minibuffer.C: deactivate on loss of focus
13719
13720 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * vspace.[Ch] (operator!=): add operator.
13723
13724 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13725
13726         * BufferView_pimpl.C: refuse to open an inset when
13727         there's a selection.
13728
13729 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13730
13731         * BufferView_pimpl.C: allow to click on RHS of full row insets
13732
13733 2001-11-30  Juergen Vigna  <jug@sad.it>
13734
13735         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13736         insets for undo reasons.
13737
13738 2001-11-28  André Pönitz <poenitz@gmx.net>
13739
13740         * vspace.[Ch]: cosmetical changes
13741
13742 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * LyXAction.h:
13745         * LyXAction.C:
13746         * lyxfunc.h:
13747         * lyxfunc.C:
13748         * kbmap.h:
13749         * kbmap.C:
13750         * lyxrc.C:
13751         * kbsequence.h:
13752         * kbsequence.C: part re-write of old kb code
13753
13754         * Painter.C:
13755         * WorkArea.C: remove Lgb_bug_find_hack
13756
13757 2001-11-30  José Matos <jamatos@fep.up.pt>
13758
13759         * buffer.C (makeDocBookFile): add a comment to point a hack.
13760         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13761         Fixed a double write of labels.
13762
13763 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13764
13765         * LaTeX.C:
13766         * LaTeX.h Fixed bug in LaTeX class where it would not
13767         re-run latex if no depfiles were changed, but the .dvi was removed.
13768
13769 2001-11-28  André Pönitz <poenitz@gmx.net>
13770
13771         * all the files from the change on 2001/11/26:
13772         use lyx::layout_type instead of LyXTextClass::size_type
13773         use lyx::textclass_type instead of LyXTextClassList::size_type
13774
13775 2001-11-29  Juergen Vigna  <jug@sad.it>
13776
13777         * text.C: added support for paragraph::isFreeSpacing()
13778
13779         * buffer.C: same as above
13780
13781         * paragraph.h: inserted isFreeSpacing() function to enable
13782         FreeSpacing inside InsetERT.
13783
13784         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13785         of the paragraph's in the cut/copy buffer to 0!
13786
13787         * text2.C (removeRow): remove the assert as it can!
13788
13789         * lyxtext.h: added helper function firstRow returning firstrow and
13790         made firstrow private again.
13791
13792         * BufferView2.C (lockInset): don't relock if we're already locked!
13793
13794         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13795         the only paragraph.
13796         (removeRow): added Assert::(firstrow)
13797
13798         * debug.C: forgot to add INSETTEXT here.
13799
13800 2001-11-28  Juergen Vigna  <jug@sad.it>
13801
13802         * sp_spell.C (initialize): changed error text to more general
13803         spellchecker command use (not only ispell!)
13804
13805         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13806
13807         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13808
13809 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13810
13811         * vspace.C: initialise lyxgluelength on failure
13812
13813 2001-11-28  Allan Rae  <rae@lyx.org>
13814
13815         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13816         declaration & definition that looks like a function declaration.
13817
13818 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * BufferView2.C (copy):
13821         (copyEnvironment): do not clear the selection when doing a copy.
13822
13823         * text.C (paintFirstRow): compilation fix
13824
13825 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13826
13827         * tabular.C (Latex): correct line count when writing latex.
13828
13829 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * paragraph_pimpl.h:
13832         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13833           bug a bit
13834
13835 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13836
13837         * text.C:
13838         * LColor.h:
13839         * LColor.C: change vfillline->added_space
13840
13841         * text.C: add markers and text for added space
13842
13843         * vspace.C: fix comment
13844
13845 2001-11-28  André Pönitz <poenitz@gmx.net>
13846
13847         * paragraph.C: whitespace changes
13848         * all the other files from the change on 2001/11/26:
13849         change *::pos_type into lyx::pos_type
13850
13851 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13852
13853         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13854         language of the document when inserting error insets.
13855
13856 2001-11-26  André Pönitz <poenitz@gmx.net>
13857
13858         * BufferView_pimpl.[Ch]:
13859         *       CutAndPaste.C:
13860         * buffer.[Ch]:
13861         * lyxcursor.[Ch]:
13862         * lyxfind.C:
13863         * lyxfunc.C:
13864         * lyxrow.[Ch]:
13865         * paragraph.[Ch]:
13866         * paragraph_pimpl.[Ch]:
13867         * sp_spell.C:
13868         * text.C:
13869         * text2.C: reduce header dependencies, introduce type for positions
13870
13871 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * <various>: change to use Alert.h
13874
13875 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13876
13877         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13878         when encountering an unknown token.
13879         (readLyXformat2): Show an error message if there were unknown tokens.
13880
13881 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * BufferView2.C:
13884         * BufferView_pimpl.C:
13885         * buffer.C:
13886         * paragraph.h:
13887         * text.C:
13888         * text2.C: use par->isInset()
13889
13890 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * paragraph_pimpl.h:
13893         * paragraph_pimpl.C: cleanup
13894
13895 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * text2.C (removeRow):
13898         * text.C (setHeightOfRow): remove useless (and costly) call to
13899         getRow.
13900
13901 2001-11-20  Allan Rae  <rae@lyx.org>
13902
13903         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13904         Now need Inset*::checkInsertChar() to return true for appropriate
13905         cases so that the characters in the minibuffer will actually be
13906         inserted.
13907
13908 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * text.C: change the order of the includes.
13911         (workWidth): initialize it at once.
13912         (workWidth): make maxw unsigned
13913         (setHeightOfRow): remove unused variable (inset)
13914         (selectSelectedWord): remove unused variable (inset)
13915         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13916
13917 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13920         server is not running.
13921         (openConnection):
13922         (closeConnection): add debug info when server is disabled.
13923
13924         * ColorHandler.C (getGCForeground): send debug message to GUI
13925         channel.
13926
13927         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13928
13929         * kbmap.C (bind): modify because return conventions of
13930         kb_sequence::parse have changed.
13931
13932         * kbsequence.C (parse): only ignore spaces and not any stupid
13933         control character. This avoids tests like s[i] <= ' ', which are
13934         guaranteed to fail with 8bit characters and signed chars.
13935         Change return code to string::npos when there have been no error
13936         (0 was a bad idea when error is at first character)
13937
13938 2001-11-14  José Matos  <jamatos@fep.up.pt>
13939
13940         * buffer.h:
13941         * buffer.C (simpleDocBookOnePar): removed unused argument.
13942
13943 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13946         insets which are part of a word. Paragraph::isLetter takes care of
13947         that now. Use Paragraph::isInset to identify insets.
13948         (selectSelectedWord): do not test for hyphenation break.
13949
13950         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13951         that protected spaces are considered as spaces.
13952
13953         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13954         Inset::isLetter.
13955
13956 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * lyxserver.h:
13959         * lyxserver.C: fix it. and small cleanup.
13960
13961 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * BufferView_pimpl.C: use inline helpers
13964
13965         * LaTeXFeatures.h:
13966         * LaTeXFeatures.C: fix typos
13967
13968         * Spacing.h:
13969         * Spacing.C: move spacing_string into class
13970
13971         * ToolbarDefaults.C: move stuff into namespace anon
13972
13973         * layout.h: update enum
13974
13975         * lyxfunc.C: use better debug
13976
13977         * minibuffer.h: fix typo
13978
13979         * debug.h:
13980         * debug.C:
13981         * WorkArea.C: add and use Debug::WORKAREA
13982
13983         * lyxtext.h:
13984         * text.C:
13985         * text2.C: code re-organisation, inline helpers
13986
13987 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13988
13989         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13990         std::vector.empty().
13991
13992 2001-11-09  Allan Rae  <rae@lyx.org>
13993
13994         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13995         '\n's after tables.  Tabular and ERT inset work now makes this no
13996         longer necessary.
13997
13998 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * minibuffer.h:
14001         * minibuffer.C: fix crash, improve drop-down completion
14002
14003 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14004
14005         * lyxserver.h:
14006         * lyxserver.C: invalidate fd's when doing endPipe()
14007
14008 2001-11-08  José Matos  <jamatos@fep.up.pt>
14009
14010         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14011         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14012
14013         * paragraph.h:
14014         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14015
14016 2001-11-07  José Matos  <jamatos@fep.up.pt>
14017
14018         * buffer.h:
14019         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14020         const qualifier.
14021
14022         * buffer.C (sgmlOpenTag):
14023         * buffer.C (sgmlCloseTag): removed debug info.
14024
14025         * buffer.h (sgmlOpenTag):
14026         * buffer.h (sgmlCloseTag): made public.
14027
14028 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * buffer.C (saveParamsAsDefaults):
14031         * lyx_cb.C (MenuLayoutSave): remove
14032
14033         * LyXAction.C (init):
14034         * commandtags.h:
14035         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14036
14037 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * buffer.C (setPaperStuff): removed from here...
14040
14041         * bufferparams.C (setPaperStuff): ... and moved there.
14042
14043 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * minibuffer.h:
14046         * minibuffer.C:
14047         * XFormsView.C: add support for drop-down completion
14048
14049 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14052         commands.
14053
14054 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14057         disabled.
14058
14059 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * lyx_main.C: change ref to known bugs
14062
14063 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14064
14065         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14066         to work around older babel problems.
14067
14068 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14069
14070         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14071
14072 2001-10-24  Juergen Vigna  <jug@sad.it>
14073
14074         * tabular-old.C (ReadOld): below variable changes reflected.
14075
14076         * tabular.[Ch]: added ltType struct for longtable header/footer
14077         defines and changed all instances where they are used. Added
14078         future support for double top/bottom rows.
14079
14080 2001-10-24  José Matos  <jamatos@fep.up.pt>
14081
14082         * buffer.h (docbookHandleCaption):
14083         * buffer.C (docbookHandleCaption): removed unused function.
14084         (makeDocBookFile): moved docbook supported version to v4.1.
14085
14086 2001-10-24  José Matos  <jamatos@fep.up.pt>
14087
14088         * tabular.h:
14089         * tabular.C (docbookRow): new function to export docbook code of a row.
14090         (DocBook): now honors the longtable flags.
14091
14092 2001-10-23  José Matos  <jamatos@fep.up.pt>
14093
14094         * LaTeXFeatures.h:
14095         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14096         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14097
14098         * buffer.C (makeLinuxDocFile):
14099         (makeDocBookFile): reworked the preamble, more clean, and with
14100         support for lyx defined entities. Changed the document declaration
14101         to be more XML friendly.
14102
14103         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14104         if we need to output XML that should be done with a filter.
14105
14106 2001-10-22  Juergen Vigna  <jug@sad.it>
14107
14108         * sp_pspell.h (class PSpell): add alive function needed in the
14109         controller to see if the spellchecker could be started.
14110
14111 2001-10-22  Juergen Vigna  <jug@sad.it>
14112
14113         * buffer.C (insertStringAsLines): modify the font for inserting
14114         chars in certain conditions by calling checkInsertChar(font).
14115
14116 2001-10-19  Juergen Vigna  <jug@sad.it>
14117
14118         * text.C (workWidth): use getRow instead of wrong algorithm.
14119         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14120
14121 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyxserver.h:
14124         * lyxserver.C:
14125         * lyx_main.h:
14126         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14127
14128 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * text.C (workWidth): do not search for the exact row when
14131         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14132         optimization for big documents.
14133
14134 2001-10-18  Juergen Vigna  <jug@sad.it>
14135
14136         * text.C (workWidth): new function with added Inset * parameter.
14137
14138 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14139
14140         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14141
14142         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14143         change return type of getColumnNearX.
14144
14145
14146         * text.C (changeRegionCase): use uppercase/lowercase instead of
14147         toupper/tolower.
14148         (leftMargin):
14149         (rightMargin): simplify code by factoring out the uses of
14150         textclasslist.
14151         (labelFill):
14152         (numberOfHfills):
14153         (setHeightOfRow):
14154         (appendParagraph): use Paragraph::size_type
14155
14156 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * vspace.C (asLatexString): add a missing break
14159
14160 2001-10-15  Herbert Voss  <voss@perce.de>
14161
14162         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14163
14164 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14167         is not available.
14168
14169 2001-10-10  André Pönitz <poenitz@gmx.net>
14170
14171         * lyxfunc.C: removed greek_kb_flag.
14172
14173 2001-10-10  Herbert Voss  <voss@perce.de>
14174
14175         * lyx_main.C: delete global string help_lyxdir.
14176
14177 2001-10-09  Herbert Voss  <voss@perce.de>
14178
14179         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14180
14181         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14182
14183         * lyx_main.C: added global string help_lyxdir.
14184
14185         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14186
14187 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14188
14189         * lyxrc.C (set_font_norm_type): support iso8859-4
14190
14191 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14192
14193         * LaTeX.C (deplog): add another regex for MikTeX
14194
14195 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14196
14197         * lyxrc.C (set_font_norm_type): support iso8859-3
14198
14199 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14200
14201         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14202
14203         * LaTeXFeatures.C: remove special case of french and index
14204
14205         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14206         before \begin{document}). This solves several incompatibilities.
14207
14208 2001-10-03  Garst Reese  <reese@isn.net>
14209
14210         * lyx_cb.C: change CheckTex error msg.
14211
14212 2001-10-03  José Matos  <jamatos@fep.up.pt>
14213
14214         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14215
14216 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * .cvsignore: update
14219
14220         * lyx_main.C (commandLineVersionInfo): use new style version info.
14221
14222         * buffer.C (writeFile):
14223         (makeLaTeXFile):
14224         (makeLinuxDocFile):
14225         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14226
14227         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14228
14229         * version.h: update to use stuff in version.C
14230
14231         * version.C.in: new file. Contains version information determined
14232         at compile time. This is a merging of version.h and
14233         version_info.h.in.
14234
14235 2001-10-03  Juergen Vigna  <jug@sad.it>
14236
14237         * BufferView_pimpl.C (update): don't change "dirty" status in
14238         updateInset call.
14239
14240 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14241
14242         * WorkArea.C (c-tor): re-position version string slightly.
14243
14244 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14245
14246         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14247         revert to previous code.
14248
14249         WorkArea.[Ch]: (show, destroySplash): methods removed.
14250
14251         WorkArea.C: rework code so that it's an amalgam of the codes before and
14252         after the splash screen was moved to WorkArea.
14253
14254 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * lyxrc.C (read):
14257         * vspace.C (inPixels):
14258         (lyx_advance):
14259         * kbmap.C (bind):
14260         * buffer.C (insertStringAsLines):
14261         (asciiParagraph): fix types to be large enough
14262
14263         * lyxlex_pimpl.h: change member status from short to int
14264
14265         * layout.h: fix type of endlabeltype
14266
14267         * kbmap.C (bind):
14268         * kbsequence.C (parse): change return type to string::size_type
14269
14270         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14271         variable
14272
14273         * Bullet.C (bulletSize):
14274         (bulletEntry): do not use short ints as parameters
14275
14276         * BufferView2.C (insertLyXFile): change a char to an int.
14277
14278         * WorkArea.C (WorkArea): remove unneeded floats in computation
14279
14280 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14281
14282         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14283
14284         * paragraph.C (asString): Do not ignore newline/hfill chars when
14285         copying to the clipboard.
14286
14287 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14290         after a multi-line inset.
14291
14292 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * paragraph.C (validate): Set NeedLyXFootnoteCode
14295
14296 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14299         and decrease-error to decrease.
14300
14301 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14304         it more readable (should be equivalent)
14305
14306 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14307
14308         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14309
14310 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14313         of a cursor (row, etc.) after a character has been deleted
14314         (deleteEmptyParagraphMechanism): call the method above on _all_
14315         cursors held by the LyXText when a double space has been
14316         detected/deleted.
14317
14318 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14319
14320         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14321         pixmap.
14322         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14323
14324         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14325         background. Use greyOut() and the new show() methods to toggle between
14326         the foreground and background. Add code to remove the splash after
14327         its initial showing.
14328
14329         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14330         (create_forms): no longer call Dialogs::showSplash.
14331
14332 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * .cvsignore: add version_info.h
14335
14336 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * version_info.h.in: new file
14339
14340         * Makefile.am: add version_info.h.in
14341
14342         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14343         version_info.h instead of VERSION_INFO
14344
14345 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14346
14347         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14348         The ERT inset now returns string().
14349
14350 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14351
14352         * lyxtext.h, text.C (selectNextWord): renamed as
14353         selectNextWordToSpellcheck.
14354
14355         * text.C (selectNextWordToSpellcheck): Modified to not select
14356         words inside an ERT inset.
14357
14358 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14359
14360         * lyx_cb.C (MenuLayoutSave): change a bit the question
14361
14362         * sp_base.h: include <sys/types.h>
14363
14364 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14365
14366         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14367
14368 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14369
14370         * several files: fix typos in user-visible strings
14371
14372 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14373
14374         * text2.C (pasteSelection): do not set the selection, since it
14375         will be cleared later. Actually, the intent was to fix the way the
14376         selection was set, but I figured rmoving the code was just as good.
14377
14378 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14379
14380         * FontLoader.C (available): Check if font is available without
14381         loading the font.
14382
14383 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14384
14385         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14386
14387 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14388
14389         * lyxrc.[Ch]: added display_graphics variable and associated code.
14390
14391 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * bufferparams.C (hasClassDefaults): new method. Returns true if
14394         the buffer parameters correspond to known class defaults
14395
14396 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14397
14398         * XFormsView.C (show): set minimum size to the main window.
14399
14400 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14401
14402         * text2.C (copySelection):
14403         (cutSelection):
14404         * lyxfind.C (LyXReplace):
14405         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14406         LyXText::selectionAsString.
14407
14408         * paragraph.C (asString): add "label" argument to the second form
14409
14410         * text2.C (selectionAsString): add "label" argument and pass it to
14411         Paragraph::asString.
14412
14413 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * lyx_main.C (commandLineHelp): remove version information
14416
14417 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14418
14419         * lyx_main.C: add -version commandline option
14420
14421 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * paragraph.h: make the optional constructor arg required instead.
14424         some modifications to other files because of this.
14425
14426         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14427
14428         * lyxserver.C (C_LyXComm_callback): make it static
14429
14430         * lyx_main.C (error_handler): make it static
14431
14432         * lyx_gui.C (LyX_XErrHandler): make it static
14433
14434         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14435
14436         * WorkArea.C: make the extern "C" methods static.
14437
14438         * Makefile.am (lyx_LDADD): simplify
14439
14440 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14441
14442         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14443         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14444
14445         * LyXAction.C (init):
14446         * lyxfunc.C (dispatch): associated code removal.
14447
14448 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14449
14450         * lyxfont.h (isSymbolFont): shut off warning
14451
14452         * text.C (setHeightOfRow):
14453         (getVisibleRow): fix crash with empty paragraphs which have a
14454         bottom line
14455
14456 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14457
14458         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14459         code.
14460
14461 2001-09-04  José Matos  <jamatos@fep.up.pt>
14462         * buffer.C
14463         * buffer.h
14464         * tabular.C (docbook): rename docBook method to docbook.
14465
14466 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14467
14468         * Makefile.am: add dependencies to main.o.
14469
14470 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14471
14472         * FontLoader.C (available): Return false if !lyxrc.use_gui
14473
14474 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14475
14476         * FontInfo.C (query):
14477         * converter.C (view):
14478         * importer.C (Import):
14479         * exporter.C (Export): Can not -> cannot.
14480
14481 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * BufferView_pimpl.C: allow to create index inset even if
14484           string is empty
14485
14486 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14487
14488         * buffer.C (getLists): replace boost::tie code with an explicit pair
14489         as boost::tie can break some compilers.
14490
14491         * iterators.h: Added a std:: declaration to the return type of
14492         ParIterator::size.
14493
14494 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14497           case.
14498
14499 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14500
14501         * iterators.[Ch]: New files. Provide paragraph iterators.
14502
14503         * buffer.C (changeLanguage): Use paragraph iterators.
14504         (isMultiLingual): ditto
14505
14506         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14507
14508 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14509
14510         * FontLoader.C: Support for cmr font.
14511
14512 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14513
14514         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14515         (available): New method.
14516
14517         * FontInfo.C (getFontname): Use scalable fonts even when
14518         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14519         found.
14520
14521 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14522
14523         * converter.C (Formats::view): reverted! Incorrect fix.
14524
14525 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14526
14527         * converter.C (Formats::view): only output the -paper option
14528         if the dvi viewer is xdvi, thereby fixing bug #233429.
14529
14530 2001-08-23  Herbert Voss  <voss@perce>
14531
14532         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14533
14534 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * Spacing.h (Spacing): Set space to Default on in the default
14537         constructor.
14538
14539 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14540
14541         * vc-backend.h (RCS::versionString): add RCS to version
14542         (CVS::versionString): add CVS to version
14543
14544         * vc-backend.C (scanMaster): do not add CVS to version.
14545         (scanMaster): do not add RCS to version
14546
14547         * lyxvc.C (versionString): new method
14548
14549         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14550
14551 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * Spacing.C (set): initialize fval
14554
14555 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14556
14557         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14558         " or \.
14559
14560 2001-08-16  Juergen Vigna  <jug@sad.it>
14561
14562         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14563
14564 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14565
14566         * BufferView_pimpl.C:
14567         * figureForm.C:
14568         * lyxtext.h:
14569         * text2.C: setParagraph takes linespacing now
14570
14571 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14572
14573         * LyxAction.C: add internal LFUN_CITATION_INSERT
14574
14575         * LyXView.C: actually apply fix
14576
14577         * bufferlist.C: fix open non-existent file
14578
14579         * lyxfind.C: fix indentation
14580
14581         * lyxfunc.C: remove unneeded assert, fix typo
14582
14583 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * MenuBackend.C: use "Floatname List"
14586
14587 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14588
14589         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14590         when converting LaTeX layout to insetERT.
14591         Generate a non-collapsed float when reading old float
14592
14593 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14594
14595         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14596         ERT insets.
14597
14598 2001-08-13  Juergen Vigna  <jug@sad.it>
14599
14600         * text.C (fill): return 0 instead of 20 as this seems to be the more
14601         correct value.
14602
14603 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14604
14605         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14606         lyxrc.font_norm.
14607
14608 2001-08-13  Juergen Vigna  <jug@sad.it>
14609
14610         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14611         casesensitive off.
14612         (SearchBackward): comment out the unlocking of the inset_owner this
14613         should not be needed!
14614
14615 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14616
14617         * Many files: Remove inherit_language, and add latex_language
14618
14619         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14620         collapsible insets.
14621
14622 2001-08-10  Juergen Vigna  <jug@sad.it>
14623
14624         * text.C (prepareToPrint): fixed hfill-width in draw!
14625
14626         * BufferView2.C (selectLastWord): save the selection cursor as this
14627         now is cleared in the function LyXText::clearSelection!
14628
14629 2001-08-08  Juergen Vigna  <jug@sad.it>
14630
14631         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14632         BACKSPACE type functions.
14633
14634         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14635         is only cutted from the document but not put in the cut-buffer, where
14636         still the old stuff should be.
14637
14638         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14639
14640         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14641
14642         * tabular.C (SetWidthOfCell): fixed special case where the width
14643         was not updated!
14644         (LeftLine): handle '|' in align_special.
14645         (RightLine): ditto
14646         (LeftAlreadyDrawed): ditto
14647         (SetWidthOfCell): ditto
14648
14649 2001-08-07  Juergen Vigna  <jug@sad.it>
14650
14651         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14652
14653 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14654
14655         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14656         * lyxlex.[hC]: ditto
14657
14658 2001-08-06  Juergen Vigna  <jug@sad.it>
14659
14660         * text.C (getVisibleRow): fix up row clearing a bit.
14661
14662 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * minibuffer.C: make sure the X server sees the changes in the input.
14665
14666 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * paragraph.C (getFont): split into...
14669         (getLabelFont): this
14670         (getLayoutFont): and this
14671         * paragraph_pimpl.C (realizeFont): calling this
14672
14673         * text2.C (getFont): split into...
14674         (getLayoutFont): this
14675         (getLabelFont): and this
14676         (realizeFont): all three calling this
14677
14678         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14679         files where used.
14680
14681 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14684
14685 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14686
14687         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14688         layouts from the Quote inset insertion.
14689
14690 2001-08-03  Juergen Vigna  <jug@sad.it>
14691
14692         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14693
14694         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14695         only if status not is already CHANGED_IN_DRAW (second level).
14696
14697         * text.C (draw): don't set the need_break_row when inside an
14698         InsetText LyXText.
14699
14700 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * buffer.C (parseSingleLyXformat2Token): handle more latex
14703         conversion cases.
14704
14705         * bufferview_funcs.[hC]: change function names to
14706         begin with small char, adjust other files.
14707
14708 2001-08-02  André Pönitz <poenitz@gmx.net>
14709
14710         * lyxfunc.C:
14711         BufferView_pimpl.C: remove broken special code for math-greek
14712
14713 2001-08-02  Juergen Vigna  <jug@sad.it>
14714
14715         * BufferView_pimpl.C (update): redone this function so that we
14716         update the text again if there was a CHANGE_IN_DRAW.
14717
14718         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14719         (drawFromTo): added a new internal bool which is used by draw() and
14720         redraw() function.
14721         (general): some cursor drawing problems fixed.
14722
14723 2001-08-01  Juergen Vigna  <jug@sad.it>
14724
14725         * lyxfind.C (LyXFind): fixed
14726         (SearchForward): ditto
14727         (SearchBackward): ditto
14728
14729         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14730         spurius drawing of the cursor in the main area.
14731
14732         * text2.C (status): small fix which could lead to a segfault!
14733         (clearSelection): remove unneeded BufferView param.
14734
14735 2001-08-01  André Pönitz <poenitz@gmx.net>
14736
14737         * lyxfunc.C: small change due to changed mathed interface
14738
14739 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14742
14743 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * lyxfunc.c: fail gracefully if file doesn't exist
14746
14747         * LyXSendto.C:
14748         * buffer.C:
14749         * lyxfunc.C:
14750         * BufferView_pimpl.C: IsDirWriteable() proto changed
14751
14752         * LyXView.C: fix updateWindowTitle() to store the last title
14753
14754 2001-07-31  Juergen Vigna  <jug@sad.it>
14755
14756         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14757         the font (wrong since using of Paragraph::highestFontInRange).
14758
14759         * paragraph.C (highestFontInRange): added a default_size parameter.
14760
14761         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14762         (setHeightOfRow): reformat
14763
14764 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * converter.[hC] + affected files: move to (inital-char)lowercase
14767         function names.
14768
14769         * ParagraphParameters.C (ParagraphParameters): remove commented code
14770
14771         * PainterBase.[Ch]: remove commented code
14772
14773         * LaTeXFeatures.h: add "bool floats" for float.sty
14774
14775         * LaTeXFeatures.C (LaTeXFeatures): init floats
14776         (require): handle float
14777         (getPackages): do it with floats
14778
14779 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * BufferView_pimpl.C (Dispatch): improve handling of
14782         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14783
14784         * commandtags.h: #include lyxfont.h here temporarily to avoid
14785         keybinding bug.
14786
14787         * bufferlist.h: include LString.h here.
14788
14789 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14790
14791         * text2.C (getStringToIndex): new method.
14792
14793 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14794
14795         * *: Reduced header file dependencies all over.
14796
14797 2001-07-30  Baruch Even  <baruch@lyx.org>
14798
14799         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14800
14801 2001-07-29  Baruch Even  <baruch@lyx.org>
14802
14803         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14804
14805 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * ParameterStruct.h (endif): add a default constructor to make
14808         sure that all variables is initialized.
14809
14810         * ParagraphParameters.C (ParagraphParameters): adjust
14811
14812 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14813
14814         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14815         index; also, check that there is something to index, and that it
14816         does not span over several paragraphs.
14817         (doubleClick): use WHOLE_WORD_STRICT for double click.
14818
14819         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14820
14821         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14822         scheme.
14823
14824 2001-07-26  Baruch Even  <baruch@lyx.org>
14825
14826         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14827         an InsetFig figure, backwards compatible reading of old figure code.
14828
14829 2001-07-27  Juergen Vigna  <jug@sad.it>
14830
14831         * text2.C: font.realize function adaption.
14832
14833         * text.C (draw): add a warnings lyxerr text if needed.
14834
14835         * layout.C: font.realize function adaption.
14836
14837         * language.C: add inherit_language and implement it's handlings
14838
14839         * bufferview_funcs.C (StyleReset): remove language parameter from
14840         font creation (should be language_inherit now).
14841
14842         * bufferparams.C (writeFile): handle ignore_language.
14843
14844         * paragraph.C (getFontSettings): the language has to be resolved
14845         otherwise we have problems in LyXFont!
14846
14847         * lyxfont.C (lyxWriteChanges): added document_language parameter
14848         (update): removed unneeded language parameter
14849
14850         * paragraph.C (validate): fixed wrong output of color-package when
14851         using interface colors for certain fonts in certain environments,
14852         which should not seen as that on the final output.
14853
14854 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * BufferView_pimpl.C:
14857         * Thesaurus.h:
14858         * Thesaurus.C:
14859         * Makefile.am:
14860         * commandtags.h:
14861         * LyXAction.C: add thesaurus support
14862
14863         * lyxfind.h:
14864         * lyxfind.C: add "once" parameter, for thesaurus, to not
14865           move to the next match
14866
14867 2001-07-26  Juergen Vigna  <jug@sad.it>
14868
14869         * lyxfont.C (realize): honor ignore_language too!
14870         (resolved): ditto.
14871
14872         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14873
14874         * text.C (draw): one place more for ignore_language to not draw
14875         itself!
14876
14877 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14878
14879         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14880
14881 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14884         the minipage conversion problem.
14885
14886 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14887
14888         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14889         insert an inset.
14890
14891 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14892
14893         * BufferView.h: don't forward declare WorkArea
14894
14895         * BufferView.C: don't include WorkArea.h
14896
14897 2001-07-25  André Pönitz <poenitz@gmx.net>
14898
14899         * commandtags.h:
14900         * LyXAction.C:
14901         * lyxfunc.C:  new LFUN 'math-space'
14902
14903         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14904
14905 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * text2.C (toggleInset): call open/close
14908
14909 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * lyxfunc.C (dispatch): add debug for the disabled case
14912
14913         * font.C (buttonText): make similar to rectText
14914
14915         * buffer.C (readInset): comment out parsing of insetlist and
14916         insttheorem
14917
14918         * PainterBase.C (rectText): small correction
14919
14920         * BufferView_pimpl.C: comment out insettheorem and insetlist
14921         * LyXAction.C: ditto
14922         * commandtags.h: ditto
14923
14924 2001-07-24  Juergen Vigna  <jug@sad.it>
14925
14926         * text.C (draw): honor the ignore_language.
14927
14928         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14929
14930 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14933         char inset.
14934
14935 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14936
14937         * lyxtext.h: remove unused (and unimplemented) methods
14938
14939 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14940
14941         * text.C (getVisibleRow): honor background color
14942
14943         * PainterBase.h:
14944         * Painter.h: remove default color argument for fillRectangle
14945
14946         * text.C (backgroundColor): new method
14947
14948 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14949
14950         * text.C (getVisibleRow): adjust
14951
14952         * font.[Ch] (rectText): new method, metrics
14953         (buttonText): new method, metrics
14954
14955         * PainterBase.[hC]: make rectText and buttonText always draw and take
14956         fewer paramteres.
14957
14958 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14959
14960         * ToolbarDefaults.C (read):
14961         * MenuBackend.C (read): allow escaping in all strings
14962
14963         * BufferView_pimpl.C (insertAndEditInset): new method.
14964         (Dispatch): use insertAndEditInset whenever appropriate.
14965
14966         * BufferView_pimpl.C (insertNote): removed
14967
14968         * BufferView_pimpl.C (smartQuote): new method, moved from
14969         BufferView; if an insetquote cannot be inserted, insert a '"'
14970         character instead.
14971
14972         * BufferView2.C: remove insertCorrectQuote();
14973
14974         * lyxfunc.C (getStatus): Add support for all remaingin
14975         inset-insert lfuns.
14976
14977         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14978
14979         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14980         command (necessary to pass " as parameter of self-insert.
14981
14982         * text.C (selectWordWhenUnderCursor):
14983         (selectWord): add word_location parameter
14984         (selectWordWhenUnderCursor): same + remove special code for word
14985         boundary.
14986         (selectNextWord): use kind() to guess type of insetspecialchar,
14987         not latex().
14988
14989         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14990         (insertErtContents): create ert insets as collapsed.
14991         (readInset): better compatibility code for Info inset.
14992
14993 2001-07-20  Juergen Vigna  <jug@sad.it>
14994
14995         * lyxfunc.C (dispatch): use always LyXFind now!
14996
14997         * text2.C (init): add a reinit flag so that the LyXText can be
14998         reinited instead of deleted and reallocated (used in InsetText).
14999
15000         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15001
15002         * text.C: ditto
15003
15004         * text2.C: ditto
15005
15006 2001-07-18  Juergen Vigna  <jug@sad.it>
15007
15008         * text.C (selectNextWord): handle insets inside inset by calling
15009         always the bv->text functions so that we can go up the_locking_inset!
15010
15011         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15012         in strange locations when inside an inset!
15013
15014         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15015         handling to include insets.
15016
15017         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15018
15019 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * LyXAction.C (init):
15022         * commandtags.h:
15023         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15024         LIGATURE_BREAK, since the name is so stupid.
15025
15026 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15027
15028         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15029         InsetInfos.
15030
15031         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15032
15033         * sp_form.[Ch]: remove.
15034
15035         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15036
15037         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15038         InsetInfo.
15039
15040         * src/buffer.C (readInset): ditto.
15041
15042 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15043
15044         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15045         menuSeparator(), endOfSentenceDot(), ldots() and
15046         hyphenationPoint(), which are therefore removed.
15047         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15048
15049         * LyXAction.C (init):
15050         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15051
15052         * paragraph.C (getWord): removed.
15053
15054         * BufferView_pimpl.C (Dispatch): use last word or selection for
15055         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15056
15057         * lyx_main.C (queryUserLyXDir): do not ask before creating
15058         user_dir, except if it has been named explicitely.
15059
15060 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15061
15062         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15063         a document of zero size.
15064
15065 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15066
15067         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15068         approriately in the c-tor and in require().
15069         (getPackages): output the appropriate LaTeX for natbib support.
15070
15071         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15072         variables "use_natbib" and "use_numerical_citations" when reading the
15073         LyX file.
15074         (readInset): read the various natbib cite commands.
15075         (validate): white-space change.
15076
15077         * bufferparams.[Ch]: new variables "bool use_natbib" and
15078         "bool use_numerical_citations".
15079         (writeFile): output them in the LyX file.
15080
15081 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15082
15083         * lyxfunc.C (getStatus): add support for all the inset insertion
15084         commands.
15085
15086         * text2.C (insertInset):
15087         * paragraph.C (insetAllowed):
15088         * BufferView_pimpl.C (insertInset): update to take in account the
15089         renaming of insertInsetAllowed
15090
15091         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15092
15093         * text2.C (getInset): new method. returns inset at cursor position.
15094
15095         * BufferView_pimpl.C (Dispatch): changes because of this.
15096
15097         * LyXAction.C (init): rename open-stuff to inset-toggle.
15098
15099         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15100
15101         * text2.C (toggleInset): renamed from openStuff; use
15102         Inset::open().
15103
15104 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15105
15106         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15107
15108         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15109
15110 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * buffer.C (readLyXformat2): Add filename to the error dialog
15113
15114 2001-07-18  Juergen Vigna  <jug@sad.it>
15115
15116         * tabular.C (GetCellNumber): put an assert here instead of the check!
15117
15118 2001-07-17  Juergen Vigna  <jug@sad.it>
15119
15120         * BufferView_pimpl.C (toggleSelection): adapted too.
15121
15122         * text.C (selectNextWord): adapted for use with insets.
15123         (selectSelectedWord): ditto
15124
15125 2001-07-17  Juergen Vigna  <jug@sad.it>
15126
15127         * sp_spell.C (PSpell): fix initialitation order.
15128
15129 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15130
15131         * paragraph.C: spacing
15132
15133 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15134
15135         * sp_spell.C: repair language selection for pspell
15136
15137 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * lyxfunc.h: change more methods to begin with lower char.
15140
15141 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15144         for unknown layouts.
15145
15146 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * buffer.C (readLyXformat2): Generate an error dialog if there are
15149         unknown layouts.
15150
15151 2001-07-16  Juergen Vigna  <jug@sad.it>
15152
15153         * sp_spell.C: always compile ISpell part.
15154
15155         * lyxrc.C: added use_pspell entry and it's handling.
15156
15157 2001-07-13  Juergen Vigna  <jug@sad.it>
15158
15159         * sp_spell.C: removed double includes.
15160
15161 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15162
15163         Consistent use of Lsstream.h:
15164         * Lsstream.h: added using std::stringstream for consistencies sake.
15165
15166         * buffer.C: removed using std::stringstream
15167
15168         * lyxfont.C (stateText):
15169         * paragraph.C (asString):
15170         * text.C (selectNextWord, selectSelectedWord):
15171         * text2.C (setCounter):
15172         * vspace.C (asString, asLatexString):
15173         std::ostringstream -> ostringstream.
15174
15175 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15176
15177         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15178         * commandtags.h: add LFUN_HELP_ABOUTLYX
15179         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15180
15181 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15182
15183         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15184         cursorToggle()
15185         * lyx_gui_misc.C: remove spellchecker
15186         * lyxfunc.C: showSpellchecker
15187         * sp_base.h: added
15188         * sp_ispell.h: added
15189         * sp_pspell.h: added
15190         * sp_spell.C: added
15191         * sp_form.[Ch]: removed
15192         * spellchecker.[Ch]: removed
15193
15194 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15195
15196         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15197         is set.
15198         (simpleTeXSpecialChars): Simply print the input character without
15199         any special translation if pass_thru is set.
15200
15201         * layout.h: Added bool pass_thru to layout class for being able to
15202         implement pass through of a paragraph for Literate Programming.
15203
15204         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15205         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15206         * layout.C (Read): add "passthru" to list of layout tags and add
15207         code to set the pass_thru boolean when it is read.
15208
15209 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * trans_decl.h: remove allowed from KmodInfo
15212
15213         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15214         remove allowed code
15215         (Load): adjust
15216
15217         * paragraph_pimpl.C (erase): use boost::prior
15218
15219         * Painter.C (text): use data() instead of c_str() when length is
15220         also provided.
15221         * WorkArea.C (putClipboard): ditto
15222         * font.h (width): ditto
15223
15224         * BufferView2.C: use it-> instead of (*it). for iterators
15225         * texrow.C: ditto
15226         * paragraph_pimpl.C: ditto
15227         * paragraph.C: ditto
15228         * minibuffer.C: ditto
15229         * language.C: ditto
15230         * kbmap.C: ditto
15231         * encoding.C: ditto
15232         * counters.C: ditto
15233         * converter.C: ditto
15234         * chset.C: ditto
15235         * Variables.C: ditto
15236         * TextCache.C: ditto
15237         * MenuBackend.C: ditto
15238         * LyXAction.C: ditto
15239         * LColor.C: ditto
15240         * FloatList.C: ditto
15241         * DepTable.C: ditto
15242         * ColorHandler.C (LyXColorHandler): ditto
15243
15244 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15247
15248         * text2.C (openStuff): reintroduce this method (which had been
15249         nuked in NEW_INSETS frenzy).
15250
15251         * lyxfunc.C (Dispatch): when an action has not been handled, use
15252         its name in the error message, not its number.
15253
15254         * paragraph.C (inInset): change method name to begin with lowercase.
15255
15256         * undo_funcs.C:
15257         * text2.C: updates because of this.
15258
15259 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * ToolbarDefaults.C (add): add spaces in error message
15262
15263 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15266         (readLyXformat2): rename return_par to first_par, use lyxlex's
15267         pushToken and remove the manual push handling.
15268         (parseSingleLyXformat2Token): add another ert comp. variable:
15269         in_tabular, rename return_par to first_par. handle newlines better
15270
15271 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15274
15275 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * text2.C (getParFromID): removed
15278
15279         * buffer.C (getParFromID): new method moved form lyxtext.
15280         * BufferView2.C (insertErrors): adjust
15281         (setCursorFromRow): adjust
15282         * BufferView_pimpl.C (restorePosition): adjust
15283         * lyxfunc.C (Dispatch): adjust
15284         * undo_funcs.C (textUndo): adjust
15285         (textRedo): adjust
15286         (textHandleUndo): adjust
15287         (textHandleUndo): adjust
15288
15289 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * buffer.C: up' the LYX_FORMAT
15292
15293         * lyxfont.h: turn NO_LATEX on as default
15294
15295         * buffer.C (insertErtContents): new methods of tex style compability.
15296         (parseSingleLyXformat2Token): use it several places.
15297         * tabular.C (OldFormatRead): and here
15298
15299 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * text2.C: remove some commented code.
15302         reindent file.
15303
15304         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15305         * trans.C: changes because of the above.
15306
15307 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15308
15309         * text2.C (setCounter): Fix counters bug with bibliography layout.
15310
15311 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15314         own member functions
15315         (simpleTeXSpecialChars): ditto
15316
15317 2001-07-06  Juergen Vigna  <jug@sad.it>
15318
15319         * a lot of files: changed the access to LyXText::status and the
15320         call of undo-functions.
15321
15322         * undo.[Ch]: added a inset_id to the undo informations.
15323
15324         * undo_funcs.[Ch]: added and moved here all undo functions.
15325
15326         * lyxtext.h: give the status enum a weight, made status_ a private
15327         variable and made accessor functions for it, removed the whole bunch
15328         of undo-functions as they are now in their own file, make some
15329         functions publically available. Added function ownerParagraph with
15330         int parameter.
15331
15332         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15333         made InInset() a const function, added getParFromID() function.
15334
15335         * buffer.[Ch]: added const version for inset_iterator functions,
15336         added getInsetFromID() function.
15337
15338         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15339         changed undo functions for new version.
15340
15341 2001-07-05  Juergen Vigna  <jug@sad.it>
15342
15343         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15344         unknow mechanism does not call the proper constructor but only this
15345         one also if I request the other!?
15346
15347 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15348
15349         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15350
15351         * text2.C (LyXText): use initialization lists.
15352
15353         * lyxtext.h (Selection): initialize set_ and mark_
15354         (init): remove method
15355
15356 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15357
15358         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15359
15360 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * screen.[Ch]: change method names to begin with lowercase
15363
15364         * BufferView_pimpl.C (updateScrollbar): simplify further and
15365         hopefully make it a bit faster.
15366
15367 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15370         calling directly xforms functions.
15371
15372         * Painter.C (Painter):
15373         * lyx_cb.C (MenuWrite):
15374         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15375         fl_display.
15376
15377         * lyx_gui.C: remove bogus guiruntime extern declaration.
15378
15379 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15380
15381         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15382         in NEW_INSETS
15383         (redoDrawingOfParagraph): ditto
15384         (redoParagraphs): ditto
15385         (cutSelection): don't create a object for CutAndPaste use the
15386         static method directly
15387         (pasteSelection): ditto
15388
15389         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15390         LyXview (+ rename)
15391
15392 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * modifications to some other files because of this.
15395
15396         * Makefile.am (lyx_SOURCES): add XFormsView
15397
15398         * XFormsView.[Ch]: new files
15399
15400         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15401         the main window. Move the gui dependent stuff to XFormsView
15402
15403 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * tabular.C (GetCellInset): update cur_cell also in the row/col
15406         version of this function.
15407
15408         * lyxfunc.C: no need to include figure_form.h here.
15409
15410         * FontLoader.h:
15411         * lyxfunc.h:
15412         * lyxscreen.h:
15413         * text2.C:
15414         * lyxvc.C: no need to include forms.h here.
15415
15416 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15419
15420         * lyxfunc.C (Dispatch):
15421         * Spacing.C (set):
15422         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15423         constructor argument.
15424
15425 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * paragraph.C (Paragraph): dont't clear, and just set layout.
15428         (makeSameLayout): use params's copy contructor.
15429
15430         * ParagraphParameters.[Ch] (makeSame): delete method
15431
15432 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15433
15434         * Variables.[Ch]: fix indentation, rename set to isSet
15435
15436 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15437
15438         * lyxfunc.C (Dispatch): fix typo
15439
15440 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15443         upper_bound.
15444
15445         * bufferlist.C: include assert.h for emergencyWrite().
15446
15447 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15448
15449         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15450           give up at last (bug #425202) !
15451
15452 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15453
15454         * lyx_gui_misc.C:
15455         * sp_form.h:
15456         * sp_form.C:
15457         * spellchecker.h:
15458         * spellchecker.C: strip spellchecker options and bring up
15459           preferences tab instead
15460
15461 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15464         the istringstream constructor
15465
15466 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * paragraph.C (getLayout): fix return value
15469
15470         * paragraph.h: do not declare getLayout as inline.
15471
15472         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15473
15474 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * lyxcursor.h (operator<): new func
15477         (operator>): new func
15478         (operator>=): new func
15479         (operator<=): new func
15480
15481         * text.C (changeCase): use selection.start and selection.end
15482         (changeRegionCase): require from to be <= to. Require par to be a
15483         valid paragraph.
15484
15485         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15486
15487 2001-06-27  Juergen Vigna  <jug@sad.it>
15488
15489         * text.C (cursorLeftOneWord): changed to return the cursor and added
15490         overlay with BufferView * parameter which calls this one.
15491         (getWord): added
15492         (selectWord): use new getWord function.
15493         (changeCase): renamed from changeWordCase as and extended to work
15494         also on selections.
15495
15496         * lyxtext.h: added enum word_location
15497
15498         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15499         changeCase as this operates now also on selections.
15500
15501 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15502
15503         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15504
15505         * many files: send debug output to Debug::INFO instead of
15506         Debug::ANY.
15507
15508         * converter.C (View):
15509         (Convert):
15510         (Move): send debug output to Debug::FILES instead of console.
15511
15512 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15513
15514         * lyxfunc.C (getStatus): use func_status
15515
15516         * func_status.h: new header, describing the results of
15517         LyXFunc::getStatus;
15518
15519         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15520         LFUN_MATH_HALIGN.
15521
15522 2001-06-25  The LyX Project  <jug@sad.it>
15523
15524         * buffer.C (sgmlOpenTag):
15525         (sgmlCloseTag):
15526         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15527
15528 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * text2.C: remove some dead code
15531
15532         * tabular.C (GetCellInset): store the last cell checked (gotten)
15533
15534         * tabular.h: add the helper for the speedup
15535
15536         * lyxtext.h: remove some dead code
15537
15538 2001-06-26  The LyX Project  <Asger>
15539
15540         * paragraph.C: Change export to LaTeX of alignment to
15541         \begin{center} and family for better roundtrip work with reLyX.
15542
15543         * Tune the math drawing a bit.
15544
15545 2001-06-25  The LyX Project  <Asger>
15546
15547         * LColor.C (LColor): New color for math background. New color
15548         for buttons.
15549
15550 2001-06-25  The LyX Project  <jug@sad.it>
15551
15552         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15553
15554         * lyxfunc.C (Open):
15555         * bufferlist.C (newFile): do not restrict to files ending with
15556         .lyx
15557
15558         * BufferView_pimpl.C (MenuInsertLyXFile):
15559
15560 2001-06-24  The LyX Project  <jug@sad.it>
15561
15562         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15563         of compare_no_case
15564
15565 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15566
15567         * lyxtext.h: rename most methods to begin with a small char.
15568         Lots of changes because of this.
15569
15570         * paragraph.C (Paragraph): do not call fitToSize
15571         (erase): call Pimpl::erase
15572         (insertChar): call Pimpl::insertChar
15573         (insertInset): call Pipl::insertInset
15574         (breakParagraph): do not call fitToSize
15575         (breakParagraphConservative): do not call fitToSize
15576         (fitToSize): remove method
15577
15578         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15579
15580 2001-06-24  The LyX Project  <Asger>
15581
15582         * Fix Qt compilation^2
15583
15584 2001-06-24  The LyX Project  <jug@sad.it>
15585
15586         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15587         depthHook(getDepth()-1).
15588
15589         * paragraph.h:
15590         * ParagraphParameters.h:
15591         * ParameterStruct.h: change type of depth to unsigned int ==
15592         depth_type. Many adaptations to other files before of that.
15593
15594 2001-06-24  The LyX Project  <Asger>
15595
15596         * Fix Qt compilation.
15597
15598 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * paragraph.h: renamed several methods to begin with small letter.
15601         several changes to many parts of the code because of this.
15602
15603 2001-06-23  The LyX Project  <jug@sad.it>
15604
15605         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15606         rewritten to discard all double spaces when KeepEmpty is off
15607         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15608         to only handle newlines but not fiddle with spaces and friends.
15609
15610         * lyxfunc.C (MenuNew): when doing 'new from template', use
15611         template_path as default directory
15612
15613 2001-06-23  The LyX Project  <Asger>
15614
15615         * Clean-up of header file includes all over
15616         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15617
15618 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15619
15620         * paragraph.h: renamed from lyxparagraph.h
15621
15622 2001-06-23  Asger  <lyx@violet.home.sad.it>
15623
15624         * Buffer.h: Removed Buffer::resize
15625         * BufferList.h: Removed BufferList::resize
15626         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15627         the document lazily when we change the width, or the font settings.
15628
15629 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15630
15631         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15632
15633 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15634
15635         * buffer.h: remove out of date comment
15636
15637 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15638
15639         * lyxscreen.h:
15640         * screen.C: fix "theoretical" GC leak
15641
15642 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * LaTeX.C (scanAuxFile):
15645         (deplog): remove trailing \r when reading stream (useful under
15646         win32)
15647
15648 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15649
15650         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15651         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15652         and BufferView::theLockingInset(Inset*), so should use them and not
15653         access bv_->text->the_locking_inset directly.
15654
15655         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15656
15657 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15658
15659         * Makefile.am:
15660         * tex-defs.h: remove old unused file
15661
15662 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15663
15664         * BufferView_pimpl.C: fix typo, remove minibuffer message
15665           when buffer has loaded
15666
15667 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15668
15669         * lyxfunc.C (Dispatch): use stringstream
15670         (MenuNew): use stringstream
15671         (Open): use stringstream
15672
15673         * importer.C (Import): use stringstream
15674
15675         * bufferview_funcs.C (CurrentState): use stringstream
15676
15677         * LaTeX.C (run): use stringstream
15678
15679         * BufferView_pimpl.C (savePosition): use stringstream
15680         (restorePosition): use stringstream
15681         (MenuInsertLyXFile): use stringstream
15682
15683 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15684
15685         * BufferView.C:
15686         * Bullet.C:
15687         * ColorHandler.C:
15688         * FontInfo.C:
15689         * FontLoader.C:
15690         * LColor.C:
15691         * LaTeXFeatures.C:
15692         * Painter.C:
15693         * gettext.C:
15694         * lyx_gui_misc.C:
15695         * lyxserver.C:
15696         * vspace.C: removed // -*- C++ -*- as first line.
15697
15698         * lyxfind.h:
15699         * version.h: added // -*- C++ -*- as first line.
15700
15701 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15704
15705         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15706         of string
15707
15708 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15709
15710         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15711         of floats.
15712
15713 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * gettext.C: include LString.h even when --disable-nls is on.
15716
15717 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15718
15719         * converter.h (Get): changed argument type from int to
15720         FormatList::size_type to avoid unnecessary conversion.
15721
15722         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15723         before using it.
15724
15725 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15726
15727         * gettext.h: include LString.h even when --disable-nls is on.
15728
15729 2001-06-07  Juergen Vigna  <jug@sad.it>
15730
15731         * text.C (BreakAgain): subst spaces with tabs.
15732
15733         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15734         (resizeInsetsLyXText): set force on resizeLyXText.
15735
15736 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * gettext.h (gettext_init):
15739         (locale_init): use a real definition instead of a macro
15740
15741 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15742
15743         * Bufferview_pimpl.C:
15744         * LColor.h:
15745         * LColor.C: further lcolor tidies
15746
15747 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * BufferView_pimpl.C (updateScrollbar): simplify.
15750
15751         * BufferView2.C: don't include insets/insetinfo.h, change
15752         prototype for insertInset and call the Pimpl version. let
15753         updateInset call Pimpl version.
15754
15755         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15756         gotoInset to BufferView::Pimpl
15757
15758 2001-06-01  Juergen Vigna  <jug@sad.it>
15759
15760         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15761         inside a LockingInset (is the update needed at all?).
15762
15763 2001-05-31  Juergen Vigna  <jug@sad.it>
15764
15765         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15766         here not the old one otherwise how should we compare it afterwards
15767         if it's the same!
15768
15769 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * lyxfont.C:
15772         * tabular.C:
15773         * tabular-old.C:
15774         * FontInfo.C: bring C functions into global namespace when
15775         necessary
15776
15777 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15778
15779         * LString.h: make sure config.h has been loaded before LString.h.
15780
15781         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15782         (one for each char read by EatLine!).
15783
15784         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15785         variables.
15786
15787 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15788
15789         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15790         to the same as the par we break from
15791
15792 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15793
15794         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15795
15796         * MenuBackend.C (expand): also create menu entries for wide
15797         versions of the floats.
15798
15799         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15800
15801         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15802
15803         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15804         frontends/Makefile.am
15805
15806         * text2.C: adjust
15807         * text.C: adjust
15808
15809
15810         * tabular.C (getTokenValue): add std::
15811
15812         * tabular-old.C (getTokenValue): add std::
15813         (getTokenValue): ditto
15814         (getTokenValue): ditto
15815
15816         * screen.C (ToggleSelection): adjust
15817
15818         * lyxtext.h: put selection cursors inside a Selection struct.
15819
15820         * lyxfunc.C (moveCursorUpdate): adjust
15821
15822         * lyxfont.C (latexWriteStartChanges): add std::
15823
15824         * lyxfind.C: adjust
15825
15826         * font.h: delete with(char const *, LyXFont const &)
15827
15828         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15829
15830         * FontInfo.C (getFontname): add std::
15831
15832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15833         (workAreaButtonPress): adjust
15834         (tripleClick): adjust
15835         (update): adjust
15836         (moveCursorUpdate): adjust
15837         (Dispatch): adjust
15838
15839         * BufferView2.C (gotoInset): adjust
15840
15841 2001-05-30  Juergen Vigna  <jug@sad.it>
15842
15843         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15844         to check pspell I add this as default as I now have new pspell
15845         libraries and they seem to use this.
15846
15847 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15848
15849         * text2.C (CutSelection): make the cursor valid before the call to
15850         ClearSelection.
15851
15852 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15855         relied on 0 terminated strings and other horrors. Bug found due to
15856         the new assert in lyxstring!
15857
15858         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15859         KP_ keys.
15860
15861 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15862
15863         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15864         to latinkeys.bind.
15865
15866         * lyxfunc.C (processKeySym): change method of getting to the
15867         self-insert char.
15868
15869         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15870         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15871         * BufferView_pimpl.[Ch]: here as private methods.
15872
15873 2001-05-28  Juergen Vigna  <jug@sad.it>
15874
15875         * text.C (SetHeightOfRow): added the update() call again as it is
15876         needed to initialize inset dimensions!
15877
15878 2001-05-16  Juergen Vigna  <jug@sad.it>
15879
15880         * text2.C (SetCharFont): Add new function with BufferView * and
15881         bool toggleall parameters for setting insets internal fonts.
15882         (SetFont): Freeze the undo as we may change fonts in Insets and
15883         all this change should be inside only one Undo!
15884
15885         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15886         setting font's in insets as for them we have the SetFont function!
15887
15888 2001-05-15  Juergen Vigna  <jug@sad.it>
15889
15890         * text2.C (ClearSelection): to be sure we REALLY don't have any
15891         selection anymore!
15892
15893         * tabular.C (TeXCellPreamble): fixed the left border problem for
15894         multicolumn cells.
15895
15896 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15897
15898         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15899         dependancy file
15900
15901 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15902
15903         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15904         LFUN_BREAKPARAGRAPH.
15905
15906         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15907         help test to "internal only", similar for LFUN_INSERT_URL
15908
15909         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15910         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15911         auto_region_delete and deadkeys.
15912
15913 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15914
15915         * LColor.h:
15916         * LColor.C: remove some dead entries, tidy a little
15917
15918 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15921         commented code.
15922         (Dispatch): implement LFUN_ESCAPE
15923
15924         * commandtags.h: add LFUN_ESCAPE
15925
15926         * LyXAction.C (init): add entry for LFUN_ESCAPE
15927
15928         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15929         Remove commented code.
15930         (insertNote): moved here
15931         (open_new_inset): moved here
15932
15933         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15934         BufferView_pimpl
15935
15936 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15937
15938         * kbmap.C (findbinding): clean it up and make it work correctly.
15939
15940         * lyx_main.C (init): do not pass argc and argv as parameters
15941
15942 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15943
15944         * buffer.C: fix path for OS/2 & Win32
15945
15946         * lyx_gui.C:
15947         * lyx_main:
15948         * lyx_main.C: Added os:: class.
15949
15950         * os2_defines.h: update
15951
15952 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15953
15954         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15955         better by trying again with reduced state.
15956
15957 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15958
15959         * lyxrc.C (read): print error about invalid key sequence only when
15960         debugging (because not all latinX keysyms are known to some X
15961         servers)
15962
15963         * kbsequence.C (getiso): add a few std:: qualifiers
15964         (getiso): comment out extra return statement.
15965
15966 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15969         handling.
15970         (Dispatch): enhance the accent inset a bit. (not perfect)
15971
15972 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15975
15976 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * bufferlist.C (emergencyWrite): fix assert() call
15979
15980 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15981
15982         * text.C (InsertChar): Added trivial patch to only send the "you
15983         can not do multiple spaces this way" message once during a
15984         session.
15985
15986 2001-05-08  Baruch Even  <baruch@lyx.org>
15987
15988         * Makefile.am: Changed order of libraries to get LyX to link properly
15989         with the gnome frontend.
15990
15991 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * LaTeXFeatures.h: add a std:: qualifier
15994
15995 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15996
15997         * paragraph.C (String): use stringstream
15998
15999 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16000
16001         * paragraph.C (writeFile): remove footflag arg
16002
16003         * buffer.C (makeLaTeXFile): use stringstream
16004         (latexParagraphs): remove footnot gurba
16005
16006         * LaTeXFeatures.C (getPackages): use stringstream
16007         (getMacros): likewise
16008         (getTClassPreamble): likewise
16009         (getFloatDefinitions): new method
16010
16011         * paragraph.C (writeFile): reindent
16012         (Erase): reindent
16013
16014         * WorkArea.h: revert the xpos + etc changes.
16015
16016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16017
16018         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16019
16020         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16021         (pasteSelection): likewise
16022         * text2.C (CreateUndo): likewise
16023
16024 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * minibuffer.C (peek_event): temporarily reduce the functionality
16027         of the minibuffer (to allow args on lfuns)
16028
16029         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16030         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16031
16032         * buffer.C (readInset): add compability reading of old float
16033         lists, add reading of new style float list.
16034         (readInset): avoid reevaluation of inscmd.getCmdName()
16035         (getLists): reindent
16036
16037         * MenuBackend.C (MenuItem): implement parsing of
16038         md_floatlistinsert and md_floatinsert.
16039         (expand::LastFiles): move initalizaton of iterators out of loop,
16040         avoid reevaluation.
16041         (expand::Documents): introduce typdedef vector<string> Strings,
16042         and use it.
16043         (expand::ExportFormats): introduce typedef vector<Format const *>
16044         Formats, and use it.
16045         (expand): implement FloatListInsert and FloatInsert.
16046
16047         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16048         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16049         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16050
16051         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16052         handling.
16053         (Dispatch::LFUN_FLOAT_LIST): implement
16054
16055 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16056
16057         * LaTeX.C (run): Fix problem with --export code.
16058
16059 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16060
16061         * BufferView.[Ch] (workarea): removed.
16062         (getClipboard) new method; wrapper for workarea()->getClipboard()
16063
16064         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16065         bug.
16066
16067         * WorkArea.h (width, height, xpos, ypos): These methods all
16068         returned the dimensions of the work_area sub-area of WorkArea,
16069         resulting in a position error if the WorkArea were resized. Now
16070         return the dimensions of the entire WorkArea.
16071
16072         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16073
16074 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16075
16076         * LaTeX.C (deplog): correct the syntax of regex reg1
16077
16078 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16079
16080         * undo.C: remove !NEW_INSETS cruft
16081
16082 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16083
16084         * text2.C: remove !NEW_INSETS cruft
16085
16086         * text.C: remove !NEW_INSETS cruft
16087
16088         * tabular.C: remove !NEW_INSETS cruft
16089
16090         * spellchecker.C: remove !NEW_INSETS cruft
16091
16092         * lyxtext.h: remove !NEW_INSETS cruft
16093
16094         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16095
16096         * lyxfunc.C: remove !NEW_INSETS cruft
16097
16098         * lyxfind.C: remove !NEW_INSETS cruft
16099
16100         * lyx_cb.C: remove !NEW_INSETS cruft
16101
16102         * figureForm.C: remove  !NEW_INSETS cruft
16103
16104         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16105
16106         * buffer.[Ch]: remove !NEW_INSETS cruft
16107
16108         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16109
16110         * CutAndPaste.C: remove !NEW_INSETS cruft
16111
16112         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16113
16114         * BufferView2.C: remove !NEW_INSETS cruft
16115
16116         * BufferView.h: remove !NEW_INSETS cruft
16117
16118 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16119
16120         * Lsstream.h: include LString.h before the sstream headers to
16121         fix problem with gcc 2.95.3 and lyxstring
16122
16123 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16124
16125         * lyx_main.C: add using directives when needed for C functions
16126         declared in std:: namespace.
16127
16128 2001-04-27  Juergen Vigna  <jug@sad.it>
16129
16130         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16131         (SetHeightOfRow): comment out the update call should not be needed!
16132
16133 2001-04-13  Juergen Vigna  <jug@sad.it>
16134
16135         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16136         (LyXTabular): tried to minimize operator= operations (and realized
16137         hopfully Lars wish).
16138
16139 2001-04-27  Juergen Vigna  <jug@sad.it>
16140
16141         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16142
16143 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16144
16145         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16146
16147         * buffer.C (readInset): hack to make listof algorithm work
16148
16149         * BufferView_pimpl.C: hack to make listof algorithm work
16150
16151 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16152
16153         * LyXAction.C: removed all !NEW_INSETS cruft
16154         (init): moved lfun_item in method
16155
16156         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16157
16158 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16159
16160         * BufferView2.C (theLockingInset): white space.
16161
16162 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * minibuffer.C: include <iostream>
16165
16166         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16167
16168         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16169
16170         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16171
16172         * text.[Ch] (TransposeChars): new method
16173
16174 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * call message directly through LyXView instead of through LyXFunc
16177         * BufferView2.C: adjust
16178         * BufferView_pimpl.C: adjust
16179         * FontLoader.C: adjust
16180         * buffer.C: adjust
16181         * bufferview_funcs.C: adjust
16182         * converter.C: adjust
16183         * figureForm.C: adjust
16184         * importer.C: adjust
16185         * lyx_cb.C: adjust
16186         * lyx_gui_misc.C: adjust
16187         * lyxfunc.C: adjust
16188         * lyxvc.C: adjust
16189         * text2.C: adjust
16190         + more files in subdirs
16191
16192         * lyxparagraph.h (size): move up int file
16193         (GetLayout): ditto
16194
16195         * adjust all uses of Assert to lyx::Assert.
16196
16197         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16198         lyxfunctional in namespace lyx
16199         * layout.C (hasLayout): ditto
16200         (GetLayout): ditto
16201         (GetLayout): ditto
16202         (delete_layout): ditto
16203         (NumberOfClass): ditto
16204         * converter.C (GetFormat): ditto
16205         (GetNumber): ditto
16206         (Add): ditto
16207         (Delete): ditto
16208         (SetViewer): ditto
16209         * bufferlist.C (getFileNames): ditto
16210         (emergencyWriteAll): ditto
16211         (exists): ditto
16212         (getBuffer): ditto
16213         * MenuBackend.C (hasSubmenu): ditto
16214         (hasMenu): ditto
16215         (getMenu): ditto
16216         * BufferView_pimpl.C (getInsetByCode): ditto
16217
16218 2001-04-18  Juergen Vigna  <jug@sad.it>
16219
16220         * vspace.C (asLatexString): fixed the 100% problem.
16221
16222 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * lyxfunc.C (Dispatch):
16225         * minibuffer.C:
16226         * minibuffer.h: add a few std:: qualifiers
16227
16228 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16229
16230         * minibuffer.[Ch]: reimplement so that commands is initiated and
16231         run from lyxfunc, simplified som handling, and made the completion
16232         and history code for complete. wip.
16233
16234         * lyxfunc.C (processKeySym): call message
16235         (miniDispatch): new temporary method
16236         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16237         (LFUN_MESSAGE): implement
16238         (LFUN_MESSAGE_PUSH): implement
16239         (LFUN_MESSAGE_POP): implement
16240         (initMiniBuffer): the initial/defualt minibuffer message.
16241
16242         * lyxfont.[Ch]: inline some more getters
16243
16244         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16245
16246         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16247
16248         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16249         (AutoSave): use LFUN_MESSAGE
16250         (Reconfigure): ditto
16251
16252         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16253
16254         * figureForm.C: use LFUN_MESSAGE
16255
16256         * converter.C (runLaTeX): use LFUN_MESSAGE
16257
16258         * bufferview_funcs.C: use LFUN_MESSAGE
16259         (Melt): ditto
16260         (changeDepth): ditto
16261
16262         * bufferparams.h: use boost::
16263
16264         * bufferlist.h: inherit privately from noncopyable
16265
16266         * bufferlist.C (loadLyXFile): remove some commented code.
16267
16268         * buffer.C (runChktex): use LFUN_MESSAGE
16269
16270         * ShareContainer.h: inherit privately from noncopyable
16271
16272         * ParagraphParameters.[hC] (depth): inline it.
16273
16274         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16275         methods.
16276         (message): new method
16277         (messagePush): ditto
16278         (messagePop): ditto
16279         (show): init minibuffer
16280         (showState): direct call
16281
16282         * LaTeX.[Ch]: inherit privately from noncopyable
16283         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16284         instead of WriteStatus.
16285
16286         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16287
16288         * BufferView_pimpl.C (buffer): don't init minibuffer
16289         (workAreaButtonPress): use LFUN_MESSAGE
16290         (workAreaButtonRelease): ditto
16291         (savePosition): ditto
16292         (restorePosition): ditto
16293         (MenuInsertLyXFile): ditto
16294         (workAreaExpose): don't init minibuffer
16295         (update): remove commented code, simplify
16296
16297         * BufferView2.C (openStuff): use LFUN_MESSAGE
16298         (toggleFloat): ditto
16299         (menuUndo): ditto
16300         (menuRedo): ditto
16301         (copyEnvironment): ditto
16302         (pasteEnvironment): ditto
16303         (copy): ditto
16304         (cut): ditto
16305         (paste): ditto
16306         (gotoInset): ditto
16307         (updateInset): remove some commented code
16308
16309         * lastfiles.h: inherit privately from noncopyable
16310         * layout.h: ditto
16311         * lyx_gui.h: ditto
16312         * lyx_main.h: ditto
16313         * lyxlex.h: ditto
16314         * lyxlex_pimpl.h: ditto
16315
16316         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16317         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16318         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16319
16320         * LyXAction.h: inherit privately from noncopyable, add methods
16321         func_begin, func_end, returning iterators to the func map.
16322
16323         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16324         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16325         (func_begin): new method
16326         (func_end): new method
16327
16328         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16329         and not)
16330         (copySelection): ditto
16331         (pasteSelection): ditto
16332
16333         * BufferView.C: whitespace change
16334         * BufferView.h: inherit privately from noncopyable
16335
16336 2001-04-16  Allan Rae  <rae@lyx.org>
16337
16338         * tabular-old.C (l_getline):
16339         * spellchecker.C (sc_check_word):
16340         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16341         an unrecognised preprocessor directive.  So ensure they're wrapped.
16342
16343 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16344
16345         * src/exporter.C (Export): Give an error message when path to file
16346         contains spaces.
16347
16348 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16349
16350         * LaTeX.C (deplog): Always check that foundfile exists.
16351
16352 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * lyx_main.h:
16355         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16356
16357 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16358
16359         * tabular.[Ch] (getLabelList): implement new method
16360
16361         * minibuffer.h: comment ouf setTiimer
16362
16363         * minibuffer.C (ExecutingCB): constify res
16364         (peek_event): constify s
16365         (Set): constify ntext
16366         (Init): constify nicename
16367
16368         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16369
16370         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16371         (savePosition): use two params to Minibuffer::Set
16372         (restorePosition): ditto
16373
16374 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * lyx_main.C: include language.h
16377
16378         * Makefile.am (lyx_main.o): add language.h
16379
16380 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * exporter.C:
16383         * paragraph.C:
16384         * screen.C:
16385         * tabular.C:
16386         * CutAndPaste.C: include gettext.h
16387
16388         * lyxfont.h: remove old hack with ON and OFF.
16389
16390         * lyxparagraph.h:
16391         * lyxfont.h: do not include language.h...
16392
16393         * BufferView2.C:
16394         * LaTeXFeatures.C:
16395         * Painter.C:
16396         * bufferview_funcs.C:
16397         * font.C:
16398         * lyxfont.C:
16399         * text.C:
16400         * text2.C:
16401         * trans_mgr.C:
16402         * paragraph.C: ... but do it here instead
16403
16404 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16405
16406         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16407
16408         * tabular.C: small reformat
16409
16410         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16411         NEW_INSETS version
16412         (GetChar): ditto
16413         (BreakParagraph): ditto
16414         (SetOnlyLayout): ditto
16415         (SetLayout): ditto
16416
16417         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16418         with one arg less.
16419
16420         * lastfiles.C: removed most using decl, add std:: where needed
16421
16422         * buffer.C: ws changes
16423
16424         * MenuBackend.C (class compare_format): put into anon namespace
16425         (expand): constify label, names, action, action2
16426         (expand):
16427
16428         * text.C (SingleWidth): constify font
16429         (IsBoundary): constify rtl2
16430         (GetVisibleRow): constify ww
16431
16432         * LaTeX.C (deplog): constify logfile
16433
16434         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16435         start_x, end_x
16436         (workAreaExpose): constify widthChange, heightChange
16437
16438         * lyxrow.C (par): moved
16439         (height): moved
16440         (next): moved
16441         * lyxrow.h: as inlines here
16442
16443         * lyxfont.h (shape): moved from lyxfont.C
16444         (emph): moved from lyxfont.C
16445
16446         * lyxfont.C (LyXFont): use initialization list for all
16447         constructors
16448         (shape): move to lyxfont.h as inline
16449         (emph): move to lyxfont.h as inline
16450
16451
16452 2001-04-04  Juergen Vigna  <jug@sad.it>
16453
16454         * vspace.C: had to include stdio.h for use of sscanf
16455
16456 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16457
16458         * BufferView.h:
16459         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16460         independent of xforms.
16461
16462 2001-04-02  Juergen Vigna  <jug@sad.it>
16463
16464         * spellchecker.C: fixed namespace placing!
16465
16466 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16467
16468         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16469         the LyXParagraph * is 0.
16470
16471 2001-03-29  Juergen Vigna  <jug@sad.it>
16472
16473         * vspace.C: added support for %, c%, p%, l%.
16474         (stringFromUnit): added helper function.
16475         (asLatexString): changed to give right results for the %-values.
16476
16477         * buffer.C: convert the widthp in a width%.
16478
16479 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16480
16481         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16482         figureForm.[Ch].
16483
16484         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16485         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16486
16487         * lyx_cb.[Ch]: see above.
16488
16489         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16490         form1.[Ch].
16491
16492         * form1.[Ch]:
16493         * lyx.[Ch]: replaced by figure_form.[Ch].
16494
16495         * lyx_gui.C:
16496         * lyx_gui_misc.C:
16497         * lyxfunc.C: changed headers associated with above changes.
16498
16499 2001-03-27  Juergen Vigna  <jug@sad.it>
16500
16501         * BufferView_pimpl.C: set the temporary cursor right!
16502
16503 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16504
16505         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16506
16507 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * LString.h: removed "using std::getline"!
16510
16511         * BufferView_pimpl.C (Dispatch): changes due to changes in
16512         InsetInclude::Params.
16513
16514         * buffer.C (tag_name): removed redundant break statements as they were
16515         producing lots of warnings with my compiler.
16516
16517 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16518
16519         * LString.h: add "using std::getline" when using the real <string>.
16520
16521 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16522
16523         * buffer.C: removed bitset usage.
16524         PAR_TAG moved to an anonymous name space.
16525         (tag_name): new funtion, also in the anonymous namespace.
16526         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16527         (makeDocBookFile): clean code. Completed transition from string arrays
16528         to string vectors.
16529         (SimpleDocBookOnePar): code clean.
16530
16531 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16532
16533         * tabular.C: add some comments.
16534
16535 2001-03-22  Juergen Vigna  <jug@sad.it>
16536
16537         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16538         compatibility read a bit and fixed bug with minipage in different
16539         depth.
16540
16541 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16542
16543         * buffer.C (pop_tag): removed.
16544         (push_tag): removed.
16545         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16546         array replaced with vector. Added support for CDATA sections.
16547         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16548         at any nest level.
16549         (makeDocBookFile): XML conformant declaration of CDATA section,
16550         fixed bug related to <emphasis> in the first paragraph char.
16551         (sgmlOpenTag): exclude empty tags.
16552         (sgmlCloseTag): ditto.
16553
16554         * buffer.h (pop_tag): removed.
16555         (push_tag): removed.
16556
16557 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16558
16559         * language.h (Languages): added size_type and size().
16560
16561 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16562
16563         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16564         response on compability reading of minipages. One probliem is that
16565         the old usage of minipages was «flertydig»
16566
16567         * several files here and in subdirs: don't use static at file
16568         scope use anon namespaces instead.
16569
16570 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16571
16572         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16573         LaTeX output. This is necessary for Literate document
16574         processing.
16575
16576 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16577
16578         * buffer.C: insert hfill when needed.
16579
16580         * tabular.C (l_getline): use string::erase, small whitespace change.
16581
16582         * BufferView_pimpl.C: try the anon namespace.
16583         * WorkArea.C: ditto
16584
16585 2001-03-16  Juergen Vigna  <jug@sad.it>
16586
16587         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16588         otherwise it won't open options-dialogs.
16589
16590         * buffer.C: honor pextraWidth(p) on converting minipages.
16591
16592         * tabular.C (l_getline): changed the functions to strip trailing \r.
16593
16594 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16595
16596         * BufferView_pimpl.C:
16597         * minibuffer..C: added "using SigC::slot" declaration.
16598
16599 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16600
16601         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16602
16603         * text2.C: ditto
16604
16605         * text.C: ditto
16606
16607         * paragraph.C: ditto
16608
16609         * lyxtext.h: NO_PEXTRA
16610
16611         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16612
16613         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16614         * ParameterStruct.h: ditto
16615         * ParagraphParameters.h: ditto
16616         * lyxparagraph.h: ditto
16617
16618 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16619
16620         * buffer.C: add compability for minipage alignment.
16621         (latexParagraphs): remove unwanted pextra check.
16622
16623         * several files: remove CXX_WORKING_NAMESPACES
16624
16625         * buffer.C (pop_tag): tie is in namespace boost
16626
16627         * BufferView.h: noncopyable is in namespace boost
16628         * lyxlex.h: ditto
16629         * lyx_main.h: ditto
16630         * lyx_gui.h: ditto
16631         * layout.h: ditto
16632         * lastfiles.h: ditto
16633         * bufferlist.h: ditto
16634         * ShareContainer.h: ditto
16635         * LyXView.h: ditto
16636         * LyXAction.h: ditto
16637         * LaTeX.h: ditto
16638
16639 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16640
16641         * Merging changes from BRANCH_MVC back into HEAD.
16642
16643         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16644
16645 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16646
16647         * BufferView_pimpl.C: change from intl.C
16648
16649         * combox.h:
16650         * combox.C:
16651         * Makefile.am: move combox.*
16652
16653         * form1.h:
16654         * form1.C:
16655         * lyx_gui.C:
16656         * intl.h:
16657         * intl.C: remove dialog (covered by prefs)
16658
16659 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16660
16661         * lyxfunc.C (Dispatch): removed redundant break statement.
16662
16663 2001-03-14  Juergen Vigna  <jug@sad.it>
16664
16665         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16666
16667 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16668
16669         * buffer.C: add hack to fix compability reading of minipages.
16670
16671 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16672
16673         * buffer.C (getLists): Cleanup.
16674
16675 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16676
16677         * lyxfont.C (update): don't honor toggleall on font size.
16678
16679 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16680
16681         * bmtable.c:
16682         * bmtable.h:
16683         * Makefile.am: moved to frontends/xforms/
16684
16685         * lyx_gui_misc.C:
16686         * lyxfunc.C:
16687         * BufferView_pimpl.C: changes for moved mathpanel
16688
16689 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16690
16691         * gettext.h: fix gettext_init() in --disable-nls
16692
16693 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16694
16695         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16696
16697 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16698
16699         * lyx.C:
16700         * lyx.h: strip external form
16701
16702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16703
16704         * BufferView_pimpl.C: add comment, destroySplash()
16705
16706 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16707
16708         * BufferView_pimpl.C:
16709         * LyXAction.C:
16710         * buffer.C:
16711         * commandtags.h:
16712         * lyxfunc.C: use re-worked insetinclude
16713
16714 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16715
16716         * buffer.C: add using std::stringstream.
16717
16718         * lyx_cb.C: readd using std::ios.
16719
16720         * buffer.C: add using std::map.
16721
16722         * BufferView_pimpl.C: add using std::vector.
16723
16724         * ShareContainer.h: add std:: to swap.
16725
16726         * buffer.h: add some typedefs
16727         * buffer.C (getLists): use them
16728         (getLists): renamed from getTocList.
16729         add a counter for the different float types and use it in the
16730         generated string.
16731         (getLists): use the same counter for the NEW_INSETS and the "non"
16732         NEW_INSETS
16733
16734         * lyx_cb.h: remove unused items, includes, using etc.
16735
16736         * ShareContainer.h: remove some commented code, add more comments
16737         and "documentation".
16738
16739 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16740
16741         * buffer.C (getTocList): make the list also when NEW_INSETS is
16742         defined.
16743
16744         * buffer.h: remove TocType
16745
16746         * buffer.C (getTocList): change to return a map<string,
16747         vector<TocItem> >, implement for dynamic number of list.
16748
16749         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16750         * text2.C (PasteSelection): adjust
16751         * CutAndPaste.C (pasteSelection): adjust
16752
16753         * FloatList.C (FloatList): update from the new_insets branch.
16754         * Floating.[Ch]: ditto
16755         * LaTeXFeatures.C: ditto
16756         * buffer.C: ditto
16757         * lyxlex_pimpl.C: ditto
16758
16759         * paragraph.C (Last): remove when NEW_INSETS is defined.
16760
16761         * other file: changes because of the above.
16762
16763 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16764
16765         * lyxparagraph.h: rename next to next_, previous to previous_,
16766         make them private for NEW_INSETS. Rename Next() to next(),
16767         Previous() to previous().
16768
16769         * other files: changes because of the above.
16770
16771 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16772
16773         * BufferView.h:
16774         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16775         problem.
16776
16777 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16778
16779         * main.C (main): pass lyx_localedir to gettext_init().
16780
16781         * gettext.h: remove locale_init and gettext_init macros
16782
16783         * gettext.C (locale_init): new function
16784         (gettext_init): new function
16785
16786         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16787         setlocale().
16788
16789 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16790
16791         * Moved credits to frontends:
16792         * credits.[Ch]: removed
16793         * credits_form.[Ch]: removed
16794         * lyx_gui_misc.C: remove credits stuff
16795         * Makefile.am:
16796
16797 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16798
16799         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16800
16801         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16802         unneeded destructor.
16803
16804         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16805         a standalone pointer again.
16806
16807         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16808
16809 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16810
16811         * Makefile.am:
16812         * filedlg.h:
16813         * filedlg.C:
16814         * LyXAction.C:
16815         * ToolbarDefaults.C:
16816         * bufferlist.C:
16817         * commandtags.h:
16818         * form1.C:
16819         * form1.h:
16820         * lyx_cb.C:
16821         * lyx_cb.h:
16822         * lyxfunc.h:
16823         * lyxfunc.C:
16824         * BufferView_pimpl.C: use new file dialog in GUII
16825
16826         * lyx_cb.h:
16827         * lyx_cb.C: remove LayoutsCB to Toolbar
16828
16829 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * ShareContainer.h (get): add std:: qualifier
16832
16833 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16834
16835         * ShareContainer.h: define a proper ShareContainer::value_type
16836         type (and use typename to please compaq cxx)
16837
16838 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16839
16840         * lyxparagraph.h: move serveral local vars to
16841         ParameterStruct/ParagraphParameters., use ShareContainer in
16842         FontTable., make vars in FontTable private and add getter and
16843         setter.
16844
16845         * paragraph.C: changes because of the above.
16846
16847         * lyxfont.h: remove copy constructor and copy assignment. (the
16848         default ones is ok), move number inside FontBits. move inlines to
16849         lyxfont.C
16850
16851         * lyxfont.C: add number to initializaton of statics, move several
16852         inlines here. constify several local vars. some whitespace
16853         cleanup. Dont hide outerscope variables.
16854
16855         * Spacing.h: add two new constructors to match the set methods.
16856
16857         * ShareContainer.h: new file, will perhaps be moved to support
16858
16859         * ParameterStruct.h: new file
16860
16861         * ParagraphParameters.h: new file
16862
16863         * ParagraphParameters.C: new file
16864
16865         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16866         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16867
16868         * BufferView_pimpl.C: ParagraphParameter changes.
16869         * buffer.C: Likewise.
16870         * bufferview_funcs.C: Likewise.
16871         * text.C: Likewise.
16872         * text2.C: Likewise.
16873
16874 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16875
16876         * lyxfind.C (LyXReplace): do not redefine default argument in
16877         implementation.
16878         (IsStringInText): ditto
16879         (SearchForward): ditto
16880         (SearchBackward): ditto
16881
16882 2001-03-06  Juergen Vigna  <jug@sad.it>
16883
16884         * lyxfind.C (IsStringInText): put parentes around expressions.
16885
16886 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16887
16888         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16889
16890 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16891
16892         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16893
16894         * stl_string_fwd.h: add comment
16895
16896         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16897
16898         * tabular.h:
16899         * tabular.C: remove unused DocBook methods
16900
16901         * intl.C:
16902         * language.C:
16903         * paragraph.C:
16904         * buffer.C:
16905         killed DO_USE_DEFAULT_LANGUAGE
16906
16907 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16908
16909         * lyx_gui.C: do not include language.h.
16910
16911         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16912         arguments in function implementation.
16913
16914 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16915
16916         * BufferView_pimpl.C: add <ctime>
16917
16918 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16919
16920         * BufferView_pimpl.C: add using std::find_if
16921
16922 2001-02-27  José Matos  <jamatos@fep.up.pt>
16923
16924         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16925         by OnlyPath.
16926
16927 2001-02-11  José Matos  <jamatos@fep.up.pt>
16928
16929         * buffer.C (makeDocBookFile): command styles now have a parameter as
16930         "title" by default.
16931
16932 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16933
16934         * layout_forms.[Ch]: removed
16935         * lyx_cb.[Ch]: out character
16936         * lyx_gui.C: out character
16937         * lyx_gui_misc.C: out character
16938         * bufferview_funcs.C: : out character,
16939         added toggleall as parameter in ToggleAndShow
16940
16941 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16942
16943         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16944
16945         * text2.C (SetCurrentFont): Disable number property at boundary.
16946
16947 2001-02-26  Juergen Vigna  <jug@sad.it>
16948
16949         * lyxfunc.C (getStatus): added a string argument override function so
16950         that this is correctly called from LyXFunc::Dispatch if it contains a
16951         do_not_use_argument which is used!
16952         (Dispatch): added check for "custom" export and call appropriate func.
16953
16954 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16955
16956         * lyxrc.C: Add language_command_local, language_use_babel and
16957         language_global_options.
16958
16959         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16960
16961         * buffer.C (makeLaTeXFile): Use language_use_babel and
16962         language_global_options.
16963
16964 2001-02-23  Juergen Vigna  <jug@sad.it>
16965
16966         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16967         which works with LyXText and putted it inside BufferView. Here now we
16968         only call for that part the BufferView::Dispatch() function.
16969
16970         * BufferView.C (Dispatch): added.
16971
16972         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16973         functions which needs to use a LyXText over from LyXFunc.
16974         (MenuInsertLyXFile): added
16975         (getInsetByCode): added
16976         (moveCursorUpdate): added
16977         (static TEXT): added
16978
16979 2001-02-22  Juergen Vigna  <jug@sad.it>
16980
16981         * BufferView_pimpl.C (update): call a status update to see if LyXText
16982         needs it.
16983
16984 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16985
16986         * vc-backend.C (revert): implement for CVS
16987         (getLog): implement for CVS
16988
16989 2001-02-20  Juergen Vigna  <jug@sad.it>
16990
16991         * text2.C (ClearSelection): added BufferView param for inset_owner call
16992
16993         * lyxfunc.C (TEXT): added this function and use it instead of
16994         directly owner->view()-text of getLyXText().
16995
16996 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16997
16998         * src/layout_forms.C: out preamble
16999         * src/layout_forms.h: out preamble
17000         * src/lyx_cb.C: out preamble
17001         * src/lyx_cb.h: out preamble
17002         * src/lyx_gui.C: out preamble
17003         * src/lyx_gui_misc.C: out preamble
17004         * src/lyxfunc.C: connect with guii preamble
17005
17006 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17007
17008         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17009
17010 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17011
17012         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17013         whether to run bibtex.
17014
17015 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17016
17017         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17018
17019 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17020
17021         * Makefile.am (lyx_SOURCES): removed bibforms.h
17022
17023         * vspace.h: doxygen
17024
17025         * text.C (GetVisibleRow): make several local vars const
17026
17027         * tabular.C: small cleanup.
17028
17029         * lyxserver.C (callback): use compare instead of strncmp
17030
17031         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17032         inlines to after class or to paragraph.C
17033
17034         * lyxfont.h: remove friend operator!=
17035
17036         * converter.h: move friend bool operator< to non friend and after
17037         class def.
17038
17039         * combox.h: small cleanup
17040
17041         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17042         to inlines after class def.
17043
17044         * buffer.C (pop_tag): use string operations instead of strcmp
17045
17046         * bmtable.c: doxygen, small cleanup
17047
17048         * LaTeX.h: remove friend operator==
17049
17050 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17051
17052         * screen.C:
17053         * lyxrc.[Ch]:
17054         * lyxfunc.C:
17055         * lyxfont.[Ch]:
17056         * lyx_cb.C:
17057         * intl.[Ch]:
17058         * commandtags.h:
17059         * buffer.C:
17060         * WorkArea.[Ch]:
17061         * LyXAction.C:
17062         * BufferView_pimpl.C:
17063         * BufferView.[Ch]: remove cruft
17064
17065 2001-02-14  Juergen Vigna  <jug@sad.it>
17066
17067         * lyxfunc.C: removed #if 0 unused code
17068
17069         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17070
17071         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17072
17073         * text2.C (SetSelection): added a BufferView * parameter
17074
17075 2001-02-13  Juergen Vigna  <jug@sad.it>
17076
17077         * lyxfunc.C (Dispatch): fixed protected blank problem.
17078         * BufferView2.C (protectedBlank): added LyxText * parameter.
17079
17080         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17081         (AppendColumn): same as above for column_info.
17082
17083         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17084         (moveCursorUpdate): use a LyXText param for support of InsetText.
17085
17086         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17087         (tripleClick): ditto
17088
17089         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17090
17091         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17092
17093         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17094
17095         * text2.C (SetSelection): set correct update status if inset_owner
17096         (ToggleFree): ditto
17097
17098 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17099
17100         * tabular.C: remove some commented code.
17101
17102 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17103
17104         * BufferView_pimpl.C: call hideSplash()
17105
17106         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17107
17108         * include_form.h:
17109         * bibforms.h: remove
17110
17111         * lyxfunc.C:
17112         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17113           add LFUN_CHILD_CREATE
17114
17115         * counters.h: fix tiny typo
17116
17117         * lyx_cb.C:
17118         * lyx.h:
17119         * lyx_gui.C:
17120         * lyx.C: move splash to frontends/xforms/
17121
17122         * lyx_gui_misc.C: move Include and Bibform to frontends
17123
17124         * lyxvc.h: clarify comment
17125
17126         * vspace.C: tiny housekeeping
17127
17128 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17129
17130         * text.C (PrepareToPrint): RTL Fix.
17131
17132         * paragraph.C (GetUChar): New method.
17133         (String):  Use GetUChar.
17134
17135         * buffer.C (asciiParagraph): Use GetUChar.
17136
17137 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17138
17139         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17140
17141 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17142
17143         * buffer.h:
17144         * buffer.C: rename to getLogName(), handle
17145           build log / latex log nicely
17146
17147 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17148
17149         * MenuBackend.C:
17150         * MenuBackend.h: remove support for reference menuitem type.
17151
17152 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17153
17154         * BufferView_pimpl.C: housekeeping
17155         * BufferView_pimpl.h:
17156         * LyXView.h:
17157         * Makefile.am:
17158         * Timeout.C:
17159         * Timeout.h:
17160         * minibuffer.h: move Timeout GUI-I
17161
17162 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * lyxrc.C (read): Update converters data-structures.
17165
17166 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17167
17168         * LaTeX.h (operator!=): add operator != for Aux_Info
17169
17170 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17171
17172         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17173
17174         * LaTeXLog.C: deleted, useful code moved to Buffer
17175
17176         * buffer.h:
17177         * buffer.C: new function getLatexLogName()
17178
17179         * lyx_gui_misc.C:
17180         * lyx_gui.C:
17181         * lyxvc.C:
17182         * lyxvc.h:
17183         * lyxfunc.C: use frontends for LaTeX and VC logs
17184
17185 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17186
17187         * LaTeX.h: yet another std:: that Allan forgot.
17188
17189         * Variables.C (set): renamed from isset(), because this clashes
17190         with some HP-UX macros (grr).
17191
17192 2001-02-06  Allan Rae  <rae@lyx.org>
17193
17194         * LaTeX.h: Another bug fix.  Missing std:: this time.
17195
17196 2001-02-04  Allan Rae  <rae@lyx.org>
17197
17198         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17199         floats problem. I've left it commented out because it's not quite
17200         correct.  It should also test that the current object is a table or
17201         figure inset.  But I haven't gotten around to figuring out how to do
17202         that.  I *think* it'll be something like: "table" == inset.type()
17203
17204         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17205         bool.
17206
17207 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17208
17209         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17210         all the citation/databases/styles in the auxilary file.
17211         (run): Rerun latex if there was a babel language error.
17212
17213 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17214
17215         * text.C (Backspace): Preserve the font when changing newline char
17216         with a space.
17217         (BreakParagraph): If the cursor is before a space, delete the space.
17218
17219         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17220
17221 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17222
17223         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17224         new argument (code).
17225         (ChangeCitationsIfUnique): New method.
17226
17227         * paragraph.C (GetPositionOfInset): Handle bibkey.
17228
17229 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17230
17231         * BufferView_pimpl.h: change type of Position::par_pos to
17232         LyXParagraph::size_type.
17233
17234 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17235
17236         * BufferView_pimpl.C (savePosition, restorePosition): Write
17237         messages to minibuffer.
17238
17239 2001-01-28  José Matos  <jamatos@fep.up.pt>
17240
17241         * buffer.C (makeDocBookFile): adds support for document language.
17242         A silly restriction on the name of LatexCommand types where removed.
17243         Added support for CDATA sections, allows to chars unescaped, used
17244         among others in code, to avoid escape < and >.
17245
17246 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17247
17248         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17249         saved positions instrad of a stack. Furthermore, a position is
17250         stored using paragraph id/paragraph position.
17251
17252         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17253         Remove LFUN_REF_BACK.
17254
17255 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17256
17257         * converter.C (dvipdfm_options): New method.
17258
17259 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17260
17261         * vspace.C (isValidLength): Fix for empty input string.
17262
17263 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17264
17265         * LyXAction.C (init): change description of LFUN_FIGURE to
17266         "Insert Graphics"
17267
17268 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * LaTeX.C: add using directive
17271
17272 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17273
17274         * MenuBackend.C (expand): Fix the sorting of the formats.
17275
17276 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17277
17278         * lyx_main.C: tiny error message fix
17279
17280 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17281
17282         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17283         calling fl_initialize(). This fixes the problem with ',' as
17284         decimal separator in text files.
17285
17286 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17287
17288         * trans.C (process): Fix the keymap bug.
17289
17290 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17291
17292         * LaTeX.C (scanAuxFiles): New method. Provides support for
17293         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17294         (scanLogFile) Scan for "run BibTeX" messages.
17295
17296         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17297         OT1 font encoding. Also, load the aecompl package if the ae
17298         package is loaded.
17299
17300         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17301
17302 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * texrow.C (increasePos): turn two error messages into debug
17305         messages.
17306
17307 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17308
17309         * LaTeX.C (scanAux): Handle the \@input macro.
17310         (runBibTeX): Use scanAux().
17311
17312         * language.C (latex_options_): New field.
17313
17314         * LaTeXFeatures.C (getMacros): Add language macros.
17315
17316         * buffer.C (makeLaTeXFile): Small fix.
17317
17318 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17319
17320         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17321
17322         * text2.C: add a using directive.
17323
17324 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17325
17326         * BufferView2.C:
17327         * lyx_gui_misc.h:
17328         * lyxfr1.C:
17329         * lyxfunc.C: kill LyXBell.
17330
17331 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17332
17333         * text.C (IsBoundary): Remove the error message
17334
17335         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17336
17337         * lyxrc.C (setDefaults): Correct initialization value for
17338         font_norm_type.
17339
17340 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17341
17342         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17343         gotoError().
17344
17345         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17346         and GotoNextNote().
17347
17348         * src/LyXAction.C: Added reference-next.
17349
17350         * text.C (InsertChar): Use contains instead of strchr.
17351
17352         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17353
17354 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17355
17356         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17357         alignment commands (when needed).
17358
17359         * text.C (InsertChar): Add ':' to number separator chars.