]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
get rid of a crash
[lyx.git] / src / ChangeLog
1
2 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text2.C (cursorUp): get rid of a crash
5         * text.C (x2pos): add an assert
6
7 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * lyxfunc.C (getStatus): fix warning when assertions are disabled
10
11         * text3.C: 
12         * lyxfunc.C: 
13         * dociterator.C: include <boost/current_function.hpp>, which is
14         needed when assertions are disabled.
15
16 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
17
18         * text2.C: fix for stuck cursor when traversing two 
19         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
20
21 2005-02-25  Andreas Vox  <avox@arcor.de>
22
23         * output_docbook.C (makeParagraph): suppress trailing newline
24         after a run of paragraphs
25
26 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
27
28         * paragraph.C: fix for confused change tracker when pasting
29         text that begins with a lineseparator. [bug 1827]
30         (setChange(0, Change::INSERTED);)
31        
32         * paragraph_funcs.C: fix for lost changes on triple-paste
33         in change tracking mode [bug 1827] (par.setChange()).
34
35 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * text2.C (updateCounters, setCounter, expandLabel): move to
38         buffer_funcs.
39
40         * buffer_funcs.C (updateCounters): turn into a free standing
41         function and add a buffer parameter. Remove dead code for tracking
42         labelstring change.
43         (setCounter): change into a free-standing function which gets a
44         dociterator as argument. Use this iterator to fix captions in a
45         simple way. When no float is found above the caption, use the
46         labelstring of the caption layout as default.
47
48         * text.C (breakParagraph, backspace): 
49         * text2.C (init, setLayout, changeDepth):
50         * text3.C (dispatch): 
51         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
52         updateCounters.
53
54         * dociterator.C (forwardPar): make it much faster by calling
55         forwardPos() only when really necessary.
56
57         * output_docbook.C (makeCommand): adapt to expandLabel move.
58
59         * cursor.C: remove unused variable
60
61 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
62
63         * paragraph_funcs.C: fix crash when pasting insets in change 
64         tracking mode [bug 1277] (honour change type in moveItem).
65
66 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
67
68         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
69
70 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * BufferView.C (setCursor): change to use a DocIterator.
73         (gotoLabel): use BufferView::setCursor (other part of bug 781).
74         (putSelectionAt): adapt to BufferView::setCursor change.
75
76         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
77         moved here from LyXText and rewritten to use proper cursor
78         methods. Fixes bug 1787, 616 and 835.
79
80         * BufferView_pimpl.C (restorePosition): set the cursor correctly
81         when inside an inset (part of bug 781).
82         (dispatch): adapt to change of BufferView::setCursor.
83         (getStatus, dispatch): handle LFUN_GOTOERROR,
84         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
85
86         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
87         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
88         * text3.C (gotoNextInset, gotoInset): removed.
89
90 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
93
94 2005-02-15  Angus Leeming  <leeming@lyx.org>
95
96         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
97         can be used meaningfully in a comparison.
98
99 2005-02-13  André Pönitz  <poenitz@gmx.net>
100
101         * bufferview_funcs.C (coordOffset): improve cursor drawing
102
103 2005-02-13  André Pönitz  <poenitz@gmx.net>
104
105         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
106         * Cursor.C (dispatch): use fixIfBroken
107         * lyxfunc.C (getStatus): use fixIfBroken
108
109 2005-02-15  Angus Leeming  <leeming@lyx.org>
110
111         * lyx_main.C (error_handler):
112         * lyxfunc.C:
113         * lyxrc.C (setDefaults):
114         s/GetEnv/getEnv/.
115         #include "environment.h".
116
117         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
118
119 2005-02-15  Angus Leeming  <leeming@lyx.org>
120
121         * lyxserver.C (startPipe): squash MSVC warning "local variable
122         'fd' used without having been initialized".
123
124 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * BufferView_pimpl.C: revert accidental commit.
127
128 2005-02-14  André Pönitz  <poenitz@gmx.net>
129
130         * dociterator.[Ch]: new member forwardPosNoDescent(),
131         which doesn't enter nested insets.
132         * text2.C (setFont): use forwardPosNoDescent() instead
133         of ForwardPos() (fixes crash on font change).
134
135 2005-02-13  Angus Leeming  <leeming@lyx.org>
136
137         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
138         only if lyxrc.path_prefix is not empty.
139
140 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
141
142         * bufferparams.C (readGraphicsDriver): prevent crash
143
144 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
145
146         * text2.C (setCounter): check for inInset() == 0
147
148 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
151         but use update() to get correct screen display; use convert
152         instead of istringstream. 
153         (getStatus): handle LFUN_GOTO_PARAGRAPH 
154
155         * lyxfunc.C (dispatch, getStatus): do not handle
156         LFUN_GOTO_PARAGRAPH here.
157
158 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
159
160         * text3.C (dispatch): size() -> depth()
161
162         * text2.C: remove some debug output
163
164         * paragraph.C: ws changes only
165
166         * lyxfunc.C (getStatus): size() -> depth()
167
168         * dociterator.h (clear, push_back, pop_back, internalData,
169         operator[], resize, empty): new functions
170         Make StableDocIterator and operator== be friends. Don't inherit
171         from std::vector use a privat class variable slices_ instead.
172         Modify to fit.
173
174         * dociterator.C: update because of not inheriting from std::vector
175         anymore. Call explictly to slices_ instead. Use depth() instead of
176         size() and top() instead of back()
177
178         * cursor.C: chagne size() -> depth and back() -> top(). Also
179         remove some direct operator[](i) calls in favour of foo[i]
180         (getFont): remove some dead code
181
182         * bufferview_funcs.C (coordOffset): size() -> depth()
183
184         * buffer.C: ws changes only
185
186         * CutAndPaste.C (eraseSelection): back() -> top()
187
188         * BufferView_pimpl.C (selectionRequested): back() -> top()
189
190         * BufferView.C (setCursor): size() -> depth()
191
192 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * text3.C (cursorPrevious): return true if depm changed something
195         (cursorNext): ditto
196         (dispatch): rename sl to oldTopSlice, remove moving use the new
197         NoUpdate func attrib instead. Make sure that needsUpdate is set
198         for function that have NoUpdate, but where depm might have changed
199         the buffer anyway.
200
201         * text2.C (cursorLeft): make us return true if depm changed
202         something
203         (cursorRight): ditto
204         (cursorUpParagraph): ditto
205         (curosrDownParagraph): ditto
206         (cursorUp, cursorDown): ditto, make sure to read comments in code
207         (deleteEmptyParagraphMechanism): remove an assert, also return
208         true if just a single char was deleted.
209
210         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
211         cursor that we modify, to avoid modifying an active cursor before
212         we call setCursor. This allows depm to run. Also return true if
213         depm deleted something.
214
215         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
216         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
217         cursorDownParagraph, cursorPrevious and cursorNext, return true if
218         something was changed in the buffer because of them (ie. depm run)
219
220         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
221         debug messages. Make update by default be false. Make sure that
222         the result of update is retained throught several calls down to
223         dispatch.
224
225         * LyXAction.h: add a new func_attrib: NoUpdate
226
227         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
228         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
229         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
230         and LFUN_WORDLEFT
231         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
232
233 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
236         bv_->owner(), bv_->buffer() by direct references to the private
237         members.
238         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
239         (getStatus): isSavedPosition() is in BufferView::Pimpl.
240         (fitCursor): center() is in BufferView::Pimpl.
241         (getStatus, trackChanges, dispatch): no need for a temporary buf
242         variable
243         (fitCursor, workAreaDispatch): use workarea().workheight()
244
245 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * CutAndPaste.C (pasteSelectionHelper): fix a crash
248
249 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
250
251         * buffer.C: format up to 241.
252         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
253         break if pasting into ERT
254         * lyxfunc.C (getStatus): suppress mathpanel and
255         LFUN_DIALOG_SHOW_NEW_INSET in ERT
256
257 2005-02-01  Angus Leeming  <leeming@lyx.org>
258
259         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
260
261 2005-02-01  Angus Leeming  <leeming@lyx.org>
262
263         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
264         calling fs::is_directory().
265
266 2005-01-31  Angus Leeming  <leeming@lyx.org>
267
268         * lyx_main.C (priv_exec): specify explicitly the relative location
269         of the top level build directory when run in-place.
270
271 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
274         LyXText containing the cursor, not the top-level one.
275
276         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
277         true.
278         (insertStringAsLines): rename par to pit; use temporary variable
279         par to hold a Paragraph; do not store par.layout() in a variable,
280         since the pointer may die when breaking paragraphs; pass pars to
281         breakParagraph() instead of Buffer::paragraphs().
282
283 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
284
285         * lyxlex_pimpl.h: #include <fstream>.
286
287         * BufferView.[Ch] (getLyXText): add a const version.
288
289         * BufferView_pimpl.C: add debug aids.
290
291         * RowList_fwd.h:
292         * buffer.h:
293         * lyxrow.h:
294         * paragraph_funcs.h: add commentary explaining what the class does.
295
296
297         * coordcache.[Ch]: add lots of commentary.
298         (startUpdating, doneUpdating): debug aids.
299         (arrays, insets, parPos, getParPos): accessors to private data.
300
301         * cursor_slice.[Ch] (text): add a const version.
302         * dociterator.[Ch] (text, innerText): add const versions.
303
304         * lyxtext.h (breakParagraph): change the keep_layout arg to a
305         bool.
306
307         * paragraph.C (getRow, pos2ros): add asserts.
308
309         * paragraph.h: add commentary. Lots of.
310
311         * paragraph.[Ch] (metrucs, draw): removed.
312
313         * cursor.C:
314         * rowpainter.[Ch]: const-correct changes.
315
316         * text.C: various obvious clean-ups. Removal of ancient cruft.
317         Bug fixes, even.
318
319 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
320
321         * vc-backend.C (find_file): rewrite to use boost.filesystem
322         (scanMaster): ditto
323
324         * main.C (main): set default name check for boost.filesystem to
325         no check
326
327         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
328         (open): ditto
329         (doImport): ditto
330         (actOnUpdatedPrefs): ditto
331
332         * lyx_main.C (init): rewrite to use boost.filesystem
333         (queryUserLyXDir): ditto
334
335         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
336         (getContentsOfAsciiFile): ditto
337
338         * lastfiles.C (readFile): rewrite to use boost.filesystem
339
340         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
341
342         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
343         (loadLyXFile): ditto
344
345         * buffer.C (Buffer): adjust for destroydir
346         (getLogName): rewrite to use boost.filesystem
347         (setFileName): ditto
348         (save): use fs::copy_file (from fs_extras)
349
350         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
351
352         * LaTeX.C (run): rewrite to use boost.filesystem
353         (scanAuxFiles): ditto
354         (handleFoundFile): ditto
355
356 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
357
358         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
359
360         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
361
362 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * lyxlayout.[Ch]: change some vars from float to double
365
366         * buffer.C (readFile): make a local var const
367
368         * Several files: use convert<> instead of atoi,strToXXX and friends
369
370 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
371
372         * LaTeXFeatures.[Ch]: Add a static list packages_ that
373         holds the contents of packages.lst. New functions getAvailable
374         and isAvailable to parse and check that list, resp.
375
376         * LyXAction.C:
377         * lfuns.h:
378         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
379
380         * bufferparams.[Ch]: new param output_changes.
381
382         * Buffer.C: increase file format to 240.
383         Use output_changes and isVailable.
384
385         * changes.[Ch]:
386         * paragraph.C:
387         * paragraph_pimpl.C: Use output_changes and isVailable.
388
389 2005-01-23  Angus Leeming  <leeming@lyx.org>
390
391         * output_latex.C: #include "insetbibitem.h", rather than
392         forward declare function bibitemWidest.
393
394 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
395
396         * lyx_main.C (init): make it compile on the Mac.
397
398 2005-01-20  Angus Leeming  <leeming@lyx.org>
399
400         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
401         (setLyXMisc): (char string literal) != (char string literal) is
402         performing a comparison on the addresses. Convert one operand
403         explicitly to string to guarantee expected behaviour.
404         From MSVC warning.
405
406 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
407
408         * buffer.C:
409         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
410
411         * output_plaintext.C: remove unneeded #include gzstream.h.
412
413 2005-01-20  Angus Leeming  <leeming@lyx.org>
414
415         * SpellBase.h: rename some of the elements of the Result enum.
416
417         * aspell_local.h:
418         * ispell.h:
419         * pspell.h:
420         * aspell.C (check):
421         * ispell.C (check):
422         * pspell.C (check): ditto
423
424 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
425
426         * buffer.C: add #include <fstream>.
427
428         * lyx_main.C (init): Compile fix.
429
430         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
431
432 2005-01-20  Angus Leeming  <leeming@lyx.org>
433
434         * mover.h: change commentary to reflect the changed meaning of
435         the $$s placeholder.
436
437 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * output_linuxdoc.C (linuxdocParagraphs): silence warning
440
441         * lyxfind.C (MatchString::operator()): remove bogus semicolon
442
443 2005-01-20  Angus Leeming  <leeming@lyx.org>
444
445         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
446         printing diagnostic data by not dereferecing an iterator past the
447         end.
448
449 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
450
451         * buffer.C (readHeader): use "&&" rather than "and".
452
453         * lyxserver.h (inPipeName, outPipeName): make these const.
454
455 2005-01-19  Angus Leeming  <leeming@lyx.org>
456
457         * lyx_main.C (error_handler, init): protect SIGHUP with
458         #ifdef SIGHUP guards.
459
460 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
463
464 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * text.C (setHeightOfRow): add a margin at the top and bottom of
467         the document (bug 1761)
468
469 2005-01-17  Angus Leeming  <leeming@lyx.org>
470
471         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
472         with "python ". Workaround for a brain-dead Windows.
473
474 2005-01-16  Angus Leeming  <leeming@lyx.org>
475
476         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
477         for MacOSX and Windows to use prependEnvPath.
478         Strip out the hard-coded block to add elements to the PATH for
479         MacOSX and replace it with a call to prependEnvPath using the
480         contents of LyXRC::path_prefix.
481         (queryUserLyXDir): strip out the code to run reconfigure, instead
482         returning a boolean indicating the necessity to do so.
483         (reconfigureUserLyXDir): contains the code to reconfigure the
484         user support directory. Is now called after the various LyXRC data
485         files have been read.
486
487         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
488
489 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
490
491         * converter.[Ch] (convert): take a new parameter try_default. Use
492         a default converter (imagemagick) if try_default is true.
493
494 2005-01-13  Angus Leeming  <leeming@lyx.org>
495
496         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
497         os::cygwin_path_fix.
498         (write): output LyXRC::cygwin_path_fix as necessary.
499
500 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
501
502         * lyxrc.h:
503         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
504
505 2005-01-12  Angus Leeming  <leeming@lyx.org>
506
507         * lyx_main.C (init): set the PATH variable to include the
508         directory containing the LyX binary when running on Mac or Windows.
509
510 2005-01-12  Angus Leeming  <leeming@lyx.org>
511
512         * lyx_main.C (init): remove cruft that purports to set the locale
513         dir. It doesn't and is not needed anyway.
514
515 2005-01-10  Angus Leeming  <leeming@lyx.org>
516
517         * Makefile.am: remove the lyx_main.C special casing.
518
519         * BufferView_pimpl.C:
520         * bufferlist.C:
521         * exporter.C:
522         * lyx_cb.C:
523         * lyx_main.C:
524         * lyxfunc.C:
525         * messages.C: use support/package.h to provide the paths to the
526         various directories used by LyX.
527
528 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
529
530         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
531         layout if pasting into an empty paragraph)
532
533 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
534
535         * tex-accent.C: add <string>
536
537 2005-01-06  José Matos  <jamatos@lyx.org>
538
539         * ParagraphParameters.C (write): put every parameter in its own line.
540         * paragraph.C (write): reduce number of consecutive empty lines exported.
541         * buffer.C (LYX_FORMAT): increase file format to 239.
542
543 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
544
545         * everywhere: change support/tostr.h -> support/convert.h
546
547         * tabular.C: make all write_attributes templates, tostr -> convert
548
549         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
550         (emptyTag): and -> &&, and fix type for ret from getChar
551         (getFirstWord): fix type for ret from getChar
552         (onlyText): and -> &&
553         (simpleDocBookOnePar): and not -> && !, fix type for ret from
554         getChar
555
556         * toc.C (goTo, action):
557         * text3.C (dispatch):
558         * text.C (currentState):
559         * tex-accent.C (DoAccent):
560         * sgml.C:
561         * lyxrc.C:
562         * lyxfunc.C (menuNew):
563         * lyxfinc.C (replace):
564         * counters.C (laberItem):
565         * bufferview_funcs.C (font2string):
566         * bufferparams.C (writeFile):
567         * buffer.C (readFile):
568         * Spacing.C (set):
569         * MenuBackend.C: tostr -> convert
570
571         * LaTeX.C (runMessage): fix format
572         (scanAuxFiles): tostr -> convert
573
574         * BufferView_pimpl.C (savePosition): fix format
575         (restorePosition): ditto
576         (dispatch): ditto
577
578 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * Spacing.[Ch]: New method getValueAsString().
581
582         * Spacing.[Ch]:
583         * bufferparams.C:
584         * ParagraphParameters.C:
585         * lyxlayout.C:
586         * text.C:
587         * text3.C: store/read spacing value as string.
588
589         * rowpainter.C: change float value (spacing_val) to double.
590
591         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
592         broken custom document spacing).
593
594 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
597         namespace, also more use of temp references and const
598
599         * cursor.[Ch] (getStatus): move to lyxfunc.C
600
601         * bufferparams.C: reformat slightly
602
603         * bufferview_funcs.C (font2string): constify arg
604
605         * changes.C:
606         * converter.C:
607         * counters.C:
608         * bufferlist.C:
609         * buffer_funcs.C: (many funcs): constify arg on function
610         definitions, also make more local vars const, also add ASSERTS on
611         pointer args.
612
613         * buffer.C (LYX_FORMAT): put const in correct place
614         (many funcs): constify arg on function definitions, also make
615         more local vars const
616
617         * aspell_local.h: remove "struct" from typdef setup
618
619         * aspell.C (check): make word_ok const
620         (nextMiss): simplify slightly
621         (error): ditto
622
623 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
624
625         * lyxrc.[Ch]: store all float values as strings.
626         use int (not float) for lyxrc.dpi.
627
628 2005-01-04  Angus Leeming  <leeming@lyx.org>
629
630         * lyx_cb.C (Reconfigure):
631         * lyx_main.C (queryUserLyXDir):
632         to run the <system_lyxdir>/configure correctly on Windows, prefix
633         the path to the script with "sh " when generating the string that
634         is passed to system().
635
636 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
637
638         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
639
640 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * lyxlength.C (asLatexString): get rid of setprecision
643
644 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * text2.C (setLayout): remove unused variable endpit.
647         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
648
649         * paragraph.C (onlyText): remove unused variable style.
650
651         * cursor.C (bruteFind): remove unused variables beg and end.
652
653         * Makefile.am (dist_noinset_DATA): not needed anymore
654
655         * cheaders/*: remove.
656
657 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
658
659         * text3.C: fix LFUN_MATH_MODE.
660
661 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * buffer_funcs.C (countWords): new function. Counts words between
664         two iterators.
665
666         * BufferView_pimpl.C (getStatus, dispatch): handle
667         LFUN_WORDS_COUNT.
668
669         * LyXAction.C (init):
670         * lfuns.h: add LFUN_WORDS_COUNT.
671
672 2004-12-19  Angus Leeming  <leeming@lyx.org>
673
674         * buffer.C (save): s/slashify_path/internal_path/.
675
676 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
677
678         * lyxfind.C (findChange): do not search for end of pars, because
679         the change tracker cannot handle this (fixes bug 1719).
680
681 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
682
683         * paragraph.[Ch] (autoBreakRows): remove
684
685         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
686
687         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
688         avoid using the paragraph one
689
690         * text2.C (LyXText, insertStringAsLines): adjust
691
692 2004-12-16  Angus Leeming  <leeming@lyx.org>
693
694         * bufferlist.C:
695         * lyx_main.C:
696         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
697
698 2004-12-14  Angus Leeming  <leeming@lyx.org>
699
700         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
701
702         * bufferlist.C (emergencyWrite):
703         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
704         GetEnvPath("HOME").
705
706 2004-12-14  Angus Leeming  <leeming@lyx.org>
707
708         * main.C: (main): no longer pass pointers to os::init.
709
710 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * undo.C (textUndoOrRedo): simplify logic, fix a crash
713         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
714
715 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * lyxfunc.C:
718         * text3.C: remove selection_possible global flag
719
720 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
721
722         * text2.C (getSelectionSpan): remove
723         (changeDepth, changeDepthAllowed): adjust
724
725 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
726
727         * Makefile.am (BOOST_LIBS): use boost variables
728
729 2004-12-03  José Matos  <jamatos@lyx.org>
730
731         * buffer.C: format up to 238.
732
733 2004-12-03  José Matos  <jamatos@lyx.org>
734
735         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
736
737 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * cursor.C (goUpDown): remove call to idxUpDown2
740
741 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
742
743         * tabular.[Ch]: use size_t-like types for cell, row and column
744         indices
745
746 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * lyxfunc.C (getStatus): do not lose previous information when
749         calling BufferView::getStatus; do not set a default "Command
750         disabled" message at the beginning, but just before returning.
751
752 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
753
754         * cursor.h (getStatus): add better comment from src/cursor.C
755
756 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * text3.C (getStatus): return false when the lfun is not handled
759
760 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * broken_headers.h: remove
763
764         * Makefile.am (lyx_SOURCES): remove broken_headers.h
765
766 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
767
768         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
769         offset_ref accessors
770
771         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
772         top_y_, merge fitcursor with update
773         (updateScrollbar, scrollDocView, fitCursor, center, update): new
774         coord scheme
775         (metrics): introduce
776         (workAreaDispatch): adapt to new coord scheme
777         (redoCurrentBuffer): remove
778
779         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
780
781         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
782         CurStatus enum.
783
784         * coordcache.[Ch]: add paragraph cache and helpers
785
786         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
787         adjust everywhere
788
789         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
790         (targetX, setTargetX): introduce
791
792         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
793         baseline -> ascent, as the rest of lyx
794
795         * lyxtext.h: remove redoParagraphs, updateParPositions,
796         fullRebreak, redoParagraphInternal. move dist to anon namespace in
797         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
798         have ascent/descent (ascent is ascent of first par)
799
800         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
801         step of BufferView
802
803         * paragraph.[Ch]: unify dimension handling with the rest of lyx
804
805         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
806
807         * pariterator.C: fix infinite loop introduced in par->pit renaming
808
809         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
810         in insets and LyXText, draw two off-screen paragraphs using
811         NullPainter, and adapt to new coord scheme
812
813         * text.C:
814         * text2.C:
815         * text3.C: adapt lfun handlers to the new coord scheme, which
816         means: there's only guaranteed coord information for onscreen pars
817         plus one above and one below. This implies that one can do search
818         from y coordinates in the range [-1,workHeight]
819
820 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * rename a lot of InsetOld to InsetBase
823
824 2004-11-25  Angus Leeming  <leeming@lyx.org>
825
826         * BufferView_pimpl.C:
827         * lyx_cb.C:
828         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
829
830 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
833         call BufferView::getStatus if LCursor::getStatus did nothing
834         (setStatusMessage, getStatusMessage): removed.
835
836         * FuncStatus.C (message): new methods. Used to provide an error
837         message indicating why a command is disabled.
838         (clear, |=, FuncStatus): update for message.
839
840 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * lyxfunc.C (dispatch): always call sendDispatchMessage
843
844 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * BufferView.C:
847         * BufferView_pimpl.C:
848         * CutAndPaste.C:
849         * FontIterator.C:
850         * buffer.C:
851         * cursor.C:
852         * cursor_slice.[Ch]:
853         * dociterator.[Ch]:
854         * lyxfind.C:
855         * paragraph_funcs.C:
856         * pariterator.C:
857         * rowpainter.C:
858         * text.C:
859         * text2.C:
860         * text3.C:
861         * undo.C: par->pit renaming
862
863 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
864
865         * tabular.C (cellstruct): use initialization, store a shared_ptr
866         to insettext instead of the insettext directly, adjust to fit.
867         (operator=):  new function
868         (swap): new function
869         (rowstruct): use initialization
870         (columnstruct): use initialization
871         (ltType): use initialization
872
873
874         * lyxlength.h (swap): new function
875
876         * LColor.[Ch] (operator=): use the common semantics
877
878 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * lyxfind.C (findNextChange): update the bufferview after setting
881         the selection.
882
883 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
886         number of InsetOptArgs has already been inserted.
887
888         * output_latex.C (latexOptArgInsets): new method. This outputs all
889         the optarg insets, up to the limit defined in the layout file.
890         (optArgInset): removed
891         (TeXOnePar): call latexOptArgInsets; correctly update texrow
892
893 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * paragraph.C (isLetter): remove special spellchecker-related
896         code; return true also for digits
897         (isWord, isKomma): remove
898
899         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
900         * lyxfind.C (MatchString()): use isLetter instead of isWord
901
902 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * pariterator.h (operatir=): comment out un-implemented member
905         function.
906
907         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
908         static cast.
909
910 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
911
912         * lyxfont.h: include LColor.h to satisfy concept checks.
913
914 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * pariterator.h: add typdefs for value_type, difference_type,
917         pointer and reference to satisfy concept checks. Also add default
918         constructor for same reason.
919
920         * pariterator.C (operator++): add post-increment operator to
921         satisfy concept checks.
922
923         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
924         checks.
925
926         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
927
928         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
929         checks. Also rename base_type to BaseType to follow naming
930         standard better.
931
932         * FloatList.h: include Floating.h to satisfy concept checks.
933
934 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * lyxfunc.C (getStatus): when the origin of the request is menu or
937         toolbar, and the LyXView does not have focus, do as if there was
938         no buffer (bug 1720)
939
940         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
941         FuncRequest to individual entries of LFUN_SEQUENCE
942
943 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * output_latex.C (TeXOnePar): override runparams.moving_arg
946         according to the needprotect value of the current paragraph (bug
947         1739)
948
949         * paragraph.C (simpleTeXOnePar): no need to override
950         runparams.moving_args here
951
952 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
953
954         * vspace.C: fix off-by-one-error, related to fix #1682
955
956 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
957
958         * lengthcommon.C: a more general fix for bug 1682
959
960 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * text.C (backspace): fix crash
963
964 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
965
966         * format.[Ch] (getFormatFromFile): new method
967         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
968
969 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
972
973 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * lyxfunc.C (dispatch): remove the verbose argument
976         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
977         instead
978
979         * kbmap.C (defkey): set the origin of func to KEYBOARD
980
981         * MenuBackend.C (MenuItem):
982         * ToolbarBackend.C (add): set the origin of func to UI
983
984         * funcrequest.[Ch]: add origin member, which indicates which part
985         of LyX requests an action
986
987 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * converter.C (move): don't lie in the error message
990         * converter.h (isReachable, move): document
991
992 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
993
994         * buffer.C: remove unused using lyx::support::atoi
995         * paragraph_funcs.C: ditto
996
997 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
998
999         * bufferlist.C (exists): use bind and equal_to instead of
1000         compare_memfun
1001         (getBuffer): ditto
1002         * lyxtextclasslist.C (NumberOfClass): ditto
1003
1004         * cursor.C (insert): use for_each instead of explicit for loop
1005
1006         * bufferlist.C (getFileNames): use std::transform and
1007         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1008
1009         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1010         for loop
1011
1012         * buffer.C (changeLanguage): use for_each instead of explicit for
1013         loop
1014         (hasParWithID): implement using getParFromID
1015
1016         * LaTeXFeatures.C: ws change only
1017
1018         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1019         to cleanup a bit.
1020
1021         * BufferView_pimpl.C (trackChanges): use for_each instead of
1022         expilicit for loop
1023
1024 2004-11-04  André Pönitz  <poenitz@gmx.net>
1025
1026         * undo.h:
1027         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1028
1029         * dociterator.C (asDocIterator): use hard assert again.
1030
1031 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * lyxlength.C (asLatexString): rewrite so that it does not use
1034         snprintf anymore
1035
1036 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * text3.C (specialChar, dispatch): make sure cursor moves to the
1039         right after inserting an inset
1040
1041 2004-11-02  José Matos  <jamatos@lyx.org>
1042
1043         * output_docbook.C (docbook):
1044         * paragraph.C (getID):
1045         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1046         garantee that the output is always legal.
1047
1048         * tabular.C (docbook):
1049         * outputprams.[Ch]: remove mixed contents.
1050
1051 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * text2.C (setCounter): prevent endless loop
1054
1055 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1056
1057         * exporter.C (copyFile): use the mover instead of support::copy()
1058         * exporter.C (Export): pass format and latex name to copyFile()
1059         * exporter.h (addExternalFile): document
1060         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1061
1062 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1063
1064         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1065
1066 2004-10-30  José Matos  <jamatos@lyx.org>
1067
1068         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1069         text and no inset or font change. This allows to use CDATA
1070         sections just for the whole paragraph.
1071
1072 2004-10-30  José Matos  <jamatos@lyx.org>
1073
1074         * paragraph.C (getFirstWord): remove unused variable.
1075
1076 2004-10-30  José Matos  <jamatos@lyx.org>
1077
1078         * paragraph.C (getFirstWord): the content should always be escaped
1079         there.
1080         (simpleDocBookOnePar):
1081         * output_docbook.C (makeEnvironment): replace reference to CDATA
1082         to style pass_thru.
1083
1084 2004-10-30  José Matos  <jamatos@lyx.org>
1085
1086         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1087
1088 2004-10-30  José Matos  <jamatos@lyx.org>
1089
1090         * output_docbook.C (makeParagraphs):
1091         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1092         standard paragraph has only a given type of content drop the wrapper.
1093
1094 2004-10-29  José Matos  <jamatos@lyx.org>
1095
1096         * output_docbook.C (makeEnvironment):
1097         * sgml.C (openTag):
1098         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1099
1100 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1101
1102         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1103         (cleanID): sanitize any id.
1104
1105 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1106
1107         * buffer.C, lyxlex_pimpl.C:
1108         * lyxlex_pimpl.C (setFile):
1109         s/getExtFromContents/getFormatFromContents/
1110
1111 2004-10-28  José Matos  <jamatos@lyx.org>
1112
1113         * output_docbook.C (makeEnvironment): move id to broadest possible
1114         scope.
1115
1116         * sgml.C (openTag): apply substitution of <> for all attributes.
1117
1118 2004-10-28  José Matos  <jamatos@lyx.org>
1119
1120         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1121         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1122         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1123
1124         * sgml.[Ch]: new version for open and closeTag for paragraph and
1125         for strings. Now they handle the ids of paragraphs.
1126
1127 2004-10-26  Angus Leeming  <leeming@lyx.org>
1128
1129         * Makefile.am: add mover.[Ch].
1130
1131         * converter.C (convert, move): use the new Movers to move external
1132         files to the temp directory.
1133
1134         * lyx_main.C (init): ensure that the global system_movers data
1135         is initialised.
1136
1137         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1138         preferences file.
1139
1140         * mover.[Ch]: new files, defining a Mover as a utility to move an
1141         external file between directories and, if necessary, manipulate this
1142         file using a helper script.
1143
1144 2004-10-25  José Matos  <jamatos@lyx.org>
1145
1146         * output_docbook.C (makeCommand): merge two if's that tested the
1147         same condition.
1148
1149 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * sgml.C (escapeString): fix warning in a better way
1152
1153 2004-10-25  José Matos  <jamatos@lyx.org>
1154
1155         * sgml.C (escapeString): import the require boosts header file for
1156         tie, and avoid a signed unsigned comparison.
1157
1158 2004-10-25  José Matos  <jamatos@lyx.org>
1159
1160         * sgml.h: add #include <string>
1161
1162 2004-10-25  José Matos  <jamatos@lyx.org>
1163
1164         * sgml.[Ch] (escapeString): new function to escape all the string.
1165
1166 2004-10-24  José Matos  <jamatos@lyx.org>
1167
1168         * paragraph.[Ch] (getFirstWord): new function to get the first
1169         word. Useful for description.
1170         (simpleDocBookOnePar): remove depth argument, add another that
1171         says where to start the paragraph.
1172
1173         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1174         use the new functions to fix cleanly the support for descriptions.
1175
1176 2004-10-24  José Matos  <jamatos@lyx.org>
1177
1178         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1179         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1180         * output_linuxdoc.C (linuxdocParagraphs):
1181         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1182         add buffer as argument.
1183
1184 2004-10-24  José Matos  <jamatos@lyx.org>
1185
1186         * output_docbook.C (makeEnvironment, searchEnvironment): place
1187         CDATA inside paragraphs and fix scope for listitems.
1188
1189 2004-10-24  José Matos  <jamatos@lyx.org>
1190
1191         * output_docbook.C: remove using statement for stack.
1192
1193 2004-10-23  José Matos  <jamatos@lyx.org>
1194
1195         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1196         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1197         docbook. The new scheme is recursive and makes use of iterators, the
1198         same as latex export works.
1199         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1200         directly with the paragraph contents. This code was moved up to
1201         output_docbook.C (docbookParagraphs).
1202         * sgml.C (openTag, closeTag): removed unneeded newlines.
1203         (closeEnvTags) removed.
1204
1205 2004-10-23  André Pönitz  <poenitz@gmx.net>
1206
1207         * undo.C (textUndoOrRedo):
1208         * dociterator.C (asDocIterator): work around crash
1209
1210         * cursor.C (getStatus): replace ASSERT by more verbose error message
1211           and manual correction of the problem. Should increase stability
1212           while providing more sensible information.
1213
1214 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1217
1218         * bufferlist.C (previous, next): new methods
1219
1220         * lfuns.h:
1221         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1222
1223 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1224
1225         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1226         entities to preamble.
1227
1228 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1229
1230         * messages.C (Pimpl): strip off translation context information
1231
1232 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1235         the cursor is correct (bug 1694)
1236
1237 2004-10-13  José Matos  <jamatos@lyx.org>
1238
1239         * output_docbook.C (docbookParagraphs): fix closing tags in the
1240         end of the document.
1241
1242 2004-10-09  José Matos  <jamatos@lyx.org>
1243
1244         * buffer.C: format up to 237.
1245         * bufferparams.C (write): use tostr to convert booleans to strings.
1246
1247 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1248
1249         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1250
1251 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * LaTeX.C: implement use of babel language in xindy.
1254
1255 2004-10-05  José Matos  <jamatos@lyx.org>
1256
1257         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1258         Add new translators to help reading and writing the lyx file.
1259
1260 2004-10-05  José Matos  <jamatos@lyx.org>
1261
1262         * ParagraphParameters.C (read):
1263         * text.C (readParToken): replace nexToken by more appropriate lex
1264         methods.
1265
1266 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1267
1268         * LaTeX.C (runMakeIndex):
1269         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1270         (usually 'makeindex') configurable.
1271
1272         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1273         with a variable rather than with a number.
1274
1275 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1276
1277         * output_latex.C (TeXOnePar): make sure font setting is the first
1278         thing that gets output (and the last at the end). Should fix bug
1279         1404.
1280
1281 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1282
1283         * pch.h: use proper signal include
1284
1285         * LaTeX.h: Use preferred calling of Boost.Signal
1286         * buffer.h: ditto
1287
1288 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1289
1290         * pch.h: dont include <boost/function/function0.hpp>
1291
1292         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1293
1294         * paragraph_pimpl.h: remove usage of ShareContainer
1295
1296         * paragraph_pimpl.C: remove initialization of ShareContainer.
1297
1298 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         Fix bug #1666
1301
1302         * BufferView.C (putSelectionAt): change the semantics when
1303         backwards == true: now, this just swaps cursor and anchor wrt the
1304         forward case
1305
1306         * BufferView.h (putSelectionAt): add some documentation
1307
1308         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1309         make sure backwardChar is done at least once (to avoid getting
1310         stuck)
1311         (findNextChange): use putSelectionAt in the forward direction
1312         (operator()): use Paragraph::isWord
1313
1314 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1315
1316         * Spacing.C (set): c_str fix
1317
1318 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1319
1320         * lyx_cb.C (Reconfigure): quote the name of configure script in
1321         case it contains spaces
1322
1323 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1324
1325         * client: new dir
1326
1327         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1328         (BOOST_LIBS): use top_buildir when looking for the file
1329
1330 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1331
1332         * pch.h: do not use include boost/format.hpp, multiple symbols
1333                 will result (gcc bug)
1334
1335
1336 2004-08-23  José Matos  <jamatos@lyx.org>
1337
1338         * bufferparams.C (readToken): fix reading of the author field.
1339
1340 2004-08-20  José Matos  <jamatos@lyx.org>
1341
1342         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1343
1344 2004-08-20  José Matos  <jamatos@lyx.org>
1345
1346         * lyxlex.[Ch] (findToken): remove function.
1347
1348         * ParagraphParameters.C (findToken):
1349         * bufferparams.C (findToken): replace call for previous function
1350         with local copy. This local function has one more argument, the
1351         read string argument.
1352
1353 2004-08-16  José Matos  <jamatos@lyx.org>
1354
1355         * ParagraphParameters.C (write):
1356         * Spacing.C (writeFile):
1357         * bufferparams.C (writeLaTeX):
1358         * lyx_cb.C (Reconfigure):
1359         * paragraph.C (write):
1360         * tabular.C (write): remove unnecessary space at end of line.
1361
1362
1363 2004-08-16  José Matos  <jamatos@lyx.org>
1364
1365         * text.C (readParagraph): remove debug message.
1366
1367 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1370         crash
1371
1372         * output_plaintext.C (asciiParagraph): set depth correctly
1373
1374         * outputparams.h: add member depth
1375
1376         * paragraph_funcs.C (ownerPar): remove.
1377
1378         * text2.C (setCounter): remove first_pit; comment out some
1379         non-working code that uses ownerPar
1380
1381         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1382         uses ownerPar
1383
1384 2004-08-16  José Matos  <jamatos@lyx.org>
1385
1386         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1387         For the same level of importance use the same chanel to report problems.
1388         (read): add code to deal with \begin_body and \end_body.
1389
1390
1391 2004-08-15  José Matos  <jamatos@lyx.org>
1392
1393         * lyxlex.C (getString): fix comment, buffer::readBody is now
1394         buffer:readDocument.
1395
1396         * tex-strings.C (string_papersize): Default -> default,
1397         Custom -> custom, for consistency with other options.
1398
1399 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1400
1401         * pch.h: new file
1402
1403         * Makefile.am: support pch
1404
1405 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1406
1407         * text.C (readParToken): remove the static LyXFont variable and
1408         pass it as a parameter instead. This fixes a nasty bug where an
1409         inset will be inserted with a bad font in some situations
1410         (readParagraph): adapt
1411
1412         * text2.C (setCounter): reduce number of calls to pars_[pit]
1413
1414         * text.C (singleWidth): add an assert, fix a test
1415
1416         * rowpainter.C (paintText): reduce number of calls to singleWidth
1417
1418         * paragraph.C (isHfill):
1419         (isNewline): ws only
1420
1421 2004-08-14  André Pönitz  <poenitz@gmx.net>
1422
1423         * text.C:
1424         * text2.C:
1425         * rowpainter.C:
1426         * lyxtext.h (several functions): use a Paragraph & argument
1427         instead of par_type
1428
1429 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1432
1433         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1434
1435         * text.C (singleWidth): remove useless test
1436
1437 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * tabular.h: remove bogus comments
1440
1441         * tabular.C (getDescentOfRow):
1442         (isPartOfMultiColumn): add assertions
1443
1444         * lyxlength.C (inPixels): remove #warning
1445
1446 2004-08-14  André Pönitz  <poenitz@gmx.net>
1447
1448         * paragraph.h: inline getChar()
1449
1450         * BufferView.h: remove unused declarations
1451
1452 2004-08-14  José Matos  <jamatos@lyx.org>
1453
1454         * Buffer.[Ch] (readDocument): new name for old readBody.
1455         * Buffer.C: new file format, new keywords: \begin_document,
1456         \begin_header, \begin_body, \end_body.
1457
1458         * bufferparams.C (readToken): replace all calls to lex.nextToken
1459         by lex.next(). Do the same to eatLine except where really needed.
1460
1461         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1462         line when writing to the lyx file.
1463
1464         * output_plaintext.C (asciiParagraph): fix Bibliography style
1465         handling.
1466
1467         * text.C (read): fix end of file handling.
1468
1469 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * MenuBackend.C (Menu::operator[]): new method to access
1472         individual menu items
1473         (Menu::hasFunc): new method. search for an item that corresponds
1474         to a given func
1475         (MenuBackend::specialMenu): new method
1476         (MenuBackend::expand): if a special menu has been set, skip
1477         entries whose func() appears in this menu
1478
1479 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1480
1481         * text3.C: use Debug::DEBUG a bit more
1482
1483         * text.C (leftMargin): try to simplify a tiny bit change var x to
1484         l_margin. Dont output the wide margins always.
1485         (rightMargin): no margin in inner texts
1486
1487         * rowpainter.h (nestMargin): new func
1488         (changebarMargin): new func
1489         (rightMargin): new func
1490
1491         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1492         now functions.
1493         (paintLast): ditto
1494
1495         * factory.C (createInset): modify setDrawFrame
1496
1497         * cursor.C: use Debug::DEBUG a bit more
1498
1499 2004-08-14  André Pönitz  <poenitz@gmx.net>
1500
1501         * coordcache.[Ch]:
1502         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1503         cache for all insets in (at least partially) visible (top-level)
1504         paragraphs.
1505
1506         * BufferView_pimpl.C: reset external coord cache before every update.
1507         This means the coord cache only contains valid entries.
1508
1509 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1510
1511         bug 1096
1512         * BufferView_pimpl.C (getInsetByCode): move function out of class
1513         and change in to a template in anon namespace. Also fix to do what
1514         suits us better.
1515
1516 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1517
1518         bug 1305
1519         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1520         of char
1521         (breakParagraph): rename par to par_offset and use a local
1522         reference. Add code to keep the language over a rebreak.
1523         (breakParagraphConservative): rename par to par_offset, use a
1524         local reference
1525         (mergeParagraph): ditto
1526         (outerHook): ditto
1527         (isFirstInSequence): ditto
1528         (outerFont): rename pit to par_offset
1529
1530         * paragraph.C: ws change
1531         * paragraph.h: ditto
1532         * text3.C: ditto
1533         * text.C: ditto
1534
1535 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1536
1537         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1538         treatment for ']'
1539
1540         * paragraph.C (simpleTeXOnePar): when we have a \item with
1541         optional argument, enclose the argument with curly brackets (in
1542         case it contains a closing square bracket)
1543
1544         * text2.C (editXY):
1545         * text2.C (editXY):
1546         * text3.C (checkInsetHit): constify
1547
1548 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1549
1550         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1551         documents (bug 1629)
1552
1553 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1554
1555         Fix toggling of collapsable insets with the mouse (bug 1558)
1556
1557         * lyxfunc.C (dispatch): adapt to LCursor changes
1558
1559         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1560         make sure that dispatch is not invoked twice
1561
1562         * cursor.C (needsUpdate): new method
1563         (dispatch): return void
1564         (result): new method, to access the DispatchResult of the cursor.
1565
1566 2004-08-13  José Matos  <jamatos@lyx.org>
1567
1568         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1569
1570 2004-08-13  André Pönitz  <poenitz@gmx.net>
1571
1572         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1573
1574         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1575           multiple cells
1576
1577 2004-08-12  André Pönitz  <poenitz@gmx.net>
1578
1579         * text3.C: take out the 'cursor right' form insertInset and only
1580         do it in those places when it is really needed. Fixes crash on
1581         C-m...
1582
1583 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1586
1587         * BufferView_pimpl.C (setBuffer): initialize the current font of
1588         the underlying LyXText
1589
1590 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * kbsequence.C (print): use UI native formatting for menu
1593         shortcuts
1594
1595         * text.C (insertChar): call Paragraph::insertChar with a font
1596         argument (cosmetic)
1597
1598         * paragraph.C (insertInset, insertChar): the version that takes a
1599         LyXFont argument is now a wrapper around the other one (the
1600         opposite used to be true).
1601
1602         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1603         argument. Font setting is done in Paragraph now.
1604
1605 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1606
1607         * outputparams.h: add new members intitle and lang.
1608
1609         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1610         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1611
1612 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1613
1614         * text3.C (dispatch): remove special handling of button 4 and 5,
1615         it is now taken care of in the frontend code.
1616
1617 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1618
1619         * Spacing.h: add <string> (STLPort compile fix)
1620
1621 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1622
1623         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1624
1625 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1626
1627         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1628         to bool.
1629
1630         * converter.C (showMessage): inherit from unary_function, make
1631         operator() const.
1632
1633         * buffer.C (writeFile): initialize retval
1634
1635         * InsetList.h: rename private variable list to list_
1636         * InsetList.[Ch]: adjust accordingly.
1637
1638 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1639
1640         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1641         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1642         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1643         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1644         * ParagraphParameters.C, LaTeXFeatures.C: replace
1645         "support/std_sstream.h" with <sstream>
1646
1647 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1648
1649         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1650         * lyxsocket.C (LyXServerSocket): ditto
1651         (serverCallback): ditto
1652
1653 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1654
1655         * LaTeXFeatures.C: check release date when loading jurabib.
1656
1657 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1658
1659         * lyxserver.C (startPipe): call register_socket_callback
1660         (endPipe): call unregister_socket_callback
1661
1662 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1663
1664         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1665         (LyXServerSocket): register the callback
1666         (LyXServerSocket): unregister the callback
1667         (fd): delete function
1668         (serverCallback): improve error checking and setup the callbacks.
1669         (dataCallback): change arg to fd.
1670         (writeln): new func (copied fro the client socket) used for server
1671         write to client.
1672         (LyXDataSocket): simplify
1673         (~LyXDataSocket): close ann unregiser callback
1674         (server): delete function
1675         (fd): delete function
1676         (readln): small changes, improve some std::string usage
1677         (writeln): constify a bit
1678
1679 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1680
1681         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1682         Qt frontend
1683
1684 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1687         after it has been populated
1688
1689 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * text2.C (insertInset): move cursor when inserting inset.
1692
1693 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * kbmap.C (findbindings): a couple of new methods. returns a
1696         container of kb_sequence objects. The real work is done by the
1697         private recursive version
1698         (printbindings): uses findbindings to print out a bracketed list
1699         of bindings (renamed from findbinding).
1700
1701         * MenuBackend.C (binding): use kb_keymap::findbindings
1702
1703         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1704
1705 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1706
1707         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1708
1709 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * paragraph.C (isWord): return true on insets that report
1712         isLetter().
1713
1714         * text.C (getWord): use Paragraph::isWord to decide what is in a
1715         word and what is not; fix bug 1609.
1716
1717 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1718
1719         * tex-strings.C: add "none" to string_paperpackages[], fixes
1720         off-by-one-error in the paperpackage selection.
1721
1722         * lyxlex.[Ch]:
1723         * tex-strings.[Ch]: char const * string[n]
1724         -> char const * const string[]
1725
1726 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1729         command, return early.
1730
1731 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1732
1733         * debug.h: add DEBUG to enum and fix size of ANY.
1734
1735         * debug.C: add support for Debug::DEBUG
1736         (showTags): cast errorTags.level to unsigned int
1737
1738         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1739         (redoCurrentBuffer): ditto
1740         (updateScrollbar): ditto
1741         * cursor.C (dispatch): ditto
1742         * text2.C (setLayout): ditto
1743         (setFont): ditto
1744         (updateCounters): ditto
1745         (editXY): ditto
1746         (deleteEmptyParagraphMechanism): ditto
1747
1748 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1749
1750         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1751         annotations to cleanup the Makefile slightly.
1752
1753 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1754
1755         * lyxrc.C: do not set user_email to a default value but use empty
1756         instead. The entry used to be translated, which does not work
1757         since at the point where lyxrc is constructed there is no
1758         translation service available
1759
1760         * messages.C (getLocaleDir): remove and use directly
1761         lyx_localedir() instead
1762
1763 2004-06-02  Angus Leeming  <leeming@lyx.org>
1764
1765         Fix crash caused by dereferencing null pointer 'exportdata' in
1766         OutputParams by creating a new ExportData variable on the heap,
1767         storing it in a boost::shared_ptr.
1768         The crash was triggered when generating an Instant Preview
1769         of an external inset.
1770
1771         * Makefile.am: add outputparams.C
1772
1773         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1774         (c-tor): allocate memory to it.
1775
1776         * exporter.C (c-tor): associated changes.
1777
1778 2004-06-01  Angus Leeming  <leeming@lyx.org>
1779
1780         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1781         contains data before calling isInset(0). (Bug 1513.)
1782
1783 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1784
1785         * exporter.C (checkOverwrite): new method
1786         * exporter.C (copyFile): new method
1787         * exporter.C (Export): copy referenced files to the document dir
1788         * exporter.[Ch]: new class ExportedFile
1789         * exporter.[Ch]: new class ExportData. Contains currently the
1790         names of referenced external files
1791         * outputparams.h: add exportdata member.
1792
1793 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1794
1795         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1796         version.C-tmp
1797
1798 2004-05-19  Angus Leeming  <leeming@lyx.org>
1799
1800         * LaTeXFeatures.C:
1801         * ToolbarBackend.C:
1802         * bufferparams.C:
1803         * lyxfunc.C: small changes due to the introduction of namespace
1804         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1805
1806 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * text3.C (dispatch): supress update when only moving the cursor
1809         * cursor.C (selHandle): remove commented code
1810
1811 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1812
1813         * paragraph.C (startTeXParParams): correct column count
1814         * CutAndPaste.C (pasteSelection): remove const_cast
1815         * output_docbook.C (docbookParagraphs): remove const_cast
1816         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1817         const_cast and return ParagraphList::const_iterator
1818         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1819         * output_plaintext.C (writeFileAscii): remove const_cast
1820         * paragraph.[Ch] (simpleTeXOnePar): make const
1821         * paragraph_funcs.C (outerPar): use const iterators
1822         * paragraph_pimpl.C (validate): use const iterators
1823         * text.C (setHeightOfRow): use const iterators
1824
1825 2004-05-17  Angus Leeming  <leeming@lyx.org>
1826
1827         * lfuns.h:
1828         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1829
1830         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1831         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1832         if the citation engine has changed.
1833
1834 2004-05-14  José Matos  <jamatos@lyx.org>
1835
1836         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1837         if the textclass does not provide it. Have it different for sgml and
1838         xml.
1839         support the language of document.
1840         * output_docbook.C (docbookParagraphs):
1841         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1842         first anchor as the id of the paragraph, remove special case code.
1843         * sgml.C (escapeChar): escape only < & >.
1844
1845 2004-05-14  Angus Leeming  <leeming@lyx.org>
1846
1847         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1848         dependencies on src/frontends/controllers/biblio.h. Define a
1849         CiteEngine_enum wrapper class to enable the enum to be forward
1850         declared.
1851
1852 2004-05-12  Angus Leeming  <leeming@lyx.org>
1853
1854         * buffer.C: up LYX_FORMAT to 234.
1855         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1856         use_numerical_citations with a single biblio::CiteEngine cite_engine
1857         variable.
1858         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1859
1860 2004-05-13  José Matos  <jamatos@lyx.org>
1861
1862         * converter.h:
1863         * converter.C (Converter, readFlags): add xml member.
1864         * outputparams.h: add XML flavor.
1865         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1866
1867 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * lyxfunc.C (dispatch):
1870         (getStatus): fix handling of LFUN_SEQUENCE
1871
1872 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1873
1874         * debug.C (showLevel): do not forget the end-of-line marker
1875
1876 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * kbmap.C (read): do not stop parsing a bind file when an error
1879         occurs (bug 1575)
1880
1881 2004-04-29  Angus Leeming  <leeming@lyx.org>
1882
1883         * cursor.C:
1884         * factory.C:
1885         * pariterator.C:
1886         * text2.C: wrap a bunch of #warning statements
1887         inside #ifdef WITH_WARNINGS blocks.
1888
1889 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1890
1891         * buffer.C: increment format to 233.
1892
1893 2004-04-28  Angus Leeming  <leeming@lyx.org>
1894
1895         * BufferView_pimpl.C:
1896         * lyxfunc.C:
1897         * text3.C:
1898         s/updateToolbar()/updateToolbars()/
1899         s/Toolbar.h/Toolbars.h/
1900
1901 2004-04-28  Angus Leeming  <leeming@lyx.org>
1902
1903         * BufferView.[Ch] (c-tor):
1904         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1905         No longer passes these data to the WorkArea generator.
1906
1907 2004-04-28  Angus Leeming  <leeming@lyx.org>
1908
1909         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1910
1911 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1912
1913         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1914
1915 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * output_latex.C (TeXEnvironment): make sure that there is a line
1918         break before \end{foo} for the last paragraph of a document
1919         (TeXOnePar): if the paragraph is at the end of the document (or
1920         inset) and the language has to be reset, then make sure that the
1921         line break is _before_ the language command, not after (fixes bug
1922         1225); also make sure that the language reset command is the first
1923         thing after the paragraph (to ensure proper nesting of
1924         environments and thus fix bug 1404)
1925
1926 2004-04-21  John Levon  <levon@movementarian.org>
1927
1928         * ToolbarBackend.h:
1929         * ToolbarBackend.C: make "name" be a programmatic name
1930         and a gui_name field.
1931
1932         * lyxfunc.C: display the minibuffer on M-x
1933
1934 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1937         (bug 1526)
1938
1939 2004-04-19  Angus Leeming  <leeming@lyx.org>
1940
1941         * BufferView_pimpl.C (setBuffer): changed preview interface.
1942
1943         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1944         possible values.
1945
1946 2004-04-19  John Levon  <levon@movementarian.org>
1947
1948         * BufferView_pimpl.C:
1949         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1950
1951 2004-04-05  Angus Leeming  <leeming@lyx.org>
1952
1953         * text.C (redoParagraphs): add call to updateCounters(), thereby
1954         fixing the missing "Figure #:" label from the caption of a
1955         figure float.
1956
1957 2004-04-13  Angus Leeming  <leeming@lyx.org>
1958
1959         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1960         cursor is clicked out of an inset.
1961
1962 2004-04-13  Angus Leeming  <leeming@lyx.org>
1963
1964         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1965         than an InsetOld one.
1966
1967 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1968
1969         * format.[Ch]: add editor to Format
1970         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1971         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1972
1973 2004-04-08  André Pönitz  <poenitz@gmx.net>
1974
1975         * metricsinfo.h: remove PainterInfo::width member
1976
1977 2004-04-08  Angus Leeming  <leeming@lyx.org>
1978
1979         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1980         "\providecommand" rather than "\newcommand", thereby preventing
1981         clashes with packages that define "\boldsymbol" themselves.
1982         Eg, beamer.
1983
1984 2004-04-08  Angus Leeming  <leeming@lyx.org>
1985
1986         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1987         thereby squashing an unnecessary warning.
1988
1989 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1990
1991         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1992         setBuffer()
1993
1994 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1995
1996         * BufferView.C (setCursor): call redoParagraph (some insets could
1997         have been opened)
1998         (putSelectionAt): remove the 'double update' trick
1999
2000         * BufferView_pimpl.C (fitCursor): call refreshPar
2001         (workAreaDispatch): remove an uneeded update call
2002         (dispatch): remove some manual update calls
2003
2004         * cursor.[Ch]: remove cached_y_, updatePos
2005         (selHandle): set noUpdate when appropriate
2006
2007         * lyxfunc.C (dispatch): track if we need an update
2008
2009         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2010
2011         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2012         (paintSelection): cheap optimization, do not call cursorX when not
2013         needed
2014         (paintPars): change signature
2015         (refreshPar): add
2016         (paintText): adjust
2017         (paintTextInset): adjust
2018
2019         * text.C: adjust
2020
2021 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * lengthcommon.C: compilation fix: remove explicit array size from
2024         unit_name[] and friends
2025
2026 2004-04-05  Angus Leeming  <leeming@lyx.org>
2027
2028         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2029
2030         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2031         present only for the preferences dialog.
2032         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2033
2034 2004-04-05  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2037         to enable the frontends to export changes to lyxrc correctly.
2038
2039         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2040
2041 2004-04-07  André Pönitz  <poenitz@gmx.net>
2042
2043         * cursor.[Ch] (selClear, adjust): remove math
2044
2045         * cursor_slice.C: more agressive assert
2046
2047         * lyxfunc.C:
2048         * BufferView_pimpl.C: rework mouse event dispatch
2049
2050         * dociterator.C:
2051         * paragraph.C:
2052         * text2.C:
2053         * text3.C: adjust
2054
2055 2004-04-05  André Pönitz  <poenitz@gmx.net>
2056
2057         * cursor.[Ch] (valign, halign...): remove unneeded functions
2058
2059 2004-04-05  Angus Leeming  <leeming@lyx.org>
2060
2061         * lyxlength.[Ch] (unit_name et al.): const-correct.
2062
2063 2004-04-05  Angus Leeming  <leeming@lyx.org>
2064
2065         * BufferView_pimpl.C:
2066         * buffer.C:
2067         * counters.C:
2068         * cursor.C:
2069         * lyxfunc.C
2070         * paragraph.C:
2071         * pariterator.C:
2072         * text.C:
2073         * text2.C:
2074         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2075
2076 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2079
2080 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2083         * BufferView_pimpl.[Ch] (getStatus)
2084         * BufferView.[Ch] (getStatus): add
2085         * lyxfunc.C (getStatus): move lfuns handled in
2086         BufferView::dispatch to te function above
2087         * Cursor.C (setSelection): set selection() = true
2088
2089 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2092
2093 2004-03-31  Angus Leeming  <leeming@lyx.org>
2094
2095         * lyxfunc.C (dispatch): Fall through to the generic
2096         Dialogs::show("preamble").
2097
2098 2004-03-31  Angus Leeming  <leeming@lyx.org>
2099
2100         * lyxfunc.C (dispatch): Fall through to the generic
2101         Dialogs::show("spellchecker").
2102
2103 2004-03-31  Angus Leeming  <leeming@lyx.org>
2104
2105         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2106         preferences dialog.
2107
2108 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * BufferView.C
2111         * cursor.[Ch]
2112         * dociterator.[Ch]:
2113         * insetiterator.[Ch]:
2114         * lyxfind.C:
2115         * lyxfunc.C:
2116         * pariterator.[Ch]:
2117         * text2.C:
2118         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2119
2120 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2121
2122         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2123         insets where we are putting the cursor.
2124
2125 2004-03-31  Angus Leeming  <leeming@lyx.org>
2126
2127         * lfuns.h:
2128         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2129
2130         * lyxrc.[Ch] (read, write): overloaded member functions taking
2131         a std::[io]stream arguments.
2132
2133         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2134
2135 2004-03-31  Angus Leeming  <leeming@lyx.org>
2136
2137         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2138         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2139
2140         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2141         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2142
2143 2004-03-31  Angus Leeming  <leeming@lyx.org>
2144
2145         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2146         the LFUN_ALL_INSETS_TOGGLE code.
2147
2148 2004-03-30  Angus Leeming  <leeming@lyx.org>
2149
2150         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2151         has died. Fall through to the generic Dialogs::show("document").
2152
2153 2004-03-30  Angus Leeming  <leeming@lyx.org>
2154
2155         * lfuns.h:
2156         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2157         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2158
2159         * lyxfunc.C (getStatus, dispatch): define the actions for these
2160         lfuns. Little more than a cut and pste job from ControlDocument.C
2161
2162         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2163
2164 2004-03-30  Angus Leeming  <leeming@lyx.org>
2165
2166         * lfuns.h:
2167         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2168         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2169
2170         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2171         open/closed state of ollapsable insets. Usage:
2172
2173         all-inset-toggle <state> <name>, where
2174         <state> == "open" || "closed" || "toggle" and
2175         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2176
2177         * lyxtext.h, text2.C (toggleInset): removed.
2178
2179         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2180         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2181         now passes LFUN_INSET_TOGGLE to the found inset.
2182
2183         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2184         is now invoked as "all-insets-toggle toggle branch".
2185
2186 2004-03-30  Angus Leeming  <leeming@lyx.org>
2187
2188         * dociterator.C:
2189         * insetiterator.C:
2190         * pariterator.[Ch]: added/corrected header blurb.
2191
2192 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * dociterator.[Ch]: add an inset_ member
2195         (backwardPos): implemented
2196         (backwardPos, forwardPos): use inset_ when the stack is empty.
2197         (doc_iterator_begin, doc_iterator_end): implemented
2198         * pariterator.[Ch]: adjust, add begin, end
2199         * insetiterator.[Ch]: adjust, add begin, end
2200         * cursor.C:
2201         * document.C:
2202         * BufferView.C:
2203         * BufferView_pimpl.C:
2204         * CutAndPaste.C: adjust
2205
2206 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2207
2208         * buffer.C: increment file format to 232.
2209         * LaTeXFeatures.C: add bibtopic package.
2210         * bufferparams.[Ch]: param \use_bibtopic.
2211
2212         * lyxrc.[Ch]: add lyxrc bibtex_command
2213         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2214
2215         * buffer.C: increment file format to 231.
2216
2217 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * dociterator.C: implement forwardPar
2220         * iterators.[Ch]: remove, replaced by
2221         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2222         * BufferView.C:
2223         * BufferView_pimpl.C:
2224         * CutAndPaste.C:
2225         * buffer.C:
2226         * bufferview_funcs.C:
2227         * cursor.C:
2228         * lyxfind.C
2229         * lyxfunc.C
2230         * paragraph_funcs.C
2231         * toc.C:
2232         * Makefile.am: adjust
2233
2234 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2235
2236         * CutAndPaste.C (pasteSelection): fix 2 crashes
2237         (eraseSelection): fix a crash
2238         * paragraph_funcs.C: remove a warning
2239
2240 2004-03-28  Angus Leeming  <leeming@lyx.org>
2241
2242         * lfuns.h:
2243         * LyXAction.C (init): new LFUN_PRINT.
2244
2245         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2246
2247 2004-03-27  Angus Leeming  <leeming@lyx.org>
2248
2249         * lfuns.h:
2250         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2251
2252         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2253
2254 2004-03-27  Angus Leeming  <leeming@lyx.org>
2255
2256         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2257         insetlist always contains non-null pointers to insets.
2258
2259 2004-03-26  Angus Leeming  <leeming@lyx.org>
2260
2261         * src/BufferView_pimpl.C:
2262         * src/CutAndPaste.C:
2263         * src/buffer.C:
2264         * src/iterators.C:
2265         * src/output_plaintext.C:
2266         * src/outputparams.h:
2267         * src/paragraph_funcs.C:
2268         * src/rowpainter.C:
2269         * src/text.C:
2270         * src/text2.C:
2271         * src/frontends/controllers/ControlErrorList.C:
2272         * src/frontends/gtk/FileDialogPrivate.C:
2273         * src/frontends/gtk/GPainter.C:
2274         * src/frontends/gtk/GToolbar.C:
2275         * src/frontends/qt2/QRef.C:
2276         * src/mathed/math_scriptinset.C: squash compiler warnings.
2277
2278 2004-03-26  Angus Leeming  <leeming@lyx.org>
2279
2280         * ispell.C (LaunchIspell::start):
2281         * lyx_cb.C (AutoSaveBuffer::start):
2282         invoke run(DontWait) rather than runNonBlocking().
2283
2284 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2287
2288 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * kbsequence.C (print): adjust
2291
2292         * kbmap.C (printKeySym): rename and change signature
2293         (printKey): use LyXKeySym::print()
2294
2295 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2296
2297         * undo.C: add using std::advance to compile for stlport
2298
2299 2004-03-24  Angus Leeming  <leeming@lyx.org>
2300
2301         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2302         it leads to a crash when no buffer is present.
2303
2304 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305             Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * lyxfunc.C (dispatch):
2308         * bufferparams.C (readToken): use the new LColor::setColor
2309
2310         * LColor.[Ch] (setColor): new version that takes two strings as
2311         argument and creates a new color entry if necessary
2312
2313 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2314
2315         * buffer.C (makeLaTeXFile): if the main latex file that is
2316         processed is usually a subdocument of some master, then pretend
2317         for a while that it is actually the master
2318
2319 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2320
2321         * buffer.C (getLabelList):
2322         (getBibkeyList): use getMasterBuffer()
2323         (getMasterBuffer): new method. Returns the main document in the
2324         case where one is using included documents.
2325
2326 2004-03-25  André Pönitz  <poenitz@gmx.net>
2327
2328         * Makefile.am:
2329         * iterators.[Ch]:
2330         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2331
2332         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2333
2334         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2335         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2336
2337         * ParameterStruct.h: merge with ParagraphParameters
2338
2339         * lyxtext.h: remove LyXText::parOffset() and getPar()
2340
2341         * text3.C: Remove all 'manual' update calls. We do now one per user
2342         interaction which is completely sufficient.
2343
2344         * Bidi.C:
2345         * BufferView.[Ch]:
2346         * BufferView_pimpl.C:
2347         * FontIterator.[Ch]:
2348         * MenuBackend.C:
2349         * ParagraphParameters.[Ch]:
2350         * buffer.C:
2351         * buffer.h:
2352         * bufferlist.C:
2353         * cursor.[Ch]:
2354         * cursor_slice.[Ch]:
2355         * dociterator.[Ch]:
2356         * errorlist.[Ch]:
2357         * factory.C:
2358         * lfuns.h:
2359         * lyxfind.C:
2360         * lyxfunc.C:
2361         * output_docbook.[Ch]:
2362         * output_latex.[Ch]:
2363         * output_linuxdoc.[Ch]:
2364         * output_plaintext.[Ch]:
2365         * paragraph.[Ch]:
2366         * paragraph_funcs.[Ch]:
2367         * paragraph_pimpl.[Ch]:
2368         * rowpainter.C:
2369         * tabular.[Ch]:
2370         * text.C:
2371         * text2.C:
2372         * toc.C:
2373         * undo.[Ch]: adjust
2374
2375         * frontends/controllers/ControlDocument.C:
2376         * frontends/controllers/ControlErrorList.C:
2377         * frontends/controllers/ControlSpellchecker.C:
2378         * insets/inset.C:
2379         * insets/inset.h:
2380         * insets/insetbase.h:
2381         * insets/insetbibitem.C:
2382         * insets/insetbox.C:
2383         * insets/insetbranch.C:
2384         * insets/insetcaption.C:
2385         * insets/insetcharstyle.C:
2386         * insets/insetcharstyle.h:
2387         * insets/insetcollapsable.C:
2388         * insets/insetcollapsable.h:
2389         * insets/insetert.C:
2390         * insets/insetfloat.C:
2391         * insets/insetfoot.C:
2392         * insets/insetmarginal.C:
2393         * insets/insetnote.C:
2394         * insets/insetoptarg.C:
2395         * insets/insettabular.C:
2396         * insets/insettext.C:
2397         * insets/insettext.h:
2398         * insets/insetwrap.C:
2399         * mathed/math_mboxinset.C:
2400         * mathed/math_nestinset.C:
2401         * mathed/math_scriptinset.C:
2402         * mathed/math_scriptinset.h:
2403         * support/types.h:
2404
2405 2004-03-24  Angus Leeming  <leeming@lyx.org>
2406
2407         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2408         deal with any child processes that have finished but are waiting to
2409         communicate this fact to the rest of LyX.
2410
2411 2004-03-24  Angus Leeming  <leeming@lyx.org>
2412
2413         64-bit compile fixes.
2414
2415         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2416         (c-tor): pass lyx::pos_types rather than ints.
2417
2418         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2419         lyx::pos_type.
2420
2421         * text.C (Delete): compile fix.
2422         (getPar): ensure that function declaration is the same as that in
2423         the header file.
2424
2425 2004-03-23  Angus Leeming  <leeming@lyx.org>
2426
2427         * ispell.C (LaunchIspell):
2428         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2429         a boost::shred_ptr rather than a std::auto_ptr.
2430
2431 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2434         handle LFUN_FILE_INSERT_*
2435
2436         * lyxrc.C (setDefaults, getDescription, output, read):
2437         * lyxrc.h: remove ps_command
2438
2439 2004-03-22  Angus Leeming  <leeming@lyx.org>
2440
2441         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2442         Ensure that error_handler is processed once only and that all data
2443         is saved before attempting to output any warning messages.
2444
2445         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2446
2447 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2450
2451 2004-03-19  André Pönitz  <poenitz@gmx.net>
2452
2453         * cursor.[Ch] (reset): take main text inset as argument
2454
2455         * BufferView: adjust
2456         * BufferView_pimpl.C: adjust
2457
2458         * paragraph.[Ch]: fix completely broken operator=()
2459
2460 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2461
2462         * LColor.C (getFromLyXName): make sure that the color name is used
2463         as lowercase.
2464
2465 2004-03-17  Angus Leeming  <leeming@lyx.org>
2466
2467         * lfuns.h:
2468         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2469
2470         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2471         dialog and to kill a forked process.
2472
2473 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2474
2475         * text2.C (setCursorFromCoordinates): fix font problem
2476
2477 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2478
2479         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2480         bogus "rebuild cursor" code
2481
2482 2004-03-11  André Pönitz  <poenitz@gmx.net>
2483
2484         * buffer.[Ch]: use InsetText instead of LyXText as container for
2485         the main lyx text.
2486
2487         * dociterator.[Ch]: drop the BufferView * member which is not needed
2488         anymore after the change to buffer.C
2489
2490         * paragraph_funcs.C:
2491         * text.C:
2492         * text2.C:
2493         * BufferView.[Ch]:
2494         * BufferView_pimpl.[Ch]:
2495         * cursor.[Ch]:
2496         * cursor_slice.[Ch]: adjust
2497
2498         * text3.C: fix bug in mathDispatch
2499
2500 2004-03-08  André Pönitz  <poenitz@gmx.net>
2501
2502         * undo.[Ch]: use 'StableDocumentIterator' as base for
2503         the Undo struct.
2504
2505 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2506
2507         * LaTeXFeatures.C:
2508         * bufferparams.[Ch]: add jurabib support and param.
2509
2510         * LaTeX.C: add FIXME/comment.
2511
2512 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2513
2514         * buffer.C: increment file format to 230.
2515
2516 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2517
2518         * cursor.C (dispatch): avoid infinite loops
2519
2520 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2521
2522         * rowpainter.C (paintSelection): fix x coordinates
2523
2524 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * text.C (rowBreakPoint): fix breaking before displayed insets
2527
2528 2004-03-01  André Pönitz  <poenitz@gmx.net>
2529
2530         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2531
2532         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2533
2534         * Makefile.am:
2535         * BufferView.C:
2536         * BufferView_pimpl.C:
2537         * buffer.C:
2538         * lyxfind.C:
2539         * lyxfunc.C:
2540         * text.C:
2541         * text2.C:
2542         * text3.C: adjust
2543
2544 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * lyxtext.h:
2547         * text.C:
2548         * text2.C:
2549         * rowpainter.C:
2550         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2551         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2552
2553 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2554
2555         * Bidi.[Ch] (computeTables): const correctness
2556         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2557         fill_hfill, fill_label_hfill and x from Row
2558         * lyxtext.h: prepareToPrint returns a RowMetrics
2559         * rowPainter.C: adjust
2560         * text.C (prepareToPrint): use width, not textWidth. adjust
2561         (redoParagraphInternal, cursorX): adjust
2562         * text2.C (getColumnNearX): adjust
2563         (init): put a default value to the top LyXText::width
2564
2565 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2568
2569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * lyxtext.h: add FontIterator class
2572
2573         * text.C (FontIterator, operator*, operator->, operator++): add
2574         (rowBreakPoint, setRowWidth): adjust (fixing a
2575         rebreaking bug)
2576
2577 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * BufferView_pimpl.C (workAreaDispatch): allow also
2580         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2581
2582 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2583
2584         * text.C (rowBreakPoint): fix a bug showing with very large insets
2585
2586 2004-02-25  André Pönitz  <poenitz@gmx.net>
2587
2588         * text3.C:
2589         * cursor.[Ch]: move some mathed specific code to mathed
2590
2591 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2592
2593         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2594         use_tempdir in preferences
2595         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2596         tempfile creation
2597         * lyx_main.C: ensure that tempdir is valid
2598         * lyxlex.h: correct typo
2599         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2600         * paragraph.[Ch] (isMultiLingual): make const
2601         * cursor.[Ch] (openable): make const
2602
2603 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2604
2605         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2606
2607 2004-02-20  André Pönitz  <poenitz@gmx.net>
2608
2609         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2610
2611         * cursor.[Ch]: prepare for localized getStatus()
2612
2613         * lyxtext.h:
2614         * tabular.C:
2615         * text.C:
2616         * text2.C:
2617         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2618
2619 2004-02-20  André Pönitz  <poenitz@gmx.net>
2620
2621         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2622
2623 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2624
2625         * text2.C (setCursorFromCoordinates): switch to absolute coords
2626         (cursorUp): adjust
2627         (cursorDown): adjust
2628         * text3.C (dispatch): adjust
2629
2630 2004-02-16  André Pönitz  <poenitz@gmx.net>
2631
2632         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2633           insets/ChangeLog)
2634
2635         * cursor_slice.[Ch]: remove unneeded acessor function
2636
2637         * lyxtext.h: rename rtl() to isRTL()
2638
2639         * rowpainter.C:
2640         * tabular.C:
2641         * text.C:
2642         * text2.C:
2643         * text3.C: adjust
2644
2645 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * rowpainter.C (paintSelection): coord fix
2648
2649 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2650
2651         * Spacing.C: compile fix
2652
2653 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2654
2655         * cursor.C (dispatch): restore current_ before returning
2656
2657 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * text2.C (cursorUp, cursorDown): fix coords
2660         (moveUp): fix crash
2661
2662 2004-02-12  André Pönitz  <poenitz@gmx.net>
2663
2664         * lyxtext.h:
2665         * text.C:
2666         * text2.C:
2667         * text3.C: add LCursor & parameter to most cursor movement functions
2668           remove usage of LyXText::cursorRow() and cursorPar()
2669
2670         * cursor.[Ch]: add textRow() needed members
2671
2672         * BufferView.C:
2673         * BufferView_pimpl.C:
2674         * paragraph.[Ch]:
2675         * BufferView.C:
2676         * BufferView_pimpl.C: adjust
2677
2678 2004-02-11  André Pönitz  <poenitz@gmx.net>
2679
2680         * lyxfunc.C:
2681         * BufferView.[Ch]:
2682         * BufferView_pimpl.C: shift undo/redo handling
2683
2684         * cursor.[Ch]: fix mathed crash
2685
2686         * lyxfind.C:
2687         * lyxtext.h: move selectionAsText to LCursor
2688
2689         * output_latex.C:
2690         * paragraph.C:
2691         * text.C:
2692         * text2.C:
2693         * text3.C: adjust
2694
2695         * rowpainter.C: fix excessive drawing
2696
2697 2004-02-06  André Pönitz  <poenitz@gmx.net>
2698
2699         * BufferView.[Ch]:
2700         * BufferView_pimpl.[Ch]:
2701         * text3.C: move some text specific LFUN handling
2702
2703 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * text3.C (checkInsetHit): adjust coords
2706         * text2.C (getColumnNearX): adjust coords
2707         (edit): adjust coords
2708         * text.C (getRowNearY): add two asserts
2709
2710 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2711
2712         * converter.C:
2713         * format.C: add using std::distance to compile on gcc 2.95/stlport
2714
2715 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2716
2717         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2718
2719 2004-02-04  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.[Ch] (insertInset):
2722         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2723
2724         * text2.C:
2725         * text3.C: adjust
2726
2727 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2728
2729         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2730         on the default clause of the switch
2731         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2732         wasn't catched by LCursor::dispatch
2733
2734 2004-02-03  André Pönitz  <poenitz@gmx.net>
2735
2736         * BufferView.C:
2737         * cursor.[Ch]: some additional asserts
2738
2739         * undo.[Ch]: remove LyXText dependency in interface
2740
2741         * lyxfunc.C: adjust
2742
2743         * lyxtext.h (firstPar, lastPar): remove dead functions
2744
2745         * text.C:
2746         * text2.C:
2747         * text3.C:
2748         * paragraph.[Ch]: adjust
2749
2750 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * lyxfind.C (find): fix argument order in call to ::find
2753
2754 2004-02-02  André Pönitz  <poenitz@gmx.net>
2755
2756         * cursor.[Ch]: remove direct access to anchor
2757
2758         * text.C: remove findText() hack
2759
2760 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * iterators.[Ch] (lockPath): remove in favour of...
2763         * BufferView.[Ch] (setCursor): this addition
2764         * BufferView.C (putSelectionAt): adjust
2765         * undo.C (performUndoOrRedo): adjust
2766         * lyxfunc.C (dispatch): adjust
2767
2768 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2769
2770         * iterators.C (lockPath): add a missing slice
2771         * undo.C (performUndoOrRedo): remove redundant positioning code
2772
2773 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2774
2775         * vc-backend.C (scanMaster): ";" -> ';'
2776
2777 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2778
2779         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2780         std::binary_function
2781
2782         * lyxtextclass.C (compare_name): rename to...
2783         (LayoutNamesEqual): ...this
2784
2785         * lyxlex_pimpl.C (compare_tags): inherit from
2786         std::binary_function, put back into anon namespace
2787
2788         * lyxfind.C (MatchString): inherig from std::binary_function
2789         (findChange): use empty() istead of !size()
2790
2791         * format.C (FormatNamesEqual): new functor
2792         (getFormat): use it
2793         (getNumber): use it
2794         (add): use it
2795         (erase): use it
2796         (setViewer): use it
2797
2798         * converter.C (compare_Converter): rename to...
2799         (ConverterEqual): ...this, and fixup a bit.
2800         (getConverter): use it, and make function const
2801         (getNumber): use it, and make function const
2802         (add): use it
2803         (erase): use it:
2804
2805         * bufferlist.C: add using boost::bind
2806
2807         * MenuBackend.C (MenuNamesEqual): new functor
2808         (hasMenu): use it, and make function const
2809         (hasSubmenu): use nested bind to get rid of compare_memfun.
2810
2811 2004-01-30  André Pönitz  <poenitz@gmx.net>
2812
2813         * BufferView_pimpl.C:
2814         * cursor.C:
2815         * cursor.h:
2816         * cursor_slice.[Ch]:
2817         * lyxfunc.C:
2818         * lyxtext.h:
2819         * paragraph_funcs.C:
2820         * paragraph_funcs.h:
2821         * rowpainter.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C: move some of the edit(x,y) handling to the insets
2825         some coordinate changes.
2826
2827 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2828
2829         * text.C: add using statements for std::advance and std::distance
2830
2831         * paragraph.C: add using statement for std::distance
2832
2833         * lyxfind.C: add using statement for std::advance
2834
2835         * cursor.C (region): remove std:: from swap
2836         (openable): use nucleus in stead of operator->
2837
2838         * BufferView.C: add using statements for std::distance and std::swap
2839
2840 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2841
2842         * iterators.C: Remove the pimple, move the needed structures to
2843         the header file. Create accessor for the positions stack.
2844         (asPosIterator): remove function
2845
2846         * PosIterator.C (PosIterator): move constructors to top of file
2847         (PosIterator): reimplement the constructor taking a ParIterator in
2848         terms of setFrom.
2849         (setFrom): new function
2850         (operator!=): inline it
2851
2852 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2853
2854         * lyxfind.C (replaceAll): use std::advance
2855
2856         * iterators.h: inherit from std::iterator.
2857
2858         * PosIterator.C (advance, distance): remove
2859         * PosIterator.h: interit from std::iterator.
2860
2861 2004-01-26  André Pönitz  <poenitz@gmx.net>
2862
2863         * BufferView.[Ch]:
2864         * BufferView_pimpl.[Ch]:
2865         * InsetList.[Ch]:
2866         * PosIterator.[Ch]:
2867         * buffer.h:
2868         * bufferview_funcs.C:
2869         * cursor.[Ch]:
2870         * cursor_slice.h:
2871         * factory.[Ch]:
2872         * iterators.[Ch]:
2873         * lyxfind.C:
2874         * lyxfunc.C:
2875         * lyxtext.h:
2876         * output_docbook.C:
2877         * output_latex.C:
2878         * output_linuxdoc.C:
2879         * output_plaintext.C:
2880         * paragraph.[Ch]:
2881         * paragraph_funcs.[Ch]:
2882         * paragraph_pimpl.[Ch]:
2883         * rowpainter.C:
2884         * tabular.C:
2885         * tabular.h:
2886         * text.C:
2887         * text2.C:
2888         * text3.C: more IU:  dumps most of the rest of the mathcursor
2889     implementation into cursor.[Ch]; "globalize" a bit of it.
2890
2891 2004-01-25  Angus Leeming  <leeming@lyx.org>
2892
2893         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2894
2895 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2896
2897         * LaTeXFeatures.h: add nice_ and nice() const
2898         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2899
2900 2004-01-20  André Pönitz  <poenitz@gmx.net>
2901
2902         * BufferView.[Ch]:
2903         * BufferView_pimpl.C:
2904         * PosIterator.C:
2905         * bufferview_funcs.C:
2906         * cursor.[Ch]:
2907         * cursor_slice.[Ch]:
2908         * factory.C:
2909         * iterators.C:
2910         * lyx_cb.C:
2911         * lyxfind.C:
2912         * lyxfunc.C:
2913         * lyxtext.h:
2914         * rowpainter.C:
2915         * text.C:
2916         * text2.C:
2917         * text3.C:
2918         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2919           LCursor and mathcursor parts to LCursor and InsetBase.
2920
2921 2004-01-15  André Pönitz  <poenitz@gmx.net>
2922
2923         * cursor_slice.[Ch]: add a few covienience functions
2924
2925         * funcrequest.[Ch]: remove BufferView * member
2926
2927         * BufferView_pimpl.C:
2928         * cursor.C:
2929         * factory.[Ch]:
2930         * lyxfind.[Ch]:
2931         * lyxfunc.C:
2932         * lyxtext.h:
2933         * text3.C:
2934         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2935
2936 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2939         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2940
2941 2004-01-13  André Pönitz  <poenitz@gmx.net>
2942
2943         * textcursor.[Ch]:
2944         * lyxtext.h: hide cursor and selection anchor behind accessor function
2945
2946         * BufferView.C:
2947         * BufferView_pimpl.[Ch]:
2948         * PosIterator.C:
2949         * bufferview_funcs.C:
2950         * cursor.h:
2951         * lyxfind.C:
2952         * lyxfunc.C:
2953         * text.C:
2954         * text2.C:
2955         * text3.C:
2956         * undo.C: adjust
2957
2958         * cursor.h:
2959         * cursor_slice.[Ch]: some integer type changes for inset unification
2960
2961         * lyxcursor.[hC]: remove, it's CursorSlice now.
2962
2963         * Makefile.am:
2964         * BufferView_pimpl.[Ch]:
2965         * bufferview_funcs.C:
2966         * cursor_slice.C:
2967         * lyxtext.h:
2968         * text.C:
2969         * text2.C:
2970         * text3.C:
2971         * textcursor.[Ch]: adjust
2972
2973 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2974
2975         * text2.C (undoSpan): add and use
2976         * text.C (breakParagraph): use undoSpan (fix bug 578)
2977         * lyxtext.h: adjust
2978
2979 2004-01-08  Angus Leeming  <leeming@lyx.org>
2980
2981         * BufferView_pimpl.C (MenuInsertLyXFile):
2982         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2983         * lyxfunc.C (menuNew, open, doImport):
2984         FileFilterList change to the FileDialog open and save functions.
2985
2986 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2987
2988         * ShareContainer.h: make isEqual and isUnique adaptable
2989
2990         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2991
2992 2004-01-07  Angus Leeming  <leeming@lyx.org>
2993
2994         * LyXAction.C:
2995         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2996
2997         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2998
2999         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3000         functions replacing find, replace and replaceAll.
3001
3002         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3003         LFUN_WORDFIND(FORWARD|BACKWARD).
3004
3005 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3006
3007         * text.C (breakParagraph): remove an outdated #warning
3008
3009 2004-01-07  André Pönitz  <poenitz@gmx.net>
3010
3011         * lyxfind.C: somewhat clearer logic
3012
3013         * text.C: prevent crash in cursorX on unitialized row cache
3014
3015 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * lyxcursor.[Ch] (operator>): add
3018         * textcursor.C (selStart, selEnd): use std::min and std::max
3019
3020 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3021
3022         * Chktex.C: include boost/format.hpp
3023
3024 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3025
3026         * InsetList.C: replace functor MathcIt with adaptable functor
3027         InsetTablePosLess
3028         (insetIterator): modify accordingly
3029
3030         * BranchList.h: move the BranchNamesEqual functor here from...
3031         * BranchList.C: ... to here
3032
3033         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3034         SameName and match.
3035         (add): replace a finding loop with std::find_if.
3036
3037 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * output_docbook.C: moving LatexParam functionality into
3040         .layout files
3041
3042 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3043
3044         * buffer.C: increment format to 229.
3045
3046 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3047
3048         * LaTeXFeatures.C:
3049         * lyx_sty.[Ch]: remove minipageindent_def
3050
3051         * LyXAction.C:
3052         * factory.C:
3053         * lfuns.h:
3054         * lyxfunc.C:
3055         * text3.C: remove LFUN_INSET_MINIPAGE
3056
3057 2003-12-28  Angus Leeming  <leeming@lyx.org>
3058
3059         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3060
3061 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * text2.C (setParagraph): fix off-by-one crash
3064
3065 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3066
3067         * output_docbook.C: header stuff for AGU
3068
3069 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * text2.C (redoCursor): remove
3072         * text.C:
3073         * text3.C:
3074         * BufferView_pimpl.C: remove calls to redoCursor and
3075         setCursor(cursor.par(), cursor.pos()) all around
3076
3077 2003-12-15  Angus Leeming  <leeming@lyx.org>
3078
3079         * buffer.C: up the format to 228.
3080
3081 2003-12-15  André Pönitz  <poenitz@gmx.net>
3082
3083         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3084         slices
3085
3086         * Makefile.am:
3087
3088         * BufferView_pimpl.C:
3089         * cursor.[Ch]:
3090         * lyxcursor.[Ch]:
3091         * rowpainter.[Ch]:
3092         * lyxtext.h:
3093         * text.C:
3094         * text2.C:
3095         * text3.C: adjust
3096
3097 2003-12-15  Angus Leeming  <leeming@lyx.org>
3098
3099         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3100         than getFromGUIName to manipulate the color.
3101
3102 2003-12-14  Angus Leeming  <leeming@lyx.org>
3103
3104         * BranchList.[Ch]: minimize the API.
3105         (Branch::getBranch, getColor): now return a 'const &'.
3106         (Branch::setSelected) now returns a bool set to true if the
3107         selection status changes.
3108         (BranchList::clear, size, getColor, setColor, setSelected,
3109         allBranches, allSelected, separator): removed.
3110         (BranchList::find): new functions, returning the Branch with
3111         the given name.
3112         (BranchList::add, remove): return a bool indicating that
3113         the operation was successful.
3114
3115         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3116         new InsetBranch::isBranchSlected member function.
3117
3118         * LColor.[Ch]: mimimize the API.
3119         (fill): renamed as addColor and made private.
3120         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3121         versions of these functions taking a string arg have been removed.
3122
3123         * bufferparams.C (readToken):
3124         * lyxfunc.C (dispatch):
3125         * lyxrc.C (read): changes due to the altered BranchList and
3126         LColor APIs.
3127
3128         * factory.C (createInset, readInset): changes due to altered
3129         InsetBranch c-tor.
3130
3131 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3132
3133         * factory.C:
3134         * lyxfunc.C: remove insetminipage. "minipage-insert"
3135         now produces a frameless minipage box inset.
3136
3137 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3138
3139         * textcursor.[Ch] (selStart,selEnd): add new methods
3140         remove selection::start, end, use LyXCursor::operator<
3141         * lyxcursor.[Ch] (operator<): add
3142         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3143         * BufferView.[Ch] (unsetXSel): add
3144         * text2.C (clearSelection): use unsetXSel,adjust
3145         * text.C: adjust
3146         * text3.C: adjust
3147         * rowpainter.C: adjust
3148         * bufferview_funcs.C (put_selection_at): adjust
3149
3150 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * BufferView_pimpl.C: small coord. correction
3153
3154 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3157         dragging over the splash screen.
3158
3159 2003-12-11  Angus Leeming  <leeming@lyx.org>
3160
3161         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3162         as it is now handled in LyXText::dispatch.
3163
3164         * text3.C (doInsertInset): remove a level of nesting.
3165
3166 2003-12-11  Angus Leeming  <leeming@lyx.org>
3167
3168         * factory.C (createInset): changes due to the changed interface to
3169         InsetCommandMailer::string2params.
3170
3171 2003-12-10  Angus Leeming  <leeming@lyx.org>
3172
3173         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3174         'dialog-show-new-inset <inset name>'
3175
3176 2003-12-10  Angus Leeming  <leeming@lyx.org>
3177
3178         * buffer.C: up the format to 227.
3179
3180         * factory.C: the box inset is now identified simply by 'Box'.
3181
3182 2003-12-10  Angus Leeming  <leeming@lyx.org>
3183
3184         * buffer.C: up the format to 226.
3185
3186         * factory.C: the note inset is now identified simply by 'Note'.
3187
3188 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3191         when a pit is enough. Standarize a couple of loops.
3192
3193 2003-12-05  Angus Leeming  <leeming@lyx.org>
3194
3195         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3196         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3197         data to the re-worked "log" dialog.
3198
3199 2003-12-03  André Pönitz  <poenitz@gmx.net>
3200
3201         * PosIterator.C:
3202         * iterators.C:
3203         * lyxtext.h:
3204         * output_latex.C:
3205         * paragraph_funcs.C:
3206         * text.C:
3207         * text2.C: use Inset::getText instead of Inset::getParagraph
3208
3209 2003-12-03  André Pönitz  <poenitz@gmx.net>
3210
3211         * buffer.[Ch]:
3212         * lyxtext.h:
3213         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3214         InsetText::read() as LyXText::read()
3215
3216 2003-12-02  Angus Leeming  <leeming@lyx.org>
3217
3218         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3219         type. Add a comment in the implementation that the function uses
3220         the stream's bad() function rather than fail() as the std::streams
3221         would do.
3222
3223 2003-12-02  André Pönitz  <poenitz@gmx.net>
3224
3225         * lyxlex.[Ch]: make interface more similar to std::stream
3226
3227         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3228
3229 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3230
3231         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3232
3233 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3234
3235         * vspace.[Ch]: remove VSpace::NONE
3236
3237 2003-12-01  André Pönitz  <poenitz@gmx.net>
3238
3239         * buffer.[Ch]:
3240         * lyxtext.h: move ParagraphList member to LyXText
3241         rename LyXText::ownerParagraphs to LyXText::paragraph
3242
3243         * CutAndPaste.C:
3244         * bufferview_funcs.C:
3245         * iterators.[Ch]:
3246         * lyx_cb.C:
3247         * paragraph.C:
3248         * rowpainter.C:
3249         * tabular.C:
3250         * text.C:
3251         * text2.C:
3252         * text3.C: adjust
3253
3254         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3255
3256         * undo.C: fix cursor positioning
3257
3258 2003-12-01  John Levon  <levon@movementarian.org>
3259
3260         * BufferView_pimpl.C: fix a crash on exit with
3261         a buffer open
3262
3263 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3264
3265         * BranchList.C: fix setSelected() method.
3266
3267 2003-11-28  André Pönitz  <poenitz@gmx.net>
3268
3269         * ParagraphParameters.[Ch]:
3270         * ParameterStruct.h: remove space above/below from Paragraph to
3271          InsetVSpace
3272
3273         * BufferView_pimpl.C:
3274         * factory.C:
3275         * lyxfunc.C:
3276         * lyxtext.h:
3277         * output_latex.C:
3278         * paragraph.C:
3279         * paragraph_funcs.C:
3280         * rowpainter.[Ch]:
3281         * text.C:
3282         * text2.C:
3283         * text3.C: adjust
3284
3285 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3286
3287         * factory.C: Syntax change for CharStyles
3288
3289 2003-11-28  André Pönitz  <poenitz@gmx.net>
3290
3291         * BufferView.[Ch]:
3292         * BufferView.[Ch]:
3293         * buffer.[Ch]:
3294         * buffer.[Ch]: move LyXText member
3295
3296 2003-11-28  André Pönitz  <poenitz@gmx.net>
3297
3298         * BufferView.[Ch]: make LyXText * text a private member
3299
3300         * BufferView_pimpl.C:
3301         * cursor.C:
3302         * iterators.C:
3303         * lyx_cb.C:
3304         * lyxfind.C:
3305         * lyxtext.h:
3306         * rowpainter.[Ch]:
3307         * text.C:
3308         * text2.C:
3309         * undo.C: adjust
3310
3311         * output_plaintext.C: cleanup
3312
3313 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3314
3315         * buffer.C:
3316         * lyxtextclass.[Ch]: parametrize SGML document header
3317
3318 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3319
3320         * converter.[Ch]:
3321         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3322         getFlavor().
3323
3324 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * text2.C (setFont): rework using PosIterator (no more recursive)
3327         (setCharFont): no more needed
3328         (setLayout): no more selection cursors fiddling (done by redoCursor)
3329         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3330         destroy remaining ones)
3331
3332 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3335         * lyxtext.h: ditto
3336         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3337         selection cursors
3338         * lyxfunc.C: adjust
3339         * text3.C: adjust + re-allow multi par depth changes
3340         * textcursor.C: simplify a bit
3341
3342 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3343
3344         * src/buffer.C:
3345         * src/lyxlayout.C:
3346         * src/lyxlayout.h:
3347         * src/lyxtext.h:
3348         * src/output_docbook.C:
3349         * src/output_latex.C:
3350         * src/paragraph.C:
3351         * src/paragraph.h:
3352         * src/sgml.C:
3353         * src/sgml.h:
3354         * src/text2.C: Introducing a number of tags parametrizing various
3355         XML formats that we may want to support
3356
3357 2003-11-25  André Pönitz  <poenitz@gmx.net>
3358
3359         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3360
3361         * lyxtext.h (leftMargin/rightMargin): simplify interface
3362
3363         * rowpainter.C:
3364         * text.C:
3365         * text2.C:
3366         * text3.C: adjust
3367
3368 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3369
3370         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3371         master file to any child files. Fixes bug 546.
3372
3373 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3376
3377 2003-11-24  André Pönitz  <poenitz@gmx.net>
3378
3379         * rowpainter.C: simplification
3380
3381         * text2.C (updateCounters): remove call to redoParagraph on
3382         changed labels as this is far too expensive.
3383
3384 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * converter.C (convert): fix a crash: this function gets
3387         called with buffer == 0 from importer code.
3388
3389 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3390
3391         * text3.C (cursorPrevious): make sure that we do not compare
3392         iterators form different containers.
3393         (cursorNext): ditto
3394
3395         * rowpainter.C (paintSelection): make sure that we do not compare
3396         iterators from different containers.
3397
3398         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3399         iterators from different ParagraphList containers.
3400         [NEXT] ditto
3401
3402         * text2.C (LyXText): change order of initialization slightly
3403         (operator=): new function. copy all variables except cache_par_
3404         (moveUp): make sure that we do not compare iterators from
3405         different ParagraphList constainers.
3406         (moveDown): ditto
3407
3408         * text.C (firstPar): new function
3409         (lastPar): new function
3410         (endPar): new function
3411
3412         * lyxtext.h: move things around and group public functions, public
3413         variables, private functions, private variables
3414
3415 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3416
3417         * factory.C: change call to InsetERT constructor to avoid
3418         additional invocation of method status
3419         * text2.C (toggleInset): remove redundant update() call
3420         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3421         instead of a Bufferview pointer
3422
3423 2003-11-21  André Pönitz  <poenitz@gmx.net>
3424
3425         * rowpainter.C: simplification
3426
3427 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * text3.C (dispatch): make possible to extend a word/row selection
3430         with the mouse
3431
3432 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * lyxtext.h: x0_,y0_ -> xo_,yo_
3435         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3436         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3437         * rowpainter.C (paintRows): paint full paragraphs
3438
3439 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3440
3441         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3442         screen coordinates)
3443
3444 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3445
3446         * lyxtext.h: add x0_, y0_
3447         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3448         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3449
3450 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * text2.C (setCursorIntern): move the x_target update here *
3453         * text3.C: change some bv() to true/false in calls to
3454         cursorUp/Down/Right/Left
3455         * cursor.C: use helper function.
3456
3457 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3458
3459         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3460         * paragraph_funcs.[Ch]: correct comment
3461         * rowpainter.C: do not paint selections away from bv->cursor()
3462         Fix a long standing selection painting bug.
3463         * text3.C: generalize mouse-selection code to LyXTexts other that
3464         top one
3465         * textcursor.C: do not use y coords if we can use par offsets
3466
3467 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3468
3469         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3470         cursor position after e.g. inset insert)
3471
3472 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * lyxfind.C (replace): adjust to locking removal + some
3475         code simplification
3476
3477 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3478
3479         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3480         of the path
3481
3482 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * lyxlayout.[Ch]:
3485         * output_docbook.C: XML sanitation: new layout
3486         parameters InnerTag and CommandDepth
3487
3488 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3489
3490         * BufferView_pimpl.C:
3491         * factory.C:
3492         * text3.C: Fix the insertion and modification of button-style
3493         insets
3494
3495 2003-11-13  André Pönitz  <poenitz@gmx.net>
3496
3497         * InsetList.[Ch]: remove deleteLyXText
3498
3499         * paragraph.[Ch]: cache beginOfBody position
3500
3501         * Bidi.C:
3502         * text.C:
3503         * text2.C:
3504         * text3.C: remove superfluous update() calls
3505
3506         * vspace.C: cleanup
3507
3508 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3511         * BufferView.C (fitLockedInsetCursor): remove
3512         * cursor.[Ch] (getDim): add
3513         * text.C (getRowNearY): add faster version
3514         * text3.C: remove some update calls
3515
3516 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3517
3518         * LaTeXFeatures.C:
3519         * LyXAction.C:
3520         * MenuBackend.C:
3521         * MenuBackend.h:
3522         * dispatchresult.h:
3523         * factory.C:
3524         * lfuns.h:
3525         * lyxfunc.C:
3526         * lyxtextclass.C:
3527         * lyxtextclass.h:
3528         * text3.C: The Character Style /XML short element patch.
3529
3530 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3531
3532         * text3.C:
3533         * factory.C: Small step to solving 'unable to insert some insets'
3534         problem
3535
3536 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * cursor.[Ch] (updatePos): new function for updating the y
3539         position of the tip inset
3540         * bufferview_funcs.C (put_selection_at):
3541         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3542
3543 2003-11-11  André Pönitz  <poenitz@gmx.net>
3544
3545         * text.C: remove big comment on invalid Paragraph pointers as it is
3546         not valid anymore
3547
3548 2003-11-11  André Pönitz  <poenitz@gmx.net>
3549
3550         * text_funcs.[Ch]: merge with ...
3551
3552         * text.C: ... this
3553
3554         * lyxtext.h:
3555         * text2.C:
3556         * text3.C: adjust
3557
3558         * Makefile.am: remove text_funcs.[Ch]
3559
3560 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3561
3562         * cursor.C (getPos): return absolute cached y coord
3563
3564         * BufferView_pimpl.C (fitCursor): new simplistic code
3565         (workAreaDispatch): add a fitCursor call
3566
3567 2003-11-10  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView.[Ch]:
3570         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3571
3572 2003-11-10  André Pönitz  <poenitz@gmx.net>
3573
3574         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3575         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3576         indicate that the cursor needs to leave an inset
3577
3578         * lyxtext.h: remove inset locking
3579
3580         * cursor.[Ch]: re-implement functionality provided by inset locking
3581
3582         * BufferView.[Ch]:
3583         * BufferView_pimpl.[Ch]:
3584         * LyXAction.C:
3585         * bufferview_funcs.[Ch]:
3586         * factory.C:
3587         * funcrequest.[Ch]:
3588         * iterators.C:
3589         * lyx_cb.C:
3590         * lyxfind.C:
3591         * lyxfunc.C:
3592         * text.C:
3593         * text2.C:
3594         * text3.C:
3595         * undo.C: adjust
3596
3597 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * PosIterator.[Ch]: replace the stack with a vector, add inset
3600         accesor
3601         * iterators.[C]: adjust
3602
3603 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3604
3605         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3606         replaced
3607         * paragraph_funcs.C (readParToken): put the correct id in the
3608         error item, not the id of the top paragraph
3609
3610 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3613         * bufferview_funcs.C (put_selection_at): use the above
3614
3615 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3616
3617         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3618
3619 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3620
3621         * output_linuxdoc.h:
3622         * output_plaintext.h:
3623         * output.h:
3624         * output_docbook.h: add #include statements
3625
3626 2003-11-05  José Matos  <jamatos@lyx.org>
3627
3628         * output_docbook.[Ch]:
3629         * output_latex.[Ch]:
3630         * output_linuxdoc.[Ch]:
3631         * output_plaintext.[Ch]: New files for output formats.
3632         * output.[Ch]: New file for helper functions.
3633
3634         * buffer.[Ch]:
3635         * paragraph_funcs.[Ch]: output functions moved to new files.
3636
3637         * outputparams.h: rename of latexrunparams.h
3638
3639         * LaTeX.[Ch]:
3640         * buffer.[Ch]:
3641         * bufferlist.[Ch]:
3642         * converter.[Ch]:
3643         * exporter.C:
3644         * paragraph.[Ch]:
3645         * paragraph_funcs.[Ch]:
3646         * paragraph_pimpl.[Ch]:
3647         * tabular.[Ch]: rename ascii to plaintext
3648         and LatexRunParams to OutputParams.
3649
3650 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3651
3652         * iterators.[Ch] (text): require bv argument
3653         * undo.C (recordUndo):
3654         * lyxfunc.C (dispatch):
3655         * bufferview_funcs.C (put_selection_at): adjust
3656
3657 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3658
3659         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3660
3661 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3662
3663         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3664         nestings
3665
3666 2003-11-04  André Pönitz  <poenitz@gmx.net>
3667
3668         * cursor.[Ch]: restructure
3669
3670         * BufferView.[Ch]:
3671         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3672
3673         * iterators.[Ch] (asCursor): remove
3674
3675         * lfuns.h: remove LFUN_INSET_EDIT
3676
3677         * lyxfunc.C:
3678         * tabular.C:
3679         * text.C:
3680         * text2.C:
3681         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3682
3683 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * lyxfind.[Ch]: complete overhaul
3686         * BufferView_pimpl.C:
3687         * lyxfunc.C: adjust
3688         * paragraph.[Ch] (insert): add
3689
3690 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3691
3692         * BufferView.[Ch]:
3693         * lyxtext.h:
3694         * text.C: remove dead spellcheck code
3695
3696 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * dispatchresult.h: add a val setter
3699
3700         * cursor.C (dispatch): use a tempvar for data_[i]
3701
3702 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * PosIterator.[Ch]: compile fix
3705
3706 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * text.C (cursorPar): deactivate the cursor cache
3709
3710 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3713
3714 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * text3.C (dispatch): adjust for new DisptchResult semantics.
3717
3718         * lyxfunc.C (dispatch): handle update when return from
3719         Cursor::dispatch, adjust for new DispatchResult semantics.
3720
3721         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3722         DispatchResult(true) mean to not update. Add class functions for
3723         setting dispatched and update, as well as reading.
3724
3725         * cursor.C (dispatch): don't handle update here
3726
3727 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3730         * trans_mgr.C: adjust
3731
3732         * paragraph_funcs.C (readParToken): exception safety
3733
3734         * lyxvc.h: store the vcs pointer in a scoped_ptr
3735         * lyxvc.C: adjust
3736
3737         * lyxsocket.C (serverCallback): exception safety
3738
3739         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3740
3741         * ispell.C (clone): make it return a auto_ptr
3742
3743         * factory.C (createInset): exception safety
3744         (readInset): exception safety
3745
3746         * bufferlist.C (newBuffer): exception safety
3747
3748         * Thesaurus.C (Thesaurus): use initialization for aik_
3749
3750         * MenuBackend.C (expandToc): exception safety.
3751
3752 2003-11-03  André Pönitz  <poenitz@gmx.net>
3753
3754         * buffer.C:
3755         * buffer.h:
3756         * bufferview_funcs.C: remove getInsetFromId()
3757
3758         * lyxcursor.[Ch]:
3759         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3760
3761         * lyxfunc.C:
3762         * text2.C:
3763         * text3.C: adjust
3764
3765 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3766
3767         * PosIterator.C (distance, advance): new
3768         * bufferview_funcs.[Ch] (put_selection_at): new
3769         * iterators.[Ch] (lockPath): new
3770
3771 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3772
3773         * iterators.[Ch] (asPosIterator): added
3774         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3775         * PosIterator.[Ch]: added
3776
3777 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * text3.C:
3780         * lyxfunc.C:
3781         * cursor.C (dispatch):
3782         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3783
3784         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3785         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3786         contructor, add a class function dispatched. Remove operator>=
3787
3788 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * debug.C: only use the default constructor for debugstream
3791         (lyxerr) here.
3792
3793         * main.C (main): include debug.h and setup the lyxerr streambuf
3794         here.
3795
3796 2003-10-31  José Matos  <jamatos@lyx.org>
3797
3798         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3799
3800         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3801         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3802         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3803         * paragraph_pimpl.C (simpleTeXSpecialC):
3804         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3805         add LatexRunParams argument.
3806
3807         * exporter.C (Export): change call accordingly.
3808
3809         * latexrunparams.h: add new member to take care of the other backends.
3810 2003-10-30  José Matos  <jamatos@lyx.org>
3811
3812         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3813         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3814         factorise code for paragraph output.
3815         * buffer.[Ch]:
3816         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3817         move functions.
3818
3819 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * text3.C (dispatch):
3822         * lyxfunc.C (dispatch):
3823         * cursor.C (dispatch):
3824         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3825
3826         * dispatchresult.h: make the dispatch_result_t ctor explicit
3827
3828 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3829
3830         * sgml.[Ch]:
3831         * buffer.C: small refactoring of docbook stuff
3832
3833 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3836         meaning.
3837
3838 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3841         operator dispatch_result_t, and operators for == != and >=
3842
3843         * cursor.C (dispatch): adjust for operator dispatch_result_t
3844         removal. comment out call to update
3845
3846         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3847
3848 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * text3.C:
3851         * text2.C:
3852         * text.C:
3853         * lyxtext.h:
3854         * lyxfunc.C:
3855         * cursor.C:
3856         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3857         (dispatch):
3858
3859         * dispatchresult.h: new file, DispatchResult broken out of
3860         insets/insetbase.h
3861
3862         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3863
3864 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3865
3866         * text.C (rowBreakPoint): put a hack inside #if 0
3867
3868 2003-10-28  André Pönitz  <poenitz@gmx.net>
3869
3870         * lyxtext.h:
3871         * metricsinfo.C:
3872         * paragraph_funcs.C:
3873         * rowpainter.C:
3874         * text.C:
3875         * text2.C: general cleanup (lots of small stuff)
3876
3877 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * text2.C (cursorEnd): simple fix to the "end key goes to one
3880         before the end on last row" bug
3881
3882 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * text.C (backspace): fix the "zombie characters"
3885
3886 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3889
3890 2003-10-27  André Pönitz  <poenitz@gmx.net>
3891
3892         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3893
3894         * factory.C: handle new InsetPagebreak, InsetLine
3895
3896         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3897         and move handling into new InsetPagebreak, InsetLine
3898
3899         * BufferView_pimpl.C:
3900         * LyXAction.C:
3901         * ParagraphParameters.C:
3902         * ParameterStruct.h:
3903         * lyxfunc.C:
3904         * lyxtext.h:
3905         * paragraph.C:
3906         * paragraph.h:
3907         * paragraph_funcs.C:
3908         * paragraph_pimpl.C:
3909         * rowpainter.C:
3910         * text.C:
3911         * text2.C:
3912         * text3.C: adjust
3913
3914 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3915
3916         * text.C:
3917         * lyxrow_funcs.[Ch]:
3918         * Bidi.C:
3919         * paragraph.C:
3920         * lyxtext.h:
3921         * rowpainter.C:
3922         * text2.C:
3923         * text3.C: remove lastPos uses in favour of Row::endpos
3924
3925 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * undo.C (performUndoOrRedo): fix two crashes by setting a
3928         cursor by hand and reordering some calls. Use bv->lockInset instead
3929         of inset->edit because the latter loses cursor information
3930
3931 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3932
3933         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3934         by Martin
3935         (rowBreakPoint): fix width. change point to point + 1.
3936         Add a missing check.
3937
3938 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3939
3940         * MenuBackend.C:
3941         * lyxfunc.C: fix (at least partly) the problems
3942         with the Nav menu and headers inside branch insets
3943         reported by Kayvan
3944
3945 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * paragraph.C (getChar): add strong asserts
3948
3949         * lyxrow_funcs.C (lastPos): remove hideous hack
3950
3951         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3952         (fill): adjust to that (avoid an infinite loop)
3953
3954 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3957
3958 2003-10-23  André Pönitz  <poenitz@gmx.net>
3959
3960         * RowList_fwd.h: change list<> to vector<> to gain speed
3961         after suggestion from Alfredo
3962
3963 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * lyxtext.h: move the bidi stuff from here...
3966         * text.C: and here
3967         * text2.C: and here
3968         * Bidi.[Ch]: ... to here
3969
3970 2003-10-23  André Pönitz  <poenitz@gmx.net>
3971
3972         * lyxtext.h:
3973         * text.C (isLastRow, isFirstRow): new functions
3974
3975         * paragraph.h: new width cache member
3976
3977         * rowpainter.C: replace RowList::iterator with Row & where possible
3978
3979         * lyxfunc.C: replace several view()->text with a single call
3980
3981         * toc.C: fix 'unused' warning
3982
3983 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3986         when woring with stream::pos_type
3987         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3988
3989 2003-10-22  André Pönitz  <poenitz@gmx.net>
3990
3991         * lyxtext.h:
3992         * text.C: use Row & instead of RowList::iterator
3993
3994         * lyxrow.h: rename end() to endpos()
3995
3996         * rowpainter.C:
3997         * text.C:
3998         * text2.C: adjust
3999
4000 2003-10-22  Angus Leeming  <leeming@lyx.org>
4001
4002         * buffer.[Ch] (fully_loaded): new member function, returning true
4003         only when the file has been loaded fully.
4004         Used to prevent the premature generation of previews and by the
4005         citation inset to prevent computation of the natbib-style label.
4006
4007         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4008         templates are all set up.
4009
4010         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4011
4012 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4013
4014         * text.C: fixed an "oops" in the "is a bit silly"
4015         bug fix
4016
4017 2003-10-21  André Pönitz  <poenitz@gmx.net>
4018
4019         * FuncStatus.[Ch]: small stuff, whitespace
4020
4021         * lyxfont.[Ch]: operator<<() for debug reasons
4022
4023         * lyxfunc.C:
4024         * lyxrow_funcs.C:
4025         * lyxtext.h: whitespace, spelling
4026
4027         * paragraph.C: naming of variables
4028
4029         * text.C:
4030         * text2.C: small stuff
4031
4032
4033 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4034
4035         * text.C: (1) finish off the inset display() work;
4036         (2) fix the "is a bit silly" bug (accessing char
4037         past end of par).
4038
4039 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4040
4041         * text.C: re-introduce display() for insets, fixing the
4042         various bugs (stretch of line above, math inset
4043         positioning, ...)
4044
4045 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4046
4047         * text.C (rightMargin): remove spurious semicolon
4048
4049         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4050         1415)
4051
4052 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * text3.C: fix one crash due to wrong cursor def
4055
4056 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * vc-backend.C (scanMaster): make the regex static
4059
4060         * LaTeX.C (scanAuxFile): make the regexs static
4061
4062         * text3.C (doInsertInset, dispatch, dispatch):
4063         * text2.C (cursorUp, cursorDown):
4064         * text.C (selectNextWordToSpellcheck):
4065         * BufferView_pimpl.C (dispatch):
4066         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4067
4068 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4069
4070         * lyxsocket.C: include <cerrno>
4071
4072 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * lyxfunc.C (dispatch): remove textcache stuff
4075
4076         * bufferlist.C (release): remove textcache stuff
4077         (closeAll): ditto
4078
4079         * TextCache.C: delete file
4080         * TextCache.h: delete file
4081
4082         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4083
4084         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4085         delete of the bv_->text.
4086         (resizeCurrentBuffer): remove texcache stuff
4087         (workAreaResize): ditto
4088
4089 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4092         action.
4093
4094 2003-10-16  André Pönitz  <poenitz@gmx.net>
4095
4096         * lyxrow.[Ch]:
4097         * paragraph.h:
4098         * rowpainter.C:
4099         * text.C:
4100         * text2.C:
4101         * text3.C: speed up by storing y positions per paragraph plus per-row
4102         offset instead of having a 'full' y position in the row.
4103
4104 2003-10-15  André Pönitz  <poenitz@gmx.net>
4105
4106         * iterators.[Ch]:
4107         * iterators.[Ch]:
4108         * undo.[Ch]: make undo aware of inner insets
4109
4110 2003-10-14  Angus Leeming  <leeming@lyx.org>
4111
4112         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4113         static member functions LyX::ref() and LyX::cref.
4114         (lastfiles): new accessor functions for the new lastfiles_ member var.
4115         (addLyXView, views_): add a new LyXView to the list of views_.
4116         (updateInset): loop over all LyXViews to call their own updateInset
4117         member function, returning a pointer to the Buffer owning the inset.
4118
4119         * BufferView_pimpl.C (loadLyXFile):
4120         * MenuBackend.C (expandLastfiles):
4121         * bufferlist.C (MenuWrite, QuitLyX):
4122         lastfiles is no longer a global variable.
4123         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4124
4125         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4126         static function. Access through LyX::cref().emergencyCleanup().
4127
4128 2003-10-14  André Pönitz  <poenitz@gmx.net>
4129
4130         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4131
4132         * undo.[Ch]: restoring part of 'undo in insets'
4133
4134         * Makefile.am:
4135         * undo_funcs.[Ch]: merge with undo.[Ch]
4136
4137         * tabular.C: small cleansing stuff
4138
4139 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * paragraph_funcs.C (readParToken): report unknown insets as error
4142         boxes. Use the outer paragraph as location (also for unknown
4143         tokens).
4144
4145         * factory.C (readInset): do not abort on reading an unknown inset.
4146         Eat it and return 0.
4147
4148 2003-10-13  Angus Leeming  <leeming@lyx.org>
4149
4150         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4151
4152         * lyxrc.C: displayTranslator is now a function,
4153         declared in GraphicsTypes.h.
4154
4155 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4156
4157         * format.C: new placeholder $$a to pass the socket address.
4158
4159         * bufferlist.[Ch]: new function getBufferFromTmp.
4160
4161         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4162           files in the temporary dir.
4163
4164 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4165
4166         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4167
4168         * Makefile.am: add lyxsocket.[Ch].
4169
4170         * lyx_main.C (error_handler): handle SIGPIPE.
4171
4172 2003-10-13  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView_pimpl.C:
4175         * lyxtext.h:
4176         * text.C:
4177         * text2.C:
4178         * text3.C:
4179         * undo_funcs.[Ch]: use paroffset_type instead of
4180           ParagraphList::iterators to prevent multiple conversion
4181           (and get a more robust interface)
4182
4183 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4186         * lyxtext.h: ditto
4187         * text3.C (dispatch): ditto
4188
4189 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4192         move the onlyfile, use onlyfile instead of foundfile in a couple
4193         of places.
4194
4195         * DepTable.C (update): flush the error stream a bit more
4196
4197 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * lyxserver.C (callback): adjust
4200
4201         * lyxfunc.C (getStatus): add a missing brace in commented code
4202         (ensureBufferClean): reindent
4203         (dispatch): delete version taking a string
4204
4205 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * LaTeX.C (deplog): move found file handlig from here...
4208         (handleFoundFile): .. to new function here.
4209         (deplog): make sure to discover several files mentioned on the
4210         same log line.
4211
4212 2003-10-10  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxfunc.C:
4215         * lyxtext.h:
4216         * tabular.C:
4217         * text.C:
4218         * text2.C:
4219         * text3.C: fix some of the tabular crashes
4220
4221 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4222
4223         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4224
4225         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4226
4227 2003-10-09  André Pönitz  <poenitz@gmx.net>
4228
4229         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4230
4231         * BufferView.C:
4232         * BufferView_pimpl.C:
4233         * bufferview_funcs.C:
4234         * lyx_cb.C:
4235         * lyxcursor.C:
4236         * lyxfind.C:
4237         * lyxfunc.C:
4238         * lyxtext.h:
4239         * text.C:
4240         * text2.C:
4241         * text3.C:
4242         * text_funcs.[Ch]:
4243         * textcursor.[Ch]:
4244         * undo_funcs.C: adjust
4245
4246 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * text2.C (incrementItemDepth): new function, use a backtracking
4249         algorithm to discover the correct item depth.
4250         (resetEnumCounterIfNeeded): new function, use a backtracking
4251         algorithm to discover if counter reset is needed.
4252         (setCounter): use them. Simplify a bit. Add different labels for
4253         different item depths for itemize.
4254
4255         * paragraph.C (Paragraph): remove initialization of enumdepth
4256         (operator=): ditto
4257
4258         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4259         enumerate and itemize. Change the type of itemdepth to signed char.
4260
4261 2003-10-08  André Pönitz  <poenitz@gmx.net>
4262
4263         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4264           thing assignable.
4265         * text.C:
4266         * text2.C: adjust
4267
4268         * tabular.[Ch]: fix crash after 'row-insert'
4269
4270 2003-10-08  Angus Leeming  <leeming@lyx.org>
4271
4272         Fix doxygen warnings.
4273
4274         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4275         Remove CutAndPaste:: prefix from header file declaration.
4276
4277         * LColor.h (fill): remove LColor:: prefix from declaration.
4278
4279         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4280         use lyx::depth_type rather than Paragraph::depth_type so that
4281         header file and .C file match.
4282
4283         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4284
4285         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4286         * aspell.C: \file aspell_local.C -> \file aspell.C
4287         * gettext.C: \file gettext.C -> \file src/gettext.C
4288         * gettext.h: \file gettext.h -> \file src/gettext.h
4289         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4290         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4291         * text.C: \file text.C -> \file src/text.C
4292
4293         * toc.C: move comment so that doxygen is not confused.
4294
4295 2003-10-07  Angus Leeming  <leeming@lyx.org>
4296
4297         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4298
4299 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4300
4301         * aspell.C:
4302         * aspell_local.h: add forgotten std::string's.
4303
4304 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4305
4306         * LaTeXFeatures.C:
4307         * LyXAction.C:
4308         * factory.C:
4309         * lfuns.h:
4310         * lyxfunc.C:
4311         * text3.C: The Box patch. Fancybox support, minipage, parbox
4312
4313 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4314
4315         * CutAndPaste.h:
4316         * DepTable.h:
4317         * FloatList.h:
4318         * LaTeXFeatures.h:
4319         * ParagraphParameters.h:
4320         * TextCache.h:
4321         * Thesaurus.h:
4322         * bufferlist.h:
4323         * exporter.h:
4324         * importer.h:
4325         * lastfiles.h:
4326         * lyxfind.h:
4327         * lyxfont.h:
4328         * lyxlex.h:
4329         * lyxtextclasslist.h:
4330         * messages.h:
4331         * paragraph.h:
4332         * paragraph_pimpl.C:
4333         * textcursor.h: add <string> and other small fixes to make Lars'
4334         std::string patch compile with STLport.
4335
4336 2003-10-06  Angus Leeming  <leeming@lyx.org>
4337
4338         * LColor.h: Add missing #include <string>.
4339
4340 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * All most all file in all subdirs: Make <string> be the prefered
4343         way of getting to std::string, add using declarations.
4344
4345 2003-10-06  André Pönitz  <poenitz@gmx.net>
4346
4347         * metricsinfo.C: initialize LyXFont before changing attribute.
4348         (fixes the 'math in \emph is upright' bug)
4349
4350 2003-10-06  André Pönitz  <poenitz@gmx.net>
4351
4352         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4353
4354 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4355
4356         * graph.C:
4357         * paragraph_pimpl.C: Small fixes to build using STLport
4358
4359 2003-10-02  André Pönitz  <poenitz@gmx.net>
4360
4361         * lyxfunc.C:
4362         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4363
4364 2003-10-01  André Pönitz  <poenitz@gmx.net>
4365
4366         * factory.C: assert early
4367
4368 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * lyx_main.C: remove the global debug object
4371
4372         * debug.h: adjust for new debugstream
4373
4374         * debug.C: adjust for new debugstream and keep the global debug
4375         object here.
4376
4377 2003-09-22  Angus Leeming  <leeming@lyx.org>
4378
4379         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4380         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4381         an incomplete class LyXFont.
4382
4383 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * factory.C: bug fix in branches
4386
4387 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4388
4389         * lyxfunc.C (processKeySym): adjust
4390         (dispatch): adjust
4391         (dispatch): change arg name from ev to func, adjust
4392         (sendDispatchMessage): ditto
4393
4394         * lyx_main.C (defaultKeyBindings): adjust keybindings
4395         (deadKeyBindings): ditto
4396
4397         * kbsequence.C (addkey): return a FuncRequest
4398
4399         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4400
4401         * kbmap.C (bind): take a FuncRequest as arg, adjust
4402         (read): adjust
4403         (lookup): adjust
4404         (defkey): change to take a FuncRequest as arg, adjust
4405         (findbinding): take a FuncRequest as arg, adjust.
4406
4407         * funcrequest.h (operator=): added
4408
4409         * funcrequest.C (FuncRequest): default kb_action changed from
4410         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4411
4412         * buffer.C (dispatch): simplify
4413         (dispatch): adjust to take a FuncRequest as arg, adjust
4414
4415         * boost.C (assertion_failed): change assertion message slightly
4416
4417         * ToolbarBackend.C (read): simplify
4418
4419         * MenuBackend.C (binding): adjust call to findbinding, add a
4420         message if no binding is found.
4421         (read): simplify
4422         (expandToc): correct by adding a empty FuncRequest
4423
4424         * LyXAction.C: include <boost/assert.hpp>
4425         (isPseudoAction): delete function
4426         (LookupFunc): change name to...
4427         (lookupFunc): this. change return type to FuncRequest.
4428         (getActionName): take kb_action as arg, simplify
4429         (funcHasFlag): add an assert, simplify.
4430
4431 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * toc.C (action): return a FuncRequest, simplify
4434
4435         * lyxfunc.C (processKeySym): adjust
4436         (getStatus): delete version that takes an int.
4437         (getStatus): adjust
4438         (dispatch): delete version that takes action as int
4439         (dispatch): adjust
4440         (sendDispatchMessage): simplify and adjust
4441
4442         * funcrequest.C (getArg): take unsigned int as arg
4443
4444         * ToolbarBackend.C (read): adjust
4445         (add): delete version that takes func as a string.
4446         (getIton): take a FuncRequest as arg
4447
4448         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4449         action.
4450
4451         * MenuBackend.C (MenuItem): add a new construct that only takes a
4452         Kind, simplify the constructor use for submenus.
4453         (add): adjust
4454         (expandLastfiles): adjust
4455         (expandDocuments): adjust
4456         (expandFormats): adjust
4457         (expandFloatListInsert): adjust
4458         (expandFloatInsert): adjust
4459         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4460
4461         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4462         Remove class variables lyx_pseudo_map and lyx_arg_map
4463
4464         * LyXAction.C (searchActionArg): delete function
4465         (getPseudoAction): delete function
4466         (retrieveActionArg): delete function
4467         (LookupFunc): make it return kb_action, simplify.
4468         (getActionName): simplify
4469
4470         * factory.C (createInset): fix new bug
4471
4472 2003-09-19  Angus Leeming  <leeming@lyx.org>
4473
4474         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4475         masterFilename_ parameter in the include inset.
4476
4477         * factory.C (createInset): changes due to the changes to InsetInclude.
4478
4479 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4480
4481         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4482
4483 2003-09-18  Angus Leeming  <leeming@lyx.org>
4484
4485         * buffer.C:
4486         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4487         Inset::fillWithBibKeys.
4488         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4489
4490 2003-09-18  Angus Leeming  <leeming@lyx.org>
4491
4492         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4493         variables.
4494         (ctor): pass and store a 'Buffer const &'
4495         (buffer): new member function.
4496
4497         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4498         '*this' to the LaTeXFeatures ctor.
4499
4500 2003-09-18  Angus Leeming  <leeming@lyx.org>
4501
4502         * LColor.h:
4503         * lyxfont.C:
4504         * lyxfont.h:
4505         * lyxtext.h:
4506         * text.C: rename EnumLColor as LColor_color.
4507
4508 2003-09-18  Angus Leeming  <leeming@lyx.org>
4509
4510         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4511         remove #include "insets/insetbase.h" from cursor.h.
4512
4513 2003-09-18  Angus Leeming  <leeming@lyx.org>
4514
4515         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4516         InsetOld_code to remove #include "inset.h".
4517
4518         * iterators.C: add #include "insets/inset.h"
4519
4520 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * BufferView.C: remove more locking stuff that apparently doesn't
4523         do anything sensible.
4524
4525 2003-09-16  André Pönitz  <poenitz@gmx.net>
4526
4527         * paragraph.[Ch]:
4528         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4529           performance boost.
4530
4531 2003-09-16  Angus Leeming  <leeming@lyx.org>
4532
4533         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4534
4535         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4536         arg/return type.
4537
4538         * paragraph.h: remove #include "lyxfont.h". Forward declare
4539         LyXFont_size.
4540
4541 2003-09-16  Angus Leeming  <leeming@lyx.org>
4542
4543         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4544         of support/textutils.h.
4545         (isWord): move the contents of support/textutils.h's IsWordChar here.
4546
4547         * buffer.C:
4548         * lyxfind.C:
4549         * rowpainter.C:
4550         * text.C:
4551         * text2.C: add #include "paragraph.h".
4552
4553         * rowpainter.C:
4554         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4555
4556 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * main.C:
4559         * lyx_main.C:
4560         * lyx_cb.C:
4561         * buffer.C:
4562         * LaTeX.C: use namespace alias for lyx::support::os
4563
4564 2003-09-16  Angus Leeming  <leeming@lyx.org>
4565
4566         * bufferparams.C:
4567         * bufferview_funcs.C:
4568         * factory.C:
4569         * lyxfunc.C:
4570         * paragraph_pimpl.C:
4571         * rowpainter.C:
4572         * text.C: add #include "LColor.h".
4573
4574 2003-09-16  Angus Leeming  <leeming@lyx.org>
4575
4576         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4577         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4578         return LyXFont &.
4579         Store the FontBits::color variable as an int rather than as an
4580         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4581         file.
4582
4583         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4584         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4585         string calls together.
4586
4587         * lyxrc.C: add #include "LColor.h".
4588
4589 2003-09-15  Angus Leeming  <leeming@lyx.org>
4590
4591         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4592         a cow_ptr.
4593
4594 2003-09-15  Angus Leeming  <leeming@lyx.org>
4595
4596         * LColor.h: add an EnumLColor wrapper for LColor::color.
4597
4598         * lyxfont.[Ch] (color, setColor, realColor):
4599         * lyxtext.h, text.C (backgroundColor):
4600         pass EnumLColor args to/from the functions, rather than LColor::color
4601         ones.
4602
4603         * lyxfont.h:
4604         * lyxtext.h: forward declare EnumLColor.
4605
4606         * lyx_main.C: add #include "LColor.h".
4607
4608 2003-09-15  Angus Leeming  <leeming@lyx.org>
4609
4610         * .cvsignore: add lyx-gtk.
4611
4612 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * Chktex.C
4615         * LaTeX.C
4616         * LaTeXFeatures.C
4617         * ParagraphParameters.C
4618         * Spacing.C
4619         * buffer.C
4620         * bufferparams.C
4621         * bufferview_funcs.C
4622         * chset.C
4623         * counters.C
4624         * funcrequest.C
4625         * lyxfont.C
4626         * lyxgluelength.C
4627         * lyxlength.C
4628         * paragraph.C
4629         * paragraph_funcs.C
4630         * text3.C
4631         * vc-backend.C: remove usage of STRCONV
4632
4633 2003-09-15  Angus Leeming  <leeming@lyx.org>
4634
4635         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4636         explicitly define the color passed to the painter.
4637
4638 2003-09-15  Angus Leeming  <leeming@lyx.org>
4639
4640         * bufferparams.C (BufferParams): reorder member initializers to avoid
4641         compiler warning.
4642
4643 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4646         * text.C (updateRowPositions): remove an unusual nop
4647
4648 2003-09-12  André Pönitz  <poenitz@gmx.net>
4649
4650         * BufferView_pimpl.C:
4651         * Bullet.C:
4652         * layout.h:
4653         * lyxfunc.C:
4654         * lyxlayout.[Ch]:
4655         * lyxtextclass.C:
4656         * rowpainter.C:
4657         * text.C:
4658         * text2.C:
4659         * Counters.[Ch]: finish the 'automatic counters' job
4660
4661 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4662
4663         * aspell.C: include <boost/assert.cpp> (compile fix)
4664
4665 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4666
4667         * boost.C (assertion_failed): use lyx::support::abort instead of
4668         assert.
4669
4670 2003-09-10  Angus Leeming  <leeming@lyx.org>
4671
4672         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4673         with their _fwd progeny.
4674
4675 2003-09-09  Angus Leeming  <leeming@lyx.org>
4676
4677         134 files throughtout the source tree: replace 'using namespace abc;'
4678         directives with the appropriate 'using abc::xyz;' declarations.
4679
4680 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4681
4682         * boost.C (emergencyCleanup): moved here from LAssert.c
4683         (assertion_failed): new function, called by BOOST_ASSERT
4684
4685         * several files: change Assert to BOOST_ASSERT
4686
4687 2003-09-09  Angus Leeming  <leeming@lyx.org>
4688
4689         * buffer.[Ch]: Add an Impl class and move Buffer's member
4690         variables into it. As a result move several header files out of
4691         buffer.h.
4692
4693         Add header files to lots of .C files all over the tree as a result.
4694
4695 2003-09-09  Angus Leeming  <leeming@lyx.org>
4696
4697         * buffer.[Ch]: make Buffer's member variables private. Add
4698         accessor functions.
4699
4700         Lots of changes all over the tree as a result.
4701
4702 2003-09-08  Angus Leeming  <leeming@lyx.org>
4703
4704         * graph.C: #include <config.h>.
4705
4706 2003-09-08  Angus Leeming  <leeming@lyx.org>
4707
4708         * BranchList.C:
4709         * BufferView.C:
4710         * BufferView_pimpl.C:
4711         * CutAndPaste.C:
4712         * DepTable.C:
4713         * LaTeX.C:
4714         * LaTeXFeatures.C:
4715         * LyXAction.C:
4716         * MenuBackend.C:
4717         * TextCache.C:
4718         * aspell.C:
4719         * buffer.C:
4720         * bufferlist.C:
4721         * changes.C:
4722         * chset.C:
4723         * converter.C:
4724         * counters.C:
4725         * debug.C:
4726         * graph.C:
4727         * ispell.C:
4728         * lyx_cb.C:
4729         * lyxfind.C:
4730         * lyxfunc.C:
4731         * lyxlex_pimpl.C:
4732         * lyxrc.C:
4733         * lyxrow.C:
4734         * paragraph.C:
4735         * rowpainter.C:
4736         * texrow.C:
4737         * text.C:
4738         * text2.C:
4739         * toc.C: remove redundant using directives.
4740
4741 2003-09-07  Angus Leeming  <leeming@lyx.org>
4742
4743         * LaTeXFeatures.h: remove #include "support/types.h".
4744         * ToolbarBackend.h: remove #include <algorithm>.
4745         * changes.h: remove #include <ctime>.
4746         * debug.h: remove #include <iosfwd>.
4747         * graph.h: remove #include "support/std_string.h".
4748         * lyx_main.h: remove #include <csignal>.
4749         * lyxlex_pimpl.h: remove #include <fstream>.
4750         * sgml.h: remove #include <algorithm>, <utility>.
4751         * toc.h: remove #include "support/std_ostream.h".
4752         Add #include <iosfwd>.
4753
4754 2003-09-07  Angus Leeming  <leeming@lyx.org>
4755
4756         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4757
4758         * converter.h: forward declare LatexRunParams.
4759         * encoding.h: remove #include "lyxrc.h".
4760         * lyxtext.h: remove #include "LColor.h".
4761         * lyxtextclass.h: remove #include "support/types.h".
4762         * trans.h: remove #include "tex-accent.h".
4763         * trans_mgr.h: remove #include "tex-accent.h".
4764         * insets/inset.h: remove #include "support/types.h", <vector>.
4765         * insets/insetcollapsable.h: remove #include "LColor.h".
4766         * insets/insetinclude.h: remove #include "dimension.h".
4767         * insets/insetlatexaccent.h: remove #include "dimension.h".
4768         * insets/insetoptarg.h:: remove #include "insettext.h".
4769         * insets/insettext.h: remove #include "dimension.h",
4770         <boost/shared_ptr.hpp>
4771
4772         * insets/renderers.h: add #include "dimension.h".
4773         * insets/updatableinset.h: add #include "support/types.h".
4774
4775         * many .C files: Associated changes.
4776
4777 2003-09-06  Angus Leeming  <leeming@lyx.org>
4778
4779         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4780         one, inside testInvariant.
4781
4782         * PrinterParams.C: new file.
4783         * PrinterParams.[Ch]: move the function bodies out of line.
4784
4785 2003-09-06  Angus Leeming  <leeming@lyx.org>
4786
4787         * ParagraphParameters.h: forward declare ParameterStruct rather than
4788         including its header file.
4789         (depth): moved out-of-line.
4790
4791 2003-09-06  Angus Leeming  <leeming@lyx.org>
4792
4793         * BufferView_pimpl.h:
4794         * kbmap.h:
4795         * kbsequence.h:
4796         * lyxfunc.h: forward declare LyXKeySym rather than
4797         #include "frontends/LyXKeySym.h".
4798
4799         * BufferView_pimpl.C:
4800         * kbmap.C:
4801         * kbsequence.C:
4802         * lyxfunc.C: associated changes.
4803
4804 2003-09-06  Angus Leeming  <leeming@lyx.org>
4805
4806         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4807         As a result, can remove the #include "insets/inset.h" from BufferView.h
4808
4809 2003-09-06  Angus Leeming  <leeming@lyx.org>
4810
4811         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4812         As a result, can remove the #include "insets/inset.h" from BufferView.h
4813
4814 2003-09-06  Angus Leeming  <leeming@lyx.org>
4815
4816         * buffer_funcs.C:
4817         * buffer.h:
4818         * bufferlist.C:
4819         * BufferView.C:
4820         * bufferview_funcs.C:
4821         * BufferView_pimpl.C:
4822         * CutAndPaste.C:
4823         * lyx_cb.C:
4824         * lyxfunc.C:
4825         * paragraph.h:
4826         * ParagraphParameters.C:
4827         * tabular.C:
4828         * text3.C:
4829         * toc.C:
4830         * undo_funcs.C:
4831         * frontends/controllers/ControlDocument.C:
4832         * insets/insetcaption.C: rearrange the #includes into some sort of
4833         coherent order.
4834
4835         * buffer.h: remove #includes ErrorList.h, undo.h
4836
4837 2003-09-06  Angus Leeming  <leeming@lyx.org>
4838
4839         * support/types.h: add a 'depth_type' typedef, used to store the
4840         nesting depth of a paragraph.
4841
4842         * paragraph.h:
4843         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4844         defining explicitly.
4845
4846         * buffer.h:
4847         * paragraph_funcs.h:
4848         * ParagraphParameters.h:
4849         * sgml.h: use lyx::depth_type rather than Paragraph or
4850         ParameterStruct's depth_type.
4851
4852         * buffer.h
4853         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4854
4855         * BufferView.C:
4856         * BufferView_pimpl.C:
4857         * CutAndPaste.C:
4858         * ParagraphParameters.C:
4859         * buffer_funcs.C:
4860         * bufferlist.C:
4861         * bufferview_funcs.C:
4862         * lyx_cb.C:
4863         * lyxfunc.C:
4864         * tabular.C:
4865         * text3.C:
4866         * toc.C:
4867         * undo_funcs.C:
4868         * frontends/LyXView.C:
4869         * frontends/controllers/ControlDocument.C:
4870         * frontends/controllers/ControlErrorList.C:
4871         * insets/insetbibitem.C:
4872         * insets/insetbranch.C:
4873         * insets/insetcaption.C:
4874         * insets/insetcollapsable.C:
4875         * insets/insetenv.C:
4876         * insets/insetert.C:
4877         * insets/insetfloat.C:
4878         * insets/insetfoot.C:
4879         * insets/insetfootlike.C:
4880         * insets/insetnewline.C:
4881         * insets/insetquotes.C:
4882         * insets/insettabular.C:
4883         * insets/insettext.C:
4884         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4885
4886         * frontends/controllers/ControlChanges.C: #include "changes.h".
4887
4888 2003-09-06  Angus Leeming  <leeming@lyx.org>
4889
4890         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4891         than #including paragraph.h.
4892
4893         * ParagraphList.h:
4894         * RowList.h: deleted. Superfluous.
4895
4896         * CutAndPaste.h:
4897         * iterators.h:
4898         * lyxcursor.h:
4899         * lyxtext.h:
4900         * text_funcs.h:
4901         * undo.h:
4902         * undo_funcs.h:
4903         * insets/inset.h:
4904         * insets/insettext.h: use ParagraphList_fwd.h rather than
4905         ParagraphList.h.
4906
4907         * paragraph.h: don't forward declare ParagraphList.
4908
4909         * buffer.h:
4910         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4911         rather than ParagraphList.h. paragraph.h is still needed for the
4912         Paragraph::depth_type parameters.
4913
4914         * textcursor.h: enable it to compile stand-alone in light of the
4915         above changes.
4916
4917         * bufferview_funcs.C:
4918         * iterators.C:
4919         * lyxfunc.C:
4920         * lyxrow_funcs.C:
4921         * paragraph.C:
4922         * rowpainter.C:
4923         * text.C:
4924         * text2.C:
4925         * text3.C:
4926         * text_funcs.C:
4927         * textcursor.C:
4928         * undo.C:
4929         * frontends/controllers/ControlParagraph.C:
4930         * frontends/controllers/ControlTabular.C:
4931         * insets/insetmarginal.C:
4932         * insets/insetminipage.C:
4933         * insets/insetnote.C:
4934         * insets/insetoptarg.C: add header files needed to compile again.
4935
4936 2003-09-06  Angus Leeming  <leeming@lyx.org>
4937
4938         * RowList_fwd.h: new file, forward-declaring Row rather than
4939         #including lyxrow.h.
4940
4941         * lyxrow_funcs.h:
4942         * lyxtext.h:
4943         * paragraph.h:
4944         * insets/insettext.h: use it instead of RowList.h
4945
4946         * bufferview_funcs.C:
4947         * lyxfunc.C:
4948         * lyxrow_funcs.C:
4949         * paragraph.C:
4950         * rowpainter.C:
4951         * text.C:
4952         * text2.C:
4953         * text3.C: #include "RowList.h".
4954
4955 2003-09-05  Angus Leeming  <leeming@lyx.org>
4956
4957         * factory.C (createInset):
4958         * vspace.C (c-tor): replace sscanf call with an istringstream.
4959         * ispell.C: re-add missing HP/UX headers.
4960         * lyxserver.C: re-add missing  os2 headers.
4961
4962 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4963
4964         * BranchList.C:
4965         * graph.C:
4966         * ispell.C:
4967         * lastfiles.C:
4968         * lyx_cb.C:
4969         * lyxserver.C:
4970         * texrow.C:
4971         * text3.C: re-add missing system headers, needed for 2.95.2.
4972
4973 2003-09-05  Angus Leeming  <leeming@lyx.org>
4974
4975         Changes most place everywhere due to the removal of using directives
4976         from support/std_sstream.h.
4977
4978 2003-09-05  Angus Leeming  <leeming@lyx.org>
4979
4980         Replace LString.h with support/std_string.h,
4981         Lsstream.h with support/std_sstream.h,
4982         support/LIstream.h with support/std_istream.h,
4983         support/LOstream.h with support/std_ostream.h.
4984
4985         Changes resulting throughout the tree.
4986
4987 2003-09-05  Angus Leeming  <leeming@lyx.org>
4988
4989         * sgml.h: ensure that the header file can be compiled stand-alone.
4990         * *.C: strip out redundant #includes. (320 in total.)
4991
4992 2003-09-04  Angus Leeming  <leeming@lyx.org>
4993
4994         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4995         here (from getPackages).
4996
4997         * debug.[Ch]: add a new EXTERNAL tag.
4998
4999 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5000
5001         * text2.C (cursorEnd): simplify
5002         (setCursor): adjust
5003         (getColumnNearX): adjust
5004
5005         * text.C (computeBidiTables): adjust
5006         (fill): adjust
5007
5008         * rowpainter.C (paintChars): adjust
5009         (paintSelection): adjust
5010         (paintChangeBar): adjust
5011         (paintText): adjust
5012
5013         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5014         lastPos instead.
5015         (numberOfSeparators): adjust
5016
5017 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5018
5019         * LyXAction.C:
5020         * box.[Ch]:
5021         * lfuns.h:
5022         * lyxfunc.C:
5023         * text3.C: Restricts the mouse click functionality
5024         of insets like bibtex, include, toc and floatlist to the visible
5025         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5026         up the dialogs. Cursor has to be in front of the inset (i.e.
5027         start of row) for this to function.
5028
5029 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5030
5031         * bufferview_funcs.C (currentState): output row information
5032
5033 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5034
5035         * bufferview_funcs.C (currentState): output paragraph position
5036
5037 2003-09-04  Angus Leeming  <leeming@lyx.org>
5038
5039         * FloatList.h: move out #include "Floating.h".
5040         * LaTeX.h: move out #include "DepTable.h".
5041         * LyXAction.h: move out #include "funcrequest.h".
5042         * buffer.h: move out #include "author.h", "iterators.h".
5043         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5044         * lyx_main.h: move out #include "errorlist.h".
5045         * lyxfunc.h: move out #include "FuncStatus.h".
5046         * lyxtext: move out #include "lyxcursor.h".
5047         * paragraph_pimpl.h: move out #include "counters.h".
5048
5049 2003-09-03  Angus Leeming  <leeming@lyx.org>
5050
5051         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5052         preamble_snippets list, enabling us to add snippets to the preamble
5053         only if the snippet was not there already.
5054
5055 2003-09-04  Angus Leeming  <leeming@lyx.org>
5056
5057         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5058
5059 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5060
5061         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5062         update
5063
5064 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5065
5066         * BranchList.C: point fix, earlier forgotten
5067
5068 2003-09-02  Angus Leeming  <leeming@lyx.org>
5069
5070         * box.C (contains): renamed from 'contained' after a fantastic
5071         amount of hot air.
5072
5073 2003-09-02  John Levon  <levon@movementarian.org>
5074
5075         * BufferView.C:
5076         * lyxcursor.h:
5077         * lyxcursor.C:
5078         * lyxfunc.C:
5079         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5080
5081 2003-09-02  John Levon  <levon@movementarian.org>
5082
5083         * text2.C: simplification of cursorEnd(), including partial
5084         fix for bug 1376
5085
5086 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * buffer.C (readFile): add a space
5089
5090 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5093
5094 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * buffer.C (readFile): new function, take a filename and a
5097         ParagraphList::iterator
5098         (readFile): adjust
5099         (readFile): adjust, make it private. don't use setStream, make
5100         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5101         always contain the filename.
5102
5103         * BufferView.C (insertLyXFile): simplify and make it work for
5104         gzipped files.
5105
5106 2003-08-30  John Levon  <levon@movementarian.org>
5107
5108         * Makefile.am: fix dist (from Kayvan)
5109
5110 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * most files: change to use const Buffer refs
5113
5114 2003-08-27  André Pönitz  <poenitz@gmx.net>
5115
5116         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5117         on top of ownerPar().
5118
5119 2003-08-27  John Levon  <levon@movementarian.org>
5120
5121         * funcrequest.C: properly initialise POD members
5122
5123 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * lyxtext.h (top_y): move top_y from here
5126         * text.C:
5127         * text2.C:
5128         * text3.C:
5129         * BufferView.[Ch]:
5130         * BufferView_pimpl.[Ch]: to here
5131         * frontends/screen.C:
5132         * insets/insettabular.C:
5133         * insets/insettext.C: adjust
5134         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5135
5136 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * BufferView.[Ch]:
5139         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5140
5141 2003-08-26  André Pönitz  <poenitz@gmx.net>
5142
5143         * paragraph_func.[Ch] (outerPar): new function
5144
5145         * paragraph.C:
5146         * paragraph_funcs.C:
5147         * paragraph_funcs.h:
5148         * paragraph_pimpl.C:
5149         * text2.C: remove Inset::par_owner
5150
5151 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5152
5153         * lyxrow_funcs.C:
5154         * lyxtext.h:
5155         * text.C:
5156         * text2.C: eliminates the needFullRow/display() stuff
5157         altogether, putting the logic in metrics/draw in the insets.
5158
5159 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * text2.C (redoParagraphInternal, redoParagraphs):
5162         * text.C (redoParagraph): add a call to updateRowPositions at the
5163         end of each 'metrics-like' call. Remove all others.
5164         (getRow): remove the 'y-computing' version.
5165         (getRowNearY): do not compute nor return the real y. Solve the
5166         'y < 0' problem and simplify.
5167
5168 2003-08-22  Angus Leeming  <leeming@lyx.org>
5169
5170         * *.[Ch]: clean-up of licence and author blurbs.
5171         Also move config.h out of a few .h files and into a few .C files.
5172
5173 2003-08-22  André Pönitz  <poenitz@gmx.net>
5174
5175         * lyxrow.[Ch]: add x_ and *fill_ members
5176
5177         * lyxtext.h:
5178         * text.C:
5179         * rowpainter.C:
5180         * text2.C: adjust/remove prepareToPrint() calls
5181
5182 2003-08-22  André Pönitz  <poenitz@gmx.net>
5183
5184         * lyxrow.[Ch]: add  end_ member
5185
5186         * lyxrow_funcs.C: use LyXRow::end_
5187
5188         * lyxtext.h (singleWidth): add LyXFont parameter
5189
5190         * rowpainter.C:
5191         * text2.C: adjust LyXText::singleWidth() calls
5192
5193         * text.C (redoParagraph): simplify row breaking logic
5194
5195
5196 2003-08-19  André Pönitz  <poenitz@gmx.net>
5197
5198         * funcrequest.C: initialize button_ member
5199
5200         * text3.C:
5201         * rowpainter.[Ch]: interface consolidation
5202
5203 2003-08-18  André Pönitz  <poenitz@gmx.net>
5204
5205         * BufferView.C:
5206         * BufferView_pimpl.C:
5207         * lyxfind.C:
5208         * paragraph_funcs.C:
5209         * rowpainter.C:
5210         * text3.C: remove LyXScreen::draw() and fitCursor calls
5211
5212         * BranchList.h: remove spurious semicolons
5213
5214         * MenuBackend.C: fix branchlist related crash
5215
5216 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5217
5218         * BranchList.[Ch]:
5219         * InsetList.[Ch]:
5220         * LColor.[Ch]:
5221         * LyXAction.C:
5222         * Makefile.am:
5223         * MenuBackend.[Ch]:
5224         * bufferparams.[Ch]:
5225         * factory.C:
5226         * lfuns.h:
5227         * lyxfunc.C:
5228         * text3.C: implements the 'branch inset'
5229         idea. This allows the output of various versions of a document
5230         from a single source version, selectively outputing or suppressing
5231         output of parts of the text.
5232         This implementation contains a 'branch list editor' in a separate
5233         tab of the document settings dialog. Branches are user definable
5234         and have a "display colour" to distinguish them on-screen.
5235
5236         ColorHandler was somewhat cleaned up.
5237         (1) make possible a dynamically growing LColor list by allowing
5238         the graphic context cache to grow along (vector);
5239         (2) eliminate an IMHO unnecessary step in colour allocation.
5240
5241 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5242
5243         * BufferView_pimpl.C: compile fix
5244
5245 2003-08-15  André Pönitz  <poenitz@gmx.net>
5246
5247         * rowpainter.C: remove extra metrics calls
5248
5249         * lyxtext.h: merge the two constructors into a single one,
5250           pass reference to owner's par list
5251
5252         * BufferView_pimpl.C:
5253         * text.C:
5254         * text2.C: adjust
5255
5256 2003-08-15  André Pönitz  <poenitz@gmx.net>
5257
5258         * lyxrow_funcs.[Ch]:
5259         * lyxtext.h:
5260         * paragraph.h:
5261         * paragraph_funcs.C:
5262         * rowpainter.C:
5263         * text.C:
5264         * text2.C:
5265         * text3.C:
5266         * text_funcs.C: split LyXText::rowlist_ into individual
5267         Paragraph::rows_ chunks
5268
5269         * BufferView.[Ch]:
5270         * BufferView_pimpl.[Ch]:
5271         * lyxfind.C:
5272         * lyxtext.h:
5273         * text3.C: remove toggleSelection()
5274
5275 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5276
5277         * bufferlist.C: beautify two alerts (shorter text of buttons)
5278         * buffer.C: Remove redundant ' ' from message
5279         * tabular.h:
5280         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5281         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5282         rename VALIGN_CENTER to VALIGN_MIDDLE
5283
5284 2003-08-11  André Pönitz  <poenitz@gmx.net>
5285
5286         * lyxtext.h (getPar):
5287         * text.C: new function
5288
5289 2003-08-11  André Pönitz  <poenitz@gmx.net>
5290
5291         * Makefile.am:
5292         * tracer.[Ch]: remove unneeded files
5293
5294         * InsetList.[Ch]: remove resizeInsetsLyXText()
5295
5296         * lyxtext.h:
5297         * text.C:
5298         * text2.C:
5299         * text3.C: merge insertParagraphs() and appendParagraph()
5300         remove breakAgain(), update()
5301
5302         * BufferView_pimpl.[Ch]:
5303         * bufferview_funcs.[Ch]:
5304         * lyxfunc.C:
5305         * paragraph.[Ch]:
5306         * rowpainter.C:
5307         * tabular.C: adjust after text & InsetList changes.
5308
5309 2003-08-08  André Pönitz  <poenitz@gmx.net>
5310
5311         * text.C (insertChar, backspace): replace rowlist fiddling
5312         with rebreak of full par
5313
5314         * lyxtext.h:
5315         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5316         checkParagraph, updateInset): removed
5317
5318 2003-08-07  André Pönitz  <poenitz@gmx.net>
5319
5320         * paragraph.C:
5321         * text3.C: merge some LFUN handlers, remove dead code
5322
5323 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5324
5325         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5326
5327 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * text2.C (DEPM): fix part of bug 1255 and 1256
5330
5331 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5332
5333         * BufferView_pimpl.C (workAreaDispatch): change to use
5334         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5335         that are no mouse related.
5336
5337 2003-08-05  André Pönitz  <poenitz@gmx.net>
5338
5339         * BufferView.[Ch]:
5340         * BufferView_pimpl.[Ch]:
5341         * bufferview_funcs.C:
5342         * text2.C:
5343         * text3.C: rip out "deep update"
5344
5345         * textcursor.[Ch] (last_sel_cursor): remove unused member
5346
5347 2003-08-04  André Pönitz  <poenitz@gmx.net>
5348
5349         * BufferView.[Ch]:
5350         * BufferView_pimpl.[Ch]:
5351         * ParagraphParameters.C:
5352         * bufferview_funcs.C:
5353         * lyx_cb.C:
5354         * lyxfind.C:
5355         * lyxfunc.C:
5356         * text.C:
5357         * text2.C:
5358         * text3.C: replace "complicated" BufferView::update(...) calls with
5359         simpler ones.
5360
5361         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5362
5363 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5364
5365         * Makefile.am (lyx_SOURCES): add paper.h
5366
5367 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5368
5369         * Makefile.am: move things around so that both lyx-qt and
5370         lyx-xforms can be built (according to --with-frontend). Then lyx
5371         is a symbolic link to lyx-[firstfrontend]
5372
5373 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5374
5375         * Always use std::endl with lyxerr
5376
5377 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5378
5379         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5380
5381 2003-08-01  André Pönitz  <poenitz@gmx.net>
5382
5383         * BufferView.[Ch]:
5384         * BufferView_pimpl.[Ch]:
5385         * lyxfunc.C:
5386         * text3.C: merge BufferView::repaint() and BufferView::update()
5387
5388 2003-08-01  José Matos  <jamatos@lyx.org>
5389
5390         * buffer.[Ch]: file_format is no longer a buffer data element.
5391
5392 2003-08-01  André Pönitz  <poenitz@gmx.net>
5393
5394         * BufferView.C:
5395         * lyxtext.h:
5396         * text.C:
5397         * text2.C: make redoParagraph more independent of current cursor
5398
5399         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5400         * text.C:
5401         * text2.C: remove unneeded members
5402
5403 2003-07-30  André Pönitz  <poenitz@gmx.net>
5404
5405         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5406
5407         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5408           create a single function...
5409
5410         * paragraph_funcs.C (moveItem): ... here.
5411
5412         * text.C:
5413           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5414
5415 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5416
5417         * LColor.[Ch]: Add comment and greyedout logical colors.
5418
5419 2003-07-30  André Pönitz  <poenitz@gmx.net>
5420
5421         * tabular.C: don't use Assert too heavily. This crashes where it
5422           shouldn't
5423
5424 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5427         is disabled (bug 1232)
5428
5429 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5430
5431         * factory.C: limited 'arg' scope
5432
5433 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5434
5435         * factory.C: fixed Note submenu issues
5436
5437 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5438
5439         * factory.C: submenu for Note/Comment/Greyedout
5440
5441 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5442
5443         * lyx_main.C (LyX):
5444         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5445
5446 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5447
5448         * LaTeXFeatures.C:
5449         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5450         greyedout. Patch provided by Jürgen Spitzmüller.
5451
5452 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5453
5454         * kbmap.C (read): fix error message when reading bind files
5455
5456 2003-07-29  Angus Leeming  <leeming@lyx.org>
5457
5458         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5459         certainly does not do what it purports to do. I am doing it, and
5460         us, a favour by killing it.
5461
5462 2003-07-28  José Matos  <jamatos@lyx.org>
5463
5464         * buffer.C (readBody, do_writeFile):
5465         * paragraph.C(readParagraph): \end_document replaces \the_end.
5466
5467 2003-07-29  André Pönitz  <poenitz@gmx.net>
5468
5469         * BufferView.[Ch]:
5470         * BufferView_pimpl.[Ch]:
5471         * lyxfunc.C:
5472         * text2.C:
5473         * text3.C:
5474         * textcursor.[Ch]: remove toggleToggle & Co
5475
5476 2003-07-28  José Matos  <jamatos@fep.up.pt>
5477
5478         * buffer.C (readParagraph):
5479         * params_func (readParToken, readParagraph):
5480         * paragraph.C (write): \layout -> \begin_layout.
5481
5482 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * lyxlex_pimpl.C (setFile): clean up slightly.
5485
5486         * bufferparams.h: add compressed var
5487
5488         * buffer_funcs.C (readFile): adjust for LyXLex change
5489         (newFile): ditto + simplify
5490
5491         * buffer.C (writeFile): handle writing of compressed files
5492
5493         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5494         Check if the file is compressed and set a bufferparm if so.
5495
5496         * Makefile.am (lyx_LDADD): remove explicit -lz
5497
5498 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5499
5500         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5501         makeDocBookFile): put the real LyX version in the first line of
5502         the file
5503
5504         * version.h:
5505         * version.C.in: remove lyx_docversion
5506
5507         * tabular.C (write_attribute): add a template-based version to
5508         write enums properly
5509
5510 2003-07-28  André Pönitz  <poenitz@gmx.net>
5511
5512         * lyxtext.h:
5513         * text.C:
5514         * text2.C:
5515         * text3.C: use doubles again for x-coordinates. They are needed.
5516
5517 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * messages.C (getLocaleDir): use lyx_localedir()
5520
5521         * lyxlex_pimpl.C (setFile): compress stuff
5522
5523         * buffer.C (writeFile): add some compression stuff
5524         (do_writeFile): new func, dont call expliti close... will this
5525         breake anything?
5526
5527         * Makefile.am (lyx_LDADD): add -lz
5528
5529 2003-07-28  José Matos  <jamatos@fep.up.pt>
5530
5531         * buffer.C: increment file format.
5532         * paragraph_funcs (readParagraph, readParToken):
5533         * paragraph.C (readParagraph): add \end_layout.
5534
5535 2003-07-27  Angus Leeming  <leeming@lyx.org>
5536
5537         * Makefile.am: remove special casing for configure-time setting of
5538         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5539
5540         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5541         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5542
5543 2003-07-26  André Pönitz  <poenitz@gmx.net>
5544
5545         * paragraph_func.[Ch]:
5546         * paragraph.C (realizeFont): inline it whereever it is used
5547
5548         * rowpainter.C:
5549         * text.C:
5550         * text2.C:
5551         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5552
5553
5554 2003-07-26  André Pönitz  <poenitz@gmx.net>
5555
5556         *       lyxtext.h:
5557         * text.C:
5558         * text2.C: get rid of LyXText::need_break_row
5559
5560 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * toc.[Ch]: put namespace toc inside namespace lyx
5563
5564         * MenuBackend.C (expandToc2): adjust for lyx::toc
5565         (expandToc): ditto
5566
5567         * lyxfunc.C (dispatch): adjust for lyx::find
5568
5569         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5570         lyx::find instead. Reorganize a bit.
5571         (LyXReplace): rename to replace
5572         (LyXFind): rename to find
5573
5574         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5575         (dispatch): ditto
5576
5577 2003-07-26  André Pönitz  <poenitz@gmx.net>
5578
5579         * text.C (setHeightOfRow): restrict scope of temporary variable
5580
5581         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5582           code (never has been used?)
5583
5584 2003-07-27  Asger Alstrup  <alstrup@local>
5585
5586         * text.C (fill): Optimise algorithm to exploit that we can reuse
5587         the LyXFont for many characters.
5588         (setHeightOfRow): Same thing.
5589         (rowBreakPoint): Same thing.
5590
5591 2003-07-26  Asger Alstrup  <alstrup@local>
5592
5593         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5594
5595         * text.C (singleWidth): Spurious font copying in hot-spot
5596         singleWidth avoided. Reorder tests for arabic for efficiency.
5597
5598         * text.C (fill): handle empty paragraphs better.
5599
5600 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5601
5602         * ispell.C:
5603         * encoding.h: add includes
5604
5605         * lyxrc.C: remove reading of bind files
5606
5607         * lyx_main.C (init): setup bindings and menus only if we have a
5608         gui.
5609
5610         * kbmap.C (read): new method. Do the actual reading of bind
5611         files.
5612
5613         * converter.C (dvipdfm_options):
5614         * bufferparams.C:
5615         * lyxrc.C (read):
5616         (output): adapt PAPER_* enums.
5617
5618         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5619
5620         * bufferparams.h: remove paper-related enums from there
5621
5622         * paper.h: New file. A trivial header file to hold paper-related
5623         enums. It should later expand to contain many paper-related
5624         horrors access.
5625
5626         * lyxrc.C: declare extern displayTranslator
5627
5628 2003-07-27  José Matos  <jamatos@fep.up.pt>
5629
5630         * tabular.[Ch] (linuxdoc): add support for tables and figures
5631         (linuxdoc).
5632
5633 2003-07-27  José Matos  <jamatos@fep.up.pt>
5634
5635         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5636         consistency in both functions.
5637         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5638
5639 2003-07-26  Asger Alstrup  <alstrup@local>
5640
5641         * rowpainter.C (paintRows): Change algorithm to work directly on
5642         the insets rather than asking every character in the document
5643         whether its an inset.
5644
5645 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * buffer.C (openFileWrite): factorize some code
5648
5649 2003-07-26  Angus Leeming  <leeming@lyx.org>
5650
5651         * lyx_cb.C:
5652         * lyx_main.[Ch]: replace occurances of system_tempdir with
5653         os::getTmpDir().
5654
5655 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * rename Inset to InsetOld
5658
5659 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5660
5661         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5662         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5663         which I think is a bit clearer. EDIT is gone, since it was
5664         premature optimisation, and broken for mathed anyway.
5665         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5666         with cursor positioning in insets as well (math insets still do not
5667         work, but that's a different story anyway.) It mysteriously
5668         crashes sometimes with undo in the first paragraph, but I'm fairly
5669         confident that this is a compiler bug.
5670
5671 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * paragraph.C (Paragraph): adjust for new clone return type
5674         (operator==): ditto
5675         (copyIntoMinibuffer): ditto
5676
5677 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5678
5679         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5680         by not having a special case, and always doing a full rebreak of
5681         the document after undo.
5682
5683 2003-07-23  Angus Leeming  <leeming@lyx.org>
5684
5685         * factory.C (createInset): InsetExternal::setParams now takes a
5686         Buffer const * arg.
5687
5688 2003-07-23  Angus Leeming  <leeming@lyx.org>
5689
5690         * factory.C (createInset): changed interface to the external and
5691         graphics mailers' string2params functions.
5692
5693 2003-07-23  Angus Leeming  <leeming@lyx.org>
5694
5695         * factory.C (createInset): pass a
5696         Buffer const * parameter to InsetExternalMailer's string2params.
5697
5698 2003-07-22  John Levon  <levon@movementarian.org>
5699
5700         * Thesaurus.h: include the right aiksaurus header
5701
5702 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5703
5704         * MenuBackend.C (expand): check menu shortcuts unconditionally
5705
5706 2003-07-21  Angus Leeming  <leeming@lyx.org>
5707
5708         * factory.C (createInset): pass a
5709         buffer_path parameter to InsetGraphicsMailer's string2params.
5710
5711 2003-07-21  Angus Leeming  <leeming@lyx.org>
5712
5713         * BufferView_pimpl.C (buffer):
5714         * buffer.C (d-tor):
5715         * lyx_main.C (LyX):
5716         * lyxfunc.C (dispatch):
5717         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5718         rather than the grfx shortcut.
5719
5720 2003-07-21  André Pönitz  <poenitz@gmx.net>
5721
5722         * rowpainter.C: remove unused variables
5723
5724         * tabular_funcs.C:
5725         * tabular_funcs.h: move to tabular.C
5726         * Makefile.am: adjust
5727
5728         * tabular.[Ch]: basic optical cleaning
5729
5730         * author.h: pass references, not values
5731
5732 2003-07-18  André Pönitz  <poenitz@gmx.net>
5733
5734         * lyxtext.h:
5735         * metricsinfo.C:
5736         * metricsinfo.h:
5737         * rowpainter.C:
5738         * text.C:
5739         * text2.C:
5740         * text3.C: two-phase drawing for InsetText and InsetTabular
5741         some float -> int changes.
5742
5743 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5744
5745         * lyx_main.C: fix the fix
5746
5747 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5748
5749         * lyx_main.C: fix a crash in batch mode if no files specified
5750         * converter.C: ws
5751
5752 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5753
5754         * format.[Ch] (papersize): moved to BufferParams
5755         * converter.[Ch] (dvips_options): moved to BufferParams
5756         (dvipdfm_options): moved to anon namespace
5757         * bufferparams.[Ch]: added above functions.
5758
5759 2003-07-17  André Pönitz  <poenitz@gmx.net>
5760
5761         * lyxtext.h:
5762         * rowpainter.C:
5763         * text2.C: don't call inset->update() anymore
5764
5765         * metricsinfo.[Ch]: add convenience constructor
5766
5767 2003-07-16  André Pönitz  <poenitz@gmx.net>
5768
5769         * lyxcursor.[Ch]:
5770         * lyxfunc.[Ch]:
5771         * text.C:
5772         * text2.C: replace the LyXCursor::irow_ member with
5773          on-demand computation of the value
5774
5775 2003-07-16  John Levon  <levon@movementarian.org>
5776
5777         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5778
5779 2003-07-15  André Pönitz  <poenitz@gmx.net>
5780
5781         * text.C:
5782         * text2.C: remove no more needed refresh_row
5783
5784 2003-07-15  André Pönitz  <poenitz@gmx.net>
5785
5786         * lyxtext.h:
5787         * rowpainter.C:
5788         * text2.C:
5789         * text3.C: refresh_status tristate -> need_update bool
5790
5791 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5792
5793         * lyxtext.h (init): remove reinit argument (act as if always true)
5794         * text2.C: adjust to that
5795
5796 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5797
5798         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5799         * text3.C: use it to delete selections in some cases
5800         (bugs 441, 673, 702, 954).
5801
5802 2003-07-14  André Pönitz  <poenitz@gmx.net>
5803
5804         * rowpainter.[Ch]: reduce interface
5805
5806 2003-07-14  André Pönitz  <poenitz@gmx.net>
5807
5808         * BufferView_pimpl.C:
5809         * text2.C: adjust after removing unused BufferView * argument
5810
5811 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5812
5813         * text2.C (init): fix a crash fired on resize
5814
5815 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5816
5817         * buffer.[Ch]: added new closing signal
5818         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5819         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5820         BufferView::Pimpl via the closing the signal
5821
5822 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5823
5824         * buffer.[Ch]: take out all bv-related from buffer
5825         * BufferView.C:
5826         * BufferView_pimpl.[Ch]: connect to new signals
5827         * CutAndPaste.C: removed useless asserts
5828         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5829         * lyxvc.[Ch]:
5830         * vc-backend.[Ch]:
5831         * lyxfunc.C: moved view-related funciontality from vc here
5832         * paragraph.C: removed outdated comments
5833         * text.C: ws
5834
5835 2003-07-10  André Pönitz  <poenitz@gmx.net>
5836
5837         * BufferView_pimpl.C:
5838         * tabular.h:
5839         * tabular_funcs.C:
5840         * text.C:
5841         * text2.C: remove InsetText::InnerCache, clean up consequences
5842
5843 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5844
5845         * ispell.C: fix two typos in error messages
5846
5847 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5848
5849         * Extend Note inset to other forms of annotation like Comment
5850         and Greyedout. Right button click gives dialog.
5851
5852         Files modified or added (+):
5853
5854         * insetnote.[Ch]
5855         * FormNote.[Ch]      +
5856         * ControlNote.[Ch]   +
5857         * form_note.fd       +
5858         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5859         frontends/controllers
5860         * xforms/Dialogs.C
5861         * factory.C
5862
5863 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5864
5865         * aspell.C: add missing namespace lyx::support
5866
5867 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * BufferView.[Ch] (newFile): Add
5870         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5871         * LaTeX.[Ch] (message): added this signal and use it
5872         * buffer.[Ch] (busy, message): added these signals and use them
5873         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5874         * converter.C:
5875         * exporter.C:
5876         * format.C:
5877         * importer.C: use buffer signals instead of direct bv calling
5878         * lyx_cb.[Ch] (ShowMessage): removed
5879         * lyx_main.C:
5880         * lyxfunc.C:
5881         * paragraph_funcs.C:
5882         * text2.C: use buffer signals
5883
5884 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * introduce namespace lyx::graphics
5887
5888 2003-07-02  André Pönitz  <poenitz@gmx.net>
5889
5890         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5891
5892 2003-07-01  André Pönitz  <poenitz@gmx.net>
5893
5894         * text.C:
5895         * text2.C:
5896         * text3.C:
5897         * text_funcs.[Ch]:
5898         * textcursor.h:
5899         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5900           text*.C to text_func.C
5901
5902 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * introduce namespace lyx::support
5905
5906 2003-06-30  André Pönitz  <poenitz@gmx.net>
5907
5908         * Chktex.C:
5909         * funcrequest.C:
5910         * lyxtext.h:
5911         * text.C: re-enable --with-included-string
5912
5913 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * textcursor.C: add <config.h>
5916
5917         * text.C (getWord): remove const from word_location arg
5918
5919         * lyxvc.C (getLogFile): fix const type order
5920
5921         * lyxtext.h: remove const from word_location arg, add arg name
5922
5923         * lyxlayout.h: currect type on labeltype.
5924
5925         * importer.C: correct \file
5926
5927         * converter.C (intToFormat): use std:: on ret val, ws changes
5928
5929         * bufferlist.h: correct \file
5930
5931         * buffer.C (makeLinuxDocFile): fix const type order
5932         (makeDocBookFile): ditto
5933         (fillWithBibKeys): use std:: on stdlib args.
5934
5935         * CutAndPaste.C: fix authors.
5936         (availableSelections): use std:: on return vector
5937
5938 2003-06-27  André Pönitz  <poenitz@gmx.net>
5939
5940         * BufferView_pimpl.C:
5941         * bufferview_funcs.C:
5942         * lyxcursor.C:
5943         * lyxcursor.h:
5944         * lyxfunc.C:
5945         * lyxtext.h:
5946         * rowpainter.C:
5947         * text.C:
5948         * text2.C:
5949         * text3.C: remove LyXCursor::row_ member
5950
5951         * lyxtext.h:
5952         * text.C: rename fullRebreak() to partialRebreak() and implement
5953           a fullRebreak() that really bereks fully
5954
5955         * textcursor.h: new struct for cursor-related data
5956
5957 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5958
5959         * lyx_main.C (LyX): get full path of document loaded on the
5960         command line
5961
5962 2003-06-26  André Pönitz  <poenitz@gmx.net>
5963
5964         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5965           remove unused/broken operator>,<,>=.
5966
5967         *       text.C: remove only use of broken operator<= in an Assert().
5968
5969 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5970
5971         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5972         moved errorlist_.clear to showErrorList
5973
5974 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5975
5976         * converter.C (scanLog, runLaTeX):
5977         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5978         move the bv->showErrorList call to the callers
5979         * lyxfunc.C: i.e. here...
5980         * text2.C: and here
5981         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5982         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5983         namespace, the second to...
5984         * buffer_funcs (BufferFormat, parseErrors): added
5985         * errorlist.C (ErrorList(TeXErrors const &)): removed
5986
5987 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5988
5989         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5990
5991 2003-06-24  "Garst R. Reese" <reese@isn.net>
5992
5993         * debug.C: fix typo
5994
5995 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5996
5997         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5998
5999         * version.C.in: change docversion to 1.4
6000
6001 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6002
6003         * buffer.C: fix a bug just introduced
6004
6005 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6006
6007         * buffer.[Ch]: added the parseError signal and use it, removed
6008         sgmlError
6009         * BufferView.[Ch] (addError): moved to ...
6010         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6011         to the Buffer::parseError signal to catch (guess what) parse errors
6012         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6013
6014 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6015
6016         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6017         ability to create a buffer and to return an existing one from
6018         the list. Moved these functions to...
6019         * buffer_funcs.[Ch]: added
6020         * BufferView.[Ch] (loadLyXFile): added
6021         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6022         job removed from bufferlist::loadLyXFile.
6023         * buffer.C (setReadOnly): make it work without view
6024         (i.e added an if (users))
6025
6026 2003-06-19  Angus Leeming  <leeming@lyx.org>
6027
6028         * lfuns.h:
6029         * LyXAction.C (init):
6030         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6031         with LFUN_DIALOG_SHOW <name> <data>.
6032
6033 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6034
6035         * CutAndPaste.C (availableSelections): small compilation fix for
6036         ancient (gcc 2.9x) compilers
6037
6038 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * text3.C (cursorNext): add tmp var
6041
6042         * text2.C (updateCounters): for function calling out of for clause
6043         (replaceSelectionWithString): ditto
6044         (insertStringAsParagraphs): ditto
6045         (getColumnNearX): add tmp var
6046         (setCursorFromCoordinates): add tmp var
6047         (cursorDownParagraph): add tmp var
6048         (deleteEmptyParagraphMechanism): add tmp var
6049
6050         * text.C (insertChar): add tmp var
6051
6052         * rowpainter.C (paintDepthBar): add tmp var
6053
6054         * CutAndPaste.C (availableSelections): potentially check all
6055         paragraphs in a cut to fill the shown strings.
6056
6057 2003-06-18  André Pönitz  <poenitz@gmx.net>
6058
6059         * kbmap.[Ch]: use vector<> instead of list<>
6060
6061 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6062
6063         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6064         pasteSelection with index
6065
6066         * text2.C (pasteSelection): modify, call pasteSelection with index
6067
6068         * paragraph.C (asString): reimplement version with no interval to
6069         call the one with interval.
6070
6071         * lyxtext.h: add index arg to pasteSelection
6072
6073         * MenuBackend.C (MenuItem): handle PasteRecent
6074         (Menu::read::Menutags): add md_pasterecent
6075         (read): handle it
6076         (expandPasteRecent): new function
6077         (expand): use it
6078
6079         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6080
6081         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6082         the limited stack
6083         (availableSelections): new function
6084
6085 2003-06-17  Angus Leeming  <leeming@lyx.org>
6086
6087         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6088
6089 2003-06-17  Angus Leeming  <leeming@lyx.org>
6090
6091         * lfuns.h:
6092         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6093
6094         * lyxfunc.C (dispatch): invoke it.
6095
6096 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6097
6098         * iterators.C (operator++, ParPosition): reintroduce some
6099         const_cast for the benefit of older compilers.
6100
6101 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6102
6103         * text3.C (dispatch): do not modify clipboard when doing
6104         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6105         LFUN_DELETE_SKIP on a selection selection
6106
6107 2003-06-16  André Pönitz  <poenitz@gmx.net>
6108
6109         * BufferView.C:
6110         * buffer.C:
6111         * buffer.h:
6112         * paragraph.C:
6113         * tabular.[Ch]: IU of clone() and getLabelList();
6114
6115 2003-06-13  André Pönitz  <poenitz@gmx.net>
6116
6117         * tabular.h: compactification
6118
6119 2003-06-12  André Pönitz  <poenitz@gmx.net>
6120
6121         * tabular.C:
6122         * tabular.h:
6123         * tabular_funcs.h: some renaming plus whitespace
6124
6125 2003-06-12  André Pönitz  <poenitz@gmx.net>
6126
6127         * BufferView.C:
6128         * BufferView_pimpl.C:
6129         * CutAndPaste.C:
6130         * buffer.C:
6131         * iterators.[Ch]:
6132         * lyxfunc.C:
6133         * text.C:
6134         * toc.C: Return a Paragraph & for ParIterator::operator*()
6135
6136 2003-06-11  John Levon  <levon@movementarian.org>
6137
6138         * lyx_main.C:
6139         * ToolbarBackend.h:
6140         * ToolbarBackend.C: add "Toolbars" section and
6141         put the flags there
6142
6143 2003-06-10  Angus Leeming  <leeming@lyx.org>
6144
6145         * lfuns.h:
6146         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6147
6148         * lyxfunc.C (dispatch): invoke it.
6149
6150 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * main.C: protect <ios> with HAVE_IOS
6153         (main): protect sync_with_stdio with HAVE_IOS
6154
6155 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6156
6157         * text2.C (cutSelection): adjust
6158         (pasteSelection): adjust
6159
6160         * messages.C: handle get of empty string
6161
6162         * main.C (main): use sync_with_stdio(false)
6163
6164         * lyxfunc.C (dispatch): adjust
6165
6166         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6167         (WriteAs): remove unneeded BufferView arg.
6168
6169         * bufferparams.h: use correct types on papersize, papersize2 and
6170         paperpackage.
6171
6172         * bufferparams.C (readToken): adjust for type
6173         (writeLaTeX): add missing cases to switch.
6174
6175         * bufferlist.C (quitWriteBuffer): adjust
6176         (close): adjust
6177
6178         * buffer.C (asciiParagraph): remove some commented code.
6179
6180         * CutAndPaste.C: remove current_view extern variable.
6181         (cutSelection): add BufferParams arg.
6182         (eraseSelection): add BufferParams arg.
6183         (pasteSelection): add Buffer const & arg
6184
6185 2003-06-07  John Levon  <levon@movementarian.org>
6186
6187         * buffer.C:
6188         * paragraph_funcs.C:
6189         * paragraph_pimpl.C:
6190         * text.C:
6191         * text2.C:
6192         * paragraph.h:
6193         * paragraph.C: allow InsetERT to freely space lines,
6194         and some consolidation of code
6195
6196 2003-06-06  José Matos  <jamatos@fep.up.pt>
6197
6198         * buffer.C (makeDocBookFile): fix bug #821
6199
6200 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6201
6202         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6203
6204 2003-06-04  Angus Leeming  <leeming@lyx.org>
6205
6206         * buffer.C: bump format to 224.
6207
6208 2003-06-05  André Pönitz  <poenitz@gmx.net>
6209
6210         * text2.C (redoParagraphs): remove two const_cast<>
6211
6212 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6213
6214         * ParagraphList.h: remove last remnants of NO_STD_LIST
6215
6216 2003-06-03  Angus Leeming  <leeming@lyx.org>
6217
6218         * factory.C (createInset): small change to the way InsetExternal's params
6219         are set.
6220
6221 2003-06-04  André Pönitz  <poenitz@gmx.net>
6222
6223         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6224
6225         * paragraph_pimpl.h:
6226         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6227
6228         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6229
6230         * undo_funcs.C: make some simple cases of undo work again
6231
6232 2003-06-03  John Levon  <levon@movementarian.org>
6233
6234         * ispell.C: HPUX doesn't have sys/select.h
6235         (from Albert Chin)
6236
6237 2003-06-03  John Levon  <levon@movementarian.org>
6238
6239         * CutAndPaste.C: update tabular and include inset
6240         buffer references
6241
6242         * buffer.h:
6243         * paragraph.h:
6244         * paragraph.C: remove owningBuffer(), don't pass Buffer
6245         to clone()
6246
6247         * factory.C: insetGraphicsParams changed
6248
6249 2003-06-02  John Levon  <levon@movementarian.org>
6250
6251         * LyXAction.C:
6252         * factory.C:
6253         * lfuns.h:
6254         * lyxfunc.C:
6255         * text3.C: remove insetparent
6256
6257 2003-06-02  John Levon  <levon@movementarian.org>
6258
6259         * buffer.h:
6260         * buffer.C: fix inset_iterator.end(), move out of line
6261         (bug 1149)
6262
6263 2003-06-01  John Levon  <levon@movementarian.org>
6264
6265         * text3.C: use a proper cut/paste when doing inset
6266         insert (from Jürgen Spitzmüller)
6267
6268 2003-06-01  John Levon  <levon@movementarian.org>
6269
6270         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6271
6272 2003-05-30  André Pönitz  <poenitz@gmx.net>
6273
6274         * rowpainter.C: unify second drawing phase
6275
6276 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * trans_mgr.C: remove one case of current_view
6279
6280         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6281
6282         * paragraph_funcs.h: remove paragraph.h include
6283
6284         * paragraph.h: delete NO_STD_LIST stuff
6285
6286         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6287
6288         * buffer.h: remove paragraph.h include
6289
6290         * ParagraphList.C: delete file
6291
6292         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6293
6294         * toc.C (getTocList): adjust
6295
6296         * paragraph_pimpl.C (validate): adjust
6297
6298         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6299
6300         * paragraph.C (Paragraph): adjust
6301         (getPositionOfInset): use const_iterator, adjust
6302         (bibitem): use const_iterator, adjust
6303         (setInsetOwner): adjust
6304
6305         * iterators.C (operator++): adjust
6306
6307         * InsetList.[Ch]: Replace selfmade iterator with standard
6308         vector::iterator also introduce const_iterator. Remove getPos,
6309         getInset and setInset from InsetTable. Adjust accordingly.
6310
6311         * BufferView.C (lockInset): adjust
6312         (ChangeInsets): adjust
6313
6314         * tabular.[Ch]: delete commented same_id functions
6315
6316 2003-05-28  John Levon  <levon@movementarian.org>
6317
6318         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6319
6320 2003-05-28  André Pönitz  <poenitz@gmx.net>
6321
6322         * metricsinfo.[Ch]: remove 'fullredraw' member
6323
6324 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6325
6326         * lyxtextclass.C (operator): remove caching.
6327
6328 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * text3.C: adjust
6331
6332         * text2.C (cursorBottom): adjust
6333         (setCounter): use ParagraphList::find, adjust
6334
6335         * text.C (workWidth): use ParagraphList::find, adjust
6336
6337         * lyxcursor.C (LyXCursor): adjust
6338
6339         * buffer.C (inset_iterator): adjust
6340
6341         * ParagraphList.h: make iterator(value_type) private, make
6342         ParagraphList a friend of iterator.
6343
6344         * ParagraphList.C (find): new function
6345
6346         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6347
6348 2003-05-27  André Pönitz  <poenitz@gmx.net>
6349
6350         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6351
6352 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6353
6354         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6355
6356 2003-05-26  John Levon  <levon@movementarian.org>
6357
6358         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6359
6360 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * remove same_id from function signatures, adjust.
6363
6364 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6367
6368         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6369
6370         * paragraph.C (Paragraph): get rid of same_ids parameter
6371
6372         * ParagraphList.C (insert): adjust
6373         (push_back): adjust
6374
6375 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * paragraph_funcs.C (breakParagraph): adjust
6378         (breakParagraphConservative): adjust
6379
6380         * buffer.C (readParagraph): adjust
6381
6382         * ParagraphList.C (insert): take a reference instead of a pointer
6383         (insert): adjust
6384
6385         * paragraph.[Ch] (id): new function
6386
6387         * bufferlist.C (newFile): adjust
6388
6389         * ParagraphList.C (ParagraphList): adjust
6390         (assign): adjust
6391         (push_back): take a reference instead of a pointer.
6392
6393         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6394
6395         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6396         instead.
6397
6398         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6399         set else use old code.
6400
6401         * ParagraphList.C: remove all NO_NEXT code and only compile this
6402         code of NO_STD_LIST is set.
6403
6404 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * BufferView_pimpl.C:
6407         * TextCache.C:
6408         * TextCache.h:
6409         * bufferlist.C:
6410         * errorlist.h:
6411         * format.C:
6412         * format.h:
6413         * graph.C:
6414         * lyxfunc.C:
6415         * lyxrc.C:
6416         * graphics/GraphicsConverter.C:
6417         * graphics/PreviewLoader.C: header adjustment
6418
6419 2003-05-23  Angus Leeming  <leeming@lyx.org>
6420
6421         * LaTeXFeatures.[Ch] (useBabel): new method.
6422         * bufferparams.C (writeLaTeX): use it.
6423
6424 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * ParagraphList.h (set): remove unused function.
6427
6428 2003-05-23  André Pönitz  <poenitz@gmx.net>
6429
6430         * BufferView.C:
6431         * BufferView_pimpl.C:
6432         * buffer.C:
6433         * buffer.h:
6434         * lyxfunc.C:
6435         * undo_funcs.C: setUndo reworked
6436
6437         * iterators.[Ch]: add access to topmost ParagraphList
6438
6439         * lyxtext.[Ch] (workWidth): add a const
6440
6441 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6442
6443         * texrow.[Ch] (increasePos): remove function
6444         * exporter.C (export): removed unused var and outdated comment
6445
6446 2003-05-23  Angus Leeming  <leeming@lyx.org>
6447
6448         * latexrunparams.h: rename fragile as moving_arg.
6449         * paragraph.C (simpleTeXOnePar): ditto.
6450         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6451
6452 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6455         (createUndo): ditto
6456         (textUndoOrRedo): comment out a currently unused var.
6457
6458         * paragraph.h (NO_NEXT): enable NO_NEXT
6459
6460         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6461
6462         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6463
6464         * exporter.C (Export): adjust for removeAutoInsets removal.
6465
6466         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6467
6468         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6469
6470         * BufferView.[Ch] (removeAutoInsets): delete function
6471
6472 2003-05-22  Angus Leeming  <leeming@lyx.org>
6473
6474         * latexrunparams.h: add a free_spacing variable.
6475
6476         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6477         to pass moving_arg, as the data is stored in runparams.fragile.
6478
6479         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6480         to Inset::latexOptional or to simpleTeXOnePar.
6481
6482         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6483         free_spacing arg to Inset::latexOptional.
6484
6485         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6486         free_spacing arg.
6487
6488 2003-05-22  Angus Leeming  <leeming@lyx.org>
6489
6490         * latexrunparams.h: add fragile and use_babel variables.
6491
6492         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6493         * buffer.C (makeLaTeXFile): store this returned value in
6494         runparams.use_babel, thus passing it to the inset::latex methods.
6495
6496         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6497         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6498
6499         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6500         longer has a fragile arg, as it is stored in runparams.fragile.
6501
6502         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6503         moving_arg parameter as the data is stored in runparams.fragile.
6504
6505         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6506         a fragile parameter as the data is stored in runparams.fragile.
6507
6508 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6511
6512 2003-05-22  Angus Leeming  <leeming@lyx.org>
6513
6514         * latexrunparams.h: add a 'bool nice' which defaults to false.
6515
6516         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6517         now encapsulated within runparams.
6518
6519         * bufferlist.C (updateIncludedTeXfiles):
6520         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6521
6522 2003-05-22  Angus Leeming  <leeming@lyx.org>
6523
6524         * latexrunparams.h: new file containing struct LatexRunParams.
6525         * Makefile.am: add new file.
6526
6527         * LaTeX.[Ch] (c-tor, run):
6528         * buffer.[Ch] (makeLaTeXFile):
6529         * bufferlist.[Ch] (updateIncludedTeXfiles):
6530         * converter.C (convert, scanLog):
6531         * converter.[Ch] (runLaTeX):
6532         * exporter.C (Export):
6533         * paragraph.[Ch] (simpleTeXOnePar):
6534         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6535         * paragraph_funcs.[Ch] (latexParagraphs):
6536         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6537         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6538         pass around a LatexRunParams parameter.
6539
6540 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * paragraph.[Ch]: remove unused constructor
6543
6544         * ParagraphList.C (erase): new function, taking two iterators
6545
6546 2003-05-22  André Pönitz  <poenitz@gmx.net>
6547
6548         * undo_funcs.C: remove duplicated code
6549
6550         * iterator.[Ch]: operator=
6551
6552 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * tabular.C (SetMultiColumn): ws changes
6555
6556         * rowpainter.C (paintFirst): get rid of a ->previous
6557
6558         * lyx_cb.C (getPossibleLabel): parlist simplification
6559
6560         * BufferView.C (ChangeInsets): simplify slightly.
6561
6562 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6563
6564         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6565         * lfuns.h: new LFUN_SPACE
6566         * lyxfunc.C: protected space has a new lfun
6567         * paragraph_funcs.C: read new space insets
6568         * text3.C:
6569         * factory.C: handle new space insets
6570
6571 2003-05-22  André Pönitz  <poenitz@gmx.net>
6572
6573         * BufferView.C:
6574         * BufferView_pimpl.C:
6575         * buffer.[Ch]:
6576         * lyxfunc.C:
6577         * undo_funcs.C: return a ParIterator from getParFromID.
6578
6579         * iterators.[Ch]: add two const's
6580
6581 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * toc.C (getTocList): adjust
6584
6585         * iterators.[Ch]: rework for parlist
6586
6587         * buffer.C (par_iterator_begin): adjust
6588         (par_iterator_end): adjust
6589
6590         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6591
6592         * BufferView.C (removeAutoInsets): adjust
6593         (ChangeInsets): adjust
6594
6595 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * text.C (top_y): fix bug 1110
6598
6599 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6600
6601         * errorlist.[Ch]: added
6602         * buffer.C:
6603         * BufferView.[Ch]:
6604         * BufferView_pimpl.C:
6605         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6606         instead
6607
6608 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * Makefile.am: ensure that lyx is relinked upon changes to the
6611         various "convenience" libs.
6612
6613 2003-05-20  Angus Leeming  <leeming@lyx.org>
6614
6615         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6616         files are compiled in alphabetical order again.
6617
6618         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6619
6620 2003-05-19  Angus Leeming  <leeming@lyx.org>
6621
6622         * gettext.[Ch]: remove "char const * _(char const *)".
6623
6624 2003-05-19  André Pönitz  <poenitz@gmx.net>
6625
6626         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6627
6628         * Makefile.am:
6629         * BufferView.C:
6630         * DepTable.h:
6631         * LaTeXFeatures.C:
6632         * buffer.C:
6633         * lyxfont.C:
6634         * lyxlex.h:
6635         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6636
6637 2003-05-19  André Pönitz  <poenitz@gmx.net>
6638
6639         * buffer.C:
6640         * lyxlayout.[Ch]:
6641         * lyxtextclass.[Ch]:
6642         * paragraph.C:
6643         * paragraph_funcs.[Ch]:
6644         * text2.C:
6645         * text3.C: more insetenv work
6646
6647 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6648
6649         * ParagraphParameters.C (params2string): small bug fixed
6650
6651 2003-05-16  André Pönitz  <poenitz@gmx.net>
6652
6653         * debug.C:
6654         * bufferview_funcs.C: patch from Kornel Benko to prevent
6655           crash when _(...) is called twice in a statement
6656
6657 2003-05-16  André Pönitz  <poenitz@gmx.net>
6658
6659         * BufferView.C:
6660         * lyxfunc.C:
6661         * text.C:
6662         * text2.C:
6663         * text3.C:
6664         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6665
6666 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6667
6668         * lyx_main.C (init): remove spurious static_cast
6669
6670 2003-05-14  André Pönitz  <poenitz@gmx.net>
6671
6672         * BufferView.C: fix format string
6673
6674 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * BufferView.[Ch] (insertErrors): removed
6677         * BufferView.[Ch] (showErrorList): added
6678         * buffer.C (runChkTeX):
6679         * converter.C (scanLog): call showErrorList instead of inserterrors
6680
6681 2003-05-13  André Pönitz  <poenitz@gmx.net>
6682
6683         * BufferView_pimpl.C:
6684         * buffer.C:
6685         * bufferview_func.C:
6686         * MenuBackend.C:
6687         * lyxfunc.C:
6688         * lyxrc.C:
6689         * tex-accent.C:
6690         * text3.C:
6691         * toc.C:
6692         * tabular_funcs.h: tostr() from its own header
6693
6694         * ParagraphParameters.C:
6695         * ToolbarBackend.C:
6696         * bufferparams.C:
6697         * format.C:
6698         * lyxlex_pimpl.C:
6699         * text3.C: STRCONV()
6700
6701 2003-05-12  André Pönitz  <poenitz@gmx.net>
6702
6703         * BufferView.C:
6704         * BufferView_pimpl.C:
6705         * CutAndPaste.C:
6706         * LaTeX.C:
6707         * LaTeXFeatures.C:
6708         * ParagraphParameters.C:
6709         * buffer.C:
6710         * bufferlist.C:
6711         * bufferparams.C:
6712         * bufferview_funcs.C:
6713         * converter.C:
6714         * counters.C:
6715         * debug.C:
6716         * exporter.C:
6717         * format.C:
6718         * importer.C:
6719         * lyx_cb.C:
6720         * lyx_main.C:
6721         * lyxfont.C:
6722         * lyxfunc.C:
6723         * lyxvc.C:
6724         * paragraph.C:
6725         * paragraph_funcs.C:
6726         * tabular.C:
6727         * tabular_funcs.C:
6728         * text2.C:
6729         * text3.C:  boost::format -> bformat  all over the place
6730
6731
6732 2003-05-09  André Pönitz  <poenitz@gmx.net>
6733
6734         * LColor.[Ch]: Pimpl the #include <map> away
6735
6736 2003-05-09  John Levon  <levon@movementarian.org>
6737
6738         * bufferlist.C: never remove emergency saves
6739
6740 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * Makefile.am: better lib building
6743
6744 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6747         instead.
6748         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6749         (simpleTeXSpecialChars): adjust
6750         (simpleTeXSpecialChars): adjust
6751         * paragraph.C (simpleTeXOnePar): adjust
6752         * buffer.C (makeLaTeXFile): adjust
6753
6754         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6755
6756         * text2.C (changeDepth): parlist cleanup
6757         (getColumnNearX): ditto
6758
6759         * rowpainter.C (getLabelFont): parlist cleanup
6760
6761         * bufferlist.C (newFile): parlist cleanup
6762
6763         * CutAndPaste.C (eraseSelection): parlist cleanup
6764
6765         * BufferView_pimpl.C (trackChanges): parlist cleanup
6766         (dispatch): ditto
6767
6768         * BufferView.C (lockInset): parlist cleanup.
6769         (ChangeInsets): ditto
6770
6771 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * CutAndPaste.h: Update file header.
6774
6775         * CutAndPaste.C: Update file header.
6776         Store the parts cut out of the Document in a limited_stack.
6777         (copySelection): adjust
6778         (pasteSelection): new function, takes the index in the limited stack.
6779         (nrOfParagraphs): adjust
6780         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6781         simplify error inset insertion.
6782         (checkPastePossible): adjust
6783
6784 2003-05-06  John Levon  <levon@movementarian.org>
6785
6786         * text2.C: don't cast wrap inset to float
6787
6788 2003-05-05  André Pönitz  <poenitz@gmx.net>
6789
6790         * iterator.C:
6791         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6792
6793         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6794           few naked Paragraph *.
6795
6796 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6797
6798         * bufferparams.C: Output warning if a document with missing
6799         TeX document class is loaded
6800         * exporter.C: Disable TeX exports if the document class is missing
6801         * lyxtextclass.C:
6802         * lyxtextclass.h:
6803         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6804         isTeXClassAvailable()
6805
6806 2003-05-03  John Levon  <levon@movementarian.org>
6807
6808         * BufferView.h:
6809         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6810         explicit cursor show/hide
6811
6812         * BufferView_pimpl.h:
6813         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6814         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6815
6816         * lyxfunc.C: hide cursor before dispatching.
6817
6818         * lyx_cb.C:
6819         * lyxfind.C:
6820         * text.C:
6821         * text3.C: remove explicit cursor hides
6822
6823 2003-05-02  André Pönitz  <poenitz@gmx.net>
6824
6825         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6826
6827         * undo_funcs.C:
6828         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6829           linked lists
6830
6831         * text2.C: tiny whitespace
6832
6833 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * undo_funcs.C: almost only ws changes.
6836
6837         * ParagraphList.C (splice): just return if pl is empty.
6838
6839 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * ParagraphList.C (splice): new function.
6842
6843         * CutAndPaste.C (pasteSelection): use it
6844
6845 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * CutAndPaste.C (pasteSelection): remove the last next and
6848         previous from this file.
6849
6850 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * CutAndPaste.C (pasteSelection): more clean up, user proper
6853         ParagraphList functions for pasteing.
6854
6855         * ParagraphList.C (insert): new function, three arg insert
6856
6857 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * ParagraphList.C (insert): new function, three arg insert
6860
6861         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6862         not on paragraphs.
6863
6864 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6867
6868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6871
6872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6875         (copySelection): clean up a bit.
6876         (pasteSelection): use make_pair
6877
6878         * ParagraphList.C (ParagraphList): implement copy constructor
6879         (operator=): implement, base on copy constructor.
6880         (assign): new func
6881
6882         * paragraph.C (erase): return a bool
6883
6884         * paragraph_pimpl.C (erasePos): remove function, move contents...
6885         (erase): ... here. Return a bool.
6886         (erase): call erase instead of erasePos.
6887
6888 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * ParagraphList.h: define PitPosPair
6891         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6892         ParagraphList, fix a bug on pasting multiple pars
6893         * text2.C: change interface to C&P
6894
6895 2003-04-30  André Pönitz  <poenitz@gmx.net>
6896
6897         * undo_func.C: revert part of yesterday's patch 2
6898
6899 2003-04-30  John Levon  <levon@movementarian.org>
6900
6901         * LColor.C: s/tabular/table/
6902
6903 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6904
6905         * text3.C (dispatch): do not convert iterator -> pointer
6906         * undo_funcs.C (setCursorParUndo): ditto
6907         * text_funcs.C (transposeChars): ditto
6908
6909         * text2.C (setLayout): ws changes only
6910
6911         * text.C (breakParagraph): do not convert iterator -> pointer
6912         (insertChar): ditto
6913         (acceptChange): ditto
6914         (rejectChange): ditto
6915         (changeCase): ditto
6916         (Delete): ditto
6917         (backspace): ditto
6918
6919         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6920         pointer
6921
6922 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6923
6924         * text3.C (gotoInset): YABG (yet another bad getChar)
6925
6926 2003-04-29  André Pönitz  <poenitz@gmx.net>
6927
6928         * paragraph.h: make operator= private unimplemented as long as
6929           it is unusable
6930
6931         * ParagraphList.C: whitespace
6932
6933         * paragraph.[Ch]:
6934         * paragraph_pimpl.[Ch]:
6935         * paragraph_funcs.C:
6936         * CutAndPaste.C:
6937         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6938
6939         * text2.C:
6940           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6941
6942 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6943
6944         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6945         * paragraph.[Ch] (erase):
6946         * paragraph_pimpl.[Ch] (erase): change return type and value
6947         * text2.C (cutSelection): some rework
6948
6949 2003-04-28  John Levon  <levon@movementarian.org>
6950
6951         * bufferlist.C: changes for unsaved changes dialog
6952
6953 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * bufferlist.C (newFile): set language (messages_) for new
6956         documents also.
6957
6958         * buffer.C (readFile): ws changes only.
6959
6960 2003-04-28  André Pönitz  <poenitz@gmx.net>
6961
6962         * undo_funcs.C:
6963         * lyxfunc.C:
6964         * buffer.[Ch]:
6965         * BufferView_pimpl.C:
6966         * BufferView.C: getParFromID related ParagraphList::iterator changes
6967
6968 2003-04-28  André Pönitz  <poenitz@gmx.net>
6969
6970         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6971           Changes
6972
6973 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * messages.C: remove one more localedir class variable.
6976
6977 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * messages.C (getLocaleDir): singleton generation function
6980         (Pimpl): use it.
6981         (Messages): add a default constructor.
6982
6983         * main.C (main): do not setup localedir here, do not call
6984         gettext_init.
6985
6986         * gettext.C (_): use it.
6987         (gettext_init): delete funciton
6988
6989 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * gettext.C (getLyXMessages): new singleton generating function.
6992
6993         * buffer.C (updateDocLang): adjust
6994
6995         * Makefile.am (messages.o): add target
6996         (main.o): remove target
6997
6998 2003-04-27  John Levon  <levon@movementarian.org>
6999
7000         * bufferlist.C:
7001         * lyx_cb.C:
7002         * lyxfunc.C:
7003         * lyxvc.C: specify cancel button in Alert::prompt
7004
7005 2003-04-26  John Levon  <levon@movementarian.org>
7006
7007         * text3.C:
7008         * lyxfunc.C:
7009         * lfuns.h:
7010         * LyXAction.C: add LFUN_INSET_SETTINGS
7011
7012         * lyxfunc.C: don't enable tabular-feature when there's
7013         just any locking inset
7014
7015 2003-04-26  John Levon  <levon@movementarian.org>
7016
7017         * bufferlist.C: re-add Cancel to buffer close question
7018
7019         * lyxfunc.C: fix import UI a bit
7020
7021 2003-04-25  John Levon  <levon@movementarian.org>
7022
7023         * gettext.C: remove the broken asserts for now
7024
7025 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * messages.C: make case where setlocale cannot comply work better.
7028
7029         * buffer.C (updateDocLang): new function
7030         (changeLanguage): use it
7031         (readFile): use it
7032
7033         * text2.C (setCounter): use B_ a bit.
7034
7035         * lyxlayout.C (Read): be sure to trim the label strings.
7036
7037         * messages.C (Messages): fix typo in comment
7038
7039         * buffer.C (readFile): set message_ after file is loaded.
7040         (makeDocBookFile): remove double return
7041         (changeLanguage): reset message_ upon language change.
7042         (B_): new func, use this to get translated buffer strings.
7043
7044         * main.C: add myself and Jean Marc as authors.
7045
7046 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * messages.[hC]: pimplify Messages, and three different pimpls to be
7049         used in different circumstances.
7050
7051         * gettext.[Ch]: change for use with new message code.
7052
7053 2003-04-24 André Pönitz <poenitz@gmx.net>
7054
7055         * factory.C: support for eqref
7056
7057 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * messages.[Ch]: add missing char
7060
7061         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7062
7063         * messages.[Ch]: New files
7064
7065 2003-04-18  John Levon  <levon@movementarian.org>
7066
7067         * BufferView.h:
7068         * BufferView.C:
7069         * BufferView_pimpl.C:
7070         * lfuns.h:
7071         * LyXAction.C:
7072         * lyxtext.h:
7073         * text2.C: remove layout-copy/paste (bug 778)
7074
7075 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7076
7077         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7078
7079 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7082         if they succeed. Act accordingly.
7083
7084 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (setCharFont): adjust
7087         (setCounter): adjust
7088         (insertStringAsLines): adjust
7089
7090         * text.C (leftMargin): adjust
7091         (setHeightOfRow): adjust
7092
7093         * rowpainter.C (paintFirst): adjust
7094         (paintLast): adjust
7095
7096         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7097         (outerHook): ditto
7098         (isFirstInSequence): ditto
7099         (getEndLabel): ditto
7100         (outerFont): adjust
7101
7102         * paragraph.C (getParLanguage): comment out some hard stuff.
7103
7104         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7105         (sgmlError): ditto
7106         (simpleDocBookOnePar): ditto
7107         (makeDocBookFile): use ParagraphList::iterator
7108
7109         * CutAndPaste.C (pasteSelection): adjust
7110
7111 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * text2.C (getFont): adjust
7114         (getLayoutFont): adjust
7115         (getLabelFont): adjust
7116
7117         * paragraph_funcs.C (TeXOnePar): adjust
7118
7119         * buffer.C (simpleLinuxDocOnePar): adjust
7120         (simpleDocBookOnePar): adjust
7121
7122         * CutAndPaste.C (pasteSelection): adjust
7123
7124         * BufferView.C (getEncoding): adjust
7125
7126         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7127
7128 2003-04-16  John Levon  <levon@movementarian.org>
7129
7130         * lyxfind.C: use parlist stuff for search/changes
7131
7132 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7135
7136         * text2.C (deleteEmptyParagraphMechanism): adjust
7137
7138         * text2.[Ch] (ownerParagraph): delete func (both of them
7139
7140 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7143
7144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * ParagraphList.C: prepare for NO_NEXT
7147
7148 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * text2.C (getFont): adjust
7151         (getLayoutFont): adjust
7152         (getLabelFont): adjust
7153
7154         * paragraph.C (getFont): adjust
7155         (getLabelFont): adjust
7156         (getLayoutFont): adjust
7157
7158         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7159
7160 2003-04-15  John Levon  <levon@movementarian.org>
7161
7162         From Angus Leeming
7163
7164         * lyx_main.C: handle Include in .ui files
7165
7166 2003-04-15  John Levon  <levon@movementarian.org>
7167
7168         * MenuBackend.C: make the doc files length shorter
7169
7170         * ToolbarBackend.h:
7171         * ToolbarBackend.C: handle toolbar placement flags,
7172         Minibuffer
7173
7174 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7177         adjust
7178
7179         * paragraph_funcs.C (TeXOnePar): adjust
7180
7181         * paragraph.C (getLabelFont): add outerfont arg, adjust
7182         (getLayoutFont): ditto
7183         (simpleTeXOnePar): adjust
7184
7185         * paragraph_pimpl.C (realizeFont): delete func
7186
7187 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7188
7189         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7190         row argument, constify cur argument.
7191
7192 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7193
7194         * text2.C (getFont): adjust
7195         (getLayoutFont): adjust
7196         (getLabelFont): adjust
7197
7198         * paragraph_funcs.C (TeXOnePar): adjust
7199         (outerFont): new func...
7200         (realizeFont): ...moved out from here, changed this to facilitate
7201         transition
7202
7203         * paragraph.C (getFont): take outerfont as arg, adjust
7204         (simpleTeXOnePar): add outerfont arg, adjust
7205
7206         * buffer.C (simpleLinuxDocOnePar): adjust
7207         (simpleDocBookOnePar): adjust
7208
7209         * CutAndPaste.C (pasteSelection): adjust
7210
7211         * BufferView.C (getEncoding): adjust
7212
7213 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * text2.C (setCharFont): adjust
7216         (setCounter): adjust
7217
7218         * text.C (leftMargin): adjust
7219         (setHeightOfRow): adjust
7220
7221         * rowpainter.C (paintFirst): adjust
7222         (paintLast): adjust
7223
7224         * paragraph_pimpl.C (realizeFont): adjust
7225
7226         * paragraph.C (isFirstInSequence): move from here...
7227         * paragraph_funcs.C (isFirstInSequence): ...to here
7228
7229         * paragraph.C (outerHook): move from here...
7230         * paragraph_funcs.C (outerHook): ...to here
7231
7232         * paragraph.C (depthHook): move from here...
7233         * paragraph_funcs.C (depthHook): ...to here
7234
7235         * paragraph.C (getEndLabel): move from here...
7236         * paragraph_funcs.C (getEndLabel): ...to here
7237
7238         * text2.C (realizeFont): move from here...
7239         * paragraph_funcs.C (realizeFont): ...to here
7240
7241 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7244
7245 2003-04-14  Angus Leeming  <leeming@lyx.org>
7246
7247         * LColor.[Ch]: scrap LColor mathcursor.
7248
7249 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * lyxlex.[Ch] (text): delete function
7252         * trans.C (Load): adjust
7253         * paragraph_funcs.C (readParToken): adjust
7254
7255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7258         vector<char> instead of a char[].
7259
7260         * lyxlex_pimpl.C (getString): adjust
7261         (next): adjust
7262         (lex): use getString
7263         (eatLine): adjust
7264         (nextToken): adjust
7265
7266         * lyxlex.C (text): use pimpl_->getString()
7267         (getBool): ditto
7268         (findToken): ditto
7269
7270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7273         (makeFontEntriesLayoutSpecific): temp var for par.size()
7274         (setLayout): temp var for ownerParagraphs().end()
7275         (fullRebreak): temp var for rows().end()
7276         (selectionAsString): temp var for boost::next(startpit), realize
7277         that the while really is a regular for loop.
7278         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7279         setCursor in one place.
7280         (setParagraph): temp vr for ownerParagraphs().end()
7281         (updateCounters): make the while loop a for loop
7282         (cutSelection): temp var for ownerParagraphs().end()
7283         (updateInset): make the do {} while() a regular for loop
7284         (getCursorX): use temp vars
7285         (setCurrentFont): use temp vars
7286         (getColumnNearX): use temp vars
7287
7288 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * text.C (transformChar): use temp var for getChar
7291         (computeBidiTables): use temp var for row->par()
7292         (fill): move temp vars for row->par() and pit->layout() earlier in
7293         the function.
7294         (labelFill): use temp var for row->par()
7295         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7296         asc and desc, realize that pit never changes and that firstpit is
7297         just a duplicate and not needed. Exchange rit->par() with pit in a
7298         lot of places.
7299         (breakAgain): use a temp var for boost::next(rit)
7300         (breakAgainOneRow): ditto
7301         (breakParagraph): use a temp var for rows().begin()
7302         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7303         (cursorRightOneWord): use temp var for cursor.par() and
7304         cursor.pos(), remove usage of tmpcursor.
7305         (cursorLeftOneWord): use temp var for cursor.par() and
7306         cursor.pos() only set cur at end of function.
7307
7308 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * text.C, text2.C: exchange all usage of Paragraph::next with
7311         boost::next(ParagraphList::iterator)
7312
7313         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7314
7315         * text2.C (cursorTop): simplify implementation
7316         (cursorBottom): ditto
7317         (setParagraph): use ParagraphList::iterator
7318         (setCurrentFont): adjust
7319         (getColumnNearX): adjust
7320         (cursorRight): adjust
7321         (cursorLeft): remove usage of Paragraph::previous
7322         (cursorUpParagraph): ditto
7323         (deleteEmptyParagraphMechanism): slight cleanup
7324
7325         * text.C (isBoundary): take a Paragraph const & instead of a
7326         pointer as arg.
7327         (addressBreakPoint): ditto
7328         (leftMargin): remove usage of Paragraph::previous.
7329         (setHeightOfRow): ditto
7330         (cursorLeftOneWord): ditto
7331         (selectNextWordToSpellcheck): ditto
7332         (Delete): ditto
7333         (backspace): ditto
7334         (breakParagraph): remove one usage of Paragraph::next
7335         (redoParagraph): ditto
7336         (acceptChange): ditto
7337         (insertChar): adjust
7338         (rowBreakPoint): adjust
7339
7340         * bufferview_funcs.C (toggleAndShow): adjust
7341
7342 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7343
7344         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7345         methods to access it.
7346         * lyxtext.h:
7347         * text.C: Added updateRowPositions to compute all row positions.
7348         Make top_y and getRowNearY() to use the cached y position
7349
7350 2003-04-11  John Levon  <levon@movementarian.org>
7351
7352         * text.C (rowBreakPoint): reintroduce the labelEnd
7353         checks, code copied from the row fill stuff. Deep voodoo.
7354
7355         * text.C (fill): add a comment and debugging for the
7356         next poor soul.
7357
7358 2003-04-11  John Levon  <levon@movementarian.org>
7359
7360         * text.C: make sure fullrow insets get wrapped to the next line,
7361         even when they're in a manual label
7362
7363 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * text2.C (insertParagraph): make it take ParagraphList::iterator
7366         as arg.
7367         (setLayout): make it return ParagraphList::iterator
7368         (redoParagraphs): ditto
7369         (setCounter): ditto
7370         (checkParagraph): ditto
7371
7372         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7373
7374         * text2.C: adjust several funcs.
7375         (realizeFont): take a ParagraphList::iterator as arg.
7376         (getLayoutFont): ditto
7377         (getLabelFont): ditto
7378         (setCharFont): ditto
7379
7380         * text.C: adjust several funcs.
7381
7382 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7383
7384         * text.C (selectNextWordToSpellcheck): don't accidentally
7385         skip insets
7386
7387 2003-04-10  John Levon  <levon@movementarian.org>
7388
7389         * ToolbarBackend.C (getIcon): special handling for
7390         LFUN_MATH_DELIM
7391
7392 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7393
7394         * text2.C (cursorRight): a getChar assert fixed
7395
7396 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7397
7398         * text2.C (getFont): change to take a ParagraphList::iterator
7399         instead of Paragraph*
7400         Adjust several functions.
7401
7402         * text.C (transformChar): change to take a ParagraphList::iterator
7403         instead of Paragraph*
7404         (singleWidth): ditto
7405         Adjust several functions.
7406
7407         * rowpainter.C: adjust several functions
7408         * rowpainter.h:store a ParagraphList::iterator and not a
7409         Paragraph&.
7410
7411
7412 2003-04-09  John Levon  <levon@movementarian.org>
7413
7414         * lyxfunc.C:
7415         * lfuns.h:
7416         * LyXAction.h:
7417         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7418         and the "help" bits as well
7419
7420 2003-04-09  John Levon  <levon@movementarian.org>
7421
7422         * ToolbarBackend.h:
7423         * ToolbarBackend.C: allow multiple toolbars
7424
7425 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * undo_funcs.C (setCursorParUndo): adjust
7428
7429         * text_funcs.C (transposeChars): adjust
7430
7431         * text3.C (gotoNextInset): adjust
7432         (dispatch): adjust
7433
7434         * text2.C (setLayout): adjust
7435         (changeDepth): adjust
7436         (setFont): adjust
7437         (redoParagraphs): adjust
7438         (selectionAsString): adjust
7439         (setParagraph): adjust
7440         (insertInset): adjust
7441         (cutSelection): adjust
7442         (copySelection): adjust
7443         (pasteSelection): adjust
7444         (insertStringAsLines): adjust
7445         (updateInset): adjust
7446         (setCursor): change to take a ParagraphList::iterator parameter
7447         (setCursorIntern): change to take a ParagraphList::iterator parameter
7448         (setCurrentFont): adjust
7449         (cursorLeft): adjust
7450         (cursorRight): adjust
7451         (deleteEmptyParagraphMechanism): adjust
7452
7453         * text.C (breakParagraph): adjust
7454         (insertChar): adjust
7455         (acceptChange): adjust
7456         (rejectChange): adjust
7457         (selectNextWordToSpellcheck): adjust
7458         (changeCase): adjust
7459         (Delete): adjust
7460         (backspace): adjust
7461
7462         * lyxfind.C (SearchForward): adjust
7463         (SearchBackward): adjust
7464         (nextChange): adjust
7465
7466         * lyxcursor.C (par): adjust
7467
7468         * lyxcursor.h: store a ParagraphList::iterator instead of a
7469         Paragraph*
7470
7471         * lyx_cb.C (getPossibleLabel): adjust
7472
7473         * bufferview_funcs.C (toggleAndShow): adjust
7474
7475         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7476         (dispatch): adjust
7477
7478         * BufferView.C (removeAutoInsets): adjust
7479         (lockedInsetStoreUndo): adjust
7480
7481 2003-04-09  John Levon  <levon@movementarian.org>
7482
7483         * ToolbarBackend.C: try icon without argument
7484         if with argument fails
7485
7486 2003-04-08  John Levon  <levon@movementarian.org>
7487
7488         * ToolbarBackend.h:
7489         * ToolbarBackend.C: add getIcon(), handle tooltip,
7490         and change from "Icon" to "Item".
7491
7492 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7493
7494         * BufferView.C (lockInset): another bad getchar crunched
7495
7496 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7497
7498         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7499         again)
7500
7501 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7502
7503         * lyxfind.C (searchForward, searchBackwards): bug 782
7504
7505 2003-04-07  John Levon  <levon@movementarian.org>
7506
7507         * paragraph.C: remove dead comment
7508
7509         * text.C: remove troublesome depth-fiddling code
7510         in leftMargin() and rightMargin() (bug 1017)
7511
7512         * text.C: fix breaking of rows in nested lists
7513         (bug 1004)
7514
7515         * text2.C (updateCounters): fix up depth values
7516         (bug 1013)
7517
7518 2003-04-07  John Levon  <levon@movementarian.org>
7519
7520         * BufferView_pimpl.C: clear message when doc finishes resizing,
7521         and after a mouse event
7522
7523         * lyxfunc.C: clear message after exiting inset
7524
7525 2003-04-07  John Levon  <levon@movementarian.org>
7526
7527         * bufferview_funcs.C: show math status not outside
7528         status in the statusbar
7529
7530 2003-04-07  John Levon  <levon@movementarian.org>
7531
7532         * lyxfunc.C: note status changed after a depth change
7533
7534 2003-04-04  Angus Leeming  <leeming@lyx.org>
7535
7536         * LaTeX.h: move AuxInfo operator==, != out of line.
7537         Remove LaTeX virtual destructor; nothing derives from it.
7538         Move operator()() out of public area and rename it startscript().
7539         Change protected for private.
7540
7541 2003-04-04  Angus Leeming  <leeming@lyx.org>
7542
7543         * lyxfunc.C:
7544         * text2.C: remove unneeded #includes.
7545
7546 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7547
7548         * text2.C (dEPM): fix the heigth of the next row
7549
7550 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7551
7552         * text.C: squashed an invalid getChar requester + some ws changes
7553
7554 2003-04-03  John Levon  <levon@movementarian.org>
7555
7556         * bufferview_funcs.h:
7557         * bufferview_funcs.C:
7558         * lyxfunc.C:
7559         * lyxtext.h:
7560         * text2.C: make getStatus work for the env depth lfuns
7561
7562 2003-04-03  John Levon  <levon@movementarian.org>
7563
7564         * bufferview_funcs.h:
7565         * bufferview_funcs.C:
7566         * lyxfunc.C:
7567         * lyxtext.h:
7568         * text2.C: parlistize decDepth(), by merging it with incDepth()
7569
7570 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * lyxrow.h: store a ParagraphList::iterator instead of a
7573         Paragraph* and adjust other class functions to suit.
7574
7575         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7576         above.
7577
7578 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7579
7580         * text2.C (setCursor): do not anchor to cursor row for the time being
7581
7582 2003-04-02  John Levon  <levon@movementarian.org>
7583
7584         * LyXAction.C:
7585         * lfuns.h:
7586         * lyx_main.C:
7587         * lyxtext.h:
7588         * text.C:
7589         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7590
7591 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * paragraph.h: make ParagraphList and ParagraphList::iterator
7594         friends of Paragraph.
7595
7596         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7597
7598         * ParagraphList.C: Use the private next_ and previous_ from
7599         Paragraph.
7600
7601 2003-04-01  John Levon  <levon@movementarian.org>
7602
7603         * ToolbarBackend.h:
7604         * ToolbarBackend.C:
7605         * Makefile.am: rename, remove defaults gunk
7606
7607         * MenuBackend.h:
7608         * MenuBackend.C: remove defaults gunk
7609
7610         * Languages.h:
7611         * Languages.C: remove defaults gunk
7612
7613         * lyx_main.h:
7614         * lyx_main.C: error out if files couldn't be found.
7615
7616 2003-04-02  John Levon  <levon@movementarian.org>
7617
7618         * text2.C: make incDepth() use parlist
7619
7620 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * undo_funcs.C (firstUndoParagraph): adjust
7623
7624         * text3.C (gotoInset): adjust
7625         (dispatch): adjust, and rewrite loop.
7626
7627         * text2.C (init): adjust, and rewrite loop.
7628         (redoParagraphs): adjust
7629         (updateInset): adjust, and rewrite loop.
7630         (deleteEmptyParagraphMechanism): adjust
7631
7632         * tabular.C (LyXTabular): adjust
7633         (SetMultiColumn): adjust
7634         (TeXRow): adjust
7635
7636         * lyxtext.[Ch] (ownerParagraph): delete function
7637         (ownerParagraphs): new function returns a ParagraphList.
7638
7639         * BufferView.C (removeAutoInsets): adjust
7640         (insertErrors): adjust
7641         (setCursorFromRow): adjust
7642
7643 2003-04-01  Angus Leeming  <leeming@lyx.org>
7644
7645         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7646         in the frontends.
7647
7648 2003-04-02  John Levon  <levon@movementarian.org>
7649
7650         * lyxtext.h:
7651         * text.C:
7652         * Makefile.am:
7653         * text_funcs.h:
7654         * text_funcs.C: make transposeChars a free function
7655
7656         * lyxrow_funcs.C: remove wrong comment
7657
7658 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * lyxtext.h: adjust
7661         * rowpainter.C: adjust
7662         * text.C: adjust
7663         * text2.C: adjust
7664         * text3.C: adjust
7665
7666         * lyxrow_funcs. [Ch]: new files
7667
7668         * lyxrow.[Ch]: remove next and previous pointers
7669         (next,previous): remove accessor functions
7670         (isParEnd): move to lyxrow_funcs
7671         (lastPos): move to lyxrow_funcs
7672         (nextRowIsAllInset): move to lyxrow_funcs
7673         (lastPrintablePos): move to lyxrow_funcs
7674         (numberOfSeparators): move to lyxrow_funcs
7675         (numberOfHfills): move to lyxrow_funcs
7676         (numberOfLabelHfills): move to lyxrow_funcs
7677         (hfillExpansion): move to lyxrow_funcs
7678
7679         * lyxfunc.C: adjust
7680
7681         * bufferview_funcs.C (toggleAndShow): adjust
7682
7683         * RowList.h: Remove class RowList from file leave just a
7684         std::list<Row>.
7685
7686         * RowList.C: delete file
7687
7688         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7689         and lyxrow_funcs.h
7690
7691 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * text3.C (cursorPrevious): adjust
7694         (cursorNext): adjust
7695         (dispatch): adjust
7696
7697         * text2.C (redoHeightOfParagraph): adjust
7698         (redoDrawingOfParagraph): adjust
7699         (setCursor): adjust
7700
7701         * text.C (breakParagraph): adjust
7702         (insertChar): adjust
7703         (backspace): adjust
7704
7705         * rowpainter.C (RowPainter): adjust
7706         (leftMargin): simplify and adjust
7707         (most rowpainter functions): adjust.
7708
7709         * rowpainter.h: store the row as RowList::iterator not as Row*
7710
7711         * lyxcursor.C (row): taka RowList::iterator as arg
7712         (irow): ditto
7713
7714         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7715         of Row*.
7716
7717 2003-04-01  Angus Leeming  <leeming@lyx.org>
7718
7719         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7720         stuff like bool Bool.
7721
7722 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7723
7724         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7725         rewrite a loop
7726
7727 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7730         RowList::iterator.
7731
7732         * lyxtext.h (rows): drop one version and leve a const variant that
7733         returns a RowList::iterator.
7734
7735 2003-03-31  Angus Leeming  <leeming@lyx.org>
7736
7737         * text.C (fill): ensure that the signature is the same as that in the
7738         header file.
7739
7740 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * text2.C (redoParagraphs): adjust
7743         (updateCounters): adjust
7744         (checkParagraph): adjust
7745         (getColumnNearX): adjust and reformat a bit.
7746
7747         * text.C (top_y): adjust
7748         (workWidth): adjust
7749         (leftMargin): adjust
7750         (prepareToPrint): adjust
7751         (getRow): adjust
7752         (getRowNearY): adjust
7753
7754         * lyxtext.h: make rowlist_ mutable.
7755
7756         * RowList.h: add const_iterator
7757         * RowList.C: adjust for RowList::const_iterator.
7758
7759         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7760         adjust.
7761
7762 2003-03-31  John Levon  <levon@movementarian.org>
7763
7764         * lyxrc.h:
7765         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7766
7767         * lyx_main.C: set default fonts from using lyx_gui funcs
7768
7769         * exporter.C: pdf_mode moved from lyxrc
7770
7771         * lyx_cb.C:
7772         * lyxfunc.C: changes from above
7773
7774 2003-03-31  John Levon  <levon@movementarian.org>
7775
7776         * lyx_main.C: fix to the last fix
7777
7778 2003-03-31  John Levon  <levon@movementarian.org>
7779
7780         * bufferlist.C: "Load original" -> "Load Original"
7781
7782         * converter.C:
7783         * exporter.C:
7784         * importer.C:
7785         * lyx_main.C:
7786         * format.C: more Alert cleanups
7787
7788 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * text2.C (removeParagraph): make it take a RowList::iterator as
7791         arg, adjust.
7792         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7793         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7794
7795         * text.C (anchor_row): make it take a RowList::iterator as arg,
7796         adjust.
7797         (computeBidiTables): make it take a const reference to Row instead
7798         of Row pointer, adjust.
7799         (leftMargin): make it take a RowList::iterator as arg, adjust.
7800         (rowBreakPoint): adjust
7801         (breakAgainOneRow): make it take a RowList::iterator as arg,
7802         adjust.
7803         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7804
7805         * bufferview_funcs.C (toggleAndShow): adjust
7806
7807 2003-03-30  John Levon  <levon@movementarian.org>
7808
7809         * Makefile.am:
7810         * BoostFormat.h:
7811         * boost-inst.C: moved to support
7812
7813         * several files: changes as a result
7814
7815 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * text2.C (LyXText): adjust.
7818         (init): adjust
7819         (removeRow): make it take a RowList::iterator as arg, adjust.
7820         (fullRebreak): adjust
7821         (deleteEmptyParagraphMechanism): adjust
7822         (clearPaint): adjust
7823         (postPaint): adjust
7824
7825         * text.C (top_y): adjust
7826         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7827         (breakAgain): make it take a RowList::iterator as arg, adjust.
7828         (breakParagraph): adjust
7829         (insertChar): adjust
7830         (backspace): adjust
7831
7832         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7833         need_break_row, and refresh_row.
7834
7835         * text3.C (dispatch): adjust
7836
7837         * text2.C (checkParagraph): adjust
7838         (setCursor): adjust
7839         (setCursorFromCoordinates): adjust
7840
7841         * text.C (top_y): adjust
7842         (workWidth): adjust
7843         (getRow): make it return a RowList::iterator, adjust
7844         (getRowNearY): make it return a RowList::iterator, adjust
7845
7846         * text2.C (init): adjust
7847         (insertRow): remove function
7848         (insertParagraph): adjust
7849         (redoParagraphs): adjust
7850         (fullRebreak): adjust
7851         (updateCounters): adjust
7852
7853         * text.C (top_y): rewrite to use RowList iterators.
7854         (top_y): adjust
7855         (setHeightOfRow): rewrite to sue RowList iterators.
7856         (appendParagraph): adjust
7857         (breakAgain): adjust
7858         (breakAgainOneRow): adjust
7859         (breakParagraph): adjust
7860         (getRow): adjust
7861         (getRowNearY): adjust, and remove commented code.
7862
7863         * lyxtext.h (firstRow): delete function
7864         (lastRow): delete function
7865         (rows): new function (const and non-const versions.)
7866         (insertRow): delete function
7867
7868         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7869
7870 2003-03-29  John Levon  <levon@movementarian.org>
7871
7872         * BufferView_pimpl.C: always update scrollbar top
7873         because pasting text when we're anchored could mean we
7874         miss an update altogether
7875
7876 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * text2.C (init): use rowlist_.end() and not 0.
7879         (insertRow): change to take a RowList::iterator as arg, adjust
7880         for this.
7881         (insertParagraph): change to take a RowList::iterator as arg,
7882         adjust for this.
7883         (redoParagraphs): remove some debug msgs.
7884
7885         * text.C (appendParagraph): change to take a RowList::iterator
7886         arg, adjust for this.
7887         (breakAgain): add an assert
7888         (breakAgainOneRow): ditto
7889
7890 2003-03-29  John Levon  <levon@movementarian.org>
7891
7892         * text2.C: do not clear selection after inc/decDepth
7893         (bug 550)
7894
7895 2003-03-29  John Levon  <levon@movementarian.org>
7896
7897         * BufferView.C:
7898         * buffer.C: fix broken strerrors according to Lars
7899
7900 2003-03-29  John Levon  <levon@movementarian.org>
7901
7902         * converters.C: more Alert cleanups
7903
7904 2003-03-29  John Levon  <levon@movementarian.org>
7905
7906         * bufferview_funcs.C: remove pointless Alert
7907
7908         * buffer.C: fix confusing error message when
7909         a template is chmoded 000
7910
7911 2003-03-29  John Levon  <levon@movementarian.org>
7912
7913         * BufferView.C:
7914         * BufferView.h:
7915         * BufferView_pimpl.C: Alert fixes
7916
7917         * Makefile.am:
7918         * tabular.C:
7919         * tabular-old.C: remove unused table compat reading
7920
7921 2003-03-29  John Levon  <levon@movementarian.org>
7922
7923         * BufferView.C:
7924         * buffer.C:
7925         * lyx_cb.h:
7926         * lyx_cb.C: more Alert cleanups
7927
7928         * lyxfunc.C: don't allow chktex if not latex document
7929
7930 2003-03-29  John Levon  <levon@movementarian.org>
7931
7932         * lyx_cb.C:
7933         * BufferView.C:
7934         * buffer.C: warnings pushed down from support/,
7935         kill err_alert
7936
7937 2003-03-29  John Levon  <levon@movementarian.org>
7938
7939         * lyxfunc.C: safety check for C-r (revert)
7940
7941 2003-03-29  John Levon  <levon@movementarian.org>
7942
7943         * bufferlist.h:
7944         * bufferlist.C: several UI fixes using Alert::prompt.
7945         Fix the pointless looping quit code. Fix stupid revert
7946         behaviour (bug 938)
7947
7948         * lyxvc.h:
7949         * lyxvc.C:
7950         * lyx_cb.C: use Alert::prompt
7951
7952         * lyx_main.C: remove a silly question
7953
7954         * lyxfunc.C: remove a couple of silly questions,
7955         use Alert::prompt
7956
7957 2003-03-28  John Levon  <levon@movementarian.org>
7958
7959         * text2.C: fix bug 974 (End on empty par)
7960
7961 2003-03-28  John Levon  <levon@movementarian.org>
7962
7963         * BufferView_pimpl.C:
7964         * LyXAction.C:
7965         * lfuns.h: remove do-nothing math greek lfuns
7966
7967 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * lyxgluelength.h (isValidGlueLength): add default arg on
7970         parameter 2. Remove default arg from friend in class.
7971
7972         * lyxlength.h (isValidLength): add default arg on parameter 2.
7973         Remove default arg from friend in class.
7974
7975         * text2.C (LyXText): adjust, initialize refresh_row.
7976         (init): adjust
7977         (removeRow): adjust
7978         (insertRow): adjust
7979         (insertParagraph): adjst
7980         (redoParagraphs): adjust
7981         (fullRebreak): adjust
7982         (updateCounters): adjust
7983         (deleteEmptyParagraphMechanism): first attempt at fixing a
7984         crashing bug.
7985
7986         * text.C (top_y): adjust
7987         (setHeightOfRow): adjust
7988         (getRow): adjust
7989         (getRowNearY): adjust
7990
7991         * lyxtext.h: include RowList.h
7992         (~LyXText): not needed anymore, deleted.
7993         (firstRow): modify for RowList
7994         (lastRow): new function
7995         Delete firstrow and lastrow class variables, add a Rowlist
7996         rowlist_ class variable.
7997
7998         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7999         paragraph is empty.
8000
8001         * RowList.C (insert): fix case where it == begin().
8002
8003 2003-03-26  Angus Leeming  <leeming@lyx.org>
8004
8005         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8006         the thesaurus dialog.
8007
8008 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8011
8012         * RowList.[Ch]: new files
8013
8014         * ParagraphList.C (erase): handle the case where it == begin
8015         correctly.
8016
8017 2003-03-25  John Levon  <levon@movementarian.org>
8018
8019         * Makefile.am:
8020         * aspell_local.h:
8021         * aspell.C: add new aspell support
8022
8023         * lyxrc.h:
8024         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8025         have it accessible.
8026
8027 2003-03-25  Angus Leeming  <leeming@lyx.org>
8028
8029         * lfuns.h:
8030         * LyXAction.C (init): new LFUN_INSET_INSERT.
8031
8032         * BufferView_pimpl.C (dispatch): split out part of the
8033         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8034
8035         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8036         LFUN_INSET_APPLY.
8037
8038 2003-03-25  Angus Leeming  <leeming@lyx.org>
8039
8040         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8041
8042 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * text2.C:
8045         * text3.C: remove useless row->height(0)
8046
8047 2003-03-25  John Levon  <levon@movementarian.org>
8048
8049         * lyxtext.h:
8050         * text2.C:
8051         * text3.C: rename the refreshing stuff to better names
8052
8053 2003-03-24  John Levon  <levon@movementarian.org>
8054
8055         * BufferView_pimpl.h:
8056         * BufferView_pimpl.C: update layout choice on a mouse
8057         press/release
8058
8059 2003-03-23  John Levon  <levon@movementarian.org>
8060
8061         * Makefile.am: fix commandtags.h reference
8062
8063 2003-03-22  John Levon  <levon@movementarian.org>
8064
8065         * BufferView_pimpl.C:
8066         * lyxtext.h:
8067         * rowpainter.C:
8068         * rowpainter.h:
8069         * text.C:
8070         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8071
8072 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8073
8074         * lyxtext.h:
8075         * text.C: take the rtl methods out of line
8076
8077 2003-03-21 André Pönitz <poenitz@gmx.net>
8078
8079         * metricsinfo.[Ch]: new files containing structures to be passed around
8080         during the two-phase-drawing...
8081
8082 2003-03-21 André Pönitz <poenitz@gmx.net>
8083
8084         * lyxtextclass.C: read 'environment' tag.
8085
8086 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8087
8088         * text2.C (removeRow): fix bug 964
8089
8090 2003-03-20  John Levon  <levon@movementarian.org>
8091
8092         * rowpainter.C:
8093         * text.C:
8094         * text2.C: paint cleanups. Inset::update() dropped font
8095         parameter
8096
8097 2003-03-19  John Levon  <levon@movementarian.org>
8098
8099         * lyxfunc.C: only fitcursor/markDirty if available()
8100
8101 2003-03-19  John Levon  <levon@movementarian.org>
8102
8103         * commandtags.h: rename to ...
8104
8105         * lfuns.h: ... this, and renumber / cleanup
8106
8107 2003-03-19  John Levon  <levon@movementarian.org>
8108
8109         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8110         fit the cursor after an lfun
8111
8112         * BufferView.h:
8113         * BufferView.C:
8114         * BufferView_pimpl.h:
8115         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8116
8117         * LyXAction.C: layout-character should have ReadOnly
8118
8119         * ParagraphParameters.C:
8120         * buffer.C:
8121         * bufferview_funcs.C:
8122         * lyx_cb.C:
8123         * lyxfind.C:
8124         * lyxtext.h:
8125         * text.C:
8126         * text2.C:
8127         * text3.C:
8128         * undo_funcs.C: changes from above
8129
8130 2003-03-18  John Levon  <levon@movementarian.org>
8131
8132         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8133         remove it from update()
8134
8135         * lyxfunc.C: update layout choice after an lfun
8136
8137         * text3.C: remove extra updateLayoutChoice()s
8138
8139 2003-03-18  John Levon  <levon@movementarian.org>
8140
8141         * text.C: top_y change means full repaint, fix
8142         a drawing bug with cursor movement
8143
8144 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8145
8146         * lyxtext.h:
8147         * text.C:
8148         * text2.C: anchor row on setCursor
8149
8150 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8151
8152         * lyxtext.h: remove almost all mutable keywords
8153         * text.C:
8154         * text2.C:
8155         * text3.C: remove const keywords accordingly
8156
8157 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8158
8159         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8160         anon namespace
8161         (TeXEnvironment): ditto
8162         (TeXOnePar): ditto
8163
8164 2003-03-17  John Levon  <levon@movementarian.org>
8165
8166         * text.C (rowBreakPoint): remove attempt to fix displayed
8167         math insets inside a manual label
8168
8169 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * lyxtext.h: remove BufferView* as first arg from almost all class
8172         functions.
8173         * other files: adjust.
8174
8175 2003-03-17  John Levon  <levon@movementarian.org>
8176
8177         * lyxtext.h:
8178         * undo_funcs.C:
8179         * text2.C: more paint cleanups
8180
8181         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8182
8183         * rowpainter.h:
8184         * rowpainter.C: remove "smart" background painting code
8185
8186 2003-03-16  John Levon  <levon@movementarian.org>
8187
8188         * lyxtext.h:
8189         * text.C:
8190         * text2.C:
8191         * text3.C: add helper functions for setting refresh_row/y
8192
8193 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8194
8195         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8196         newline inset which *can* get inserted in the pass_thru layouts.
8197         This is primarily for literate documents.
8198
8199 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8200
8201         * buffer.C: increment LYX_FORMAT to 223
8202
8203 2003-03-14 André Pönitz <poenitz@gmx.net>
8204
8205         * textclass.h: prepare for environment handling, ws changes
8206         * lyxlayout.C: read latexheader and latexfooter tags
8207
8208 2003-03-14  John Levon  <levon@movementarian.org>
8209
8210         * text2.C: rewrite ::status() a bit
8211
8212 2003-03-13  John Levon  <levon@movementarian.org>
8213
8214         * lyxtext.h: add some docs
8215
8216 2003-03-13  John Levon  <levon@movementarian.org>
8217
8218         * lyxtext.h:
8219         * text.C:
8220         * text2.C:
8221         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8222
8223 2003-03-13  John Levon  <levon@movementarian.org>
8224
8225         * text3.C: fix appendix redrawing
8226
8227 2003-03-13  John Levon  <levon@movementarian.org>
8228
8229         * text.C (setHeightOfRow):
8230         * rowpainter.h:
8231         * rowpainter.C: make appendix mark have the text
8232           "Appendix" so the user knows what it is
8233
8234         * LColor.h:
8235         * LColor.C: s/appendixline/appendix/ from above
8236
8237 2003-03-13  John Levon  <levon@movementarian.org>
8238
8239         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8240
8241         * text.C: fix a getChar(pos) bug properly
8242
8243 2003-03-13  Angus Leeming  <leeming@lyx.org>
8244
8245         * commandtags.h:
8246         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8247         Probably only temporary. Let's see how things pan out.
8248
8249         * BufferView.C (unlockInset):
8250         * BufferView_pimpl.C (fitCursor):
8251         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8252
8253         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8254         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8255
8256         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8257         new functions that convert ParagraphParameters to and from a string.
8258
8259         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8260         BufferView::Pimpl's dispatch.
8261         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8262
8263 2003-03-13 André Pönitz <poenitz@gmx.net>
8264
8265         * lyxfunc.C:
8266         * text3.C:
8267         * factory.C: make it aware of InsetEnv
8268
8269 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8270
8271         * text2.C (setCursor): never ask for one past last
8272         (setCursor): add some debugging messages.
8273
8274         * text.C (singleWidth): never ask for one past last
8275         (singleWidth): ditto
8276         (leftMargin): ditto
8277         (rightMargin): ditto
8278         (rowBreakPoint): ditto
8279         (setHeightOfRow): ditto
8280         (prepareToPrint): ditto
8281
8282         * rowpainter.C (paintBackground): never ask for one past last
8283         (paintText): never ask for one past last
8284
8285         * paragraph_pimpl.C (getChar): make the assert stricter, never
8286         allow the one past last pos to be taken
8287
8288         * paragraph.C (getChar): ws changes only
8289
8290         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8291         (numberOfSeparators): ditto
8292         (numberOfHfills): ditto
8293
8294 2003-03-12  John Levon  <levon@movementarian.org>
8295
8296         * author.h:
8297         * author.C:
8298         * bufferparams.h:
8299         * bufferparams.C:
8300         * paragraph_funcs.C: fix per-buffer authorlists
8301
8302 2003-03-12  John Levon  <levon@movementarian.org>
8303
8304         * text.C: fix newline in right address
8305
8306 2003-03-12  Angus Leeming  <leeming@lyx.org>
8307
8308         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8309         duplicate those in LyXFunc::dispatch.
8310
8311         * commandtags.h:
8312         * LyXAction.C:
8313         * ToolbarDefaults.C:
8314         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8315         Add LFUN_FONTFREE_UPDATE.
8316
8317         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8318         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8319
8320         * bufferview_func.[Ch]: several new functions to facilliate
8321         transfer of data to and from the character dialog.
8322
8323 2003-03-12  John Levon  <levon@movementarian.org>
8324
8325         * buffer.C:
8326         * paragraph.h:
8327         * paragraph.C:
8328         * paragraph_funcs.C:
8329         * paragraph_pimpl.C:
8330         * sgml.C:
8331         * tabular.C:
8332         * text.C:
8333         * text3.C: remove META_NEWLINE in favour of an inset
8334
8335         * rowpainter.h:
8336         * rowpainter.C: remove paintNewline (done by inset)
8337
8338 2003-03-12  John Levon  <levon@movementarian.org>
8339
8340         * paragraph_pimpl.C: complain about bad getChar()s
8341         for a while at least
8342
8343 2003-03-12  John Levon  <levon@movementarian.org>
8344
8345         * buffer.h:
8346         * buffer.C: move paragraph read into a separate function,
8347         a little renaming to reflect that.
8348
8349         * bufferparams.h:
8350         * bufferparams.C: remove the author_ids map, not necessary now
8351
8352         * factory.h:
8353         * factory.C: moved Buffer::readInset to here
8354
8355         * paragraph_funcs.h:
8356         * paragraph_funcs.C: readParagraph free function moved from
8357         buffer.C
8358
8359         * tabular.C: name change
8360
8361 2003-03-12  John Levon  <levon@movementarian.org>
8362
8363         * buffer.C:
8364         * ParagraphParameters.C: move par params input to
8365         a read() method
8366
8367         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8368         behave like a normal read from the stream wrt reading
8369         a line vs. a \\token
8370
8371 2003-03-12  John Levon  <levon@movementarian.org>
8372
8373         * paragraph.C:
8374         * ParagraphParameters.h:
8375         * ParagraphParameters.C: move output code to a
8376         ::write() method
8377
8378 2003-03-12  John Levon  <levon@movementarian.org>
8379
8380         * BufferView.C (insertLyXFile):
8381         * buffer.h:
8382         * buffer.C:
8383         * tabular.C: use a parlist iterator for creating the
8384           document.
8385
8386 2003-03-12  John Levon  <levon@movementarian.org>
8387
8388         * buffer.C: make current_change static local not
8389           static file-scope
8390
8391 2003-03-12  John Levon  <levon@movementarian.org>
8392
8393         * buffer.C: fix insertStringAsLines for change tracking
8394
8395 2003-03-12  John Levon  <levon@movementarian.org>
8396
8397         * BufferView.C:
8398         * tabular.C:
8399         * buffer.h:
8400         * buffer.C:
8401         * bufferparams.h:
8402         * bufferparams.C: move author list into params. Rename some
8403           functions. Move the header reading into a separate token
8404           loop. Move the header token reading into BufferParams.
8405
8406 2003-03-12  John Levon  <levon@movementarian.org>
8407
8408         * changes.C: put debug inside lyxerr.debugging() checks
8409
8410 2003-03-11 André Pönitz <poenitz@gmx.net>
8411
8412         * factory.C: make it aware of InsetHFill
8413
8414 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * buffer.C (latexParagraphs): move function from here...
8417         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8418         args.
8419
8420 2003-03-10  Angus Leeming  <leeming@lyx.org>
8421
8422         * LyXAction.C (init): fix bug in poplating array with multiple entries
8423         with the same LFUN (spotted by JMarc).
8424
8425 2003-03-10  John Levon  <levon@movementarian.org>
8426
8427         * text.C:
8428         * text2.C: move getColumnNearX() near its
8429         only call site
8430
8431 2003-03-10  John Levon  <levon@movementarian.org>
8432
8433         * text.C: fix break before a minipage
8434
8435 2003-03-10  John Levon  <levon@movementarian.org>
8436
8437         * text.C: fix the last commit
8438
8439 2003-03-09  John Levon  <levon@movementarian.org>
8440
8441         * lyxtext.h:
8442         * text.C:
8443         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8444         bug 365 (don't break before insets unless needed). Don't
8445         return a value > last under any circumstances.
8446
8447 2003-03-09  Angus Leeming  <leeming@lyx.org>
8448
8449         * BufferView_pimpl.C (trackChanges, dispatch): call
8450         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8451
8452 2003-03-09  Angus Leeming  <leeming@lyx.org>
8453
8454         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8455         than Dialogs::showAboutlyx().
8456
8457 2003-03-09  Angus Leeming  <leeming@lyx.org>
8458
8459         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8460         than Dialogs::showTabularCreate().
8461
8462 2003-03-09  John Levon  <levon@movementarian.org>
8463
8464         * lyxtext.h:
8465         * text.C:
8466         * text2.C: 3rd arg to nextBreakPoint was always the same.
8467           Use references.
8468
8469 2003-03-08  John Levon  <levon@movementarian.org>
8470
8471         * lyxrow.C:
8472         * paragraph.C:
8473         * paragraph.h:
8474         * rowpainter.C:
8475         * text.C:
8476         * text2.C: Remove the "main" bit from the "main body"
8477           notion.
8478
8479 2003-03-08  John Levon  <levon@movementarian.org>
8480
8481         * text.C (leftMargin): The left margin of an empty
8482         manual label paragraph should not include the label width
8483         string length.
8484
8485         * text.C (prepareToPrint): don't attempt to measure hfills
8486         for empty manual label paragraphs - the answer should be 0
8487
8488 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * CutAndPaste.C: remove commented code and reindent.
8491
8492 2003-03-08  John Levon  <levon@movementarian.org>
8493
8494         * lyxfunc.h:
8495         * lyxfunc.C: move reloadBuffer()
8496
8497         * BufferView.h:
8498         * BufferView.C: to here
8499
8500         * lyxvc.C: add comment
8501
8502         * vc-backend.h:
8503         * vc-backend.C: call bv->reload() to avoid
8504           getStatus() check on MENURELOAD
8505
8506 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8507
8508         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8509         to an old format .dep file.
8510
8511 2003-03-07  Angus Leeming  <leeming@lyx.org>
8512
8513         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8514         when the LFUN_MOUSE_RELEASE should have been handled by
8515         inset->localDispatch.
8516
8517 2003-03-07  Angus Leeming  <leeming@lyx.org>
8518
8519         * BufferView_pimpl.C (dispatch):
8520         * LyXAction.C (init):
8521         * ToolbarDefaults.C (init):
8522         * commandtags.h:
8523         * lyxfunc.C (getStatus):
8524         remove LFUN_INSET_GRAPHICS.
8525
8526         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8527
8528 2003-03-07  Angus Leeming  <leeming@lyx.org>
8529
8530         * commandtags.h:
8531         * LyXAction.C (init):
8532         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8533
8534         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8535
8536         * commandtags.h:
8537         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8538
8539         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8540         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8541
8542 2003-03-07  Angus Leeming  <leeming@lyx.org>
8543
8544         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8545         remove "ert".
8546
8547 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * ParagraphList.C (front): new function
8550         (back): implement
8551
8552 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8553
8554         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8555         and top_row_offset_. removed var first_y.
8556         * text.C (top_y):
8557         * text2.C (LyXText, removeRow):
8558         * text3.C:
8559         * BufferView_pimpl.C:
8560         use these methods instead of using first_y
8561
8562 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8563
8564         * text2.C (pasteSelection): adjust for checkPastePossible
8565
8566         * CutAndPaste.C: remove Paragraph * buf and replace with
8567         ParagraphList paragraphs.
8568         (DeleteBuffer): delete
8569         (cutSelection): change the tc type to textclass_type
8570         (copySelection): change the tc type to textclass_type
8571         (copySelection): adjust for ParagraphList
8572         (pasteSelection): change the tc type to textclass_type
8573         (pasteSelection): adjust for Paragraphlist
8574         (nrOfParagraphs): simplify for ParagraphList
8575         (checkPastePossible): simplify for ParagraphList
8576         (checkPastePossible): remove unused arg
8577
8578         * ParagraphList.C (insert): handle the case where there are no
8579         paragraphs yet.
8580
8581         * CutAndPaste.h: make CutAndPaste a namespace.
8582
8583         * text3.C (dispatch): adjust
8584
8585         * text.C (breakParagraph): add a ParagraphList as arg
8586
8587         * paragraph_funcs.C (breakParagraph): change to take a
8588         BufferParams and a ParagraphList as args.
8589         (breakParagraphConservative): ditto
8590         (mergeParagraph): ditto
8591         (TeXDeeper): add a ParagraphList arg
8592         (TeXEnvironment): ditto
8593         (TeXOnePar): ditto
8594
8595         * buffer.C (readLyXformat2): adjust
8596         (insertStringAsLines): adjust
8597         (latexParagraphs): adjust
8598
8599         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8600         (cutSelection): adjust
8601         (pasteSelection): adjust
8602
8603         * BufferView_pimpl.C (insertInset): adjust
8604
8605 2003-03-05  Angus Leeming  <leeming@lyx.org>
8606
8607         * commandtags.h:
8608         * LyXAction.C (init):
8609         * BufferView_pimpl.C (dispatch):
8610         * lyxfunc.C (getStatus):
8611         remove LFUN_CHILD_INSERT.
8612
8613         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8614
8615 2003-03-05  Angus Leeming  <leeming@lyx.org>
8616
8617         * commandtags.h:
8618         * LyXAction.C (init):
8619         * src/factory.C (createInset):
8620         * lyxfunc.C (getStatus):
8621         * text3.C (dispatch):
8622         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8623
8624         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8625
8626 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * ParagraphList.C (insert): handle insert right before end()
8629         (erase): fix cases where it can be first or last paragraph.
8630
8631 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8634         Paragraph::next and Paragraph::previous
8635         (TeXOnePar): ditto
8636
8637         * text.C (breakParagraph): adjust
8638
8639         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8640         BufferParams& as arg.
8641         (breakParagraph): use ParagraphList::insert
8642         (breakParagraphConservative): take a Buffer* instead of a
8643         BufferParams& as arg.
8644         (breakParagraphConservative): use ParagraphList::insert.
8645
8646         * buffer.C (insertStringAsLines): un-const it
8647         (insertStringAsLines): adjust
8648
8649         * ParagraphList.C (insert): new function
8650
8651         * CutAndPaste.C (pasteSelection): adjust
8652
8653         * text.C (backspace): adjust
8654
8655         * tabular.C (SetMultiColumn): adjust
8656
8657         * CutAndPaste.C (cutSelection): adjust
8658         (pasteSelection): adjust
8659
8660         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8661         Buffer const * as arg
8662
8663         * ParagraphList.C (erase): new function
8664         * paragraph_funcs.C (mergeParagraph): use it
8665         (mergeParagraph): make it take a Buffer* instead of a
8666         BufferParams* as arg
8667
8668         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8669         as arg
8670         (breakParagraphConservative): ditto
8671
8672         * paragraph.h: remove the breakParagraph friend
8673
8674         * paragraph.C (eraseIntern): new function
8675         (setChange): new function
8676
8677         * paragraph_funcs.C (mergeParagraph): make it take a
8678         ParagraphList::iterator instead of a Paragraph *, adjust
8679         accordingly.
8680
8681         * paragraph.h: move an #endif so that the change tracking stuff
8682         also works in the NO_NEXT case.
8683
8684 2003-03-04  Angus Leeming  <leeming@lyx.org>
8685
8686         * commandtags.h:
8687         * LyXAction.C: new LFUN_INSET_MODIFY.
8688
8689         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8690         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8691
8692 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * several files: ws changes only
8695
8696         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8697         (TeXEnvironment): ditto
8698         (TeXDeeper): ditto
8699
8700         * buffer.C (makeLaTeXFile): adjust
8701         (latexParagraphs): make it take ParagraphList::iterator as args
8702
8703 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * buffer.C (latexParagraphs): adjust
8706
8707         * paragraph.C (TeXOnePar): move function...
8708         (optArgInset): move function...
8709         (TeXEnvironment): move function...
8710         * paragraph_pimpl.C (TeXDeeper): move function...
8711         * paragraph_funcs.C: ...here
8712
8713         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8714
8715 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * buffer.C (readInset): remove compability code for old Figure and
8718         InsetInfo insets
8719
8720 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * buffer.C: ws changes
8723         (readInset):
8724
8725         * BufferView_pimpl.C: ditto
8726         * author.C: ditto
8727         * buffer.h: ditto
8728         * bufferlist.h: ditto
8729         * changes.h: ditto
8730         * lyxfunc.C: ditto
8731
8732 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8733
8734         * converter.[Ch]: split into itself +
8735         * graph.[Ch]
8736         * format.[Ch]
8737         * Makefile.am: += graph.[Ch] + format.[Ch]
8738         * MenuBackend.C
8739         * buffer.C
8740         * exporter.C
8741         * importer.C
8742         * lyx_main.C
8743         * lyxfunc.C
8744         * lyxrc.C: added #include "format.h"
8745
8746 2003-02-27  Angus Leeming  <leeming@lyx.org>
8747
8748         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8749           a label.
8750
8751         * factory.C (createInset): add "label" to the factory.
8752
8753         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8754           string and do no more.
8755
8756 2003-02-27  Angus Leeming  <leeming@lyx.org>
8757
8758         * commandtags.h:
8759         * LyXAction.C (init):
8760         * factory.C (createInset):
8761         * BufferView_pimpl.C (dispatch):
8762           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8763
8764         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8765
8766         * lyxfunc.C (dispatch):
8767         * text3.C (dispatch): pass name to params2string.
8768
8769 2003-02-26  Angus Leeming  <leeming@lyx.org>
8770
8771         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8772           blocks together.
8773           Rearrange the ~includes. Strip out the unnecessary ones.
8774
8775         * factory.C (createInset): reformat.
8776           create new insets for the various LFUN_XYZ_APPLY lfuns.
8777
8778 2003-02-26  John Levon  <levon@movementarian.org>
8779
8780         * lyxrow.h:
8781         * lyxrow.C: add isParStart,isParEnd helpers
8782
8783         * paragraph.h: make isInserted/DeletedText take refs
8784
8785         * paragraph_funcs.h:
8786         * paragraph_funcs.C: remove #if 0'd code
8787
8788         * lyxtext.h:
8789         * text3.C:
8790         * text2.C:
8791         * text.C: use lyxrow helpers above.
8792           Move draw and paint routines to RowPainter.
8793           Make several methods use refs not pointers.
8794           Make backgroundColor() const.
8795           Add markChangeInDraw(), isInInset().
8796           Merge changeRegionCase into changeCase.
8797           Make workWidth() shouldn't-happen code into an Assert.
8798
8799         * rowpainter.h:
8800         * rowpainter.C: new class for painting a row.
8801
8802         * vspace.h:
8803         * vspace.C: make inPixels take a ref
8804
8805 2003-02-26  Angus Leeming  <leeming@lyx.org>
8806
8807         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8808         LFUN_REF_APPLY.
8809
8810 2003-02-25  John Levon  <levon@movementarian.org>
8811
8812         * ispell.C: give the forked command a more accurate name
8813
8814 2003-02-22  John Levon  <levon@movementarian.org>
8815
8816         * toc.h:
8817         * toc.C: make TocItem store an id not a Paragraph *
8818           (bug #913)
8819
8820 2003-02-21  Angus Leeming  <leeming@lyx.org>
8821
8822         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8823           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8824           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8825           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8826           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8827           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8828
8829         * BufferView_pimpl.C (dispatch):
8830         * LyXAction.C (init):
8831         * factory.C (createInset):
8832         * lyxfunc.C (getStatus, dispatch):
8833         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8834
8835 2003-02-21  Angus Leeming  <leeming@lyx.org>
8836
8837         * BufferView_pimpl.C (MenuInsertLyXFile):
8838         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8839         * lyxfunc.C (menuNew, open, doImport):
8840           no longer pass a LyXView & to fileDlg.
8841
8842 2003-02-21  Angus Leeming  <leeming@lyx.org>
8843
8844         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8845         * LyXAction.C: change, BIBKEY to BIBITEM.
8846         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8847         Change InsetBibKey to InsetBibitem.
8848         Change BIBKEY_CODE to BIBITEM_CODE.
8849         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8850         * factory.C: replace insetbib.h with insetbibitem.h.
8851         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8852         * paragraph.C: replace insetbib.h with insetbibitem.h.
8853         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8854         Change bibkey() to bibitem().
8855         * text.C: remove insetbib.h.
8856         * text2.C: replace insetbib.h with insetbibitem.h.
8857         change bibkey() to bibitem().
8858         * text3.C: remove insetbib.h.
8859         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8860
8861 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8862
8863         * lyxrc.C (output): enclose user email in quotes (in case there are
8864         several words)
8865
8866 2003-02-18  John Levon  <levon@movementarian.org>
8867
8868         * buffer.h: add std::
8869
8870 2003-02-17  John Levon  <levon@movementarian.org>
8871
8872         * SpellBase.h:
8873         * ispell.h:
8874         * ispell.C:
8875         * pspell.h:
8876         * pspell.C: reworking. Especially in ispell, a large
8877           number of clean ups and bug fixes.
8878
8879         * lyxfunc.C: fix revert to behave sensibly
8880
8881 2003-02-17 André Pönitz <poenitz@gmx.net>
8882
8883         * LyXAction.C:
8884         * commandtags.h: new LFUN_INSERT_BIBKEY
8885
8886         * layout.h:
8887         * lyxlayout.C:
8888         * buffer.C:
8889         * factory.C:
8890         * text.C:
8891         * text2.C:
8892         * text3.C:
8893         * paragraph.[Ch]:
8894         * paragraph_func.C: remove special bibkey handling
8895
8896 2003-02-17  John Levon  <levon@movementarian.org>
8897
8898         * text.C (Delete): fix case where delete at the end of
8899           the very first paragraph would not merge the pars
8900
8901 2003-02-17  John Levon  <levon@movementarian.org>
8902
8903         * lyxrow.C: fix lastPrintablePos()
8904
8905 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * bufferparams.C (writeLaTeX): add a std:here
8908
8909         * buffer.C: and remove a using directive there
8910
8911 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * buffer.C (makeLaTeXFile): move the code that generates the
8914           preamble...
8915
8916         * bufferparams.C (writeLaTeX): ... in this new method
8917
8918         * LaTeXFeatures.C (getEncodingSet): make const
8919           (getLanguages): make const
8920
8921         * MenuBackend.C (binding): returns the binding associated to this
8922           action
8923           (add): sets the status of each item by calling getStatus. Adds
8924           some intelligence.
8925           (read): add support for OptSubMenu
8926           (expand): remove extra separator at the end of expanded menu
8927
8928 2003-02-15  John Levon  <levon@movementarian.org>
8929
8930         * BufferView.C:
8931         * BufferView_pimpl.C:
8932         * bufferlist.h:
8933         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8934           inset code that had no actual effect. Remove unneeded status
8935           code.
8936
8937 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8938
8939         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8940           in preamble
8941
8942 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8943
8944         * text.C (drawLengthMarker): also draw an arrow marker for
8945           symbolic lengths (medskip...)
8946
8947 2003-02-14  John Levon  <levon@movementarian.org>
8948
8949         * tabular.h:
8950         * tabular.C: better method names
8951
8952 2003-02-14  John Levon  <levon@movementarian.org>
8953
8954         * BufferView_pimpl.C:
8955         * bufferlist.C:
8956         * buffer.C:
8957         * converter.C:
8958         * lyx_cb.C:
8959         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8960           it's a more accurate name. Remove some pointless uses.
8961
8962 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8963
8964         * text2.C (LyXText): change order of initilizers to shut off
8965           warnings
8966
8967 2003-02-14  John Levon  <levon@movementarian.org>
8968
8969         * buffer.C: use ParIterator for getParFromID()
8970
8971         * paragraph.h:
8972         * paragraph.C:
8973         * paragraph_pimpl.h:
8974         * paragraph_pimpl.C: remove unused getParFromID()
8975
8976 2003-02-14  John Levon  <levon@movementarian.org>
8977
8978         * buffer.C: remove some very old #if 0'd parse code
8979
8980 2003-02-13  John Levon  <levon@movementarian.org>
8981
8982         * text.h:
8983         * text.C:
8984         * text2.C: move hfillExpansion(), numberOfSeparators(),
8985           rowLast(), rowLastPrintable(), numberofHfills(),
8986           numberOfLabelHfills() ...
8987
8988         * lyxrow.h:
8989         * lyxrow.C: ... to member functions here.
8990
8991         * paragraph.h:
8992         * paragraph.C:
8993         * lyxtext.h:
8994         * text.C: remove LyXText::beginningOfMainBody(), and call
8995           p->beginningOfMainBody() directly. Move the check for
8996           LABEL_MANUAL into the latter.
8997
8998         * text.h:
8999         * text.C:
9000         * text2.C:
9001         * vspace.C:
9002         * BufferView.h:
9003         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9004
9005         * text.h:
9006         * text.C:
9007         * text2.C:
9008         * text3.C:
9009         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9010           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9011
9012 2003-02-13  John Levon  <levon@movementarian.org>
9013
9014         * CutAndPaste.C: remove debug
9015
9016 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9017
9018         * paragraph.C (asString): remove two unused variables
9019
9020         * lyxtextclass.C (readTitleType):
9021           (Read):
9022           (LyXTextClass): handle new members titletype_ and titlename_
9023
9024         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9025
9026 2003-02-09  John Levon  <levon@movementarian.org>
9027
9028         * buffer.h:
9029         * buffer.C: replace hand-coded list with a map for the dep clean
9030
9031 2003-02-08  John Levon  <levon@movementarian.org>
9032
9033         * LaTeX.C: consolidate code into showRunMessage() helper
9034
9035 2003-02-08  John Levon  <levon@movementarian.org>
9036
9037         * lyxfind.C:
9038         * lyxtext.h:
9039         * text2.C:
9040         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9041           and pass the size in explicitly
9042
9043         * BufferView_pimpl.h:
9044         * BufferView_pimpl.C:
9045         * BufferView.h:
9046         * BufferView.C: add getCurrentChange()
9047
9048         * BufferView_pimpl.h:
9049         * BufferView_pimpl.C: handle change lfuns
9050
9051         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9052           for changes. Mark pasted paragraphs as new.
9053
9054         * support/lyxtime.h:
9055         * support/lyxtime.C:
9056         * DepTable.C: abstract time_t as lyx::time_type
9057
9058         * LColor.h:
9059         * LColor.C: add colours for new text, deleted text, changebars
9060
9061         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9062           package use "usenames" option.
9063
9064         * commandtags.h:
9065         * lyxfunc.C:
9066         * LyXAction.C: add change lfuns
9067
9068         * Makefile.am:
9069         * author.h:
9070         * author.C: author handling
9071
9072         * buffer.h:
9073         * buffer.C: add a per-buffer author list, with first entry as
9074           current author. Handle new .lyx tokens for change tracking. Output
9075           author list to .lyx file. Output dvipost stuff to .tex preamble.
9076           Bump lyx format to 222.
9077
9078         * bufferlist.h:
9079         * bufferlist.C: add setCurrentAuthor() to reset current author details
9080           in all buffers.
9081
9082         * bufferparams.h:
9083         * bufferparams.C: add param for tracking
9084
9085         * bufferview_funcs.C: output change info in minibuffer
9086
9087         * Makefile.am:
9088         * changes.h:
9089         * changes.C: add change-tracking structure
9090
9091         * debug.h:
9092         * debug.C: add CHANGES debug flag
9093
9094         * lyxfind.h:
9095         * lyxfind.C: add code for finding the next change piece
9096
9097         * lyxrc.h:
9098         * lyxrc.C: add user_name and user_email
9099
9100         * lyxrow.h:
9101         * lyxrow.C: add a metric for the top of the text line
9102
9103         * lyxtext.h:
9104         * text.C: implement accept/rejectChange()
9105
9106         * lyxtext.h:
9107         * text.C: paint changebars. Paint new/deleted text in the chosen
9108         colours. Strike through deleted text.
9109
9110         * paragraph.h:
9111         * paragraph.C:
9112         * paragraph_pimpl.h:
9113         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9114           in the current change to the insert functions. Rework erase to
9115           mark text as deleted, adding an eraseIntern() and a range-based
9116           erase(). Implement per-paragraph change lookup and
9117           accept/reject.
9118
9119         * paragraph_funcs.C: Fixup paste for change tracking.
9120
9121         * tabular.C: mark added row/columns as new.
9122
9123         * text.C: fix rowLast() to never return -1. Don't allow
9124           spellchecking of deleted text. Track transpose changes. Don't
9125           allow paragraph break or merge where appropriate.
9126
9127         * text2.C: leave cursor at end of selection after a cut.
9128
9129 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * text.C (getLengthMarkerHeight):
9132         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9133         visible on screen too.
9134
9135 2003-02-07  John Levon  <levon@movementarian.org>
9136
9137         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9138
9139 2003-02-05  Angus Leeming  <leeming@lyx.org>
9140
9141         * lyxserver.C (read_ready): revert my patch of 11 September last year
9142         as it sends PC cpu through the roof. Presumably this means that
9143         the lyxserver will no longer run on an Alpha...
9144
9145 2003-01-30  Angus Leeming  <leeming@lyx.org>
9146
9147         * factory.C (createInset): create an InsetCommandParam of type "index"
9148         and use it to 'do the right thing'.
9149
9150         * text2.C (getStringToIndex): ensure that cursor position is always
9151         reset to the reset_cursor position.
9152
9153 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9154
9155         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9156         disabled.
9157
9158 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9159
9160         * bufferview.C:
9161         * lyxcb.C:
9162         * lyxfunc.C: Output messages with identical spelling, punctuation,
9163         and spaces
9164
9165 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9166
9167         * MenuBackend.C (expandFormats): List only viewable export formats
9168         in "View" menu
9169
9170         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9171         message
9172
9173         * lyxfunc.C (getStatus): Make sure that formats other than
9174         "fax" can also be disabled
9175
9176 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9177
9178         * text3.C (dispatch): put the lfuns that insert insets in 3
9179         groups, and call doInsertInset with appropriate arguments.
9180         (doInsertInset): new function, that creates an inset and inserts
9181         it according to some boolean parameters.
9182
9183 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * buffer.C (readFile): remember to pass on 'par' when calling
9186         readFile recursively.
9187
9188 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9189
9190         * MenuBackend.C (expandFormats): add "..." to import formats.
9191
9192 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9193
9194         * paragraph.C (asString): Remove XForms RTL hacks.
9195
9196 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9197         * buffer.C: fix typo
9198
9199 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * Makefile.am (LIBS): delete var
9202         (lyx_LDADD): add @LIBS@ here instead.
9203
9204 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9205
9206         * Clarify the meaning of "wheel mouse jump"
9207
9208 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9209
9210         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9211         tabular in a float
9212
9213 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9214
9215         * importer.C (Loaders): do not preallocate 3 elements in the
9216         vector, since one ends up with 6 elements otherwise
9217
9218 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9219
9220         * DepTable.C (write): write the file name as last element of the
9221         .dep file (because it may contain spaces)
9222         (read): read info in the right order
9223
9224 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9225
9226         * paragraph_pimpl.C (simpleTeXBlanks):
9227         (simpleTeXSpecialChars):
9228         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9229
9230         * tabular.C (latex): add some missing case statements. Reindent.
9231
9232         * MenuBackend.C (expandToc): remove unused variable.
9233
9234 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9235
9236         * LColor.C:
9237         * LaTeX.C:
9238         * LyXAction.C:
9239         * MenuBackend.C:
9240         * buffer.C:
9241         * exporter.C:
9242         * lyxfunc.C:
9243         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9244         and the like.
9245
9246 2003-01-05  John Levon  <levon@movementarian.org>
9247
9248         * BufferView.h:
9249         * BufferView.C: add getEncoding()
9250
9251         * kbsequence.h:
9252         * kbsequence.C: do not store last keypress
9253
9254         * lyxfunc.h:
9255         * lyxfunc.C: store last keypress here instead. Pass encoding
9256           to getISOEncoded()
9257
9258 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9259
9260         * lyx_main.C (init): remove annoying error message when following
9261         symbolic links (bug #780)
9262
9263 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9264
9265         * text.C (insertChar):
9266         * lyxrc.C (getDescription): remove extra spaces
9267
9268 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9269
9270         * lyxrc.C (getDescription): remove extra spaces
9271
9272 2002-12-20  John Levon  <levon@movementarian.org>
9273
9274         * text3.C: hack fix for page up/down across tall rows
9275
9276 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9277
9278         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9279         not been invoked
9280
9281 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9282
9283         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9284         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9285         thesaurus is not compiled in
9286
9287 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9288
9289         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9290
9291 2002-12-16  Angus Leeming  <leeming@lyx.org>
9292
9293         * lyxrc.[Ch]:
9294         * lyx_main.C (init): remove override_x_deadkeys stuff.
9295
9296 2002-12-12  John Levon  <levon@movementarian.org>
9297
9298         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9299           insert. Only remove shift modifier under strict
9300           circumstances.
9301
9302 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9303
9304         * MenuBackend.C (expandToc): fix crash.
9305
9306 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9307
9308         * MenuBackend.C (expandToc): gettext on float names.
9309
9310 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9311
9312         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9313         implement bool empty() [bug 490]
9314
9315 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9316
9317         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9318
9319 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9320
9321         * several files: ws changes
9322
9323 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * text2.C (setCounter): clean up a bit, use boost.format.
9326         (updateCounters): initialize par upon declaration.
9327
9328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9329         if the layout exists. We do not just store the layout any more.
9330         (SwitchLayoutsBetweenClasses): use boost.format
9331
9332 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9333
9334         * converter.C (convert): if from and to files are the same, use a
9335         temporary files as intermediary
9336
9337 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9338
9339         * commandtags.h:
9340         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9341
9342 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9343
9344         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9345
9346 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9347
9348         * tabular.C (asciiPrintCell): use string(size, char) instead of
9349         explicit loop.
9350
9351         * sgml.C (openTag): fix order of arguments to string constructor
9352         (closeTag): ditto
9353
9354         * lyxfunc.C (dispatch): use boost.format
9355
9356         * lots of files: change "c" -> 'c'
9357
9358 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9361
9362 2002-11-25  Angus Leeming  <leeming@lyx.org>
9363
9364         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9365
9366         * lyx_main.C (init): compile fix.
9367
9368 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * lyx_cb.C (start): boost.formatify
9371         do not include <iostream>
9372
9373         * lengthcommon.C: ws only
9374
9375         * boost-inst.C,BoostFormat.h: add more explict instantations
9376
9377 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9378
9379         * lots of files: handle USE_BOOST_FORMAT
9380
9381 2002-11-21  John Levon  <levon@movementarian.org>
9382
9383         * pspell.C: fix compile
9384
9385 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9386
9387         * lyxfunc.C (dispatch): use boost::format
9388         (open): ditto
9389         (doImport): ditto
9390
9391         * lyxfont.C (stateText): use boost::format
9392
9393         * lyx_main.C (LyX): use boost::format
9394         (init): ditto
9395         (queryUserLyXDir): ditto
9396         (readRcFile): ditto
9397         (parse_dbg): ditto
9398         (typedef boost::function): use the recommened syntax.
9399
9400         * importer.C (Import): use boost::format
9401
9402         * debug.C (showLevel): use boost::format
9403
9404         * converter.C (view): use boost::format
9405         (convert): ditto
9406         (move): ditto
9407         (scanLog): ditto
9408
9409         * bufferview_funcs.C (currentState): use boost::format
9410
9411         * bufferlist.C (emergencyWrite): use boost::format
9412
9413         * buffer.C (readLyXformat2): use boost::format
9414         (parseSingleLyXformat2Token): ditto
9415
9416         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9417
9418         * LaTeX.C (run): use boost::format
9419
9420         * Chktex.C (scanLogFile): use boost::format
9421
9422         * BufferView_pimpl.C (savePosition): use boost::format
9423         (restorePosition): ditto
9424         (MenuInsertLyXFile): ditto
9425
9426         * BoostFormat.h: help file for explicit instation.
9427
9428 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * tabular.C (latex): Support for block alignment in fixed width
9431         columns.
9432
9433 2002-11-17  John Levon  <levon@movementarian.org>
9434
9435         * BufferView_pimpl.C:
9436         * lyx_cb.C:
9437         * lyxfunc.C: split filedialog into open/save
9438
9439 2002-11-08  Juergen Vigna  <jug@sad.it>
9440
9441         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9442         by my last patch (hopefully).
9443
9444 2002-11-08  John Levon  <levon@movementarian.org>
9445
9446         * iterators.h:
9447         * iterators.C:
9448         * buffer.h:
9449         * buffer.C:
9450         * paragraph.h:
9451         * paragraph.C:
9452         * toc.h:
9453         * toc.C: ParConstIterator, and use it (from Lars)
9454
9455 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9456
9457         * lyxtextclass.[Ch]: revise and add doxygen comments
9458
9459 2002-11-07  John Levon  <levon@movementarian.org>
9460
9461         * text.C: fix progress value for spellchecker
9462
9463         * toc.C: fix navigate menu for insetwrap inside minipage
9464
9465         * paragraph_funcs.C: added FIXME for suspect code
9466
9467 2002-11-07  John Levon  <levon@movementarian.org>
9468
9469         * BufferView_pimpl.C: fix redrawing of insets
9470           on buffer switch
9471
9472 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * text2.C (updateCounters): fix bug 668
9475
9476 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9477
9478         * text3.C (dispatch): Do not make the buffer dirty when moving the
9479         cursor.
9480
9481 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9482
9483         * vc-backend.C: STRCONV
9484         (scanMaster): ditto
9485
9486         * text2.C (setCounter): STRCONV
9487
9488         * paragraph.C (asString): STRCONV
9489
9490         * lyxlength.C (asString): STRCONV
9491         (asLatexString): ditto
9492
9493         * lyxgluelength.C (asString): STRCONV
9494         (asLatexString): ditto
9495
9496         * lyxfunc.C (dispatch): STRCONV
9497         (open): ditto
9498
9499         * lyxfont.C (stateText): STRCONV
9500
9501         * importer.C (Import): STRCONV
9502
9503         * counters.C (labelItem): STRCONV
9504         (numberLabel): ditto
9505         (numberLabel): remove unused ostringstream o
9506
9507         * chset.C: STRCONV
9508         (loadFile): ditto
9509
9510         * bufferview_funcs.C (currentState): STRCONV
9511
9512         * buffer.C (readFile): STRCONV
9513         (asciiParagraph): ditto
9514         (makeLaTeXFile): ditto
9515
9516         * Spacing.C (writeEnvirBegin): STRCONV
9517
9518         * LaTeXFeatures.C (getLanguages): STRCONV
9519         (getPackages): ditto
9520         (getMacros): ditto
9521         (getBabelOptions): ditto
9522         (getTClassPreamble): ditto
9523         (getLyXSGMLEntities): ditto
9524         (getIncludedFiles): ditto
9525
9526         * LaTeX.C: STRCONV
9527         (run): ditto
9528         (scanAuxFile): ditto
9529         (deplog): ditto
9530
9531         * LString.h: add the STRCONV macros
9532
9533         * BufferView_pimpl.C (savePosition): STRCONV
9534         (restorePosition): ditto
9535         (MenuInsertLyXFile): ditto
9536
9537         * vc-backend.C (scanMaster): change from submatch[...] to
9538         submatch.str(...)
9539
9540         * funcrequest.C: include config.h
9541
9542         * factory.C: include config.h
9543
9544         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9545
9546         * box.C: include config.h
9547
9548         * LaTeX.C (scanAuxFile): change from submatch[...] to
9549         submatch.str(...)
9550         (deplog): ditto
9551
9552 2002-10-25  Angus Leeming  <leeming@lyx.org>
9553
9554         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9555
9556         * ispell.[Ch] (setError): new method.
9557         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9558         Use setError() insetead of goto END.
9559
9560         * lyx_cb.C (AutoSave): move out child process into new class
9561         AutoSaveBuffer.
9562
9563 2002-10-30  John Levon  <levon@movementarian.org>
9564
9565         * text3.C: make start appendix undoable
9566
9567 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9568
9569         * lyxlength.C (inPixels): Fix returned value.
9570
9571         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9572         environment.
9573
9574 2002-10-24  Angus Leeming  <leeming@lyx.org>
9575
9576         * lyxgluelength.h: no need to forward declare BufferParams
9577         or BufferView, so don't.
9578
9579 2002-10-21  John Levon  <levon@movementarian.org>
9580
9581         * BufferView.C: menuUndo ->undo, redo
9582
9583         * BufferView.h: document, remove dead, make some methods private
9584
9585         * paragraph_funcs.h:
9586         * paragraph_funcs.C:
9587         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9588
9589         * buffer.h:
9590         * buffer.C:
9591         * sgml.h:
9592         * sgml.C: move sgml open/close tag into sgml.C
9593
9594         * bufferview_funcs.h: unused prototype
9595
9596         * lyxfunc.h:
9597         * lyxfunc.C: remove unused
9598
9599         * lyxtext.h:
9600         * text.C: remove unused
9601
9602 2002-10-21  John Levon  <levon@movementarian.org>
9603
9604         * BufferView.h:
9605         * BufferView.C:
9606         * BufferView_pimpl.h:
9607         * BufferView_pimpl.C: fix mouse wheel handling based on
9608           patch from Darren Freeman
9609
9610 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9611
9612         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9613
9614 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9615
9616         * lyxlength.C (inPixels): Fix hanfling of negative length.
9617         Fix LyXLength::MU case.
9618
9619 2002-10-16  John Levon  <levon@movementarian.org>
9620
9621         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9622
9623 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9624
9625         * converter.C (view): add support for $$i (file name) and $$p
9626         (file path) for the viewer command. If $$i is not specified, then
9627         it is appended to the command (for compatibility with old syntax)
9628
9629 2002-10-14  Juergen Vigna  <jug@sad.it>
9630
9631         * undo_funcs.C (textHandleUndo): alter the order in which the
9632         new undopar is added to the LyXText, as we have to set first
9633         the right prev/next and then add it as otherwise the rebuild of
9634         LyXText is not correct. Also reset the cursor to the right paragraph,
9635         with this IMO we could remove the hack in "redoParagraphs()".
9636
9637 2002-10-09  Angus Leeming  <leeming@lyx.org>
9638
9639         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9640         to turn off an optimisation if a new inset is to be inserted.
9641
9642 2002-10-11 André Pönitz <poenitz@gmx.net>
9643
9644         * lyxtext.h: make some functions public to allow access
9645         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9646
9647 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9648
9649         * text3.C (dispatch): when changing layout, avoid an infinite loop
9650         [bug #652]
9651
9652 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9653
9654         * lyxrc.C (read): treat a viewer or converter command of "none" as
9655         if it were empty.
9656
9657         * MenuBackend.C (expandFormats): for an update, also allow the
9658         formats that are not viewable
9659
9660         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9661         script if it is newer than the lyxrc.defaults in user directory
9662
9663 2002-10-07 André Pönitz <poenitz@gmx.net>
9664
9665         * text.C: Vitaly Lipatov's small i18n fix
9666
9667 2002-09-25  Angus Leeming  <leeming@lyx.org>
9668
9669         * ispell.h: doxygen fix.
9670
9671 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9672
9673         * buffer.h (readFile): Add a new argument to the method, to allow
9674         reading of old-format templates.
9675
9676 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9677
9678         * toc.C (getTocList): Get TOC from InsetWrap.
9679
9680 2002-09-16  John Levon  <levon@movementarian.org>
9681
9682         * lyxfunc.C: check tabular for cut/copy too
9683
9684 2002-09-12  John Levon  <levon@movementarian.org>
9685
9686         * LyXAction.C: tidy
9687
9688         * factory.h:
9689         * factory.C: add header
9690
9691         * paragraph_funcs.h:
9692         * paragraph_funcs.C: cleanup
9693
9694 2002-09-11  John Levon  <levon@movementarian.org>
9695
9696         * PrinterParams.h: odd/even default to true
9697
9698 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9699
9700         * PrinterParams.h: update printer parameters for new xforms dialog
9701
9702 2002-09-11  Angus Leeming  <leeming@lyx.org>
9703
9704         * lyxserver.C (read_ready): re-write to make it more transparent
9705         and to make it work in coherent fashion under Tru64 Unix.
9706
9707 2002-09-11  André Pönitz <poenitz@gmx.net>
9708
9709         * commandtags.h:
9710         * LyXAction.C:
9711         * text3.C: implement LFUN_WORDSEL
9712
9713 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9716         make floatlist_ a boost::shared_ptr<FloatList>
9717
9718         * lyxtextclass.C: include FloatList.h
9719         (LyXTextClass): initialize floatlist_
9720         (TextClassTags): add TC_NOFLOAT
9721         (Read): match "nofloat" to TC_NOFLOAT and use it.
9722         (readFloat): modify call to floatlist_
9723         (floats): ditto
9724         (floats): ditto
9725
9726         * FloatList.[Ch] (FloatList): remove commented out float
9727         initialization.
9728         (erase): new function
9729
9730 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9731
9732         * MenuBackend.C (expandToc): fix crash when there is no document
9733         open
9734
9735 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9736
9737         * many files: Add insetwrap.
9738
9739 2002-09-09  John Levon  <levon@movementarian.org>
9740
9741         * text2.C: remove confusing and awkward depth wraparound
9742
9743 2002-09-09  John Levon  <levon@movementarian.org>
9744
9745         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9746
9747         * buffer.h:
9748         * buffer.C: remove getIncludeonlyList()
9749
9750         * paragraph.C:
9751         * lyxfunc.C: remove headers
9752
9753 2002-09-09  Juergen Vigna  <jug@sad.it>
9754
9755         * text.C (getColumnNearX): fix form Michael this is most
9756         probably a cut&paste bug.
9757
9758 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9759
9760         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9761
9762         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9763         references, ws changes.
9764
9765         * text2.C (init): update counters after init
9766         (insertParagraph): no need to set counter on idividual paragraphs.
9767         (setCounter): access the counters object in the textclass object
9768         on in the buffer object.
9769         (updateCounters): ditto
9770
9771         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9772         shared_ptr<Counters> to avoid loading counters.h in all
9773         compilation units.
9774         (LyXTextClass): initialize ctrs_
9775         (TextClassTags): add TC_COUNTER, and ...
9776         (Read): use it here.
9777         (CounterTags): new tags
9778         (readCounter): new function
9779         (counters): new funtion
9780         (defaultLayoutName): return a const reference
9781
9782         * counters.C (Counters): remove contructor
9783         (newCounter): remove a couple of unneeded statements.
9784         (newCounter): simplify a bit.
9785         (numberLabel): some small formatting changes.
9786
9787         * buffer.[Ch]: remove all traces of counters, move the Counters
9788         object to the LyXTextClass.
9789
9790 2002-09-06  Alain Castera  <castera@in2p3.fr>
9791
9792         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9793         package to set the horizontal alignment on fixed width columns.
9794
9795         * lyx_sty.C:
9796         * lyx_sty.h: added tabularnewline macro def.
9797
9798         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9799
9800 2002-09-06  John Levon  <levon@movementarian.org>
9801
9802         * LyXAction.C: tooltips for sub/superscript
9803
9804         * MenuBackend.C: a bit more verbose
9805
9806         * lyxfunc.C: tiny clean
9807
9808         * undo_funcs.C: document undo_frozen
9809
9810 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * counters.C (Counters): add missing algorithm counter.
9813
9814         * text2.C (setCounter): lookup the counter with layouts latexname
9815         instead of by section number.
9816         (setCounter): use a hackish way to lookup the correct enum
9817         counter.
9818         a float name->type change
9819         reset enum couners with counter name directly instead of depth value.
9820
9821         * counters.C (Counters): remove the push_backs, change to use the
9822         float type not the float name.
9823         (labelItem): remove unused string, float name->type change
9824
9825         * counters.h: don't include vector, loose the enums and sects vectors
9826
9827 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9828
9829         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9830         (Read): add float->TC_FLOAT to textclassTags
9831         (Read): and handle it in the switch
9832         (readFloat): new function
9833
9834         * FloatList.C (FloatList): comment out the hardcoded float
9835         definitions.
9836
9837         * lyxlayout.h: ws change.
9838
9839 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9840
9841         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9842
9843 2002-09-03  Angus Leeming  <leeming@lyx.org>
9844
9845         * BufferView_pimpl.h: qualified name is not allowed in member
9846         declaration: WorkArea & Pimpl::workarea() const;
9847
9848         * factory.C: added using std::endl directive.
9849
9850         * text3.C: added using std::find and std::vector directives.
9851
9852 2002-08-29  André Pönitz <poenitz@gmx.net>
9853
9854         * lyxtext.h:
9855         * text2.C: remove unused member number_of_rows
9856
9857         * Makefile.am:
9858         * BufferView2.C: remove file, move contents to...
9859         * BufferView.C: ... here
9860
9861         * BufferView_pimpl.C:
9862         * factory.C: move more inset creation to factory
9863
9864         * vspace.C: avoid direct usage of LyXText, ws changes
9865
9866         * BufferView.[Ch]:
9867                 don't provide direct access to WorkArea, use two simple
9868                 acessors haveSelction() and workHeight() instead
9869
9870
9871 2002-08-29  John Levon  <levon@movementarian.org>
9872
9873         * BufferView_pimpl.C (dispatch): do not continue when
9874           no buffer
9875
9876 2002-08-28  André Pönitz <poenitz@gmx.net>
9877
9878         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9879
9880         * BufferView.h:
9881         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9882
9883 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9884
9885         * buffer.C: increment LYX_FORMAT to 221
9886
9887         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9888         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9889
9890         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9891
9892         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9893
9894 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9895
9896         * factory.C (createInset): use LyXTextClass::floats
9897
9898         * MenuBackend.C (expandFloatListInsert):
9899         (expandFloatInsert):
9900         (expandToc):
9901
9902         * text2.C (setCounter):
9903
9904         * LaTeXFeatures.C (useFloat):
9905         (getFloatDefinitions):
9906
9907         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9908
9909         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9910         floatlist_, with accessor floats().
9911
9912         * FloatList.h: remove global FloatList
9913
9914 2002-08-26  André Pönitz <poenitz@gmx.net>
9915
9916         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9917
9918         * BufferView.h:
9919         * BufferView2.C:
9920         * BufferView_pimpl.C:
9921         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9922
9923 2002-08-25  John Levon  <levon@movementarian.org>
9924
9925         * LyXAction.C: fix margin note description
9926
9927 2002-08-24  John Levon  <levon@movementarian.org>
9928
9929         * buffer.C:
9930         * bufferlist.C:
9931         * bufferview_funcs.C:
9932         * lyxfont.C:
9933         * undo_funcs.C: cleanups
9934
9935         * lyxfunc.C: disable CUT/COPY when no selection
9936
9937 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9938
9939         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9940         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9941
9942         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9943         Add backward compatibility to "mono", "gray" and "no".
9944
9945 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9946
9947         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9948         (and file_format >= 200).
9949
9950 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9953
9954 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9957
9958 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9959
9960         * BufferView_pimpl.C:
9961         * LyXAction.C:
9962         * buffer.C:
9963         * commandtags.h:
9964         * lyxfunc.C:
9965         * paragraph.[Ch]:
9966         * text2.C:
9967         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9968         inset and code to make it  work with the paragraph code. The inset
9969         can be anywhere in the paragraph, but will only do the expected
9970         thing in LaTeX if the layout file contains the parameter line
9971                         OptionalArgs    1
9972         (or more generally, a nonzero value) for that layout.
9973
9974 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9975
9976         * paragraph.h: remove the declaration of undefined counters class
9977         function.
9978
9979 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9980
9981         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9982         Dr. Richard Hawkins.
9983
9984 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * paragraph_funcs.h: remove some unneeded includes
9987
9988         * text.C (backspace): pasteParagraph now in global scipe
9989
9990         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9991         (pasteSelection): ditto
9992
9993         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9994         * paragraph_funcs.C (pasteParagraph): ... here
9995
9996 2002-08-20  André Pönitz <poenitz@gmx.net>
9997
9998         * commandtags.h: new LFUNs for swapping/copying table row/colums
9999
10000         * LyXAction.C:
10001         * lyxfunc.C: support for new lfuns
10002
10003 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10004
10005         * tabular.C:
10006         * buffer.[Ch]: remove NO_COMPABILITY stuff
10007
10008 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10009
10010         * boost.C (throw_exception): new file, with helper function for
10011         boost compiled without exceptions.
10012
10013         * paragraph.h:
10014         * lyxlength.C:
10015         * buffer.C:
10016         * ParameterStruct.h:
10017         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10018
10019         * bufferlist.C (emergencyWriteAll): use boost bind
10020
10021         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10022
10023         * text.C: include paragraph_funcs.h
10024         (breakParagraph): breakParagraph is now in global scope
10025
10026         * paragraph_funcs.[Ch]: new files
10027
10028         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10029         global scope
10030
10031         * buffer.C: include paragraph_funcs.h
10032         (insertStringAsLines): breakParagraph is now in global scope
10033
10034         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10035         paragraph_funcs.C
10036
10037         * CutAndPaste.C: include paragraph_funcs.h
10038         (cutSelection): breakParagraphConservative is now in global scope
10039         (pasteSelection): ditto
10040
10041         * buffer.h: declare oprator== and operator!= for
10042         Buffer::inset_iterator
10043
10044         * bufferlist.C (emergencyWrite): don't use fmt(...)
10045
10046         * text3.C: add using std::endl
10047
10048         * BufferView.C (moveCursorUpdate): remove default arg
10049
10050 2002-08-20  André Pönitz <poenitz@gmx.net>
10051
10052         * buffer.[Ch]: move inline functions to .C
10053
10054         * BufferView2.C:
10055         * BufferView_pimpl.C:
10056         * text.C:
10057         * buffer.[Ch]: use improved inset_iterator
10058
10059         * buffer.C:
10060         * paragraph.[Ch]: write one paragraph at a time
10061
10062 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10063
10064         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10065         style if style is not specified.
10066
10067 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * text2.C (setCounter): when searching for right label for a
10070         caption, make sure to recurse to parent insets (so that a caption
10071         in a minipage in a figure float works) (bug #568)
10072
10073 2002-08-20  André Pönitz <poenitz@gmx.net>
10074
10075         * text3.C: new file for LyXText::dispatch() and helpers
10076
10077         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10078
10079         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10080
10081 2002-08-19  André Pönitz <poenitz@gmx.net>
10082
10083         * lyxtext.h:
10084         * text.C: new LyXText::dispatch()
10085
10086         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10087
10088 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10091
10092         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10093         Hebrew text.
10094
10095 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10096
10097         * Makefile.am: use $(variables) instead of @substitutions@
10098
10099 2002-08-15  André Pönitz <poenitz@gmx.net>
10100
10101         * lyxfunc.C:
10102         * BufferView_pimpl.C: streamlining mathed <-> outer world
10103         interaction
10104
10105         * commandtags.h:
10106         * LyXAction.C: remove unused LFUN_MATH
10107
10108 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10109
10110         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10111
10112 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * paragraph.C (Paragraph): reformat a bit
10115         (cutIntoMinibuffer): use builtin InsetList function instad of
10116         doing it manually.
10117         (getInset): ditto
10118
10119         * buffer.C: include boost/bind.hpp, add using std::for_each
10120         (writeFileAscii): use ParagraphList iterators
10121         (validate): use for_each for validate traversal of paragraphs
10122         (getBibkeyList): use ParagraphList iterators
10123         (resizeInsets): use for_each to resizeInsetsLyXText for all
10124         paragraphs.
10125         (getParFromID): use ParagraphList iterators
10126
10127         * BufferView2.C (lockInset): use paragraph list and iterators
10128
10129 2002-08-14  John Levon  <levon@movementarian.org>
10130
10131         * lyxserver.C: remove spurious xforms include
10132
10133 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10136
10137 2002-08-13  André Pönitz <poenitz@gmx.net>
10138
10139         * LyXAction.[Ch]:
10140         * lyxfunc.C: further cleaning
10141
10142 2002-08-13  André Pönitz <poenitz@gmx.net>
10143
10144         * funcrequest.h: new constructor
10145
10146         * funcrequest.C: move stuff here from .h
10147
10148         * Makefile.am:
10149         * BufferView_pimpl.C:
10150         * LyXAction.C:
10151         * toc.C:
10152         * lyxfunc.C: subsequent changes
10153
10154         * lyxfunc.h: new view() member function
10155
10156         * lyxfunc.C: subsequent changes
10157
10158 2002-08-13  Angus Leeming  <leeming@lyx.org>
10159
10160         * BufferView2.C:
10161         * BufferView_pimpl.C:
10162         * buffer.C:
10163         * converter.C:
10164         * importer.C:
10165         * lyxfunc.C:
10166         * lyxvc.C:
10167         * toc.C:
10168         * vc-backend.C:
10169         changes due to the changed LyXView interface that now returns references
10170         to member variables not pointers.
10171
10172 2002-08-13  Angus Leeming  <leeming@lyx.org>
10173
10174         * WordLangTuple (word, lang_code): return references to strings,
10175         not strings.
10176
10177         * BufferView.h:
10178         * SpellBase.h:
10179         * lyxtext.h: forward-declare WordLangTuple.
10180
10181         * BufferView2.C:
10182         * ispell.C:
10183         * pspell.C:
10184         * text.C: #include "WordLangTuple.h".
10185
10186         * lyxtext.h:
10187         * text.C: (selectNextWordToSpellcheck): constify return type.
10188
10189 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10190
10191         * buffer.C:
10192         * buffer.h:
10193         * lyxtext.h:
10194         * paragraph.C:
10195         * paragraph_pimpl.h:
10196         * text.C:
10197         * text2.C:
10198         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10199         suggested by Angus.
10200         Made updateCounter always count from start of buffer, and removed
10201         second argument (par).
10202         Reverted floats number display to '#'. Perhaps I'll try again when the
10203         code base is sanitized a bit.
10204
10205 2002-08-12  Angus Leeming  <leeming@lyx.org>
10206
10207         * buffer.[Ch] (getLabelList): constify.
10208
10209 2002-08-07  André Pönitz <poenitz@gmx.net>
10210
10211         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10212
10213         * funcrequest.h: extension to keep mouse (x,y) position
10214
10215 2002-08-12  Juergen Vigna  <jug@sad.it>
10216
10217         * BufferView2.C (insertErrors): forbid undo when inserting error
10218         insets.
10219
10220         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10221
10222 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * ParagraphList.[Ch]: new files
10225
10226         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10227
10228         * BufferView2.C (lockInset): ParagraphList changes
10229         * toc.C: ditto
10230         * text2.C: ditto
10231         * bufferlist.C: ditto
10232         * buffer.h: ditto
10233         * buffer.C: ditto
10234
10235 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10236
10237         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10238         unused class variable counter_,
10239
10240         * paragraph.[Ch] (getFirstCounter): delete unused function
10241
10242         * counters.C: include LAssert.h
10243         (reset): add a new function with no arg, change other version to
10244         not have def. arg and to not allow empty arg.
10245
10246         * text2.C (setCounter): remove empty arg from call to Counters::reset
10247
10248 2002-08-11  John Levon  <levon@movementarian.org>
10249
10250         * Makefile.am: add WordLangTuple.h
10251
10252 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10253
10254         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10255         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10256
10257         * insets/insettext.C: InsetList changes
10258
10259         * graphics/GraphicsSupport.C (operator()): InsetList changes
10260
10261         * toc.C (getTocList): InsetList changes
10262
10263         * paragraph_pimpl.[Ch]: InsetList changes
10264
10265         * paragraph.[Ch]: InsetList changes
10266
10267         * buffer.C (inset_iterator): InsetList changes
10268         (setParagraph): ditto
10269         * buffer.h (inset_iterator): ditto
10270         * iterators.C (operator++): ditto
10271         * iterators.h: ditto
10272
10273         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10274
10275         * InsetList.[Ch]: new files, most InsetList handling moved out of
10276         paragraph.C.
10277
10278         * BufferView2.C (removeAutoInsets): InsetList changes
10279         (lockInset): ditto
10280         (ChangeInsets): ditto
10281
10282 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10283
10284         * paragraph_pimpl.h (empty): new function
10285
10286         * paragraph.[Ch] (empty): new function
10287
10288         * other files: use the new Paragraph::empty function
10289
10290 2002-08-09  John Levon  <levon@movementarian.org>
10291
10292         * lyxtext.h: remove unused refresh_height
10293
10294 2002-08-09  John Levon  <levon@movementarian.org>
10295
10296         * Makefile.am:
10297         * sgml.h:
10298         * sgml.C:
10299         * buffer.C:
10300         * paragraph.h:
10301         * paragraph.C: move sgml char escaping out of paragraph
10302
10303         * paragraph.h:
10304         * paragraph.C: remove id setter
10305
10306         * buffer.C:
10307         * paragraph.C:
10308         * paragraph_pimpl.C: remove dead tex_code_break_column
10309
10310         * bufferview_funcs.C: small cleanup
10311
10312         * lyxfunc.C: remove dead proto
10313
10314         * lyxtext.h: make some stuff private. Remove some dead stuff.
10315
10316         * lyxgluelength.C: make as[LyX]String() readable
10317
10318 2002-08-08  John Levon  <levon@movementarian.org>
10319
10320         * LyXAction.h:
10321         * LyXAction.C:
10322         * MenuBackend.C:
10323         * ToolbarDefaults.C:
10324         * lyxfunc.C:
10325         * lyxrc.C:
10326         * toc.C: lyxaction cleanup
10327
10328 2002-08-08  John Levon  <levon@movementarian.org>
10329
10330         * BufferView2.C: small cleanup
10331
10332         * lyxfind.h:
10333         * lyxfind.C: move unnecessary header into the .C
10334
10335 2002-08-08  John Levon  <levon@movementarian.org>
10336
10337         * funcrequest.h: just tedious nonsense
10338
10339         * lyx_main.h:
10340         * lyx_main.C: cleanups
10341
10342         * buffer.C:
10343         * vspace.C: remove dead header lyx_main.h
10344
10345 2002-08-07  Angus Leeming  <leeming@lyx.org>
10346
10347         * Paragraph.[Ch]:
10348         * paragraph_pimpl.h:
10349         Forward declare class Counters in paragraph.h by moving the ctrs member
10350         variable into Paragraph::Pimpl.
10351         (counters): new method, returning a reference to pimpl_->ctrs.
10352
10353         * text2.C: ensuing changes.
10354
10355 2002-08-07  John Levon  <levon@movementarian.org>
10356
10357         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10358
10359         * BufferView_pimpl.C: announce X selection on double/triple
10360           click
10361
10362         * lyx_main.C: use correct bool in batch dispatch
10363
10364         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10365
10366 2002-08-07  André Pönitz <poenitz@gmx.net>
10367
10368         * funcrequest.h: new class to wrap a kb_action and its argument
10369
10370         * BufferView.[Ch]:
10371         * BufferView_pimpl[Ch]:
10372         * LaTeX.C:
10373         * LyXAction.[Ch]:
10374         * lyxfunc.[Ch]:
10375         * lyxrc.C: subsequent changes
10376
10377
10378 2002-08-07  John Levon  <levon@movementarian.org>
10379
10380         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10381           document options change.
10382
10383 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10384
10385         * counters.[Ch]
10386         * text2.C
10387         * paragraph.[Ch]
10388         * makefile.am: move counters functionality over from
10389         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10390
10391 2002-08-06  John Levon  <levon@movementarian.org>
10392
10393         * WordLangTuple.h: new file for word + language code tuple
10394
10395         * SpellBase.h:
10396         * pspell.h:
10397         * pspell.C:
10398         * ispell.h:
10399         * ispell.C:
10400         * lyxtext.h:
10401         * text.C:
10402         * text2.C:
10403         * BufferView.h:
10404         * BufferView2.C: use WordLangTuple
10405
10406         * layout.h:
10407         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10408
10409 2002-08-06  John Levon  <levon@movementarian.org>
10410
10411         * lyx_main.C: fix cmdline batch handling
10412
10413 2002-08-06  André Pönitz <poenitz@gmx.net>
10414
10415         * lyxrc.C: set default for show_banner to true
10416
10417 2002-08-06  John Levon  <levon@movementarian.org>
10418
10419         * pspell.C: fix a crash, and allow new aspell to work
10420
10421 2002-08-06  John Levon  <levon@movementarian.org>
10422
10423         * lyxfunc.C:
10424         * kbmap.C: small cleanup
10425
10426         * vspace.h:
10427         * vspace.C: add const
10428
10429 2002-08-05  John Levon  <levon@movementarian.org>
10430
10431         * LyXAction.C: back to tabular-insert
10432
10433 2002-08-04  John Levon  <levon@movementarian.org>
10434
10435         * BufferView.h:
10436         * BufferView.C: cosmetic change
10437
10438         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10439
10440         * bufferlist.C:
10441         * buffer.h:
10442         * buffer.C:
10443         * lyxcb.h:
10444         * lyxcb.C:
10445         * lyxserver.C:
10446         * lyxvc.C:
10447         * vc-backend.C:
10448         * BufferView2.C: purge all "Lyx" not "LyX" strings
10449
10450         * lyxcursor.h:
10451         * lyxcursor.C: attempt to add some documentation
10452
10453         * lyxfunc.C:
10454         * commandtags.h:
10455         * LyXAction.C:
10456         * ToolbarDefaults.C:
10457         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10458           merge with LFUN_TABULAR_INSERT
10459
10460         * Makefile.am:
10461         * SpellBase.h:
10462         * ispell.h:
10463         * ispell.C:
10464         * pspell.h:
10465         * pspell.C: split up i/pspell implementations into separate
10466           files, many cleanups
10467
10468         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10469
10470         * text2.C: some cleanup
10471
10472         * lyxfunc.C: don't check for isp_command == "none" any more, it
10473           didn't make any sense
10474
10475 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10476
10477         * counters.[Ch]
10478         * text2.C
10479         * paragraph.[Ch]
10480         * makefile.am: move counters functionality over
10481         from text2.C/paragraph.[Ch] to counters.[Ch], and
10482         make proper C++.
10483 2002-08-02  John Levon  <levon@movementarian.org>
10484
10485         * buffer.C: s/lyxconvert/lyx2lyx/
10486
10487 2002-08-02  Angus Leeming  <leeming@lyx.org>
10488
10489         * lyxlex.C: revert John's change as it breaks reading of the user
10490         preamble.
10491
10492 2002-08-02  Angus Leeming  <leeming@lyx.org>
10493
10494         * importer.C (Import):
10495         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10496         changes due to LyXView::view() now returning a boost::shared_ptr.
10497
10498 2002-08-02  John Levon  <levon@movementarian.org>
10499
10500         * lyxlex.C: small cleanup
10501
10502 2002-08-02  John Levon  <levon@movementarian.org>
10503
10504         * text2.C (status): small cleanup, no logic change
10505
10506 2002-08-01  John Levon  <levon@movementarian.org>
10507
10508         * buffer.h:
10509         * buffer.C (writeFile): don't output alerts, caller
10510           handles this
10511
10512         * bufferlist.C:
10513         * lyx_cb.C: from above
10514
10515         * lyxfunc.C: allow to open non-existent files
10516
10517 2002-07-31  John Levon  <levon@movementarian.org>
10518
10519         * lyxserver.C: don't let incidental errors get
10520           in the way (errno)
10521
10522 2002-07-30  John Levon  <levon@movementarian.org>
10523
10524         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10525
10526 2002-07-30  John Levon  <levon@movementarian.org>
10527
10528         * lyxserver.h:
10529         * lyxserver.C: remove I/O callback too
10530
10531 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10534         log.
10535
10536 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10537
10538         * many files: strip,frontStrip -> trim,ltrim,rtrim
10539
10540 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10541
10542         * PrinterParams.h: remove extern containsOnly, and include
10543         support/lstrings.h instead.
10544
10545         * LaTeX.C (scanAuxFile): modify because of strip changes
10546         (deplog): ditto
10547         * buffer.C (makeLaTeXFile): ditto
10548         * bufferparams.C (writeFile): ditt
10549         * lyxfont.C (stateText): ditto
10550         * lyxserver.C (read_ready): ditto
10551         * vc-backend.C (scanMaster): ditto
10552
10553         * BufferView_pimpl.h: ws changes
10554
10555         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10556
10557 2002-07-26  André Pönitz <poenitz@gmx.net>
10558
10559         * kb_sequence.C: remove unnedred usings
10560
10561 2002-07-26  Juergen Vigna  <jug@sad.it>
10562
10563         * lyxfind.C (LyXReplace): we have to check better if the returned
10564         text is not of theLockingInset()->getLockingInset().
10565
10566 2002-07-25  Juergen Vigna  <jug@sad.it>
10567
10568         * lyxfind.C (LyXReplace): don't replace if we don't get the
10569         right LyXText.
10570
10571         * undo_funcs.C (createUndo): remove debugging code.
10572
10573 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * buffer.C (parseSingleLyXformat2Token): Use default placement
10576         when reading old floats.
10577
10578         * FloatList.C (FloatList): Change the default placement of figure
10579         and tables to "tbp".
10580
10581 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * MenuBackend.C: using std::max
10584
10585 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * MenuBackend.C (expandToc):
10588         (expandToc2): code moved from xforms menu frontend. It is now
10589         generic and TOCs are transparent to menu frontends.
10590
10591 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * toc.C (getTocList): protect against buf=0
10594
10595         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10596         Menu as first parameter. Now, this calls itself recursively to
10597         expand a whole tree (this will be useful for TOC handling)
10598         (expandFloatInsert): remove 'wide' version of floats
10599
10600         * MenuBackend.h (submenuname): returns the name of the submenu.
10601         (submenu): returns the submenu itself, provided it has been
10602         created by MenuBackend::expand
10603
10604 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10605
10606         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10607         insets which have noFontChange == true. (bug #172)
10608
10609 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * BufferView_pimpl.C: add connection objects and use them...
10612         (Pimpl): here.
10613
10614 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * MenuBackend.C (expandLastfiles):
10617         (expandDocuments):
10618         (expandFormats):
10619         (expandFloatListInsert):
10620         (expandFloatInsert):
10621         (expand): split expand in parts
10622
10623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * lyx_gui.C: use lyx_gui::exit()
10626
10627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * LyXAction.C: show the failing pseudo action
10630
10631 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * buffer.C (readFile): Run the lyxconvert script in order to read
10634         old files.
10635
10636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * LyXAction.C:
10639         * commandtags.h:
10640         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10641
10642 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * LyXAction.C:
10645         * commandtags.h:
10646         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10647
10648 2002-07-22  Herbert Voss  <voss@lyx.org>
10649
10650         * lengthcommon.C:
10651         * lyxlength.[Ch]: add support for the vertical lengths
10652
10653 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * toc.[Ch]: std:: fixes
10656
10657 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10658
10659         * lyxrc.C: do not include lyx_main.h
10660
10661         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10662         for layouts
10663
10664         * lyxrc.C:
10665         * encoding.C:
10666         * bufferlist.C:
10667         * BufferView2.C: include "lyxlex.h"
10668
10669         * tabular.h:
10670         * bufferparams.h: do not #include "lyxlex.h"
10671
10672         * lyxtextclasslist.C (Add): remove method
10673         (classlist): renamed to classlist_
10674
10675         * paragraph_pimpl.C:
10676         * paragraph.C:
10677         * text2.C:
10678         * CutAndPaste.C:
10679         * bufferview_funcs.C:
10680         * bufferlist.C:
10681         * text.C:
10682         * LaTeXFeatures.C:
10683         * buffer.C:
10684         * toc.C (getTocList): use BufferParams::getLyXTextClass
10685
10686         * toc.C (getTocList): use InsetFloat::addToToc
10687
10688         * toc.[Ch]: new files, containing helper functions to handle table
10689         of contents
10690
10691         * lyxfunc.C (dispatch): no need to remove spaces around command
10692         given as a string
10693         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10694         first command of the sequence; it is not very clever, but I do not
10695         have a better idea, actually
10696
10697         * LyXAction.C (LookupFunc): make sure to remove space at the
10698         beginning and end of the command
10699
10700 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * MenuBackend.C (getMenubar): new method: return the menubar of
10703         this menu set
10704         (read): treat differently reading of menu and menubar (in
10705         particular, the menubar has no name now)
10706         (Menu::menubar): remove
10707
10708         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10709         saving is finished
10710
10711 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10712
10713         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10714         a bibitem inset in a RTL paragraph.
10715
10716 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * paragraph_pimpl.C: constify
10719
10720         * BufferView_pimpl.C:
10721         * LaTeX.C:
10722         * lyxfunc.C: fix dispatch in a nicer way
10723
10724 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * lyxfunc.C (dispatch):
10727         * BufferView_pimpl.C:
10728         * BufferView_pimpl.h:
10729         * BufferView.C:
10730         * BufferView.h: rename Dispatch() to dispatch()
10731
10732         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10733
10734         * lyxlayout.C (Read): honor DependsOn tag
10735
10736         * lyxlayout.[Ch] (depends_on): new method
10737
10738         * version.C.in: update lyx_docversion
10739
10740         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10741
10742         * paragraph.C (validate): remove from here...
10743         * paragraph_pimpl.C (validate): ... and move here
10744         (isTextAt): make it const
10745
10746         * buffer.C (getLists): ws cleanup
10747
10748 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10749
10750         * language.C (read): Use iso8859-1 encoding in latex_lang
10751         (this prevents LyX from crashing when using iso10646-1 encoding).
10752
10753 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * text2.C (toggleInset): if cursor is inside an inset, close the
10756         inset and leave cursor _after_ it
10757
10758 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * lyxfunc.C: move minibuffer completion handling out of here
10761
10762 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * BufferView_pimpl.C:
10765         * LaTeX.C: fix dispatch calls
10766
10767 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * text.C (drawChars): Fix Arabic text rendering.
10770
10771 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * LyXAction.C:
10774         * commandtags.h:
10775         * lyxfunc.C: remove message-push/pop
10776
10777         * lyxserver.C:
10778         * lyxfunc.h:
10779         * lyxfunc.C: rationalise some code by removing verboseDispatch
10780           in favour of a bool argument to dispatch()
10781
10782 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * lyx_main.C (init): make sure to read symlinks as absolute paths
10785
10786 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * lyxfunc.h:
10789         * lyxfunc.C: no need for commandshortcut to be a member
10790
10791 2002-07-15  André Pönitz <poenitz@gmx.net>
10792
10793         * converter.C: add support for $$s (scripts from lib/scripts dir)
10794         * lyx_main.C: white space
10795
10796 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * bufferlist.C:
10799         * lyxrc.h:
10800         * lyxrc.C: remove second exit confirmation
10801
10802 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * BufferView.h:
10805         * BufferView.C:
10806         * BufferView2.C:
10807         * BufferView_pimpl.h:
10808         * BufferView_pimpl.C:
10809         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10810
10811 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * MenuBackend.C (expand): add numeric shortcuts to document menu
10814
10815         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10816
10817 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * lyxfont.C (setLyXFamily):
10820         (setLyXSeries):
10821         (setLyXShape):
10822         (setLyXSize):
10823         (setLyXMisc):
10824         (lyxRead):
10825         * debug.C (value):
10826         * buffer.C (asciiParagraph): use ascii_lowercase
10827
10828 2002-07-15  Mike Fabian  <mfabian@suse.de>
10829
10830         * lyxlex_pimpl.C (search_kw):
10831         * lyxlex.C (getLongString):
10832         * converter.h (operator<):
10833         * converter.C (operator<):
10834         * buffer.C (parseSingleLyXformat2Token):
10835         (asciiParagraph):
10836         * ToolbarDefaults.C (read):
10837         * MenuBackend.C (checkShortcuts):
10838         (read):
10839         * LColor.C (getFromGUIName):
10840         (getFromLyXName): use the compare_ascii_no_case instead of
10841         compare_no_case, because in turkish, 'i' is not the lowercase
10842         version of 'I', and thus turkish locale breaks parsing of tags.
10843
10844 2002-07-16  Angus Leeming  <leeming@lyx.org>
10845
10846         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10847         now takes a Buffer const & argument.
10848
10849 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * BufferView.C (resize): check there's a buffer to resize
10852
10853 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyxfunc.C: remove dead code
10856
10857         * lyxserver.h:
10858         * lyxserver.C: use lyx_guii::set_read_callback
10859
10860 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10861
10862         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10863         an inset in a RTL paragraph.
10864
10865 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * lyxfunc.C: repaint after a font size update
10868
10869 2002-07-15  André Pönitz <poenitz@gmx.net>
10870
10871         * lyxlength.C: inBP should be able to return negative values
10872
10873 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * lyxfunc.C: use lyx_gui::update_fonts()
10876
10877 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyxfunc.C: use lyx_gui::update_color()
10880
10881 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * bufferlist.C:
10884         * lyxfunc.h:
10885         * lyxfunc.C:
10886         * lyxrc.h:
10887         * lyxrc.C: remove file->new asks for name option, and let
10888           buffer-new take an argument
10889
10890 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10891
10892         * BufferView_pimpl.C: remove unneeded extra repaint()
10893
10894 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * LyXAction.C: allow command-sequence with NoBuffer
10897
10898         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10899
10900 2002-07-10  Angus Leeming  <leeming@lyx.org>
10901
10902         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10903
10904 2002-07-09  Angus Leeming  <leeming@lyx.org>
10905
10906         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10907
10908 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * lengthcommon.h: whitespace
10911
10912         * lyxfunc.C: update scrollbar after goto paragraph
10913
10914         * lyxtext.h: factor out page break drawing, and fix it so
10915           page break/added space paints as selected nicely
10916
10917 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * BufferView_pimpl.C: add FIXMEs, clean up a little
10920
10921 2002-07-09  André Pönitz <poenitz@gmx.net>
10922
10923         * lyxfont.[Ch]: support for wasy symbols
10924
10925 2002-07-08  André Pönitz <poenitz@gmx.net>
10926
10927         * BufferView_pimpl.C: apply John's patch for #93.
10928
10929 2002-07-05  Angus Leeming  <leeming@lyx.org>
10930
10931         * BufferView_pimpl.C (buffer): generate previews if desired.
10932
10933         * LColor.h: add "preview" to the color enum.
10934
10935         * LColor.C (LColor): add a corresponding entry to the items array.
10936
10937         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10938         with this buffer.
10939
10940 2002-07-05  Angus Leeming  <leeming@lyx.org>
10941
10942         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10943         The body of the code is now in the method that is passed an ostream &
10944         rather than a file name.
10945         Pass an additional only_preamble parameter, useful for the forthcoming
10946         preview stuff.
10947
10948 2002-07-03  André Pönitz <poenitz@gmx.net>
10949
10950         * lyxfunc.C: simplify getStatus() a bit for math stuff
10951
10952 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10955
10956 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * text.C (changeRegionCase): do not change case of all the
10959         document when region ends at paragraph end (bug #461)
10960
10961 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * paragraph.C (startTeXParParams):
10964         (endTeXParParams): add \protect when necessary
10965
10966 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * BufferView_pimpl.C (workAreaExpose): remove warning
10969
10970 2002-06-27  Angus Leeming  <leeming@lyx.org>
10971
10972         * Makefile.am: add lyxlayout_ptr_fwd.h.
10973
10974 2002-06-26  André Pönitz <poenitz@gmx.net>
10975
10976         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10977
10978 2002-06-25  Angus Leeming  <leeming@lyx.org>
10979
10980         * lyxfunc.C (dispatch): Comment out the call to
10981         grfx::GCache::changeDisplay. The method no longer exists now that the
10982         pixmap generation part of the graphics loader has been moved into
10983         InsetGraphics.
10984
10985 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * text2.C: layout as layout
10988
10989         * text.C: layout as layout
10990
10991         * tabular.C (OldFormatRead): layout as layout
10992
10993         * paragraph_pimpl.C (TeXDeeper): layout as layout
10994         (realizeFont): layout as layout
10995
10996         * paragraph.C (writeFile): layout as layout
10997         (validate): layout as layout
10998         (getFont): layout as layout
10999         (getLabelFont): layout as layout
11000         (getLayoutFont): layout as layout
11001         (breakParagraph): layout as layout
11002         (stripLeadingSpaces): layout as layout
11003         (getEndLabel): layout as layout
11004         (getMaxDepthAfter): layout as layout
11005         (applyLayout): layout as layout
11006         (TeXOnePar): layout as layout
11007         (simpleTeXOnePar): layout as layout
11008         (TeXEnvironment): layout as layout
11009         (layout): layout as layout
11010         (layout): layout as layout
11011
11012         * lyxtextclass.C (compare_name): new functor to work with
11013         shared_ptr, layout as layout
11014         (Read): layout as layout
11015         (hasLayout): layout as layout
11016         (operator): layout as layout
11017         (delete_layout): layout as layout
11018         (defaultLayout): layout as layout
11019
11020         * lyxlayout_ptr_fwd.h: new file
11021
11022         * lyxlayout.C (Read): layout as layout
11023
11024         * lyx_cb.C (MenuInsertLabel): layout as layout
11025
11026         * bufferlist.C (newFile): layout as layout
11027
11028         * buffer.C (readLyXformat2): layout as layout
11029         (parseSingleLyXformat2Token): layout as layout
11030         (insertStringAsLines): layout as layout
11031         (asciiParagraph): layout as layout
11032         (latexParagraphs): layout as layout
11033         (makeLinuxDocFile): layout as layout
11034         (simpleLinuxDocOnePar): layout as layout
11035         (makeDocBookFile): layout as layout
11036         (simpleDocBookOnePar): layout as layout
11037         (getLists): layout as layout
11038
11039         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11040
11041         * CutAndPaste.C (cutSelection): layout as layout
11042         (pasteSelection): layout as layout
11043         (SwitchLayoutsBetweenClasses): layout as layout
11044
11045         * BufferView_pimpl.C (Dispatch): layout as layout
11046         (smartQuote): layout as layout
11047
11048         * BufferView2.C (unlockInset): layout as layout
11049
11050 2002-06-24  André Pönitz <poenitz@gmx.net>
11051
11052         * lyxfunc.C: fix #487
11053
11054 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * lyxrc.h:
11057         * lyxrc.C:
11058         * lyxfunc.C: remove display_shortcuts, show_banner
11059
11060 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * Buffer_pimpl.C: oops, update on resize
11063
11064 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * buffer.C:
11067         * converter.C:
11068         * exporter.C:
11069         * lyxfunc.C:
11070         * BufferView.h:
11071         * BufferView.C: use repaint()
11072
11073         * BufferView_pimpl.h:
11074         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11075           as it's a clearer description. Remove superfluous
11076           redraws.
11077
11078 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * text.C: fix bug 488. Not ideal, but getting
11081           getWord() to work properly for the insets that
11082           matter is more difficult ...
11083
11084 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * BufferView_pimpl.C:
11087         * LyXAction.C:
11088         * commandtags.h:
11089         * lyxfunc.C: remove the six million index lyxfuncs to just
11090           one, and DTRT (bug 458)
11091
11092 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * BufferView.h:
11095         * BufferView.C:
11096         * BufferView_pimpl.h:
11097         * BufferView_pimpl.C: clean up resize() stuff,
11098           and unnecessary updateScreen()s
11099
11100 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * BufferView.h:
11103         * BufferView.C:
11104         * BufferView_pimpl.h:
11105         * BufferView_pimpl.C:
11106         * lyxfind.h:
11107         * lyxfind.C:
11108         * minibuffer.C: remove focus management of workarea,
11109           not needed. Use screen's greyOut()
11110
11111 2002-06-17  Herbert Voss  <voss@lyx.org>
11112
11113         * converter.C: (convert) do not post a message, when converting
11114         fails, let the calling function decide what to do in this case
11115
11116 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * lyxfunc.C: tidy up a little
11119
11120 2002-06-16    <alstrup@diku.dk>
11121
11122         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11123         Got rid of FORMS_H_LOCATION include. Now we are
11124         GUII.
11125
11126 2002-06-15  LyX Development team  <lyx@rilke>
11127
11128         * buffer.[Ch] (sgmlOpenTag):
11129         (sgmlCloseTag): Added support for avoiding pernicious mixed
11130         content. Return number of lines written.
11131
11132         (makeLinuxDocFile):
11133         (makeDocBookFile): Fixed calls to sgml*Tag.
11134         Simple white space clean.
11135
11136         (simpleDocBookOnePar): Simple white space clean.
11137
11138         * tabular.[Ch] (docBook): Renamed to docbook and got another
11139         argument to related with the pernicious mixed content.
11140
11141         (docbookRow): Fixed calls for docbook inset method.
11142
11143 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11144
11145         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11146         so it's X11 independent.
11147
11148         * kb*.[Ch]: ditto.
11149
11150         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11151
11152 2002-06-15  Lyx Development team  <lyx@electronia>
11153
11154         * intl.h: Renamed getTrans to getTransManager.
11155
11156 2002-06-14  Angus Leeming  <leeming@lyx.org>
11157
11158         * Makefile.am: nuke forgotten stl_string_fwd.h.
11159
11160 2002-06-12  Angus Leeming  <leeming@lyx.org>
11161
11162         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11163
11164 2002-06-13  Angus Leeming  <leeming@lyx.org>
11165
11166         * LaTeX.C:
11167         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11168
11169 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11170
11171         * kbmap.C (getiso): add support for cyrillic and greek
11172
11173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * BufferView.h:
11176         * BufferView.C:
11177         * BufferView_pimpl.h:
11178         * BufferView_pimpl.C: move bogus scrolling logic
11179           to xforms
11180
11181 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * lyxfunc.C:
11184         * BufferView_pimpl.C: view->resize() change
11185
11186 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * BufferView_pimpl.C: topCursorVisible
11189           prototype change
11190
11191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * Makefile.am:
11194         * lyx_gui.h:
11195         * lyx_gui.C: move to frontends/
11196
11197         * main.C:
11198         * lyx_main.h:
11199         * lyx_main.C: changes from above
11200
11201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * intl.C:
11204         * intl.h:
11205         * kbmap.C:
11206         * kbsequence.C:
11207         * lyx_cb.C:
11208         * lyx_main.C: minor tidy
11209
11210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * BufferView_pimpl.h:
11213         * BufferView_pimpl.C:
11214         * BufferView.h:
11215         * BufferView.C: make painter() const,
11216           remove dead code
11217
11218         * BufferView2.C: use screen() accessor
11219
11220         * lyx_main.h:
11221         * lyx_main.C: some minor cleanup
11222
11223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * BufferView_pimpl.h:
11226         * BufferView_pimpl.C: remove enter/leaveView,
11227           use workHeight()
11228
11229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * BufferView.h:
11232         * BufferView.C:
11233         * BufferView2.C:
11234         * BufferView_pimpl.h:
11235         * BufferView_pimpl.C: only construct screen once,
11236           rename
11237
11238         * lyxrc.C: remove pointless comment
11239
11240 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * BufferView.h:
11243         * BufferView.C: remove active() and belowMouse()
11244
11245         * BufferView_pimpl.h:
11246         * BufferView_pimpl.C: use workarea() not workarea_,
11247           and make it use a scoped_ptr instead
11248
11249 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * lyx_gui.C: add debug message on BadWindow
11252
11253 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11254
11255         * sp_spell.C: fdopen is not part of the C++ standard.
11256
11257         * paragraph.C (InsetIterator): use >= instead of ==
11258
11259 2002-06-07  Angus Leeming  <leeming@lyx.org>
11260
11261         Fixes needed to compile with Compaq cxx 6.5.
11262         * BufferView_pimpl.C:
11263         * DepTable.C:
11264         * buffer.C:
11265         * converter.C:
11266         * encoding.C:
11267         * lyx_gui.C:
11268         * lyx_main.C:
11269         * lyxtextclasslist.C:
11270         * minibuffer.C:
11271         * sp_spell.C:
11272         * tabular_funcs.C:
11273         * vc-backend.C:
11274         all c-library variables have been moved into namespace std. Wrap
11275         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11276
11277         * lyxlength.C:
11278         * tabular-old.C:
11279         * tabular.C:
11280         Add a using std::abs declaration.
11281
11282         * kbmap.h (modifier_pair):
11283         * paragraph.h (InsetTable, InsetList):
11284         * lyxfont.h (FontBits):
11285         type definition made public.
11286
11287         * bufferlist.C (emergencyWriteAll): the compiler complains that
11288         there is more than one possible lyx::class_fun template to choose from.
11289         I re-named the void specialisation as lyx::void_class_fun.
11290
11291         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11292
11293         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11294         the compiler is is unable to find tostr in write_attribute.
11295
11296 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * buffer.C (sgmlError): hide #warning
11299
11300 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * xtl/*: get rid of xtl, which is not in use anyway
11303
11304         * LyXAction.C (init):
11305         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11306         were unimplemented xtl experimentation
11307
11308 2002-06-04  André Pönitz <poenitz@gmx.net>
11309
11310         * lyxfunc.C: disable array operation on simple formulae
11311
11312 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * converter.C: constify a bit
11315
11316 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * lyx_gui.C: check xforms version correctly
11319
11320 2002-04-30  Herbert Voss  <voss@lyx.org>
11321
11322         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11323         "keep" option
11324
11325 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11328           attempt to register it with a VCS)
11329
11330 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * lyx_main.C (init): honor variables LYX_DIR_13x and
11333         LYX_USERDIR_13x
11334
11335 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * buffer.h:
11338         * buffer.C:
11339         * lyx_main.C: fix a crash on bad command line,
11340           and give a useful exit status on error
11341
11342         * lyxfunc.C (doImport): allow -i lyx to work
11343
11344 2002-03-30  André Pönitz <poenitz@gmx.net>
11345
11346         * lyxfunc.C: mathed font changes
11347
11348 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * LaTeX.C:
11351         * importer.h:
11352         * importer.C:
11353         * lyx_sty.h:
11354         * lyx_sty.C:
11355         * lyxlex.C:
11356         * lyxrow.h:
11357         * lyxtext.h:
11358         * paragraph.h:
11359         * paragraph.C:
11360         * texrow.h:
11361         * texrow.C:
11362         * text.C:
11363         * trans_mgr.h: srcdocs, and some minor cleanups
11364
11365 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11368         call getFont all the time)
11369
11370 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * switch from SigC signals to boost::signals
11373
11374 2002-05-29  André Pönitz <poenitz@gmx.net>
11375
11376         * paragraph_pimpl.C (getChar): don't call size() too often...
11377
11378 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * paragraph_pimpl.C (insertChar): do not try to update tables when
11381         appending (pos == size())
11382
11383         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11384         in order to reduce drastically the number of comparisons needed to
11385         parse a large document
11386
11387 2002-05-29  André Pönitz <poenitz@gmx.net>
11388
11389         * text.C:
11390         * text2.C:
11391         * lyxtextclass.C:
11392         * sp_pspell.h:
11393         * textclasslist.[Ch]:
11394         * sp_ispell.h: whitespace change
11395
11396 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11399         lyxaction directly now.
11400
11401 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * trans.C:
11404         * lyxfont.C:
11405         * lyxvc.C: remove unused headers
11406
11407 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * Makefile.am:
11410         * buffer.h:
11411         * undostack.h:
11412         * undostack.C:
11413         * undo_funcs.h:
11414         * undo_funcs.C: some cleanups. Use shared_ptr
11415           and a template for the undo stacks.
11416
11417 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * BufferView_pimpl.h:
11420         * BufferView_pimpl.C:
11421         * kbmap.h:
11422         * kbmap.C:
11423         * kbsequence.h:
11424         * kbsequence.C:
11425         * lyxfunc.h:
11426         * lyxfunc.C:
11427         * text2.C: use key_state/mouse_state
11428
11429 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11432         and LSubstring
11433
11434         * chset.C: change include order
11435         (loadFile): use boost regex and get rid of LRegex and LSubstring
11436
11437         * Makefile.am (BOOST_LIBS): new variable
11438         (lyx_LDADD): use it
11439
11440         * LaTeX.C: change include order.
11441         (scanAuxFile): use boost regex and get rid of LRegex and
11442         LSubstring
11443         (deplog): ditto
11444
11445 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * ColorHandler.h:
11448         * ColorHandler.C:
11449         * FontInfo.h:
11450         * FontInfo.C: moved to frontends/xforms/
11451
11452         * FontLoader.h:
11453         * FontLoader.C: moved into frontends for GUIIzation
11454
11455         * Makefile.am:
11456         * lyx_gui.C:
11457         * lyxfont.C:
11458         * lyxfunc.C: changes from above
11459
11460 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * LColor.C: remove spurious X include
11463
11464         * BufferView_pimpl.C:
11465         * Makefile.am:
11466         * font.h:
11467         * font.C:
11468         * text.C:
11469         * text2.C: move font metrics to frontends/
11470
11471 2002-05-24  Juergen Vigna  <jug@sad.it>
11472
11473         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11474         setting the undo_cursor.
11475
11476         * ParagraphParameters.h: include local includes first.
11477
11478 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * BufferView_pimpl.C:
11481         * BufferView_pimpl.h:
11482         * Makefile.am:
11483         * WorkArea.h:
11484         * WorkArea.C:
11485         * screen.C: move WorkArea into frontends/
11486
11487         * lyxscreen.h:
11488         * screen.C:
11489         * text.C:
11490         * BufferView.C:
11491         * BufferView2.C: move LyXScreen into frontends/
11492
11493         * lyxlookup.h:
11494         * lyxlookup.C:
11495         * lyx_gui.C: move lyxlookup into frontends/xforms/
11496
11497 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * BufferView2.C:
11500         * BufferView_pimpl.C:
11501         * FontLoader.C:
11502         * LyXView.h:
11503         * LyXView.C:
11504         * Makefile.am:
11505         * WorkArea.C:
11506         * XFormsView.h:
11507         * XFormsView.C:
11508         * buffer.C:
11509         * bufferlist.C:
11510         * bufferview_funcs.C:
11511         * converter.C:
11512         * importer.C:
11513         * lyx_cb.C:
11514         * lyx_gui.C:
11515         * lyx_main.C:
11516         * lyx_find.C:
11517         * lyxfunc.C:
11518         * lyxvc.C:
11519         * minibuffer.C:
11520         * text.C:
11521         * text2.C:
11522         * trans.C:
11523         * vc-backend.C: move LyX/XFormsView into frontends/
11524
11525 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * Makefile.am:
11528         * PainterBase.C:
11529         * PainterBase.h:
11530         * Painter.C:
11531         * Painter.h:
11532         * WorkArea.C:
11533         * WorkArea.h:
11534         * screen.C:
11535         * tabular.C:
11536         * text.C:
11537         * text2.C: move Painter to frontends/
11538
11539 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * buffer.C: comment out some some code that depend upon lyx_format
11542         < 220
11543
11544         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11545         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11546
11547         * buffer.h (NO_COMPABILITY): turn off compability
11548
11549         * ColorHandler.C: include scoped_array.hpp
11550
11551         * font.C: Use more specific smart_ptr header.
11552         * Painter.C: ditto
11553         * gettext.C: ditto
11554         * ShareContainer.h: ditto
11555         * lyx_main.h: ditto
11556         * kbmap.h: ditto
11557         * FontInfo.h: ditto
11558         * BufferView_pimpl.h: ditto
11559         * ColorHandler.h: ditto
11560
11561         * kbmap.C (defkey): change call to shared_ptr::reset
11562
11563 2002-05-21  Juergen Vigna  <jug@sad.it>
11564
11565         * buffer.C (insertErtContents): fix to insert ert asis if it is
11566         non empty. Skip it completely if it contains only whitespaces.
11567
11568 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * BufferView_pimpl.C:
11571         * BufferView2.C: clear selection on paste (bug 393)
11572
11573 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * DepTable.C: include ctime
11576
11577 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11578
11579         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11580
11581 2002-05-14  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C (breakParagraph): fixed function to honor the keepempty
11584         layout in the right maner and also to permit the right breaking
11585         algorithm on empty or non empyt keepempty paragraphs.
11586
11587         * paragraph.C (breakParagraph): we have to check also if the par
11588         is really empty (!size()) for isempty otherwise we do the wrong
11589         paragraph break.
11590
11591 2002-05-10  Juergen Vigna  <jug@sad.it>
11592
11593         * buffer.[Ch] : The following are only changes to the ert
11594         compatibility read reading old LaTeX layout and font stuff and
11595         convert it to ERTInsets.
11596
11597         * buffer.h: added isErtInset().
11598
11599         * buffer.C (struct ErtComp): add a fromlayout bool to check
11600         if we're inside a LaTeX layout.
11601         (isErtInset): new helper function.
11602         (insertErtContents): look for other ert insets before this one
11603         and insert the contents there, so that we don't have subsequent
11604         ERT insets with nothing between them. This way we create only one
11605         inset with multiple paragraphs. Also check if we don't insert only
11606         spaces ' ' as they are ignored anyway afterwards in the .tex file
11607         so if we have only spaces we will ignore this latex part in the
11608         new file.
11609         (parseSingleLyXformat2Token \\layout): better compatibility when
11610         reading layout-latex stuff.
11611         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11612         language tag.
11613         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11614         stuff after reading the inset only get the information back from
11615         the stack.
11616
11617 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11620
11621         * LaTeXFeatures.C (getBabelOptions): New method.
11622
11623 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * BufferView_pimpl.C (Dispatch): work around missing argument for
11626         'layout'
11627
11628 2002-05-08  Juergen Vigna  <jug@sad.it>
11629
11630         * text.C (leftMargin): handle paragraph leftindent.
11631
11632         * paragraph.C (writeFile): write the new \\leftindent tag.
11633         (validate): handle leftindent code.
11634         (TeXEnvironment): handle paragraphleftindent code again.
11635
11636         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11637
11638         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11639         for paragrap_extra indent code and new token \\leftindent.
11640         (latexParagraphs): handle the leftindent as environment.
11641
11642         * ParameterStruct.h: added leftindent support.
11643
11644         * ParagraphParameters.C (leftIndent): added support functions for
11645         the paragraph left indent.
11646
11647         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11648         more appropriate.
11649
11650 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11651
11652         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11653         inside insetERT.
11654
11655         * text.C (computeBidiTables): No bidi in insetERT.
11656
11657         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11658         in RTL documents.
11659
11660 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * version.C.in: pre 5
11663
11664 2002-05-02  José Matos  <jamatos@fep.up.pt>
11665         * buffer.C (makeDocBookFile): white space changes, add newline to
11666         command styles.
11667         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11668
11669         * tabular.C (docBook): fix typo.
11670
11671 2002-05-03  Juergen Vigna  <jug@sad.it>
11672
11673         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11674         change in LyXText as we can not be sure it was not freed.
11675         (drawOneRow): remove unused code.
11676
11677         * text.C (drawInset): redo the calculation of the need_break_row as
11678         it could have a row which was already freed.
11679         (draw): look at the return value of drawInset and return false if
11680         it also returned false.
11681         (paintRowText): look at the return value of draw and return false if
11682         it also returned false.
11683
11684         * lyxtext.h: added bool return type to drawInset() and draw() so that
11685         if we have a change in the row so that the rowbreak has to be redone
11686         we abort drawing as it will be called again.
11687
11688 2002-05-02  Juergen Vigna  <jug@sad.it>
11689
11690         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11691         a change in the maintext also if we're inside an inset.
11692         (Dispatch): set the cursor again after a break line and after the
11693         screen has been updated as it could be we're in a different row.
11694
11695         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11696         to set the cursor behind the pargraph with > size().
11697         (setCursor): check also for the same paragraph when checking where
11698         to put the cursor if we have a NFR inset.
11699
11700         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11701         parts of layout read further up as it still was in the wrong
11702         position.
11703
11704 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * screen.C (drawFromTo): change sine fullRebreak always return
11707         true.
11708
11709         * buffer.C (parseSingleLyXformat2Token): reindent some
11710
11711         * BufferView_pimpl.C (update): change since fullRebreak always
11712         return true.
11713         (Dispatch): git rid of the last hardcoded "Standard"s.
11714
11715 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * text2.[Ch] (fullRebreak): make it return void now that we always
11718         returned true.
11719
11720 2002-04-30  Juergen Vigna  <jug@sad.it>
11721
11722         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11723         ert compatibility check for "latex" layout.
11724
11725 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11726
11727         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11728         minipages: use col% instead of p%, and also use the current font.
11729         (makeLaTeXFile): Fix use babel condition.
11730         (parseSingleLyXformat2Token): Correct font when reading old floats.
11731
11732 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11733
11734         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11735         inserting list of floats.
11736
11737 2002-04-25  Herbert Voss  <voss@lyx.org>
11738
11739         * MenuBackend.C (expand): don't add the graphics extensions to the
11740         export menu
11741
11742 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11743
11744         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11745         non-existing layout, do not complain if it was the default layout
11746         of the original class (bug #342)
11747
11748 2002-04-24  Juergen Vigna  <jug@sad.it>
11749
11750         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11751         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11752
11753 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11754
11755         * buffer.C (getBibkeyList): If using \bibliography, return the
11756         option field with the reference itself. Enables us to provide natbib
11757         support when using \bibliography.
11758
11759 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11760
11761         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11762
11763         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11764         natbib is provided by the LaTeX class.
11765
11766 2002-04-23  Juergen Vigna  <jug@sad.it>
11767
11768         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11769         Wakeup functions.
11770
11771         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11772
11773 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11776
11777         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11778         ensuremath around textordmasculine, textordfeminine and
11779         textdegree.
11780
11781 2002-04-19  Juergen Vigna  <jug@sad.it>
11782
11783         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11784         reinitializing the buffer otherwise row-dimensions may be wrong.
11785         (update): reset also the selection cursors if they do exits otherwise
11786         their x/y positions may be wrong.
11787
11788         * text2.C (cursorDown): don't enter the inset if we came from a row
11789         above and are one row over the inset.
11790
11791         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11792         really leaving an inset.
11793
11794 2002-04-18  Juergen Vigna  <jug@sad.it>
11795
11796         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11797         of the selected paragraph does not have the selected layout also if
11798         the last one had!
11799
11800         * text2.C (setLayout): fixed bug which did not change last selected
11801         paragraph.
11802
11803         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11804         changed the read and substituted \\end_float with \\end_inset!
11805
11806         * BufferView_pimpl.C (cursorPrevious):
11807         (cursorNext): fixed to make it work with rows heigher than the work
11808         area without moving the cursor only the draw of the row.
11809         (workAreaMotionNotify): fix jumping over high rows.
11810
11811 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11814         Ressler.
11815
11816 2002-04-16  Juergen Vigna  <jug@sad.it>
11817
11818         * text2.C (setCursor): set also the irow().
11819         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11820         (cursorUp):
11821         (cursorDown): support for locking an inset if the x_fix value goes
11822         inside it. That way I can transverse insets too with cursor up/down.
11823
11824         * lyxrow.h: added irow helper function same as other (i) functions.
11825
11826         * BufferView_pimpl.C (cursorPrevious):
11827         (cursorNext): fixed for insets!
11828
11829 2002-04-15  Juergen Vigna  <jug@sad.it>
11830
11831         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11832         position otherwise it is wrong in some cases.
11833
11834         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11835         inside the inset before the call.
11836
11837 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11838
11839         * buffer.[Ch] (getBibkeyList): make it const.
11840
11841 2002-04-12  Juergen Vigna  <jug@sad.it>
11842
11843         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11844
11845         * text2.C (getCursorX): new helper function
11846         (setCursor): compute also ix_
11847         (setCursorFromCoordinates): set also ix.
11848
11849         * lyxcursor.h: added ix_ and helper functions.
11850
11851         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11852
11853         * buffer.C (insertStringAsLines): dont break paragraph if the this
11854         paragraph is inside an inset which does not permit it!
11855
11856         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11857         also with no chars on this paragraph.
11858         (paintRowText): only paint stuff if it's inside the workarea!
11859
11860         * paragraph.C (breakParagraph): honor keepempty flag and break the
11861         paragraph always below not above.
11862
11863         * BufferView2.C (unlockInset): update the paragraph layout on inset
11864         unlock as we changed paragraph in such a case.
11865
11866         * lyxfind.C (LyXFind): clear the former selection if not found!
11867
11868         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11869         again called in insertChar().
11870
11871         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11872         an inset which uses the whole row!
11873         (rightMargin): ditto.
11874         (insertChar): force a rebreak if we inserted an inset!
11875
11876 2002-03-28  Herbert Voss  <voss@lyx.org>
11877
11878         * lyxlength.[Ch]: add inBP() to get the right PS-point
11879         units (BigPoint). With inPixels we have rounding errors
11880
11881 2002-04-11  Juergen Vigna  <jug@sad.it>
11882
11883         * text2.C (setCursorFromCoordinates): set iy to the right value.
11884         (setCursor): add check if row->previous exists!
11885
11886         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11887         an old float_type as this was the case in the old code!
11888
11889         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11890
11891         * BufferView2.C (showLockedInsetCursor): use iy
11892         (fitLockedInsetCursor): ditto
11893
11894         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11895         locked insets as there we have the right value now.
11896
11897         * lyxcursor.C: added iy_ variable and iy functions to set to the
11898         baseline of cursor-y of the locked inset.
11899
11900         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11901         (setCursor): fixed for insets which need a full row.
11902
11903         * text.C (rowLastPrintable): don't ignore the last space when before
11904         an inset which needs a full row.
11905         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11906         as last character of a row when before a inset which needs a full row.
11907
11908 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * version.C.in: update date
11911
11912         * text2.C (fullRebreak): try to always return true and see what
11913         happens...
11914
11915 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * MenuBackend.C (expand): use Floating::listName
11918
11919         * FloatList.C (FloatList): add listName argument to the built-in
11920         floats
11921
11922         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11923         text associated with the float.
11924
11925 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11928
11929 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * ShareContainer.h: add a couple of missing typenames.
11932
11933 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11934
11935         * lyxrc.C (getDescription): use _() correctly rather than N_().
11936
11937 2002-03-28  Herbert Voss  <voss@lyx.org>
11938
11939         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11940         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11941
11942 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11945         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11946
11947 2002-03-29  Juergen Vigna  <jug@sad.it>
11948
11949         * lyxfunc.C (dispatch): add a missing fitCursor call.
11950
11951         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11952         it was scrolled by a cursor move, so return the bool status.
11953
11954         * BufferView.C (fitCursor): return the bool flag also to the outside
11955         world as this is needed.
11956
11957         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11958
11959         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11960         call the edit() as it is not needed (and wrong) IMO.
11961         (workAreaButtonPress): set the screen_first variable before evt.
11962         unlock the inset as this may change screen_first and then we have
11963         a wrong y position for the click!
11964
11965 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * MenuBackend.C (expand): another translation that I missed
11968
11969 2002-03-28  Juergen Vigna  <jug@sad.it>
11970
11971         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11972
11973         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11974
11975 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11978
11979         * MenuBackend.C (expand): fix export/view/update when there is no
11980         document open.
11981
11982 2002-03-27  Herbert Voss  <voss@lyx.org>
11983
11984         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11985         and text%
11986
11987 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * bufferview_funcs.C (currentState): only show paragraph number
11990         for is DEVEL_VERSION is set.
11991
11992         * lyxfunc.C (dispatch): put warning in INFO channel
11993
11994         * MenuBackend.C (expand): translate the name of floats
11995
11996         * FloatList.C (FloatList): mark the float names for translation
11997
11998         * converter.C (convert): use LibScriptSearch
11999
12000 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * MenuBackend.C (defaults): fix default menu (we might as well get
12003         rid of it...)
12004
12005 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12008         directory.
12009
12010 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * lyxvc.C: reorder includes.
12013
12014 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12017           properly
12018
12019 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * CutAndPaste.C: change layouts earlier on paste
12022           to avoid crashing when calling getFont()
12023
12024 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12025
12026         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12027         irritating #error.
12028
12029 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * WorkArea.C: remove 'Pending' debug message.
12032
12033         * most files: ws cleanup
12034
12035         * buffer.[Ch]: ws changes
12036
12037         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12038
12039 2002-03-21  Juergen Vigna  <jug@sad.it>
12040
12041         * tabular.C (SetMultiColumn): collapse also the contents of the
12042         cells and set the last border right. Added a Buffer const * param.
12043
12044 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12047         linking or not.
12048
12049 2002-03-19  Juergen Vigna  <jug@sad.it>
12050
12051         * text2.C (clearSelection): reset also xsel_cache.
12052
12053         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12054         where it needs to be called (John tells us to do so too :)
12055         (selectionLost): reset sel_cache.
12056
12057         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12058
12059 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * text2.C (setCursorIntern): put debuging code in INSETS channel
12062
12063 2002-03-19  André Pönitz <poenitz@gmx.net>
12064
12065         * lyxfunc.C: tiny whitespace change
12066
12067 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * ToolbarDefaults.C (init):
12070         * LyXAction.C (init):
12071         * commandtags.h:
12072         * BufferView_pimpl.C (Dispatch):
12073         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12074
12075 2002-03-19  Allan Rae  <rae@lyx.org>
12076
12077         * exporter.C (Export): removeAutoInsets before doing anything else.
12078         While I've just introduced a dependency on BufferView this really is
12079         the best place to clean the buffer otherwise you need to cleanup in
12080         a dozen places before calling export or cleanup in a dozen functions
12081         that export calls.
12082
12083         * converter.C (runLaTeX):
12084         (scanLog): Better handling of removeAutoInsets and screen updates.
12085
12086         * lyxfunc.C (dispatch): small whitespace changes
12087
12088 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * WorkArea.C (C_WorkAreaEvent): return a value.
12091         (event_cb): return 1 if we handled the event, 0 otherwise.
12092
12093         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12094
12095 2002-03-18  Juergen Vigna  <jug@sad.it>
12096
12097         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12098         (GetAdditionalWidth): ditto.
12099         (RightLine): ditto.
12100         (LeftLine): ditto.
12101
12102         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12103         inset if we're there actually (probably not used right now but this
12104         is the direction to go for unifying code).
12105         (paste): disable code to clear the selection.
12106
12107         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12108         inside an InsetText and move the check further up as it is in the
12109         wrong place.
12110
12111         * text2.C (pasteSelection): set a selection over the pasted text.
12112
12113 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12114
12115         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12116         and libgraphics to build on Cygwin.
12117
12118 2002-03-15  Juergen Vigna  <jug@sad.it>
12119
12120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12121         inserting an Inset into the paragraph. I know this is not the best
12122         fix but we already use current_view in CutAndPaste so we will remove
12123         all of it's using at the same time.
12124
12125         * buffer.C (sgmlError): deactivated function till it is rewritten in
12126         the right mode, now it can create problems.
12127
12128         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12129         before accessing it.
12130
12131 2002-03-14  Juergen Vigna  <jug@sad.it>
12132
12133         * undo_funcs.C (textHandleUndo): do the right thing when updating
12134         the inset after the undo/redo.
12135
12136         * text2.C (setCursor): just some testcode for #44 not ready yet.
12137
12138         * undo_funcs.C (textHandleUndo): set the next() and previous()
12139         pointers of the paragraph to 0 before deleting otherwise we have
12140         problems with the Paragraph::[destructor].
12141
12142         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12143         on a paragraph insertion.
12144
12145 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * buffer.C (asciiParagraph): use += operator for char append to
12148         string.
12149
12150         * paragraph.C (getFontSettings): compare >= not just >
12151         (highestFontInRange): ditto
12152         (setFont): ditto
12153
12154 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * paragraph.C: change several algorithm to be more appripriate for
12157         the problem domain. This is lookip in FontList and in the InsetList.
12158
12159 2002-03-13  André Pönitz <poenitz@gmx.net>
12160
12161         * commandtags.h:
12162         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12163
12164 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * commandtags.h:
12167         * LyXAction.C:
12168         * lyxfunc.C:
12169         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12170
12171 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * Painter.C (display): anon helper function, adjust code for this
12174         change.
12175         (pixmap): remove function.
12176
12177         * Painter.h: remove private display variable.
12178
12179         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12180
12181 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12182
12183         * WorkArea.[Ch]: remove figinset_canvas cruft.
12184
12185 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * lyxtextclass.C (operator): add one item cache optimization.
12188
12189         * bufferlist.h: doxy changes
12190
12191         * bufferlist.C: ws changes
12192
12193         * DepTable.[Ch] (ext_exist): place const in the right spot.
12194
12195         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12196         call resizeInsets.
12197         (workAreaExpose): call resizeInsets when the with BufferView changes.
12198         (Dispatch): adjust for protectedBlank removal
12199         (specialChar): call updateInset if the insert went ok.
12200
12201         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12202         specialChar instead.
12203
12204         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12205
12206         * BufferView.h: doxy change
12207
12208         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12209
12210         * lyxtextclass.C (operator[]): remove non-const version
12211         (defaultLayout): remove non-const version
12212
12213 2002-03-12  Juergen Vigna  <jug@sad.it>
12214
12215         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12216         did resize the LyXText too.
12217
12218         * buffer.C (readLyXformat2): set layout information on newly allocated
12219         paragraphs.
12220
12221         * tabular.C (OldFormatRead): set layout information on the paragraph.
12222
12223 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12224
12225         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12226
12227 2002-03-11  Juergen Vigna  <jug@sad.it>
12228
12229         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12230         plainly wrong.
12231         (resizeCurrentBuffer): force also the insets to resize themselfes.
12232         (moveCursorUpdate): fixed up for InsetText.
12233
12234 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12235
12236         * commandtags.h:
12237         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12238         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12239         value of Dialogs::tooltipsEnabled().
12240         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12241
12242 2002-03-08  Juergen Vigna  <jug@sad.it>
12243
12244         * BufferView_pimpl.C (updateInset): update inset inside inset also
12245         if it isn't inside theLockingInset().
12246
12247 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12248
12249         * buffer.C (asciiParagraph): redo some of the word and line length
12250         handling.
12251         (getLists): look for Caption instead of caption.
12252
12253 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * buffer.C (Buffer): initialize niceFile to true
12256         (makeLaTeXFile):
12257         (makeLinuxDocFile):
12258         (makeDocBookFile): make sure niceFile is true on exit
12259
12260 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12261
12262         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12263
12264 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * LyXSendto.C: remove.
12267         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12268         * lyx_gui.C: remove now-redundant comment.
12269         * ColorHandler.h: remove forward declaration of class WorkArea.
12270         * lyxfunc.C: remove #include "WorkArea.h".
12271
12272 2002-03-07  Juergen Vigna  <jug@sad.it>
12273
12274         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12275         got moved away with the DEPM and also set the inset_owner always
12276         right which before could have been omitted.
12277
12278 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12281         wanted layout is not found.
12282
12283 2002-03-07  Juergen Vigna  <jug@sad.it>
12284
12285         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12286
12287 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * paragraph.C (breakParagraph): use default layout not layout of
12290         prev paragraph.
12291         (Paragraph): clear ParagraphParameters.
12292
12293 2002-03-06  Juergen Vigna  <jug@sad.it>
12294
12295         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12296         otherwise it would not be a valid lenght. Fixed a special case in
12297         the minipage compatibility read where we end the document with a
12298         minipage.
12299
12300         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12301         was set as it could be 0 for InsetTexts first entry.
12302
12303 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * paragraph.C (writeFile): if layout is empty write out
12306         defaultLayoutName().
12307
12308         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12309         file without named layout we set layout to defaultLayoutName().
12310
12311 2002-03-06  Juergen Vigna  <jug@sad.it>
12312
12313         * CutAndPaste.C (copySelection): set layout for new paragraph.
12314
12315         * text.C (prepareToPrint): leave ERT inset left aligned
12316         (leftMargin): don't indent paragraphs inside ERT insets
12317
12318 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * paragraph.C (breakParagraph): dont call clear do the work manually
12321
12322         * paragraph.[Ch] (clear): remove function
12323
12324 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * paragraph.C (Paragraph): dont call clear, the work has already
12327         been done.
12328
12329         * lyxtextclass.C (operator): assert if n is empty
12330
12331         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12332         work manually instead.
12333
12334 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * BufferView_pimpl.C: protect selectionLost against text == 0
12337
12338 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * text.C (breakParagraph): fix a setting layout to '0' problem.
12341
12342 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12343
12344         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12345         final location of file, for the included files, and graphics.
12346
12347 2002-03-05  Juergen Vigna  <jug@sad.it>
12348
12349         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12350
12351 2002-03-04  Juergen Vigna  <jug@sad.it>
12352
12353         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12354
12355         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12356         last column of multicolumn cells.
12357         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12358
12359 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12360
12361         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12362         file if it doesn't go to a temporary file.
12363
12364         * buffer.C (sgmlOpenTag):
12365         (sgmlCloseTag):  remove extra newline insertion.
12366
12367 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12368
12369         * text.C (getRowNearY): comment out debug msg
12370
12371 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * text2.C: first -> first_y
12374
12375         * text.C (getRowNearY): add some attemts at a possible
12376         optimization, not working.
12377
12378         * tabular.[Ch]: add BufferParams to several function so that newly
12379         created paragraph can be initialized to he default layotu for the
12380         buffers textclass.
12381
12382         * tabular-old.C (ReadOld): add buf->params to call of Init
12383
12384         * screen.C: rename text->first to text->first_y
12385
12386         * paragraph.C (breakParagraph): always set layout in the broken
12387         paragraph
12388
12389         * lyxtextclass.C (Read): remove lowercase
12390         (hasLayout): ditto
12391         (operator): ditto
12392         (delete_layout): ditto
12393
12394         * lyxtext.h: rename first -> first_y
12395
12396         * lyxlayout.C (Read): remove lowercase
12397         (name): ditto
12398         (setName): ditto
12399         (obsoleted_by): ditto
12400
12401         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12402
12403         * buffer.C (insertErtContents): add params are to InsetERT
12404         (parseSingleLyXformat2Token): add code to check if a paragraphs
12405         layout really exist.
12406         (parseSingleLyXformat2Token): add params to several inset
12407         constructors
12408         (asciiParagraph): remove lowercase, do the layout comparisons with
12409         no_case
12410
12411         * BufferView_pimpl.C (cursorNext): first -> first_y
12412         (resizeCurrentBuffer): first -> first_y
12413         (updateScrollbar): first -> first_y
12414         (scrollCB): first -> first_y
12415         (workAreaMotionNotify): first -> first_y
12416         (workAreaButtonPress): first -> first_y
12417         (checkInsetHit): first -> first_y
12418         (cursorPrevious): first -> first_y
12419         (cursorNext): first -> first_y
12420         (Dispatch): add buffer_->params to severl inset contructors
12421
12422 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * lyxlayout.C (Read): remove some debug info that I forgot.
12425
12426         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12427         clean up the code slightly.
12428         (makeLinuxDocFile): ditto
12429         (makeDocBookFile): ditto
12430
12431         * text2.C: layout as string
12432
12433         * text.C: layout as string
12434
12435         * paragraph_pimpl.C: layout as string
12436
12437         * paragraph.[Ch]: layout as string
12438
12439         * lyxtextclasslist.[Ch]: layout as string
12440
12441         * lyxtextclass.[Ch]: layout as string
12442
12443         * lyxtext.h: layout as string
12444
12445         * lyxlayout.[Ch]: layout as string
12446
12447         * lyx_cb.C: layout as string
12448
12449         * bufferview_funcs.C: layout as string
12450
12451         * bufferparams.C: layout as string
12452
12453         * buffer.C: layout as string
12454
12455         * LyXView.[Ch]: layout as string
12456
12457         * LaTeXFeatures.[Ch]: layout as string
12458
12459         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12460
12461         * BufferView_pimpl.C: change current_layout to string, remove
12462         lyx::layout_type.
12463         (Dispatch):
12464         (smartQuote):
12465         (insertInset):
12466         (workAreaButtonRelease): layout as string
12467
12468         * BufferView2.C (unlockInset): adjust
12469
12470         * vspace.C (asLatexCommand): use an explict temp variable.
12471
12472 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * Makefile.am: use FRONTEND_*
12475
12476 2002-03-01  Juergen Vigna  <jug@sad.it>
12477
12478         * tabular.C (SetWidthOfMulticolCell): changed to something better
12479         I hope but still work in progress.
12480         (recalculateMulticolumnsOfColumn): renamed function from
12481         recalculateMulticolCells as it is more appropriate now.
12482         (SetWidthOfCell): calculate multicols better.
12483
12484 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12485
12486         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12487
12488         * lyxfunc.C (processKeySym): print sequence also if it is
12489         `deleted' (complete)
12490
12491         * kbsequence.C (print): print sequence even if it is deleted
12492         (complete would be a better word, actually).
12493
12494         * lyxfunc.C (dispatch): print complete options after a prefix key
12495
12496         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12497
12498 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12499
12500         * text2.C (setCharFont): eliminate setCharFont code duplication.
12501
12502 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12505         LFUN_TABULAR_FEATURE (bug #177)
12506
12507 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * Makefile.am: remove figure.h
12510
12511 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * Bufferview_pimpl.C:
12514         * CutAndPasteC:
12515         * LaTeX.C:
12516         * LyXSendto.C:
12517         * buffer.C:
12518         * bufferlist.C:
12519         * converter.C:
12520         * language.C:
12521         * lyxfunc.C:
12522         * lyxvc.C:
12523         * paragraph.C:
12524         * text.C:
12525         * text2.C: remove #include "lyx_gui_misc.h".
12526
12527         * LaTeX.C: added #include <cstdio>
12528
12529 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12532         that the paragraph following this one can have.
12533
12534         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12535
12536         * vspace.C (asLatexCommand): fix bogus gcc warning
12537
12538         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12539
12540 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12541
12542         * text2.C (setLayout): get rid of redundant code
12543
12544 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12545
12546         * text2.C (incDepth): make sure depth cannot be increased beyond
12547         reasonable values.
12548
12549 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12552         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12553
12554         * PainterBase.h (image):
12555         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12556         a LyXImage const *.
12557
12558 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView.C:
12561         * BufferView.h:
12562         * BufferView_pimpl.C:
12563         * BufferView_pimpl.h:
12564         * LaTeXFeatures.C:
12565         * LyXAction.C:
12566         * LyXView.C:
12567         * Makefile.am:
12568         * UpdateList.h:
12569         * UpdateList.C:
12570         * buffer.C:
12571         * figure.h:
12572         * figureForm.C:
12573         * figureForm.h:
12574         * figure_form.C:
12575         * figure_form.h:
12576         * lyx_cb.C:
12577         * lyx_gui.C:
12578         * lyx_gui_misc.C:
12579         * lyxfunc.C:
12580         * sp_base.h:
12581         * sp_ispell.h:
12582         * sp_pspell.h:
12583         * sp_spell.C: remove fig inset, and the crap house of
12584           cards that follows it
12585
12586 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * Makefile.am:
12589         * lyxserver.C:
12590         * os2_defines.h:
12591         * os2_errortable.h:
12592         * nt_defines.h: move .h into support/
12593
12594         * vms_defines.h: remove
12595
12596         * WorkArea.C: add space in debug output
12597
12598         * text2.C:
12599         * paragraph.C:
12600         * buffer.C: add WITH_WARNINGS
12601
12602         * vc-backend.h:
12603         * vc-backend.C:
12604         * bufferlist.C: s/retrive/retrieve/, add docs
12605
12606         * vspace.h:
12607         * vspace.C:
12608         * kbmap.h:
12609         * lyxlength.h:
12610         * lyxgluelength.h:
12611         * length_common.h:
12612         * chset.h:
12613         * chset.C: add docs
12614
12615         * lyxgui.C: add ID to X error handler
12616
12617         * lyxtestclass.c: fix typo
12618
12619 2002-02-26  Juergen Vigna  <jug@sad.it>
12620
12621         * tabular_funcs.C (write_attribute): changed so that some default
12622         attributes are not written at all.
12623         (getTokenValue): set default values before trying to read the
12624         value so we have the return value always set as default if we don't
12625         find the token we search for.
12626
12627         * tabular.C (Write): write bools as bools not as strings!
12628
12629 2002-02-22  Juergen Vigna  <jug@sad.it>
12630
12631         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12632         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12633
12634         * text.C (leftMargin): don't add an indent for paragraphs inside
12635         tabular cells (fix #208).
12636
12637 2002-02-21  José Matos  <jamatos@fep.up.pt>
12638
12639         * tabular.C (docBook): fixed support for long tables.
12640
12641 2002-02-20  Juergen Vigna  <jug@sad.it>
12642
12643         * text2.C (getFont): get the drawing font of the Inset if this
12644         paragraph is inside an inset (only important for InsetERT for now).
12645
12646         * buffer.C (insertErtContents): use new lanugage params in ERT
12647         constructor.
12648
12649         * CutAndPaste.C: commenting out seemingly uneeded code.
12650
12651 2002-02-19  Allan Rae  <rae@lyx.org>
12652
12653         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12654         Iterators might be simple to use but they also get invalidated.
12655         (removeAutoInsets): renamed saved cursor tracking variables and added
12656         some comments to clarify what everything does.
12657
12658 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12659
12660         * Chktex.C:
12661         * LaTeX.C:
12662         * LyXSendto.C:
12663         * converter.C:
12664         * lyx_cb.C:
12665         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12666         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12667
12668         * lyxfunc.C:
12669         * vc-backend.h: remove #include "support/syscall.h"
12670
12671         * LaTeX.C:
12672         * LyXSendto.C:
12673         * converter.C: rearrange #includes in Lars' approved fashion.
12674
12675         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12676         forward declare class Timeout in the header file.
12677
12678         * XFormsView.C: changes due to the above.
12679
12680         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12681         similar to LyXView.
12682
12683         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12684         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12685
12686 2002-02-18  José Matos  <jamatos@fep.up.pt>
12687
12688         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12689         insets contents.
12690
12691 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12692
12693         * a lot of small ws changes
12694         * add a lot of using std::XXX
12695         * use std construcs some places where approp.
12696         * use some exisint stuff from lyxfunctional where approp.
12697         * Make file changes to use partial linking (lets test this now...)
12698
12699 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * Chktex.C:
12702         * buffer.C:
12703         remove #include "support/syscontr.h" as it's redundant. Always has been.
12704
12705         * Chktex.C:
12706         * LaTeX.C:
12707         * LyXSendto.C:
12708         * converter.C:
12709         * lyx_cb.C:
12710         * vc-backend.C:
12711         change Systemcalls::System to Systemcalls::Wait and
12712         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12713         No change of functionality, just reflects the stripped down Systemcalls
12714         class.
12715
12716 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12717
12718         * debug.[Ch]: add a GRAPHICS type to the enum.
12719
12720 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12723
12724         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12725         there is an inset.
12726
12727 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12728
12729         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12730         match the changes below.
12731
12732         * text2.C (toggleInset): if there is not editable inset at cursor
12733         position, try to see if cursor is _inside_ a collapsable inset
12734         and close it.
12735
12736 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12739         document menu has a nice checkbox
12740
12741 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * lyxlength.C (asLatexString): change PW to output as percent of
12744         \textwidth.
12745
12746         * lengthcommon.C: change '%' to 't%'
12747
12748         * lyxfunc.C (dispatch): a few comments from Martin
12749
12750 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * WorkArea.h:
12753         * WorkArea.C:
12754         * BufferView_pimpl.h:
12755         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12756           the X selection.
12757
12758 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * vspace.C (inPixels): fix compiler warning
12761
12762 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * lyxfunc.C (getStatus): fix status message for disabled commands.
12765
12766 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * BufferView_pimpl.C: fix crash on close buffer
12769         during selection (#227)
12770
12771 2002-01-27  Herbert Voss  <voss@lyx.org>
12772
12773         * buffer.C: link old Figure to new graphic inset
12774
12775 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12776
12777         * FontLoader.C (getFontinfo): Change the latex font names in order
12778         to match the names of type1inst.
12779
12780 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12783
12784         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12785         (extchanged): ditto
12786         (ext_exist): ditto
12787         (remove_files_with_extension): ditto
12788         (remove_file): ditto
12789         (write): ditto
12790
12791         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12792         document is smaller than the work area height. Do not initialize
12793         static variables to 0.
12794
12795 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12798
12799         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12800         LFUN_LAYOUT_PARAGRAPHS.
12801
12802         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12803         tabular. It is possible to provide a possible cell, which will
12804         typically be the actcell from the corresponding insettabular
12805
12806         * lyxfunc.C (getStatus): small cleanup; disable
12807         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12808         true
12809
12810 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12811
12812         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12813
12814         * paragraph.C (startTeXParParams):
12815         (endTeXParParams): new methods. The LaTeX code to
12816         start/end paragraph formatting
12817         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12818         empty (fixes bug #200)
12819
12820         * vspace.C (inPixels): adapt to the change below
12821         (inPixels): [later] more cleanups (remove unused variables)
12822
12823         * lyxlength.C (inPixels): change to use a width and a height as
12824         parameter.
12825
12826 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12827
12828         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12829         Replaced with \paperwidth
12830
12831         * DepTable.C (insert): add std:: qualifier
12832
12833 2002-01-18  Allan Rae  <rae@lyx.org>
12834
12835         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12836         updated also?
12837
12838         * text.C (drawInset): Turned out I didn't know enough about how
12839         rebreaking worked.  This fixes most of the redraw problems.  I see
12840         an occasional cursor trail when a line is broken now and the cursor
12841         placement can seem out by a few pixels also after a rebreak.
12842
12843 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * buffer.C (parseSingleLyXformat2Token): update because minipage
12846         width is now a LyXLength
12847
12848         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12849
12850         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12851         math insets
12852
12853 2002-01-17  Juergen Vigna  <jug@sad.it>
12854
12855         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12856
12857         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12858         is set correctly and the inset is updated correctly.
12859
12860 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12863         the beginning of the loop.
12864
12865 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * lyxrc.C: improve help for use_scalable_fonts
12868
12869 2002-01-17  Allan Rae  <rae@lyx.org>
12870
12871         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12872
12873 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12876         make sure to set their inset_owner to the right value (bug #171)
12877
12878 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12879
12880         * DepTable.h
12881         * DepTable.C: Implement mtime checking to reduce time spent doing
12882         CRCs.
12883
12884 2002-01-16  Juergen Vigna  <jug@sad.it>
12885
12886         * tabular.C (GetAdditionalHeight): one of error fixed.
12887
12888         * lyxrc.C (output): small fix in writing use_pspell.
12889
12890 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * sp_base.h: #include LString.h
12893
12894 2002-01-16  Allan Rae  <rae@lyx.org>
12895
12896         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12897         Can someone check this please?
12898
12899         * text.C (drawInset): It was possible that p.row would be removed by
12900         breakAgainOneRow upsetting a few other settings.  There may be another
12901         small tweak possible by setting need_break_row = 0 when p.row has been
12902         removed but I don't know enough about the logic here.
12903
12904 2002-01-15  Allan Rae  <rae@lyx.org>
12905
12906         * text.C (insertChar): removed conditional truism.
12907
12908         * BufferView2.C (removeAutoInsets): More tweaks.
12909         cur_par_prev could be a stray pointer.  Check for trailing empty line
12910         in case last line was cur_par and only had an error inset on it.
12911
12912 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12913
12914         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12915         absolute
12916
12917         * vc-backend.C (most methods):
12918         * exporter.C (Export):
12919         * converter.C (convert):
12920         (runLaTeX):
12921         * LyXSendto.C (SendtoApplyCB):
12922         * lyxfunc.C (dispatch):
12923         (menuNew):
12924         (open):
12925         (doImport):
12926         * lyx_cb.C (AutoSave):
12927         (InsertAsciiFile):
12928         * BufferView_pimpl.C (MenuInsertLyXFile):
12929         * buffer.C (runChktex): use Buffer::filePath().
12930
12931         * buffer.h: rename filename to filename_; rename filepath to
12932         filepath_ and make it private
12933         (filePath): new method
12934
12935         * buffer.C (writeFile): use fileName()
12936         (getLatexName):
12937
12938         * lyx_main.C (init): fix starting  of LyX when the binary is a
12939         link from so,ewhere else.
12940
12941         * minibuffer.C: include <cctype> for isprint
12942
12943 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12944
12945         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12946         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12947         name clash with InsetCollapsable's width function.
12948
12949 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * lastfiles.C: include <iterator>
12952
12953 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12954
12955         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12956         std::count.
12957
12958         * buffer.C (makeLaTeXFile): ditto.
12959         Also make loop operation more transparent.
12960
12961 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12962
12963         * ToolbarDefaults.C: remove trailing comma closing namespace.
12964
12965         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12966
12967         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12968         as in WorkArea.
12969
12970         * trans.C (Load): comment out unused variable, allowed.
12971
12972 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * minibuffer.[Ch] (append_char): new method to recieve input from the
12975         drop-down completion browser. If a key was pressed, then recieve this
12976         char and append it to the existing string.
12977         (peek_event): modify the positioning data passed to the completion
12978         browser so that it can be placed above the minibuffer rather than below.
12979 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * LyXAction.C (init): alloe error-next for readonly documents.
12982
12983         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12984         count.
12985
12986 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12987
12988         * bufferlist.C (readFile): create the buffer _after_ checking that
12989         the file exists.
12990
12991         * lyxfunc.C (verboseDispatch): fix handling of arguments
12992
12993         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12994
12995         * lyxrc.C: use string::erase() instead of initializing to "".
12996
12997
12998 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * BufferView_pimpl.h:
13001         * BufferView_pimpl.C:
13002         * WorkArea.h:
13003         * WorkArea.C:
13004         * text2.C: tell X when we have made a selection for copying
13005
13006 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13007
13008         * BufferView_pimpl.C (MenuInsertLyXFile):
13009         * lyxfunc.C (menuNew):
13010         (open):
13011         (doImport): add shortcuts to directory buttons
13012
13013         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13014         open a float)
13015
13016         * lyxfunc.C (setStatusMessage):
13017         (getStatusMessage): new methods
13018         (getStatus):use setStatusMessage instead of setErrorMessage
13019         (dispatch): when function is disabled, set error message here
13020         [instead of in getStatus previously]
13021
13022         * BufferView_pimpl.C (workAreaButtonRelease): update
13023         toolbar/menubar here too.
13024
13025 2002-01-13  Allan Rae  <rae@lyx.org>
13026
13027         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13028         Now seems indestructible.  Remaining task is to audit all other
13029         code affected by deleteEmptyParagraphMechanism.  One small quirk
13030         left is that an empty document with an error in the preamble can
13031         be made to report an error but no error box appears.  I don't know
13032         where it goes.
13033         (removeAutoInsets): Improved comments.
13034
13035 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13036
13037         * Thesaurus.h:
13038         * Thesaurus.C: update for Aiksaurus 0.14
13039
13040 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * text2.C (firstParagraph): removed member function, all uses
13043         replaces with ownerParagraph
13044         (redoParagraphs): here
13045         (updateInset): here
13046         (toggleAppendix): here
13047         * BufferView2.C (insertErrors): here
13048         (setCursorFromRow): here
13049
13050 2002-01-13  Allan Rae  <rae@lyx.org>
13051
13052         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13053         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13054         There is still a way to segfault this although you may have to do this
13055         multiple times: Have an InsetERT with an unknown command in it.
13056         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13057         <down-arrow>, <Enter> again, View->DVI, BANG!
13058
13059         * text2.C (setCursor):
13060         (deleteEmptyParagraphMechanism):
13061         * lyxtext.h (setCursor):
13062         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13063         Making use of the return value may help fix other bugs.
13064
13065 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13068
13069         * LyXView.C (updateMenubar): call MenuBar::update here
13070         (updateToolbar): but not here
13071         (showState): do not update toolbar/menubar
13072
13073         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13074         should need to care about that.
13075
13076         * lyxfunc.C (verboseDispatch): simplify a bit
13077         (getStatus): have a version which takes a pseudoaction, and
13078         another which requires a (kb_action,string).
13079
13080         * LyXAction.C (retrieveActionArg): make it work also when action
13081         is not a pseudo-action.
13082         (getActionName): simplify a bit
13083         (helpText):
13084
13085 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * lyxfunc.C (verboseDispatch): new families of methods with
13088         several ways to specify a command and a bool to indicate whether
13089         the command name and shortcut should be displayed in minibuffer
13090         (eventually, we could extend that to a finer bitmask like
13091         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13092         (dispatch): the pristine dispatch command which just, well,
13093         dispatchs! Note it still sets its result to minibuffer; I'm not
13094         sure we want that.
13095
13096         * lyxfunc.h: remove setHintMessage
13097
13098         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13099
13100 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13101
13102         * BufferView_pimpl.C (specialChar): delete new inset if we have
13103         not been able to insert it.
13104
13105         * kbmap.C: revert to using int instead of kb_action, since all we
13106         are dealing with is pseudo-actions.
13107
13108         * LyXAction.C (searchActionArg): change to return int instead of
13109         kb_action, since the result is a pseudoaction.
13110
13111 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13112
13113         * buffer.C (insertErtContents): Fix (partially) the font bug.
13114
13115 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13116
13117         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13118         as the other one is broken on my machine!
13119
13120 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13121
13122         * commandtags.h:
13123         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13124
13125 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13126
13127         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13128         reflect their actual use. Provide compatibility code for older lyxrc
13129         files.
13130
13131         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13132         FL_NORMAL_STYLE.
13133         change names of popup font variables in line with the changes to lyxrc.C
13134
13135 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13136
13137         * buffer.C (asciiParagraph): avoid outputing a word twice after
13138         an inset.
13139
13140         * lyxrc.C (getDescription): document that document_path and
13141         template_path can be empty.
13142
13143 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * LaTeXFeatures.C (getMacros):
13146         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13147
13148         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13149
13150         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13151         getPackages.
13152         (getPackages): rename feature "floats" to "float". Use an array to
13153         iterate over 'simple' features (i.e. just a \usepackage). Add
13154         handling of "amsmath" (renamed from "amsstyle").
13155
13156 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13157
13158         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13159         features list.
13160
13161 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13162
13163         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13164         FuncStaus::FuncStatus & FuncStaus::some_method().
13165
13166 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13167
13168         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13169         of the func_satus stuff. Edited and massaged in various ways by
13170         JMarc.
13171
13172         * lyxfunc.C (getStatus): use FuncStatus
13173
13174 2002-01-08  Juergen Vigna  <jug@sad.it>
13175
13176         * text.C (nextBreakPoint): use function Inset::isChar().
13177
13178         * paragraph.C (TeXOnePar): use function
13179         Inset::forceDefaultParagraphs.
13180
13181         * buffer.C (latexParagraphs): use function
13182         Inset::forceDefaultParagraphs.
13183
13184 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * lyx_gui.C (init): set the style of the menu popups to
13187         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13188
13189 2002-01-07  Juergen Vigna  <jug@sad.it>
13190
13191         * text.C (setHeightOfRow): small fix
13192         (prepareToPrint): don't look at alignment if we don't have the place
13193         for doing it.
13194
13195 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13196
13197         * box.C: New file. Move the Box methods and functions out of box.h,
13198         following Lars' suggestion.
13199
13200 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * box.h: #include "support/LOstream.h", needed for inlined function.
13203
13204         * lyxtextclass.C:
13205         * lyxtextclasslist.C: added some using std declarations.
13206
13207 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13208
13209         * box.h: make signed dimensions to allow insets wider than
13210           the screen (bug #162)
13211
13212         * BufferView_pimpl.C: add some insetHit debug
13213
13214 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13215
13216         * vc-backend.C: add FIXME
13217
13218 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * lyxfunc.C (getStatus): enable code for showing math font status
13221         in toolbar/menu.
13222
13223 2002-01-07  Juergen Vigna  <jug@sad.it>
13224
13225         * text.C (nextBreakPoint): removed debug output not needed anymore.
13226
13227 2002-01-06  Juergen Vigna  <jug@sad.it>
13228
13229         * text.C (nextBreakPoint): fixed up this function we had this bug
13230         since ever but now hopefully we break row better.
13231         (insertChar): we have to check if an inset is the next char as it
13232         could now happen that a large inset is causing a break.
13233
13234 2002-01-05  Juergen Vigna  <jug@sad.it>
13235
13236         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13237         if it doesn't like to be drawed.
13238
13239 2002-01-04  Juergen Vigna  <jug@sad.it>
13240
13241         * BufferView2.C (lockInset): forgot to set a cursor.
13242
13243         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13244
13245 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13246
13247         * FormMathsPanel.C:
13248         * FormMathsPanel.h
13249         * MathsSymbols.C:
13250         * form_maths_panel.C:
13251         * form_maths_panel.h:
13252         * form_maths_panel.fd: implemented sub- and super- buttons in math
13253         panel.
13254
13255         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13256         (or ^ space) to be used as in TeX (req'd by André).
13257
13258         * lyxfunc.C: Allow ^ and _ again to be used both as
13259         super/subscript (mathed) and as themselves (in text).
13260
13261 2002-01-03  Allan Rae  <rae@lyx.org>
13262
13263         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13264         "LyX" or the filename of the current buffer if it has one.  This is a
13265         modified form of John Levon's patch.
13266
13267         * XFormsView.C (setWindowTitle): also set icon title.
13268
13269         * LyXView.h (setWindowTitle): signature changed.
13270         * XFormsView.h (setWindowTitle): ditto.
13271
13272 2002-01-02  Juergen Vigna  <jug@sad.it>
13273
13274         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13275
13276 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * screen.C (topCursorVisible): introduce a temp var for
13279         text->cursor.row(), handle the case where this row is null. (kindo
13280         hachish)
13281
13282         * text2.C (setCursor): add a couple of asserts.
13283
13284         * paragraph.h (inset_iterator): add -> operator
13285
13286         * paragraph.[Ch] (autoDeleteInsets): remove member function
13287
13288         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13289         cursor pos correctly and handle inset deletion by itself.
13290         (insertErrors): move iterator declaration out of for expression
13291
13292         * lyxtextclass.C: add <algorithm>
13293
13294         * Makefile.am: added the new files to sources, removed layout.C
13295
13296         * layout.C: removed file
13297
13298         * layout.h: remove LYX_DUMMY_LAYOUT
13299
13300         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13301         layout.
13302
13303         * lyxlayout.[Ch]:
13304         * lyxtextclass.[Ch]:
13305         * lyxtextclasslist.[Ch]: new files
13306
13307         * include order changes to a lot of files, also changes because of
13308         the six new files.
13309
13310 2001-12-27  Juergen Vigna  <jug@sad.it>
13311
13312         * buffer.C (asciiParagraph): more fixes.
13313
13314         * tabular.C (ascii): make ascii export support export of only the
13315         data separated by a column-delimiter.
13316         (ascii): better support for ascii export.
13317
13318         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13319
13320 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * tabular_funcs.C: use a "using std::getline" instead of the
13323         previous fix from Angus (necessary for cxx + lyxstring)
13324
13325 2001-12-24  Juergen Vigna  <jug@sad.it>
13326
13327         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13328
13329         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13330         problems. First check a minipage also if we have some ert-contents
13331         (not only on par->size(), second set the right depth of the paragraph
13332         on the relink to the root-paragraph-list!
13333
13334         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13335         which then did not anymore update the main paragraphs on undo/redo!
13336
13337 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13338
13339         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13340         code. Support all font-changing funcs (even those which are not in
13341         menu currently). Support for reporting font settings in
13342         mathed (disabled until Andre provides a function on mathed's side).
13343
13344         * func_status.h (toggle): small helper function to set toggle
13345         state on a flag.
13346
13347 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * tabular_funcs.C: getline -> std::getline
13350
13351 2001-12-21  Juergen Vigna  <jug@sad.it>
13352
13353         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13354         accessed and could be 0 (I couldn't generate this but it seems
13355         Michael could!).
13356
13357 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13360         * tabular_funcs.h: here and include iosfwd
13361
13362 2001-12-20  Juergen Vigna  <jug@sad.it>
13363
13364         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13365         inside inset but undo_par was.
13366
13367 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * Thesaurus.C: always include <config.h> in sources.
13370
13371         * Painter.h:
13372         * lyxlookup.h:
13373         * box.h: do not include <config.h> in header files
13374
13375         * text.C (paintLastRow): remove unused variable
13376
13377         * text.C (transformChar):
13378         (insertChar):
13379         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13380
13381         * Painter.C (text):
13382         * font.C (width): rewrite to use uppercase() instead of
13383         islower/toupper.
13384
13385         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13386
13387 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * lyxfind.C: clean up of find failure position change
13390
13391 2001-12-20  Juergen Vigna  <jug@sad.it>
13392
13393         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13394
13395         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13396         (TeXRow): added to LaTeX a single tabular row.
13397         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13398         (Latex): simplified and finally good LT-h/f support.
13399         (various_functions): just small adaptions for LT-h/f support.
13400
13401         * tabular_funcs.[hC]: added and moved here all not classfunctions
13402         of LyXTabular.
13403
13404 2001-12-19  Juergen Vigna  <jug@sad.it>
13405
13406         * tabular.[Ch]: better support for longtabular options (not finished
13407         yet!)
13408
13409 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13410
13411         * text.C (paintLastRow): use the label font instead of the font of
13412         the last character to compute the size of *_BOX. This makes more
13413         sense and avoids a crash with empty paragraphs.
13414         Use Painter::rectangle to draw EMPTY_BOX.
13415
13416 2001-12-19  Juergen Vigna  <jug@sad.it>
13417
13418         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13419         the paragraphs if the replaced paragraph is not the first one!
13420         Tried to delete not used paragraphs but does not work yet so for
13421         now it's inside #ifdef's and by default off!
13422
13423 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13424
13425         * MenuBackend.C: include "lyx_main.h" instead of declaring
13426         lastfiles (actually was declared as LastFiles* instead of a
13427         scoped_ptr).
13428
13429 2001-12-17  Juergen Vigna  <jug@sad.it>
13430
13431         * tabular.C (AppendColumn): applied John's fix
13432
13433 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * BufferView.h:
13436         * BufferView.C:
13437         * BufferView_pimpl.h:
13438         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13439
13440         * Makefile.am:
13441         * box.h: new start of class for above
13442
13443         * lyxfunc.C: ignore space-only minibuffer dispatches.
13444           Show the command name when it doesn't exist
13445
13446         * minibuffer.C: don't add empty lines to the history
13447
13448         * minibuffer.C: add a space on dropdown completion
13449
13450 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * text.C: fix line above/below drawing in insets
13453
13454 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * lyxlength.C (LyXLength): Initialize private variables.
13457
13458 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13459
13460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13461         when inserting error insets.
13462
13463 2001-12-13  Juergen Vigna  <jug@sad.it>
13464
13465         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13466         actually sometimes the before-paragraph.
13467         (setUndo): don't clear the redostack if we're not actually undoing!
13468
13469 2001-12-06  Juergen Vigna  <jug@sad.it>
13470
13471         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13472         and fixed redoing of main paragraph, so we can use it now ;)
13473
13474         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13475
13476 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13479         Juergen's request
13480
13481 2001-12-13  André Pönitz <poenitz@gmx.net>
13482
13483         * undostack.[Ch]:
13484         * undo_func.C: minor cleanup
13485
13486 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13489         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13490         font in urw-fonts package which is marked as -urw-fontspecific and
13491         does not work (incidentally, changing the encoding in the
13492         fonts.dir of this package to -adobe-fontspecific fixes the
13493         problem).
13494
13495         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13496         is a crash when undoing first paragraph (Juergen, please take a
13497         look). THis does not mean the undo fix is wrong, just that it
13498         uncovers problems.
13499
13500         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13501         the (Paragraph*) version when needed instead of duplicating the
13502         code.
13503
13504         * text.C (workWidth): use Inset::parOwner to find out where the
13505         inset has been inserted. This is a huge performance gain for large
13506         documents with lots of insets. If Inset::parOwner is not set, fall
13507         back on the brute force method
13508
13509         * paragraph_pimpl.C (insertInset):
13510         * paragraph.C (Paragraph):
13511         (cutIntoMinibuffer): set parOwner of insets when
13512         inserting/removing them
13513
13514         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13515
13516 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13517
13518         * commandtags.h:
13519         * LyXAction.C:
13520         * lyx_main.C:
13521         * lyxfunc.C:
13522         * mathed/formulabase.C:
13523         * mathed/math_cursor.[Ch]:
13524         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13525
13526
13527 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * lyxlength.[Ch] (operator!=): new function
13530
13531 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13532
13533         * text.C (workWidth): use Inset::parOwner to find out where the
13534         inset has been inserted. This is a huge performance gain for large
13535         documents with lots of insets. If Inset::parOwner is not set, fall
13536         back on the brute force method
13537
13538         * paragraph_pimpl.C (insertInset):
13539         * paragraph.C (Paragraph):
13540         (cutIntoMinibuffer): set parOwner of insets when
13541         inserting/removing them
13542
13543         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13544
13545 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * tabular-old.C (getTokenValue):
13548         * tabular.C (getTokenValue):
13549         (write_attribute): new versions for LyXLength
13550         (everywhere): adjust the use of widths
13551
13552         * tabular.h: change the type of widths from string to LyXLength
13553
13554 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13555
13556         * paragraph.C: fixed missing line number count when exporting
13557         Environments to LaTeX file
13558
13559         * buffer.C: added informational message for checking line numbers.
13560
13561 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13562
13563         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13564         paragraph, do the 'double space' part, but not the 'empty
13565         paragraph' one.
13566
13567         * text.C (workWidth): small optimization
13568         (getLengthMarkerHeight): use minimal size for negative lengths.
13569
13570 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13571
13572         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13573
13574         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13575
13576 2001-12-11  André Pönitz <poenitz@gmx.net>
13577
13578         * FontLoader.C:
13579         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13580
13581 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * text2.C: keep selection on a setFont()
13584
13585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * lyx_cb.C: another bv->text misuse, from insert label
13588
13589 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * kbsequence.h:
13592         * kbsequence.C: re-instate nmodifier mask
13593
13594 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13595
13596         * lyx_main.h: make lyxGUI private.
13597
13598 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13599
13600         * lyxfind.C: place the cursor correctly on failed search
13601
13602 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * text.C (getLengthMarkerHeight): for small heights, the arrows
13605         are not always on top/bottom of the text
13606         (drawLengthMarker): smaller arrows; take the left margin in
13607         account; draw also vfills.
13608         (paintFirstRow):
13609         (paintLastRow): remove special code for vfill and standard spaces,
13610         since everything is handled in drawLengthMarker now.
13611
13612 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * buffer.C (insertErtContents): try to handle font and language
13615         interaction a bit better.g
13616
13617         * ColorHandler.C (updateColor): change the hash to cover the whole
13618         LColor enum, ws cleanup
13619         (getGCLinepars): ditto
13620         (getGCLinepars): only lookup in the linecache once.
13621
13622 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * iterators.C (operator++): Make the iterator more robust
13625
13626         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13627         (John's patch)
13628         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13629
13630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * lyxtext.h:
13633         * text.C: better added space drawing
13634
13635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * LyXView.C:
13638         * BufferView2.C: fix layout combo update on inset unlock
13639
13640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * Makefile.am: don't compile unused files
13643
13644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * lyxfunc.C:
13647         * commandtags.h:
13648         * LyXAction.C: remove old LFUN_LAYOUTNO
13649
13650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * paragraph_pimpl.h:
13653         * paragraph_pimpl.C: isTextAt() doesn't need font param
13654
13655 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13656
13657         * lyxlex.h:
13658         * lyxlex.C: little cleanup
13659
13660 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * BufferView_pimpl.C: fix insertAscii for insets
13663
13664 2001-12-05  Juergen Vigna  <jug@sad.it>
13665
13666         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13667         set the right font on the "multi" paragraph paste!
13668
13669 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * trans_decl.h:
13672         * trans_mgr.[Ch]:
13673         * trans.[Ch]:
13674         * lyxgluelength.C:
13675         * lyxlength.C: remove out-commented code.
13676
13677         * BufferView_pimpl:
13678         * CutAndPaste.C:
13679         * DepTable.C:
13680         * buffer.C:
13681         * chset.C:
13682         * lastfiles.C:
13683         * lyxlex.C:
13684         * lyxlex_pimpl.C:
13685         * lyxserver.C:
13686         * screen.C:
13687         * tabular-old.C:
13688         * tabular.C:
13689         * text.C:
13690         * trans_mgr.C:
13691         * vc-backend.C: change "while(" to "while ("
13692
13693         * lyxlength.[Ch]: add zero function to check if length is zero or
13694         not
13695         * lyxgluelength.C: use it
13696
13697 2001-12-05  Allan Rae  <rae@lyx.org>
13698
13699         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13700         Works for 2.95.3, from what I understand of Garst's reports this should
13701         work for other g++ versions.  We're screwed if the abs(int) definition
13702         changed between bugfix releases of gcc.
13703
13704 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * text.C: fix chapter label offset !
13707
13708 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * lyxtext.h:
13711         * text.C: fix hfill at end of line, clean up
13712
13713 2001-12-04  Juergen Vigna  <jug@sad.it>
13714
13715         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13716         that we force an update of the inset and it's owners if neccessary.
13717
13718 2001-12-03  Juergen Vigna  <jug@sad.it>
13719
13720         * text.C (rowLast): simplified code
13721
13722 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * lyxfunc.C: fix show options on timeout
13725
13726 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * screen.C (topCursorVisible): scroll half a page when the cursor
13729         reached top of bottom of screen
13730
13731 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13732
13733         * minibuffer.C: deactivate on loss of focus
13734
13735 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * vspace.[Ch] (operator!=): add operator.
13738
13739 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * BufferView_pimpl.C: refuse to open an inset when
13742         there's a selection.
13743
13744 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.C: allow to click on RHS of full row insets
13747
13748 2001-11-30  Juergen Vigna  <jug@sad.it>
13749
13750         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13751         insets for undo reasons.
13752
13753 2001-11-28  André Pönitz <poenitz@gmx.net>
13754
13755         * vspace.[Ch]: cosmetical changes
13756
13757 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * LyXAction.h:
13760         * LyXAction.C:
13761         * lyxfunc.h:
13762         * lyxfunc.C:
13763         * kbmap.h:
13764         * kbmap.C:
13765         * lyxrc.C:
13766         * kbsequence.h:
13767         * kbsequence.C: part re-write of old kb code
13768
13769         * Painter.C:
13770         * WorkArea.C: remove Lgb_bug_find_hack
13771
13772 2001-11-30  José Matos <jamatos@fep.up.pt>
13773
13774         * buffer.C (makeDocBookFile): add a comment to point a hack.
13775         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13776         Fixed a double write of labels.
13777
13778 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13779
13780         * LaTeX.C:
13781         * LaTeX.h Fixed bug in LaTeX class where it would not
13782         re-run latex if no depfiles were changed, but the .dvi was removed.
13783
13784 2001-11-28  André Pönitz <poenitz@gmx.net>
13785
13786         * all the files from the change on 2001/11/26:
13787         use lyx::layout_type instead of LyXTextClass::size_type
13788         use lyx::textclass_type instead of LyXTextClassList::size_type
13789
13790 2001-11-29  Juergen Vigna  <jug@sad.it>
13791
13792         * text.C: added support for paragraph::isFreeSpacing()
13793
13794         * buffer.C: same as above
13795
13796         * paragraph.h: inserted isFreeSpacing() function to enable
13797         FreeSpacing inside InsetERT.
13798
13799         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13800         of the paragraph's in the cut/copy buffer to 0!
13801
13802         * text2.C (removeRow): remove the assert as it can!
13803
13804         * lyxtext.h: added helper function firstRow returning firstrow and
13805         made firstrow private again.
13806
13807         * BufferView2.C (lockInset): don't relock if we're already locked!
13808
13809         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13810         the only paragraph.
13811         (removeRow): added Assert::(firstrow)
13812
13813         * debug.C: forgot to add INSETTEXT here.
13814
13815 2001-11-28  Juergen Vigna  <jug@sad.it>
13816
13817         * sp_spell.C (initialize): changed error text to more general
13818         spellchecker command use (not only ispell!)
13819
13820         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13821
13822         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13823
13824 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13825
13826         * vspace.C: initialise lyxgluelength on failure
13827
13828 2001-11-28  Allan Rae  <rae@lyx.org>
13829
13830         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13831         declaration & definition that looks like a function declaration.
13832
13833 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * BufferView2.C (copy):
13836         (copyEnvironment): do not clear the selection when doing a copy.
13837
13838         * text.C (paintFirstRow): compilation fix
13839
13840 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13841
13842         * tabular.C (Latex): correct line count when writing latex.
13843
13844 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * paragraph_pimpl.h:
13847         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13848           bug a bit
13849
13850 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * text.C:
13853         * LColor.h:
13854         * LColor.C: change vfillline->added_space
13855
13856         * text.C: add markers and text for added space
13857
13858         * vspace.C: fix comment
13859
13860 2001-11-28  André Pönitz <poenitz@gmx.net>
13861
13862         * paragraph.C: whitespace changes
13863         * all the other files from the change on 2001/11/26:
13864         change *::pos_type into lyx::pos_type
13865
13866 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13869         language of the document when inserting error insets.
13870
13871 2001-11-26  André Pönitz <poenitz@gmx.net>
13872
13873         * BufferView_pimpl.[Ch]:
13874         *       CutAndPaste.C:
13875         * buffer.[Ch]:
13876         * lyxcursor.[Ch]:
13877         * lyxfind.C:
13878         * lyxfunc.C:
13879         * lyxrow.[Ch]:
13880         * paragraph.[Ch]:
13881         * paragraph_pimpl.[Ch]:
13882         * sp_spell.C:
13883         * text.C:
13884         * text2.C: reduce header dependencies, introduce type for positions
13885
13886 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * <various>: change to use Alert.h
13889
13890 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13893         when encountering an unknown token.
13894         (readLyXformat2): Show an error message if there were unknown tokens.
13895
13896 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * BufferView2.C:
13899         * BufferView_pimpl.C:
13900         * buffer.C:
13901         * paragraph.h:
13902         * text.C:
13903         * text2.C: use par->isInset()
13904
13905 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * paragraph_pimpl.h:
13908         * paragraph_pimpl.C: cleanup
13909
13910 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * text2.C (removeRow):
13913         * text.C (setHeightOfRow): remove useless (and costly) call to
13914         getRow.
13915
13916 2001-11-20  Allan Rae  <rae@lyx.org>
13917
13918         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13919         Now need Inset*::checkInsertChar() to return true for appropriate
13920         cases so that the characters in the minibuffer will actually be
13921         inserted.
13922
13923 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * text.C: change the order of the includes.
13926         (workWidth): initialize it at once.
13927         (workWidth): make maxw unsigned
13928         (setHeightOfRow): remove unused variable (inset)
13929         (selectSelectedWord): remove unused variable (inset)
13930         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13931
13932 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13935         server is not running.
13936         (openConnection):
13937         (closeConnection): add debug info when server is disabled.
13938
13939         * ColorHandler.C (getGCForeground): send debug message to GUI
13940         channel.
13941
13942         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13943
13944         * kbmap.C (bind): modify because return conventions of
13945         kb_sequence::parse have changed.
13946
13947         * kbsequence.C (parse): only ignore spaces and not any stupid
13948         control character. This avoids tests like s[i] <= ' ', which are
13949         guaranteed to fail with 8bit characters and signed chars.
13950         Change return code to string::npos when there have been no error
13951         (0 was a bad idea when error is at first character)
13952
13953 2001-11-14  José Matos  <jamatos@fep.up.pt>
13954
13955         * buffer.h:
13956         * buffer.C (simpleDocBookOnePar): removed unused argument.
13957
13958 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13961         insets which are part of a word. Paragraph::isLetter takes care of
13962         that now. Use Paragraph::isInset to identify insets.
13963         (selectSelectedWord): do not test for hyphenation break.
13964
13965         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13966         that protected spaces are considered as spaces.
13967
13968         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13969         Inset::isLetter.
13970
13971 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13972
13973         * lyxserver.h:
13974         * lyxserver.C: fix it. and small cleanup.
13975
13976 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13977
13978         * BufferView_pimpl.C: use inline helpers
13979
13980         * LaTeXFeatures.h:
13981         * LaTeXFeatures.C: fix typos
13982
13983         * Spacing.h:
13984         * Spacing.C: move spacing_string into class
13985
13986         * ToolbarDefaults.C: move stuff into namespace anon
13987
13988         * layout.h: update enum
13989
13990         * lyxfunc.C: use better debug
13991
13992         * minibuffer.h: fix typo
13993
13994         * debug.h:
13995         * debug.C:
13996         * WorkArea.C: add and use Debug::WORKAREA
13997
13998         * lyxtext.h:
13999         * text.C:
14000         * text2.C: code re-organisation, inline helpers
14001
14002 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14003
14004         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14005         std::vector.empty().
14006
14007 2001-11-09  Allan Rae  <rae@lyx.org>
14008
14009         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14010         '\n's after tables.  Tabular and ERT inset work now makes this no
14011         longer necessary.
14012
14013 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * minibuffer.h:
14016         * minibuffer.C: fix crash, improve drop-down completion
14017
14018 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * lyxserver.h:
14021         * lyxserver.C: invalidate fd's when doing endPipe()
14022
14023 2001-11-08  José Matos  <jamatos@fep.up.pt>
14024
14025         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14026         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14027
14028         * paragraph.h:
14029         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14030
14031 2001-11-07  José Matos  <jamatos@fep.up.pt>
14032
14033         * buffer.h:
14034         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14035         const qualifier.
14036
14037         * buffer.C (sgmlOpenTag):
14038         * buffer.C (sgmlCloseTag): removed debug info.
14039
14040         * buffer.h (sgmlOpenTag):
14041         * buffer.h (sgmlCloseTag): made public.
14042
14043 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * buffer.C (saveParamsAsDefaults):
14046         * lyx_cb.C (MenuLayoutSave): remove
14047
14048         * LyXAction.C (init):
14049         * commandtags.h:
14050         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14051
14052 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * buffer.C (setPaperStuff): removed from here...
14055
14056         * bufferparams.C (setPaperStuff): ... and moved there.
14057
14058 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * minibuffer.h:
14061         * minibuffer.C:
14062         * XFormsView.C: add support for drop-down completion
14063
14064 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14067         commands.
14068
14069 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14072         disabled.
14073
14074 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14075
14076         * lyx_main.C: change ref to known bugs
14077
14078 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14079
14080         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14081         to work around older babel problems.
14082
14083 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14084
14085         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14086
14087 2001-10-24  Juergen Vigna  <jug@sad.it>
14088
14089         * tabular-old.C (ReadOld): below variable changes reflected.
14090
14091         * tabular.[Ch]: added ltType struct for longtable header/footer
14092         defines and changed all instances where they are used. Added
14093         future support for double top/bottom rows.
14094
14095 2001-10-24  José Matos  <jamatos@fep.up.pt>
14096
14097         * buffer.h (docbookHandleCaption):
14098         * buffer.C (docbookHandleCaption): removed unused function.
14099         (makeDocBookFile): moved docbook supported version to v4.1.
14100
14101 2001-10-24  José Matos  <jamatos@fep.up.pt>
14102
14103         * tabular.h:
14104         * tabular.C (docbookRow): new function to export docbook code of a row.
14105         (DocBook): now honors the longtable flags.
14106
14107 2001-10-23  José Matos  <jamatos@fep.up.pt>
14108
14109         * LaTeXFeatures.h:
14110         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14111         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14112
14113         * buffer.C (makeLinuxDocFile):
14114         (makeDocBookFile): reworked the preamble, more clean, and with
14115         support for lyx defined entities. Changed the document declaration
14116         to be more XML friendly.
14117
14118         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14119         if we need to output XML that should be done with a filter.
14120
14121 2001-10-22  Juergen Vigna  <jug@sad.it>
14122
14123         * sp_pspell.h (class PSpell): add alive function needed in the
14124         controller to see if the spellchecker could be started.
14125
14126 2001-10-22  Juergen Vigna  <jug@sad.it>
14127
14128         * buffer.C (insertStringAsLines): modify the font for inserting
14129         chars in certain conditions by calling checkInsertChar(font).
14130
14131 2001-10-19  Juergen Vigna  <jug@sad.it>
14132
14133         * text.C (workWidth): use getRow instead of wrong algorithm.
14134         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14135
14136 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * lyxserver.h:
14139         * lyxserver.C:
14140         * lyx_main.h:
14141         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14142
14143 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14144
14145         * text.C (workWidth): do not search for the exact row when
14146         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14147         optimization for big documents.
14148
14149 2001-10-18  Juergen Vigna  <jug@sad.it>
14150
14151         * text.C (workWidth): new function with added Inset * parameter.
14152
14153 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14154
14155         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14156
14157         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14158         change return type of getColumnNearX.
14159
14160
14161         * text.C (changeRegionCase): use uppercase/lowercase instead of
14162         toupper/tolower.
14163         (leftMargin):
14164         (rightMargin): simplify code by factoring out the uses of
14165         textclasslist.
14166         (labelFill):
14167         (numberOfHfills):
14168         (setHeightOfRow):
14169         (appendParagraph): use Paragraph::size_type
14170
14171 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * vspace.C (asLatexString): add a missing break
14174
14175 2001-10-15  Herbert Voss  <voss@perce.de>
14176
14177         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14178
14179 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14182         is not available.
14183
14184 2001-10-10  André Pönitz <poenitz@gmx.net>
14185
14186         * lyxfunc.C: removed greek_kb_flag.
14187
14188 2001-10-10  Herbert Voss  <voss@perce.de>
14189
14190         * lyx_main.C: delete global string help_lyxdir.
14191
14192 2001-10-09  Herbert Voss  <voss@perce.de>
14193
14194         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14195
14196         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14197
14198         * lyx_main.C: added global string help_lyxdir.
14199
14200         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14201
14202 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14203
14204         * lyxrc.C (set_font_norm_type): support iso8859-4
14205
14206 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14207
14208         * LaTeX.C (deplog): add another regex for MikTeX
14209
14210 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14211
14212         * lyxrc.C (set_font_norm_type): support iso8859-3
14213
14214 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14215
14216         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14217
14218         * LaTeXFeatures.C: remove special case of french and index
14219
14220         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14221         before \begin{document}). This solves several incompatibilities.
14222
14223 2001-10-03  Garst Reese  <reese@isn.net>
14224
14225         * lyx_cb.C: change CheckTex error msg.
14226
14227 2001-10-03  José Matos  <jamatos@fep.up.pt>
14228
14229         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14230
14231 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * .cvsignore: update
14234
14235         * lyx_main.C (commandLineVersionInfo): use new style version info.
14236
14237         * buffer.C (writeFile):
14238         (makeLaTeXFile):
14239         (makeLinuxDocFile):
14240         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14241
14242         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14243
14244         * version.h: update to use stuff in version.C
14245
14246         * version.C.in: new file. Contains version information determined
14247         at compile time. This is a merging of version.h and
14248         version_info.h.in.
14249
14250 2001-10-03  Juergen Vigna  <jug@sad.it>
14251
14252         * BufferView_pimpl.C (update): don't change "dirty" status in
14253         updateInset call.
14254
14255 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14256
14257         * WorkArea.C (c-tor): re-position version string slightly.
14258
14259 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14260
14261         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14262         revert to previous code.
14263
14264         WorkArea.[Ch]: (show, destroySplash): methods removed.
14265
14266         WorkArea.C: rework code so that it's an amalgam of the codes before and
14267         after the splash screen was moved to WorkArea.
14268
14269 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14270
14271         * lyxrc.C (read):
14272         * vspace.C (inPixels):
14273         (lyx_advance):
14274         * kbmap.C (bind):
14275         * buffer.C (insertStringAsLines):
14276         (asciiParagraph): fix types to be large enough
14277
14278         * lyxlex_pimpl.h: change member status from short to int
14279
14280         * layout.h: fix type of endlabeltype
14281
14282         * kbmap.C (bind):
14283         * kbsequence.C (parse): change return type to string::size_type
14284
14285         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14286         variable
14287
14288         * Bullet.C (bulletSize):
14289         (bulletEntry): do not use short ints as parameters
14290
14291         * BufferView2.C (insertLyXFile): change a char to an int.
14292
14293         * WorkArea.C (WorkArea): remove unneeded floats in computation
14294
14295 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14296
14297         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14298
14299         * paragraph.C (asString): Do not ignore newline/hfill chars when
14300         copying to the clipboard.
14301
14302 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14305         after a multi-line inset.
14306
14307 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14308
14309         * paragraph.C (validate): Set NeedLyXFootnoteCode
14310
14311 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14312
14313         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14314         and decrease-error to decrease.
14315
14316 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14319         it more readable (should be equivalent)
14320
14321 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14322
14323         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14324
14325 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14328         of a cursor (row, etc.) after a character has been deleted
14329         (deleteEmptyParagraphMechanism): call the method above on _all_
14330         cursors held by the LyXText when a double space has been
14331         detected/deleted.
14332
14333 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14336         pixmap.
14337         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14338
14339         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14340         background. Use greyOut() and the new show() methods to toggle between
14341         the foreground and background. Add code to remove the splash after
14342         its initial showing.
14343
14344         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14345         (create_forms): no longer call Dialogs::showSplash.
14346
14347 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14348
14349         * .cvsignore: add version_info.h
14350
14351 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14352
14353         * version_info.h.in: new file
14354
14355         * Makefile.am: add version_info.h.in
14356
14357         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14358         version_info.h instead of VERSION_INFO
14359
14360 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14363         The ERT inset now returns string().
14364
14365 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14366
14367         * lyxtext.h, text.C (selectNextWord): renamed as
14368         selectNextWordToSpellcheck.
14369
14370         * text.C (selectNextWordToSpellcheck): Modified to not select
14371         words inside an ERT inset.
14372
14373 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * lyx_cb.C (MenuLayoutSave): change a bit the question
14376
14377         * sp_base.h: include <sys/types.h>
14378
14379 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14382
14383 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14384
14385         * several files: fix typos in user-visible strings
14386
14387 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * text2.C (pasteSelection): do not set the selection, since it
14390         will be cleared later. Actually, the intent was to fix the way the
14391         selection was set, but I figured rmoving the code was just as good.
14392
14393 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * FontLoader.C (available): Check if font is available without
14396         loading the font.
14397
14398 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14399
14400         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14401
14402 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * lyxrc.[Ch]: added display_graphics variable and associated code.
14405
14406 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * bufferparams.C (hasClassDefaults): new method. Returns true if
14409         the buffer parameters correspond to known class defaults
14410
14411 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14412
14413         * XFormsView.C (show): set minimum size to the main window.
14414
14415 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * text2.C (copySelection):
14418         (cutSelection):
14419         * lyxfind.C (LyXReplace):
14420         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14421         LyXText::selectionAsString.
14422
14423         * paragraph.C (asString): add "label" argument to the second form
14424
14425         * text2.C (selectionAsString): add "label" argument and pass it to
14426         Paragraph::asString.
14427
14428 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * lyx_main.C (commandLineHelp): remove version information
14431
14432 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14433
14434         * lyx_main.C: add -version commandline option
14435
14436 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * paragraph.h: make the optional constructor arg required instead.
14439         some modifications to other files because of this.
14440
14441         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14442
14443         * lyxserver.C (C_LyXComm_callback): make it static
14444
14445         * lyx_main.C (error_handler): make it static
14446
14447         * lyx_gui.C (LyX_XErrHandler): make it static
14448
14449         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14450
14451         * WorkArea.C: make the extern "C" methods static.
14452
14453         * Makefile.am (lyx_LDADD): simplify
14454
14455 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14458         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14459
14460         * LyXAction.C (init):
14461         * lyxfunc.C (dispatch): associated code removal.
14462
14463 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * lyxfont.h (isSymbolFont): shut off warning
14466
14467         * text.C (setHeightOfRow):
14468         (getVisibleRow): fix crash with empty paragraphs which have a
14469         bottom line
14470
14471 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14472
14473         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14474         code.
14475
14476 2001-09-04  José Matos  <jamatos@fep.up.pt>
14477         * buffer.C
14478         * buffer.h
14479         * tabular.C (docbook): rename docBook method to docbook.
14480
14481 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14482
14483         * Makefile.am: add dependencies to main.o.
14484
14485 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14486
14487         * FontLoader.C (available): Return false if !lyxrc.use_gui
14488
14489 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14490
14491         * FontInfo.C (query):
14492         * converter.C (view):
14493         * importer.C (Import):
14494         * exporter.C (Export): Can not -> cannot.
14495
14496 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * BufferView_pimpl.C: allow to create index inset even if
14499           string is empty
14500
14501 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * buffer.C (getLists): replace boost::tie code with an explicit pair
14504         as boost::tie can break some compilers.
14505
14506         * iterators.h: Added a std:: declaration to the return type of
14507         ParIterator::size.
14508
14509 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14512           case.
14513
14514 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * iterators.[Ch]: New files. Provide paragraph iterators.
14517
14518         * buffer.C (changeLanguage): Use paragraph iterators.
14519         (isMultiLingual): ditto
14520
14521         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14522
14523 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14524
14525         * FontLoader.C: Support for cmr font.
14526
14527 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14528
14529         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14530         (available): New method.
14531
14532         * FontInfo.C (getFontname): Use scalable fonts even when
14533         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14534         found.
14535
14536 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * converter.C (Formats::view): reverted! Incorrect fix.
14539
14540 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * converter.C (Formats::view): only output the -paper option
14543         if the dvi viewer is xdvi, thereby fixing bug #233429.
14544
14545 2001-08-23  Herbert Voss  <voss@perce>
14546
14547         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14548
14549 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * Spacing.h (Spacing): Set space to Default on in the default
14552         constructor.
14553
14554 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * vc-backend.h (RCS::versionString): add RCS to version
14557         (CVS::versionString): add CVS to version
14558
14559         * vc-backend.C (scanMaster): do not add CVS to version.
14560         (scanMaster): do not add RCS to version
14561
14562         * lyxvc.C (versionString): new method
14563
14564         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14565
14566 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * Spacing.C (set): initialize fval
14569
14570 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14573         " or \.
14574
14575 2001-08-16  Juergen Vigna  <jug@sad.it>
14576
14577         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14578
14579 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * BufferView_pimpl.C:
14582         * figureForm.C:
14583         * lyxtext.h:
14584         * text2.C: setParagraph takes linespacing now
14585
14586 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14587
14588         * LyxAction.C: add internal LFUN_CITATION_INSERT
14589
14590         * LyXView.C: actually apply fix
14591
14592         * bufferlist.C: fix open non-existent file
14593
14594         * lyxfind.C: fix indentation
14595
14596         * lyxfunc.C: remove unneeded assert, fix typo
14597
14598 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * MenuBackend.C: use "Floatname List"
14601
14602 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14603
14604         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14605         when converting LaTeX layout to insetERT.
14606         Generate a non-collapsed float when reading old float
14607
14608 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14609
14610         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14611         ERT insets.
14612
14613 2001-08-13  Juergen Vigna  <jug@sad.it>
14614
14615         * text.C (fill): return 0 instead of 20 as this seems to be the more
14616         correct value.
14617
14618 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14619
14620         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14621         lyxrc.font_norm.
14622
14623 2001-08-13  Juergen Vigna  <jug@sad.it>
14624
14625         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14626         casesensitive off.
14627         (SearchBackward): comment out the unlocking of the inset_owner this
14628         should not be needed!
14629
14630 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14631
14632         * Many files: Remove inherit_language, and add latex_language
14633
14634         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14635         collapsible insets.
14636
14637 2001-08-10  Juergen Vigna  <jug@sad.it>
14638
14639         * text.C (prepareToPrint): fixed hfill-width in draw!
14640
14641         * BufferView2.C (selectLastWord): save the selection cursor as this
14642         now is cleared in the function LyXText::clearSelection!
14643
14644 2001-08-08  Juergen Vigna  <jug@sad.it>
14645
14646         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14647         BACKSPACE type functions.
14648
14649         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14650         is only cutted from the document but not put in the cut-buffer, where
14651         still the old stuff should be.
14652
14653         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14654
14655         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14656
14657         * tabular.C (SetWidthOfCell): fixed special case where the width
14658         was not updated!
14659         (LeftLine): handle '|' in align_special.
14660         (RightLine): ditto
14661         (LeftAlreadyDrawed): ditto
14662         (SetWidthOfCell): ditto
14663
14664 2001-08-07  Juergen Vigna  <jug@sad.it>
14665
14666         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14667
14668 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14671         * lyxlex.[hC]: ditto
14672
14673 2001-08-06  Juergen Vigna  <jug@sad.it>
14674
14675         * text.C (getVisibleRow): fix up row clearing a bit.
14676
14677 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * minibuffer.C: make sure the X server sees the changes in the input.
14680
14681 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * paragraph.C (getFont): split into...
14684         (getLabelFont): this
14685         (getLayoutFont): and this
14686         * paragraph_pimpl.C (realizeFont): calling this
14687
14688         * text2.C (getFont): split into...
14689         (getLayoutFont): this
14690         (getLabelFont): and this
14691         (realizeFont): all three calling this
14692
14693         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14694         files where used.
14695
14696 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14699
14700 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14701
14702         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14703         layouts from the Quote inset insertion.
14704
14705 2001-08-03  Juergen Vigna  <jug@sad.it>
14706
14707         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14708
14709         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14710         only if status not is already CHANGED_IN_DRAW (second level).
14711
14712         * text.C (draw): don't set the need_break_row when inside an
14713         InsetText LyXText.
14714
14715 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * buffer.C (parseSingleLyXformat2Token): handle more latex
14718         conversion cases.
14719
14720         * bufferview_funcs.[hC]: change function names to
14721         begin with small char, adjust other files.
14722
14723 2001-08-02  André Pönitz <poenitz@gmx.net>
14724
14725         * lyxfunc.C:
14726         BufferView_pimpl.C: remove broken special code for math-greek
14727
14728 2001-08-02  Juergen Vigna  <jug@sad.it>
14729
14730         * BufferView_pimpl.C (update): redone this function so that we
14731         update the text again if there was a CHANGE_IN_DRAW.
14732
14733         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14734         (drawFromTo): added a new internal bool which is used by draw() and
14735         redraw() function.
14736         (general): some cursor drawing problems fixed.
14737
14738 2001-08-01  Juergen Vigna  <jug@sad.it>
14739
14740         * lyxfind.C (LyXFind): fixed
14741         (SearchForward): ditto
14742         (SearchBackward): ditto
14743
14744         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14745         spurius drawing of the cursor in the main area.
14746
14747         * text2.C (status): small fix which could lead to a segfault!
14748         (clearSelection): remove unneeded BufferView param.
14749
14750 2001-08-01  André Pönitz <poenitz@gmx.net>
14751
14752         * lyxfunc.C: small change due to changed mathed interface
14753
14754 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14757
14758 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14759
14760         * lyxfunc.c: fail gracefully if file doesn't exist
14761
14762         * LyXSendto.C:
14763         * buffer.C:
14764         * lyxfunc.C:
14765         * BufferView_pimpl.C: IsDirWriteable() proto changed
14766
14767         * LyXView.C: fix updateWindowTitle() to store the last title
14768
14769 2001-07-31  Juergen Vigna  <jug@sad.it>
14770
14771         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14772         the font (wrong since using of Paragraph::highestFontInRange).
14773
14774         * paragraph.C (highestFontInRange): added a default_size parameter.
14775
14776         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14777         (setHeightOfRow): reformat
14778
14779 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * converter.[hC] + affected files: move to (inital-char)lowercase
14782         function names.
14783
14784         * ParagraphParameters.C (ParagraphParameters): remove commented code
14785
14786         * PainterBase.[Ch]: remove commented code
14787
14788         * LaTeXFeatures.h: add "bool floats" for float.sty
14789
14790         * LaTeXFeatures.C (LaTeXFeatures): init floats
14791         (require): handle float
14792         (getPackages): do it with floats
14793
14794 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14795
14796         * BufferView_pimpl.C (Dispatch): improve handling of
14797         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14798
14799         * commandtags.h: #include lyxfont.h here temporarily to avoid
14800         keybinding bug.
14801
14802         * bufferlist.h: include LString.h here.
14803
14804 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * text2.C (getStringToIndex): new method.
14807
14808 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14809
14810         * *: Reduced header file dependencies all over.
14811
14812 2001-07-30  Baruch Even  <baruch@lyx.org>
14813
14814         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14815
14816 2001-07-29  Baruch Even  <baruch@lyx.org>
14817
14818         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14819
14820 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * ParameterStruct.h (endif): add a default constructor to make
14823         sure that all variables is initialized.
14824
14825         * ParagraphParameters.C (ParagraphParameters): adjust
14826
14827 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14830         index; also, check that there is something to index, and that it
14831         does not span over several paragraphs.
14832         (doubleClick): use WHOLE_WORD_STRICT for double click.
14833
14834         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14835
14836         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14837         scheme.
14838
14839 2001-07-26  Baruch Even  <baruch@lyx.org>
14840
14841         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14842         an InsetFig figure, backwards compatible reading of old figure code.
14843
14844 2001-07-27  Juergen Vigna  <jug@sad.it>
14845
14846         * text2.C: font.realize function adaption.
14847
14848         * text.C (draw): add a warnings lyxerr text if needed.
14849
14850         * layout.C: font.realize function adaption.
14851
14852         * language.C: add inherit_language and implement it's handlings
14853
14854         * bufferview_funcs.C (StyleReset): remove language parameter from
14855         font creation (should be language_inherit now).
14856
14857         * bufferparams.C (writeFile): handle ignore_language.
14858
14859         * paragraph.C (getFontSettings): the language has to be resolved
14860         otherwise we have problems in LyXFont!
14861
14862         * lyxfont.C (lyxWriteChanges): added document_language parameter
14863         (update): removed unneeded language parameter
14864
14865         * paragraph.C (validate): fixed wrong output of color-package when
14866         using interface colors for certain fonts in certain environments,
14867         which should not seen as that on the final output.
14868
14869 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * BufferView_pimpl.C:
14872         * Thesaurus.h:
14873         * Thesaurus.C:
14874         * Makefile.am:
14875         * commandtags.h:
14876         * LyXAction.C: add thesaurus support
14877
14878         * lyxfind.h:
14879         * lyxfind.C: add "once" parameter, for thesaurus, to not
14880           move to the next match
14881
14882 2001-07-26  Juergen Vigna  <jug@sad.it>
14883
14884         * lyxfont.C (realize): honor ignore_language too!
14885         (resolved): ditto.
14886
14887         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14888
14889         * text.C (draw): one place more for ignore_language to not draw
14890         itself!
14891
14892 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14895
14896 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14899         the minipage conversion problem.
14900
14901 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14904         insert an inset.
14905
14906 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14907
14908         * BufferView.h: don't forward declare WorkArea
14909
14910         * BufferView.C: don't include WorkArea.h
14911
14912 2001-07-25  André Pönitz <poenitz@gmx.net>
14913
14914         * commandtags.h:
14915         * LyXAction.C:
14916         * lyxfunc.C:  new LFUN 'math-space'
14917
14918         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14919
14920 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * text2.C (toggleInset): call open/close
14923
14924 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14925
14926         * lyxfunc.C (dispatch): add debug for the disabled case
14927
14928         * font.C (buttonText): make similar to rectText
14929
14930         * buffer.C (readInset): comment out parsing of insetlist and
14931         insttheorem
14932
14933         * PainterBase.C (rectText): small correction
14934
14935         * BufferView_pimpl.C: comment out insettheorem and insetlist
14936         * LyXAction.C: ditto
14937         * commandtags.h: ditto
14938
14939 2001-07-24  Juergen Vigna  <jug@sad.it>
14940
14941         * text.C (draw): honor the ignore_language.
14942
14943         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14944
14945 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14948         char inset.
14949
14950 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14951
14952         * lyxtext.h: remove unused (and unimplemented) methods
14953
14954 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14955
14956         * text.C (getVisibleRow): honor background color
14957
14958         * PainterBase.h:
14959         * Painter.h: remove default color argument for fillRectangle
14960
14961         * text.C (backgroundColor): new method
14962
14963 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14964
14965         * text.C (getVisibleRow): adjust
14966
14967         * font.[Ch] (rectText): new method, metrics
14968         (buttonText): new method, metrics
14969
14970         * PainterBase.[hC]: make rectText and buttonText always draw and take
14971         fewer paramteres.
14972
14973 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14974
14975         * ToolbarDefaults.C (read):
14976         * MenuBackend.C (read): allow escaping in all strings
14977
14978         * BufferView_pimpl.C (insertAndEditInset): new method.
14979         (Dispatch): use insertAndEditInset whenever appropriate.
14980
14981         * BufferView_pimpl.C (insertNote): removed
14982
14983         * BufferView_pimpl.C (smartQuote): new method, moved from
14984         BufferView; if an insetquote cannot be inserted, insert a '"'
14985         character instead.
14986
14987         * BufferView2.C: remove insertCorrectQuote();
14988
14989         * lyxfunc.C (getStatus): Add support for all remaingin
14990         inset-insert lfuns.
14991
14992         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14993
14994         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14995         command (necessary to pass " as parameter of self-insert.
14996
14997         * text.C (selectWordWhenUnderCursor):
14998         (selectWord): add word_location parameter
14999         (selectWordWhenUnderCursor): same + remove special code for word
15000         boundary.
15001         (selectNextWord): use kind() to guess type of insetspecialchar,
15002         not latex().
15003
15004         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15005         (insertErtContents): create ert insets as collapsed.
15006         (readInset): better compatibility code for Info inset.
15007
15008 2001-07-20  Juergen Vigna  <jug@sad.it>
15009
15010         * lyxfunc.C (dispatch): use always LyXFind now!
15011
15012         * text2.C (init): add a reinit flag so that the LyXText can be
15013         reinited instead of deleted and reallocated (used in InsetText).
15014
15015         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15016
15017         * text.C: ditto
15018
15019         * text2.C: ditto
15020
15021 2001-07-18  Juergen Vigna  <jug@sad.it>
15022
15023         * text.C (selectNextWord): handle insets inside inset by calling
15024         always the bv->text functions so that we can go up the_locking_inset!
15025
15026         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15027         in strange locations when inside an inset!
15028
15029         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15030         handling to include insets.
15031
15032         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15033
15034 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * LyXAction.C (init):
15037         * commandtags.h:
15038         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15039         LIGATURE_BREAK, since the name is so stupid.
15040
15041 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15042
15043         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15044         InsetInfos.
15045
15046         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15047
15048         * sp_form.[Ch]: remove.
15049
15050         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15051
15052         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15053         InsetInfo.
15054
15055         * src/buffer.C (readInset): ditto.
15056
15057 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15058
15059         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15060         menuSeparator(), endOfSentenceDot(), ldots() and
15061         hyphenationPoint(), which are therefore removed.
15062         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15063
15064         * LyXAction.C (init):
15065         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15066
15067         * paragraph.C (getWord): removed.
15068
15069         * BufferView_pimpl.C (Dispatch): use last word or selection for
15070         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15071
15072         * lyx_main.C (queryUserLyXDir): do not ask before creating
15073         user_dir, except if it has been named explicitely.
15074
15075 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15076
15077         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15078         a document of zero size.
15079
15080 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15081
15082         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15083         approriately in the c-tor and in require().
15084         (getPackages): output the appropriate LaTeX for natbib support.
15085
15086         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15087         variables "use_natbib" and "use_numerical_citations" when reading the
15088         LyX file.
15089         (readInset): read the various natbib cite commands.
15090         (validate): white-space change.
15091
15092         * bufferparams.[Ch]: new variables "bool use_natbib" and
15093         "bool use_numerical_citations".
15094         (writeFile): output them in the LyX file.
15095
15096 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15097
15098         * lyxfunc.C (getStatus): add support for all the inset insertion
15099         commands.
15100
15101         * text2.C (insertInset):
15102         * paragraph.C (insetAllowed):
15103         * BufferView_pimpl.C (insertInset): update to take in account the
15104         renaming of insertInsetAllowed
15105
15106         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15107
15108         * text2.C (getInset): new method. returns inset at cursor position.
15109
15110         * BufferView_pimpl.C (Dispatch): changes because of this.
15111
15112         * LyXAction.C (init): rename open-stuff to inset-toggle.
15113
15114         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15115
15116         * text2.C (toggleInset): renamed from openStuff; use
15117         Inset::open().
15118
15119 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15120
15121         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15122
15123         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15124
15125 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * buffer.C (readLyXformat2): Add filename to the error dialog
15128
15129 2001-07-18  Juergen Vigna  <jug@sad.it>
15130
15131         * tabular.C (GetCellNumber): put an assert here instead of the check!
15132
15133 2001-07-17  Juergen Vigna  <jug@sad.it>
15134
15135         * BufferView_pimpl.C (toggleSelection): adapted too.
15136
15137         * text.C (selectNextWord): adapted for use with insets.
15138         (selectSelectedWord): ditto
15139
15140 2001-07-17  Juergen Vigna  <jug@sad.it>
15141
15142         * sp_spell.C (PSpell): fix initialitation order.
15143
15144 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * paragraph.C: spacing
15147
15148 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15149
15150         * sp_spell.C: repair language selection for pspell
15151
15152 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * lyxfunc.h: change more methods to begin with lower char.
15155
15156 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15157
15158         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15159         for unknown layouts.
15160
15161 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15162
15163         * buffer.C (readLyXformat2): Generate an error dialog if there are
15164         unknown layouts.
15165
15166 2001-07-16  Juergen Vigna  <jug@sad.it>
15167
15168         * sp_spell.C: always compile ISpell part.
15169
15170         * lyxrc.C: added use_pspell entry and it's handling.
15171
15172 2001-07-13  Juergen Vigna  <jug@sad.it>
15173
15174         * sp_spell.C: removed double includes.
15175
15176 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15177
15178         Consistent use of Lsstream.h:
15179         * Lsstream.h: added using std::stringstream for consistencies sake.
15180
15181         * buffer.C: removed using std::stringstream
15182
15183         * lyxfont.C (stateText):
15184         * paragraph.C (asString):
15185         * text.C (selectNextWord, selectSelectedWord):
15186         * text2.C (setCounter):
15187         * vspace.C (asString, asLatexString):
15188         std::ostringstream -> ostringstream.
15189
15190 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15191
15192         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15193         * commandtags.h: add LFUN_HELP_ABOUTLYX
15194         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15195
15196 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15197
15198         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15199         cursorToggle()
15200         * lyx_gui_misc.C: remove spellchecker
15201         * lyxfunc.C: showSpellchecker
15202         * sp_base.h: added
15203         * sp_ispell.h: added
15204         * sp_pspell.h: added
15205         * sp_spell.C: added
15206         * sp_form.[Ch]: removed
15207         * spellchecker.[Ch]: removed
15208
15209 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15210
15211         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15212         is set.
15213         (simpleTeXSpecialChars): Simply print the input character without
15214         any special translation if pass_thru is set.
15215
15216         * layout.h: Added bool pass_thru to layout class for being able to
15217         implement pass through of a paragraph for Literate Programming.
15218
15219         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15220         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15221         * layout.C (Read): add "passthru" to list of layout tags and add
15222         code to set the pass_thru boolean when it is read.
15223
15224 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15225
15226         * trans_decl.h: remove allowed from KmodInfo
15227
15228         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15229         remove allowed code
15230         (Load): adjust
15231
15232         * paragraph_pimpl.C (erase): use boost::prior
15233
15234         * Painter.C (text): use data() instead of c_str() when length is
15235         also provided.
15236         * WorkArea.C (putClipboard): ditto
15237         * font.h (width): ditto
15238
15239         * BufferView2.C: use it-> instead of (*it). for iterators
15240         * texrow.C: ditto
15241         * paragraph_pimpl.C: ditto
15242         * paragraph.C: ditto
15243         * minibuffer.C: ditto
15244         * language.C: ditto
15245         * kbmap.C: ditto
15246         * encoding.C: ditto
15247         * counters.C: ditto
15248         * converter.C: ditto
15249         * chset.C: ditto
15250         * Variables.C: ditto
15251         * TextCache.C: ditto
15252         * MenuBackend.C: ditto
15253         * LyXAction.C: ditto
15254         * LColor.C: ditto
15255         * FloatList.C: ditto
15256         * DepTable.C: ditto
15257         * ColorHandler.C (LyXColorHandler): ditto
15258
15259 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15262
15263         * text2.C (openStuff): reintroduce this method (which had been
15264         nuked in NEW_INSETS frenzy).
15265
15266         * lyxfunc.C (Dispatch): when an action has not been handled, use
15267         its name in the error message, not its number.
15268
15269         * paragraph.C (inInset): change method name to begin with lowercase.
15270
15271         * undo_funcs.C:
15272         * text2.C: updates because of this.
15273
15274 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * ToolbarDefaults.C (add): add spaces in error message
15277
15278 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15281         (readLyXformat2): rename return_par to first_par, use lyxlex's
15282         pushToken and remove the manual push handling.
15283         (parseSingleLyXformat2Token): add another ert comp. variable:
15284         in_tabular, rename return_par to first_par. handle newlines better
15285
15286 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15289
15290 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15291
15292         * text2.C (getParFromID): removed
15293
15294         * buffer.C (getParFromID): new method moved form lyxtext.
15295         * BufferView2.C (insertErrors): adjust
15296         (setCursorFromRow): adjust
15297         * BufferView_pimpl.C (restorePosition): adjust
15298         * lyxfunc.C (Dispatch): adjust
15299         * undo_funcs.C (textUndo): adjust
15300         (textRedo): adjust
15301         (textHandleUndo): adjust
15302         (textHandleUndo): adjust
15303
15304 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * buffer.C: up' the LYX_FORMAT
15307
15308         * lyxfont.h: turn NO_LATEX on as default
15309
15310         * buffer.C (insertErtContents): new methods of tex style compability.
15311         (parseSingleLyXformat2Token): use it several places.
15312         * tabular.C (OldFormatRead): and here
15313
15314 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * text2.C: remove some commented code.
15317         reindent file.
15318
15319         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15320         * trans.C: changes because of the above.
15321
15322 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * text2.C (setCounter): Fix counters bug with bibliography layout.
15325
15326 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15329         own member functions
15330         (simpleTeXSpecialChars): ditto
15331
15332 2001-07-06  Juergen Vigna  <jug@sad.it>
15333
15334         * a lot of files: changed the access to LyXText::status and the
15335         call of undo-functions.
15336
15337         * undo.[Ch]: added a inset_id to the undo informations.
15338
15339         * undo_funcs.[Ch]: added and moved here all undo functions.
15340
15341         * lyxtext.h: give the status enum a weight, made status_ a private
15342         variable and made accessor functions for it, removed the whole bunch
15343         of undo-functions as they are now in their own file, make some
15344         functions publically available. Added function ownerParagraph with
15345         int parameter.
15346
15347         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15348         made InInset() a const function, added getParFromID() function.
15349
15350         * buffer.[Ch]: added const version for inset_iterator functions,
15351         added getInsetFromID() function.
15352
15353         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15354         changed undo functions for new version.
15355
15356 2001-07-05  Juergen Vigna  <jug@sad.it>
15357
15358         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15359         unknow mechanism does not call the proper constructor but only this
15360         one also if I request the other!?
15361
15362 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15365
15366         * text2.C (LyXText): use initialization lists.
15367
15368         * lyxtext.h (Selection): initialize set_ and mark_
15369         (init): remove method
15370
15371 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15372
15373         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15374
15375 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * screen.[Ch]: change method names to begin with lowercase
15378
15379         * BufferView_pimpl.C (updateScrollbar): simplify further and
15380         hopefully make it a bit faster.
15381
15382 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15385         calling directly xforms functions.
15386
15387         * Painter.C (Painter):
15388         * lyx_cb.C (MenuWrite):
15389         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15390         fl_display.
15391
15392         * lyx_gui.C: remove bogus guiruntime extern declaration.
15393
15394 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15397         in NEW_INSETS
15398         (redoDrawingOfParagraph): ditto
15399         (redoParagraphs): ditto
15400         (cutSelection): don't create a object for CutAndPaste use the
15401         static method directly
15402         (pasteSelection): ditto
15403
15404         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15405         LyXview (+ rename)
15406
15407 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15408
15409         * modifications to some other files because of this.
15410
15411         * Makefile.am (lyx_SOURCES): add XFormsView
15412
15413         * XFormsView.[Ch]: new files
15414
15415         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15416         the main window. Move the gui dependent stuff to XFormsView
15417
15418 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * tabular.C (GetCellInset): update cur_cell also in the row/col
15421         version of this function.
15422
15423         * lyxfunc.C: no need to include figure_form.h here.
15424
15425         * FontLoader.h:
15426         * lyxfunc.h:
15427         * lyxscreen.h:
15428         * text2.C:
15429         * lyxvc.C: no need to include forms.h here.
15430
15431 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15434
15435         * lyxfunc.C (Dispatch):
15436         * Spacing.C (set):
15437         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15438         constructor argument.
15439
15440 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * paragraph.C (Paragraph): dont't clear, and just set layout.
15443         (makeSameLayout): use params's copy contructor.
15444
15445         * ParagraphParameters.[Ch] (makeSame): delete method
15446
15447 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15448
15449         * Variables.[Ch]: fix indentation, rename set to isSet
15450
15451 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15452
15453         * lyxfunc.C (Dispatch): fix typo
15454
15455 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15456
15457         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15458         upper_bound.
15459
15460         * bufferlist.C: include assert.h for emergencyWrite().
15461
15462 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15463
15464         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15465           give up at last (bug #425202) !
15466
15467 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15468
15469         * lyx_gui_misc.C:
15470         * sp_form.h:
15471         * sp_form.C:
15472         * spellchecker.h:
15473         * spellchecker.C: strip spellchecker options and bring up
15474           preferences tab instead
15475
15476 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15477
15478         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15479         the istringstream constructor
15480
15481 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * paragraph.C (getLayout): fix return value
15484
15485         * paragraph.h: do not declare getLayout as inline.
15486
15487         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15488
15489 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15490
15491         * lyxcursor.h (operator<): new func
15492         (operator>): new func
15493         (operator>=): new func
15494         (operator<=): new func
15495
15496         * text.C (changeCase): use selection.start and selection.end
15497         (changeRegionCase): require from to be <= to. Require par to be a
15498         valid paragraph.
15499
15500         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15501
15502 2001-06-27  Juergen Vigna  <jug@sad.it>
15503
15504         * text.C (cursorLeftOneWord): changed to return the cursor and added
15505         overlay with BufferView * parameter which calls this one.
15506         (getWord): added
15507         (selectWord): use new getWord function.
15508         (changeCase): renamed from changeWordCase as and extended to work
15509         also on selections.
15510
15511         * lyxtext.h: added enum word_location
15512
15513         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15514         changeCase as this operates now also on selections.
15515
15516 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15517
15518         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15519
15520         * many files: send debug output to Debug::INFO instead of
15521         Debug::ANY.
15522
15523         * converter.C (View):
15524         (Convert):
15525         (Move): send debug output to Debug::FILES instead of console.
15526
15527 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15528
15529         * lyxfunc.C (getStatus): use func_status
15530
15531         * func_status.h: new header, describing the results of
15532         LyXFunc::getStatus;
15533
15534         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15535         LFUN_MATH_HALIGN.
15536
15537 2001-06-25  The LyX Project  <jug@sad.it>
15538
15539         * buffer.C (sgmlOpenTag):
15540         (sgmlCloseTag):
15541         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15542
15543 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15544
15545         * text2.C: remove some dead code
15546
15547         * tabular.C (GetCellInset): store the last cell checked (gotten)
15548
15549         * tabular.h: add the helper for the speedup
15550
15551         * lyxtext.h: remove some dead code
15552
15553 2001-06-26  The LyX Project  <Asger>
15554
15555         * paragraph.C: Change export to LaTeX of alignment to
15556         \begin{center} and family for better roundtrip work with reLyX.
15557
15558         * Tune the math drawing a bit.
15559
15560 2001-06-25  The LyX Project  <Asger>
15561
15562         * LColor.C (LColor): New color for math background. New color
15563         for buttons.
15564
15565 2001-06-25  The LyX Project  <jug@sad.it>
15566
15567         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15568
15569         * lyxfunc.C (Open):
15570         * bufferlist.C (newFile): do not restrict to files ending with
15571         .lyx
15572
15573         * BufferView_pimpl.C (MenuInsertLyXFile):
15574
15575 2001-06-24  The LyX Project  <jug@sad.it>
15576
15577         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15578         of compare_no_case
15579
15580 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15581
15582         * lyxtext.h: rename most methods to begin with a small char.
15583         Lots of changes because of this.
15584
15585         * paragraph.C (Paragraph): do not call fitToSize
15586         (erase): call Pimpl::erase
15587         (insertChar): call Pimpl::insertChar
15588         (insertInset): call Pipl::insertInset
15589         (breakParagraph): do not call fitToSize
15590         (breakParagraphConservative): do not call fitToSize
15591         (fitToSize): remove method
15592
15593         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15594
15595 2001-06-24  The LyX Project  <Asger>
15596
15597         * Fix Qt compilation^2
15598
15599 2001-06-24  The LyX Project  <jug@sad.it>
15600
15601         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15602         depthHook(getDepth()-1).
15603
15604         * paragraph.h:
15605         * ParagraphParameters.h:
15606         * ParameterStruct.h: change type of depth to unsigned int ==
15607         depth_type. Many adaptations to other files before of that.
15608
15609 2001-06-24  The LyX Project  <Asger>
15610
15611         * Fix Qt compilation.
15612
15613 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15614
15615         * paragraph.h: renamed several methods to begin with small letter.
15616         several changes to many parts of the code because of this.
15617
15618 2001-06-23  The LyX Project  <jug@sad.it>
15619
15620         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15621         rewritten to discard all double spaces when KeepEmpty is off
15622         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15623         to only handle newlines but not fiddle with spaces and friends.
15624
15625         * lyxfunc.C (MenuNew): when doing 'new from template', use
15626         template_path as default directory
15627
15628 2001-06-23  The LyX Project  <Asger>
15629
15630         * Clean-up of header file includes all over
15631         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15632
15633 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15634
15635         * paragraph.h: renamed from lyxparagraph.h
15636
15637 2001-06-23  Asger  <lyx@violet.home.sad.it>
15638
15639         * Buffer.h: Removed Buffer::resize
15640         * BufferList.h: Removed BufferList::resize
15641         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15642         the document lazily when we change the width, or the font settings.
15643
15644 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15645
15646         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15647
15648 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15649
15650         * buffer.h: remove out of date comment
15651
15652 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * lyxscreen.h:
15655         * screen.C: fix "theoretical" GC leak
15656
15657 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * LaTeX.C (scanAuxFile):
15660         (deplog): remove trailing \r when reading stream (useful under
15661         win32)
15662
15663 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15666         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15667         and BufferView::theLockingInset(Inset*), so should use them and not
15668         access bv_->text->the_locking_inset directly.
15669
15670         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15671
15672 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15673
15674         * Makefile.am:
15675         * tex-defs.h: remove old unused file
15676
15677 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15678
15679         * BufferView_pimpl.C: fix typo, remove minibuffer message
15680           when buffer has loaded
15681
15682 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * lyxfunc.C (Dispatch): use stringstream
15685         (MenuNew): use stringstream
15686         (Open): use stringstream
15687
15688         * importer.C (Import): use stringstream
15689
15690         * bufferview_funcs.C (CurrentState): use stringstream
15691
15692         * LaTeX.C (run): use stringstream
15693
15694         * BufferView_pimpl.C (savePosition): use stringstream
15695         (restorePosition): use stringstream
15696         (MenuInsertLyXFile): use stringstream
15697
15698 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15699
15700         * BufferView.C:
15701         * Bullet.C:
15702         * ColorHandler.C:
15703         * FontInfo.C:
15704         * FontLoader.C:
15705         * LColor.C:
15706         * LaTeXFeatures.C:
15707         * Painter.C:
15708         * gettext.C:
15709         * lyx_gui_misc.C:
15710         * lyxserver.C:
15711         * vspace.C: removed // -*- C++ -*- as first line.
15712
15713         * lyxfind.h:
15714         * version.h: added // -*- C++ -*- as first line.
15715
15716 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15717
15718         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15719
15720         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15721         of string
15722
15723 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15724
15725         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15726         of floats.
15727
15728 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * gettext.C: include LString.h even when --disable-nls is on.
15731
15732 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15733
15734         * converter.h (Get): changed argument type from int to
15735         FormatList::size_type to avoid unnecessary conversion.
15736
15737         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15738         before using it.
15739
15740 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * gettext.h: include LString.h even when --disable-nls is on.
15743
15744 2001-06-07  Juergen Vigna  <jug@sad.it>
15745
15746         * text.C (BreakAgain): subst spaces with tabs.
15747
15748         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15749         (resizeInsetsLyXText): set force on resizeLyXText.
15750
15751 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15752
15753         * gettext.h (gettext_init):
15754         (locale_init): use a real definition instead of a macro
15755
15756 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15757
15758         * Bufferview_pimpl.C:
15759         * LColor.h:
15760         * LColor.C: further lcolor tidies
15761
15762 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * BufferView_pimpl.C (updateScrollbar): simplify.
15765
15766         * BufferView2.C: don't include insets/insetinfo.h, change
15767         prototype for insertInset and call the Pimpl version. let
15768         updateInset call Pimpl version.
15769
15770         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15771         gotoInset to BufferView::Pimpl
15772
15773 2001-06-01  Juergen Vigna  <jug@sad.it>
15774
15775         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15776         inside a LockingInset (is the update needed at all?).
15777
15778 2001-05-31  Juergen Vigna  <jug@sad.it>
15779
15780         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15781         here not the old one otherwise how should we compare it afterwards
15782         if it's the same!
15783
15784 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15785
15786         * lyxfont.C:
15787         * tabular.C:
15788         * tabular-old.C:
15789         * FontInfo.C: bring C functions into global namespace when
15790         necessary
15791
15792 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15793
15794         * LString.h: make sure config.h has been loaded before LString.h.
15795
15796         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15797         (one for each char read by EatLine!).
15798
15799         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15800         variables.
15801
15802 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15803
15804         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15805         to the same as the par we break from
15806
15807 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15810
15811         * MenuBackend.C (expand): also create menu entries for wide
15812         versions of the floats.
15813
15814         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15815
15816         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15817
15818         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15819         frontends/Makefile.am
15820
15821         * text2.C: adjust
15822         * text.C: adjust
15823
15824
15825         * tabular.C (getTokenValue): add std::
15826
15827         * tabular-old.C (getTokenValue): add std::
15828         (getTokenValue): ditto
15829         (getTokenValue): ditto
15830
15831         * screen.C (ToggleSelection): adjust
15832
15833         * lyxtext.h: put selection cursors inside a Selection struct.
15834
15835         * lyxfunc.C (moveCursorUpdate): adjust
15836
15837         * lyxfont.C (latexWriteStartChanges): add std::
15838
15839         * lyxfind.C: adjust
15840
15841         * font.h: delete with(char const *, LyXFont const &)
15842
15843         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15844
15845         * FontInfo.C (getFontname): add std::
15846
15847         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15848         (workAreaButtonPress): adjust
15849         (tripleClick): adjust
15850         (update): adjust
15851         (moveCursorUpdate): adjust
15852         (Dispatch): adjust
15853
15854         * BufferView2.C (gotoInset): adjust
15855
15856 2001-05-30  Juergen Vigna  <jug@sad.it>
15857
15858         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15859         to check pspell I add this as default as I now have new pspell
15860         libraries and they seem to use this.
15861
15862 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * text2.C (CutSelection): make the cursor valid before the call to
15865         ClearSelection.
15866
15867 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15868
15869         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15870         relied on 0 terminated strings and other horrors. Bug found due to
15871         the new assert in lyxstring!
15872
15873         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15874         KP_ keys.
15875
15876 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15879         to latinkeys.bind.
15880
15881         * lyxfunc.C (processKeySym): change method of getting to the
15882         self-insert char.
15883
15884         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15885         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15886         * BufferView_pimpl.[Ch]: here as private methods.
15887
15888 2001-05-28  Juergen Vigna  <jug@sad.it>
15889
15890         * text.C (SetHeightOfRow): added the update() call again as it is
15891         needed to initialize inset dimensions!
15892
15893 2001-05-16  Juergen Vigna  <jug@sad.it>
15894
15895         * text2.C (SetCharFont): Add new function with BufferView * and
15896         bool toggleall parameters for setting insets internal fonts.
15897         (SetFont): Freeze the undo as we may change fonts in Insets and
15898         all this change should be inside only one Undo!
15899
15900         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15901         setting font's in insets as for them we have the SetFont function!
15902
15903 2001-05-15  Juergen Vigna  <jug@sad.it>
15904
15905         * text2.C (ClearSelection): to be sure we REALLY don't have any
15906         selection anymore!
15907
15908         * tabular.C (TeXCellPreamble): fixed the left border problem for
15909         multicolumn cells.
15910
15911 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15912
15913         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15914         dependancy file
15915
15916 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15919         LFUN_BREAKPARAGRAPH.
15920
15921         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15922         help test to "internal only", similar for LFUN_INSERT_URL
15923
15924         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15925         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15926         auto_region_delete and deadkeys.
15927
15928 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15929
15930         * LColor.h:
15931         * LColor.C: remove some dead entries, tidy a little
15932
15933 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15934
15935         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15936         commented code.
15937         (Dispatch): implement LFUN_ESCAPE
15938
15939         * commandtags.h: add LFUN_ESCAPE
15940
15941         * LyXAction.C (init): add entry for LFUN_ESCAPE
15942
15943         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15944         Remove commented code.
15945         (insertNote): moved here
15946         (open_new_inset): moved here
15947
15948         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15949         BufferView_pimpl
15950
15951 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * kbmap.C (findbinding): clean it up and make it work correctly.
15954
15955         * lyx_main.C (init): do not pass argc and argv as parameters
15956
15957 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15958
15959         * buffer.C: fix path for OS/2 & Win32
15960
15961         * lyx_gui.C:
15962         * lyx_main:
15963         * lyx_main.C: Added os:: class.
15964
15965         * os2_defines.h: update
15966
15967 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15970         better by trying again with reduced state.
15971
15972 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * lyxrc.C (read): print error about invalid key sequence only when
15975         debugging (because not all latinX keysyms are known to some X
15976         servers)
15977
15978         * kbsequence.C (getiso): add a few std:: qualifiers
15979         (getiso): comment out extra return statement.
15980
15981 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15984         handling.
15985         (Dispatch): enhance the accent inset a bit. (not perfect)
15986
15987 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15988
15989         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15990
15991 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * bufferlist.C (emergencyWrite): fix assert() call
15994
15995 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15996
15997         * text.C (InsertChar): Added trivial patch to only send the "you
15998         can not do multiple spaces this way" message once during a
15999         session.
16000
16001 2001-05-08  Baruch Even  <baruch@lyx.org>
16002
16003         * Makefile.am: Changed order of libraries to get LyX to link properly
16004         with the gnome frontend.
16005
16006 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16007
16008         * LaTeXFeatures.h: add a std:: qualifier
16009
16010 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * paragraph.C (String): use stringstream
16013
16014 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * paragraph.C (writeFile): remove footflag arg
16017
16018         * buffer.C (makeLaTeXFile): use stringstream
16019         (latexParagraphs): remove footnot gurba
16020
16021         * LaTeXFeatures.C (getPackages): use stringstream
16022         (getMacros): likewise
16023         (getTClassPreamble): likewise
16024         (getFloatDefinitions): new method
16025
16026         * paragraph.C (writeFile): reindent
16027         (Erase): reindent
16028
16029         * WorkArea.h: revert the xpos + etc changes.
16030
16031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16032
16033         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16034
16035         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16036         (pasteSelection): likewise
16037         * text2.C (CreateUndo): likewise
16038
16039 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * minibuffer.C (peek_event): temporarily reduce the functionality
16042         of the minibuffer (to allow args on lfuns)
16043
16044         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16045         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16046
16047         * buffer.C (readInset): add compability reading of old float
16048         lists, add reading of new style float list.
16049         (readInset): avoid reevaluation of inscmd.getCmdName()
16050         (getLists): reindent
16051
16052         * MenuBackend.C (MenuItem): implement parsing of
16053         md_floatlistinsert and md_floatinsert.
16054         (expand::LastFiles): move initalizaton of iterators out of loop,
16055         avoid reevaluation.
16056         (expand::Documents): introduce typdedef vector<string> Strings,
16057         and use it.
16058         (expand::ExportFormats): introduce typedef vector<Format const *>
16059         Formats, and use it.
16060         (expand): implement FloatListInsert and FloatInsert.
16061
16062         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16063         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16064         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16065
16066         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16067         handling.
16068         (Dispatch::LFUN_FLOAT_LIST): implement
16069
16070 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16071
16072         * LaTeX.C (run): Fix problem with --export code.
16073
16074 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16075
16076         * BufferView.[Ch] (workarea): removed.
16077         (getClipboard) new method; wrapper for workarea()->getClipboard()
16078
16079         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16080         bug.
16081
16082         * WorkArea.h (width, height, xpos, ypos): These methods all
16083         returned the dimensions of the work_area sub-area of WorkArea,
16084         resulting in a position error if the WorkArea were resized. Now
16085         return the dimensions of the entire WorkArea.
16086
16087         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16088
16089 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16090
16091         * LaTeX.C (deplog): correct the syntax of regex reg1
16092
16093 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * undo.C: remove !NEW_INSETS cruft
16096
16097 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16098
16099         * text2.C: remove !NEW_INSETS cruft
16100
16101         * text.C: remove !NEW_INSETS cruft
16102
16103         * tabular.C: remove !NEW_INSETS cruft
16104
16105         * spellchecker.C: remove !NEW_INSETS cruft
16106
16107         * lyxtext.h: remove !NEW_INSETS cruft
16108
16109         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16110
16111         * lyxfunc.C: remove !NEW_INSETS cruft
16112
16113         * lyxfind.C: remove !NEW_INSETS cruft
16114
16115         * lyx_cb.C: remove !NEW_INSETS cruft
16116
16117         * figureForm.C: remove  !NEW_INSETS cruft
16118
16119         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16120
16121         * buffer.[Ch]: remove !NEW_INSETS cruft
16122
16123         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16124
16125         * CutAndPaste.C: remove !NEW_INSETS cruft
16126
16127         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16128
16129         * BufferView2.C: remove !NEW_INSETS cruft
16130
16131         * BufferView.h: remove !NEW_INSETS cruft
16132
16133 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16134
16135         * Lsstream.h: include LString.h before the sstream headers to
16136         fix problem with gcc 2.95.3 and lyxstring
16137
16138 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16139
16140         * lyx_main.C: add using directives when needed for C functions
16141         declared in std:: namespace.
16142
16143 2001-04-27  Juergen Vigna  <jug@sad.it>
16144
16145         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16146         (SetHeightOfRow): comment out the update call should not be needed!
16147
16148 2001-04-13  Juergen Vigna  <jug@sad.it>
16149
16150         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16151         (LyXTabular): tried to minimize operator= operations (and realized
16152         hopfully Lars wish).
16153
16154 2001-04-27  Juergen Vigna  <jug@sad.it>
16155
16156         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16157
16158 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16161
16162         * buffer.C (readInset): hack to make listof algorithm work
16163
16164         * BufferView_pimpl.C: hack to make listof algorithm work
16165
16166 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16167
16168         * LyXAction.C: removed all !NEW_INSETS cruft
16169         (init): moved lfun_item in method
16170
16171         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16172
16173 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16174
16175         * BufferView2.C (theLockingInset): white space.
16176
16177 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16178
16179         * minibuffer.C: include <iostream>
16180
16181         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16182
16183         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16184
16185         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16186
16187         * text.[Ch] (TransposeChars): new method
16188
16189 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * call message directly through LyXView instead of through LyXFunc
16192         * BufferView2.C: adjust
16193         * BufferView_pimpl.C: adjust
16194         * FontLoader.C: adjust
16195         * buffer.C: adjust
16196         * bufferview_funcs.C: adjust
16197         * converter.C: adjust
16198         * figureForm.C: adjust
16199         * importer.C: adjust
16200         * lyx_cb.C: adjust
16201         * lyx_gui_misc.C: adjust
16202         * lyxfunc.C: adjust
16203         * lyxvc.C: adjust
16204         * text2.C: adjust
16205         + more files in subdirs
16206
16207         * lyxparagraph.h (size): move up int file
16208         (GetLayout): ditto
16209
16210         * adjust all uses of Assert to lyx::Assert.
16211
16212         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16213         lyxfunctional in namespace lyx
16214         * layout.C (hasLayout): ditto
16215         (GetLayout): ditto
16216         (GetLayout): ditto
16217         (delete_layout): ditto
16218         (NumberOfClass): ditto
16219         * converter.C (GetFormat): ditto
16220         (GetNumber): ditto
16221         (Add): ditto
16222         (Delete): ditto
16223         (SetViewer): ditto
16224         * bufferlist.C (getFileNames): ditto
16225         (emergencyWriteAll): ditto
16226         (exists): ditto
16227         (getBuffer): ditto
16228         * MenuBackend.C (hasSubmenu): ditto
16229         (hasMenu): ditto
16230         (getMenu): ditto
16231         * BufferView_pimpl.C (getInsetByCode): ditto
16232
16233 2001-04-18  Juergen Vigna  <jug@sad.it>
16234
16235         * vspace.C (asLatexString): fixed the 100% problem.
16236
16237 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16238
16239         * lyxfunc.C (Dispatch):
16240         * minibuffer.C:
16241         * minibuffer.h: add a few std:: qualifiers
16242
16243 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16244
16245         * minibuffer.[Ch]: reimplement so that commands is initiated and
16246         run from lyxfunc, simplified som handling, and made the completion
16247         and history code for complete. wip.
16248
16249         * lyxfunc.C (processKeySym): call message
16250         (miniDispatch): new temporary method
16251         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16252         (LFUN_MESSAGE): implement
16253         (LFUN_MESSAGE_PUSH): implement
16254         (LFUN_MESSAGE_POP): implement
16255         (initMiniBuffer): the initial/defualt minibuffer message.
16256
16257         * lyxfont.[Ch]: inline some more getters
16258
16259         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16260
16261         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16262
16263         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16264         (AutoSave): use LFUN_MESSAGE
16265         (Reconfigure): ditto
16266
16267         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16268
16269         * figureForm.C: use LFUN_MESSAGE
16270
16271         * converter.C (runLaTeX): use LFUN_MESSAGE
16272
16273         * bufferview_funcs.C: use LFUN_MESSAGE
16274         (Melt): ditto
16275         (changeDepth): ditto
16276
16277         * bufferparams.h: use boost::
16278
16279         * bufferlist.h: inherit privately from noncopyable
16280
16281         * bufferlist.C (loadLyXFile): remove some commented code.
16282
16283         * buffer.C (runChktex): use LFUN_MESSAGE
16284
16285         * ShareContainer.h: inherit privately from noncopyable
16286
16287         * ParagraphParameters.[hC] (depth): inline it.
16288
16289         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16290         methods.
16291         (message): new method
16292         (messagePush): ditto
16293         (messagePop): ditto
16294         (show): init minibuffer
16295         (showState): direct call
16296
16297         * LaTeX.[Ch]: inherit privately from noncopyable
16298         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16299         instead of WriteStatus.
16300
16301         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16302
16303         * BufferView_pimpl.C (buffer): don't init minibuffer
16304         (workAreaButtonPress): use LFUN_MESSAGE
16305         (workAreaButtonRelease): ditto
16306         (savePosition): ditto
16307         (restorePosition): ditto
16308         (MenuInsertLyXFile): ditto
16309         (workAreaExpose): don't init minibuffer
16310         (update): remove commented code, simplify
16311
16312         * BufferView2.C (openStuff): use LFUN_MESSAGE
16313         (toggleFloat): ditto
16314         (menuUndo): ditto
16315         (menuRedo): ditto
16316         (copyEnvironment): ditto
16317         (pasteEnvironment): ditto
16318         (copy): ditto
16319         (cut): ditto
16320         (paste): ditto
16321         (gotoInset): ditto
16322         (updateInset): remove some commented code
16323
16324         * lastfiles.h: inherit privately from noncopyable
16325         * layout.h: ditto
16326         * lyx_gui.h: ditto
16327         * lyx_main.h: ditto
16328         * lyxlex.h: ditto
16329         * lyxlex_pimpl.h: ditto
16330
16331         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16332         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16333         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16334
16335         * LyXAction.h: inherit privately from noncopyable, add methods
16336         func_begin, func_end, returning iterators to the func map.
16337
16338         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16339         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16340         (func_begin): new method
16341         (func_end): new method
16342
16343         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16344         and not)
16345         (copySelection): ditto
16346         (pasteSelection): ditto
16347
16348         * BufferView.C: whitespace change
16349         * BufferView.h: inherit privately from noncopyable
16350
16351 2001-04-16  Allan Rae  <rae@lyx.org>
16352
16353         * tabular-old.C (l_getline):
16354         * spellchecker.C (sc_check_word):
16355         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16356         an unrecognised preprocessor directive.  So ensure they're wrapped.
16357
16358 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16359
16360         * src/exporter.C (Export): Give an error message when path to file
16361         contains spaces.
16362
16363 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16364
16365         * LaTeX.C (deplog): Always check that foundfile exists.
16366
16367 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * lyx_main.h:
16370         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16371
16372 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16373
16374         * tabular.[Ch] (getLabelList): implement new method
16375
16376         * minibuffer.h: comment ouf setTiimer
16377
16378         * minibuffer.C (ExecutingCB): constify res
16379         (peek_event): constify s
16380         (Set): constify ntext
16381         (Init): constify nicename
16382
16383         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16384
16385         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16386         (savePosition): use two params to Minibuffer::Set
16387         (restorePosition): ditto
16388
16389 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16390
16391         * lyx_main.C: include language.h
16392
16393         * Makefile.am (lyx_main.o): add language.h
16394
16395 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * exporter.C:
16398         * paragraph.C:
16399         * screen.C:
16400         * tabular.C:
16401         * CutAndPaste.C: include gettext.h
16402
16403         * lyxfont.h: remove old hack with ON and OFF.
16404
16405         * lyxparagraph.h:
16406         * lyxfont.h: do not include language.h...
16407
16408         * BufferView2.C:
16409         * LaTeXFeatures.C:
16410         * Painter.C:
16411         * bufferview_funcs.C:
16412         * font.C:
16413         * lyxfont.C:
16414         * text.C:
16415         * text2.C:
16416         * trans_mgr.C:
16417         * paragraph.C: ... but do it here instead
16418
16419 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16422
16423         * tabular.C: small reformat
16424
16425         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16426         NEW_INSETS version
16427         (GetChar): ditto
16428         (BreakParagraph): ditto
16429         (SetOnlyLayout): ditto
16430         (SetLayout): ditto
16431
16432         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16433         with one arg less.
16434
16435         * lastfiles.C: removed most using decl, add std:: where needed
16436
16437         * buffer.C: ws changes
16438
16439         * MenuBackend.C (class compare_format): put into anon namespace
16440         (expand): constify label, names, action, action2
16441         (expand):
16442
16443         * text.C (SingleWidth): constify font
16444         (IsBoundary): constify rtl2
16445         (GetVisibleRow): constify ww
16446
16447         * LaTeX.C (deplog): constify logfile
16448
16449         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16450         start_x, end_x
16451         (workAreaExpose): constify widthChange, heightChange
16452
16453         * lyxrow.C (par): moved
16454         (height): moved
16455         (next): moved
16456         * lyxrow.h: as inlines here
16457
16458         * lyxfont.h (shape): moved from lyxfont.C
16459         (emph): moved from lyxfont.C
16460
16461         * lyxfont.C (LyXFont): use initialization list for all
16462         constructors
16463         (shape): move to lyxfont.h as inline
16464         (emph): move to lyxfont.h as inline
16465
16466
16467 2001-04-04  Juergen Vigna  <jug@sad.it>
16468
16469         * vspace.C: had to include stdio.h for use of sscanf
16470
16471 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16472
16473         * BufferView.h:
16474         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16475         independent of xforms.
16476
16477 2001-04-02  Juergen Vigna  <jug@sad.it>
16478
16479         * spellchecker.C: fixed namespace placing!
16480
16481 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16482
16483         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16484         the LyXParagraph * is 0.
16485
16486 2001-03-29  Juergen Vigna  <jug@sad.it>
16487
16488         * vspace.C: added support for %, c%, p%, l%.
16489         (stringFromUnit): added helper function.
16490         (asLatexString): changed to give right results for the %-values.
16491
16492         * buffer.C: convert the widthp in a width%.
16493
16494 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16495
16496         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16497         figureForm.[Ch].
16498
16499         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16500         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16501
16502         * lyx_cb.[Ch]: see above.
16503
16504         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16505         form1.[Ch].
16506
16507         * form1.[Ch]:
16508         * lyx.[Ch]: replaced by figure_form.[Ch].
16509
16510         * lyx_gui.C:
16511         * lyx_gui_misc.C:
16512         * lyxfunc.C: changed headers associated with above changes.
16513
16514 2001-03-27  Juergen Vigna  <jug@sad.it>
16515
16516         * BufferView_pimpl.C: set the temporary cursor right!
16517
16518 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16519
16520         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16521
16522 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16523
16524         * LString.h: removed "using std::getline"!
16525
16526         * BufferView_pimpl.C (Dispatch): changes due to changes in
16527         InsetInclude::Params.
16528
16529         * buffer.C (tag_name): removed redundant break statements as they were
16530         producing lots of warnings with my compiler.
16531
16532 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16533
16534         * LString.h: add "using std::getline" when using the real <string>.
16535
16536 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16537
16538         * buffer.C: removed bitset usage.
16539         PAR_TAG moved to an anonymous name space.
16540         (tag_name): new funtion, also in the anonymous namespace.
16541         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16542         (makeDocBookFile): clean code. Completed transition from string arrays
16543         to string vectors.
16544         (SimpleDocBookOnePar): code clean.
16545
16546 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16547
16548         * tabular.C: add some comments.
16549
16550 2001-03-22  Juergen Vigna  <jug@sad.it>
16551
16552         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16553         compatibility read a bit and fixed bug with minipage in different
16554         depth.
16555
16556 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16557
16558         * buffer.C (pop_tag): removed.
16559         (push_tag): removed.
16560         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16561         array replaced with vector. Added support for CDATA sections.
16562         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16563         at any nest level.
16564         (makeDocBookFile): XML conformant declaration of CDATA section,
16565         fixed bug related to <emphasis> in the first paragraph char.
16566         (sgmlOpenTag): exclude empty tags.
16567         (sgmlCloseTag): ditto.
16568
16569         * buffer.h (pop_tag): removed.
16570         (push_tag): removed.
16571
16572 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16573
16574         * language.h (Languages): added size_type and size().
16575
16576 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16577
16578         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16579         response on compability reading of minipages. One probliem is that
16580         the old usage of minipages was «flertydig»
16581
16582         * several files here and in subdirs: don't use static at file
16583         scope use anon namespaces instead.
16584
16585 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16586
16587         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16588         LaTeX output. This is necessary for Literate document
16589         processing.
16590
16591 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16592
16593         * buffer.C: insert hfill when needed.
16594
16595         * tabular.C (l_getline): use string::erase, small whitespace change.
16596
16597         * BufferView_pimpl.C: try the anon namespace.
16598         * WorkArea.C: ditto
16599
16600 2001-03-16  Juergen Vigna  <jug@sad.it>
16601
16602         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16603         otherwise it won't open options-dialogs.
16604
16605         * buffer.C: honor pextraWidth(p) on converting minipages.
16606
16607         * tabular.C (l_getline): changed the functions to strip trailing \r.
16608
16609 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16610
16611         * BufferView_pimpl.C:
16612         * minibuffer..C: added "using SigC::slot" declaration.
16613
16614 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16615
16616         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16617
16618         * text2.C: ditto
16619
16620         * text.C: ditto
16621
16622         * paragraph.C: ditto
16623
16624         * lyxtext.h: NO_PEXTRA
16625
16626         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16627
16628         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16629         * ParameterStruct.h: ditto
16630         * ParagraphParameters.h: ditto
16631         * lyxparagraph.h: ditto
16632
16633 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16634
16635         * buffer.C: add compability for minipage alignment.
16636         (latexParagraphs): remove unwanted pextra check.
16637
16638         * several files: remove CXX_WORKING_NAMESPACES
16639
16640         * buffer.C (pop_tag): tie is in namespace boost
16641
16642         * BufferView.h: noncopyable is in namespace boost
16643         * lyxlex.h: ditto
16644         * lyx_main.h: ditto
16645         * lyx_gui.h: ditto
16646         * layout.h: ditto
16647         * lastfiles.h: ditto
16648         * bufferlist.h: ditto
16649         * ShareContainer.h: ditto
16650         * LyXView.h: ditto
16651         * LyXAction.h: ditto
16652         * LaTeX.h: ditto
16653
16654 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16655
16656         * Merging changes from BRANCH_MVC back into HEAD.
16657
16658         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16659
16660 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16661
16662         * BufferView_pimpl.C: change from intl.C
16663
16664         * combox.h:
16665         * combox.C:
16666         * Makefile.am: move combox.*
16667
16668         * form1.h:
16669         * form1.C:
16670         * lyx_gui.C:
16671         * intl.h:
16672         * intl.C: remove dialog (covered by prefs)
16673
16674 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16675
16676         * lyxfunc.C (Dispatch): removed redundant break statement.
16677
16678 2001-03-14  Juergen Vigna  <jug@sad.it>
16679
16680         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16681
16682 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16683
16684         * buffer.C: add hack to fix compability reading of minipages.
16685
16686 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16687
16688         * buffer.C (getLists): Cleanup.
16689
16690 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * lyxfont.C (update): don't honor toggleall on font size.
16693
16694 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16695
16696         * bmtable.c:
16697         * bmtable.h:
16698         * Makefile.am: moved to frontends/xforms/
16699
16700         * lyx_gui_misc.C:
16701         * lyxfunc.C:
16702         * BufferView_pimpl.C: changes for moved mathpanel
16703
16704 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16705
16706         * gettext.h: fix gettext_init() in --disable-nls
16707
16708 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16709
16710         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16711
16712 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16713
16714         * lyx.C:
16715         * lyx.h: strip external form
16716
16717 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16718
16719         * BufferView_pimpl.C: add comment, destroySplash()
16720
16721 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16722
16723         * BufferView_pimpl.C:
16724         * LyXAction.C:
16725         * buffer.C:
16726         * commandtags.h:
16727         * lyxfunc.C: use re-worked insetinclude
16728
16729 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16730
16731         * buffer.C: add using std::stringstream.
16732
16733         * lyx_cb.C: readd using std::ios.
16734
16735         * buffer.C: add using std::map.
16736
16737         * BufferView_pimpl.C: add using std::vector.
16738
16739         * ShareContainer.h: add std:: to swap.
16740
16741         * buffer.h: add some typedefs
16742         * buffer.C (getLists): use them
16743         (getLists): renamed from getTocList.
16744         add a counter for the different float types and use it in the
16745         generated string.
16746         (getLists): use the same counter for the NEW_INSETS and the "non"
16747         NEW_INSETS
16748
16749         * lyx_cb.h: remove unused items, includes, using etc.
16750
16751         * ShareContainer.h: remove some commented code, add more comments
16752         and "documentation".
16753
16754 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16755
16756         * buffer.C (getTocList): make the list also when NEW_INSETS is
16757         defined.
16758
16759         * buffer.h: remove TocType
16760
16761         * buffer.C (getTocList): change to return a map<string,
16762         vector<TocItem> >, implement for dynamic number of list.
16763
16764         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16765         * text2.C (PasteSelection): adjust
16766         * CutAndPaste.C (pasteSelection): adjust
16767
16768         * FloatList.C (FloatList): update from the new_insets branch.
16769         * Floating.[Ch]: ditto
16770         * LaTeXFeatures.C: ditto
16771         * buffer.C: ditto
16772         * lyxlex_pimpl.C: ditto
16773
16774         * paragraph.C (Last): remove when NEW_INSETS is defined.
16775
16776         * other file: changes because of the above.
16777
16778 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16779
16780         * lyxparagraph.h: rename next to next_, previous to previous_,
16781         make them private for NEW_INSETS. Rename Next() to next(),
16782         Previous() to previous().
16783
16784         * other files: changes because of the above.
16785
16786 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * BufferView.h:
16789         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16790         problem.
16791
16792 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16793
16794         * main.C (main): pass lyx_localedir to gettext_init().
16795
16796         * gettext.h: remove locale_init and gettext_init macros
16797
16798         * gettext.C (locale_init): new function
16799         (gettext_init): new function
16800
16801         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16802         setlocale().
16803
16804 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16805
16806         * Moved credits to frontends:
16807         * credits.[Ch]: removed
16808         * credits_form.[Ch]: removed
16809         * lyx_gui_misc.C: remove credits stuff
16810         * Makefile.am:
16811
16812 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16813
16814         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16815
16816         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16817         unneeded destructor.
16818
16819         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16820         a standalone pointer again.
16821
16822         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16823
16824 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16825
16826         * Makefile.am:
16827         * filedlg.h:
16828         * filedlg.C:
16829         * LyXAction.C:
16830         * ToolbarDefaults.C:
16831         * bufferlist.C:
16832         * commandtags.h:
16833         * form1.C:
16834         * form1.h:
16835         * lyx_cb.C:
16836         * lyx_cb.h:
16837         * lyxfunc.h:
16838         * lyxfunc.C:
16839         * BufferView_pimpl.C: use new file dialog in GUII
16840
16841         * lyx_cb.h:
16842         * lyx_cb.C: remove LayoutsCB to Toolbar
16843
16844 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * ShareContainer.h (get): add std:: qualifier
16847
16848 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16849
16850         * ShareContainer.h: define a proper ShareContainer::value_type
16851         type (and use typename to please compaq cxx)
16852
16853 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16854
16855         * lyxparagraph.h: move serveral local vars to
16856         ParameterStruct/ParagraphParameters., use ShareContainer in
16857         FontTable., make vars in FontTable private and add getter and
16858         setter.
16859
16860         * paragraph.C: changes because of the above.
16861
16862         * lyxfont.h: remove copy constructor and copy assignment. (the
16863         default ones is ok), move number inside FontBits. move inlines to
16864         lyxfont.C
16865
16866         * lyxfont.C: add number to initializaton of statics, move several
16867         inlines here. constify several local vars. some whitespace
16868         cleanup. Dont hide outerscope variables.
16869
16870         * Spacing.h: add two new constructors to match the set methods.
16871
16872         * ShareContainer.h: new file, will perhaps be moved to support
16873
16874         * ParameterStruct.h: new file
16875
16876         * ParagraphParameters.h: new file
16877
16878         * ParagraphParameters.C: new file
16879
16880         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16881         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16882
16883         * BufferView_pimpl.C: ParagraphParameter changes.
16884         * buffer.C: Likewise.
16885         * bufferview_funcs.C: Likewise.
16886         * text.C: Likewise.
16887         * text2.C: Likewise.
16888
16889 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16890
16891         * lyxfind.C (LyXReplace): do not redefine default argument in
16892         implementation.
16893         (IsStringInText): ditto
16894         (SearchForward): ditto
16895         (SearchBackward): ditto
16896
16897 2001-03-06  Juergen Vigna  <jug@sad.it>
16898
16899         * lyxfind.C (IsStringInText): put parentes around expressions.
16900
16901 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16902
16903         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16904
16905 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16906
16907         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16908
16909         * stl_string_fwd.h: add comment
16910
16911         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16912
16913         * tabular.h:
16914         * tabular.C: remove unused DocBook methods
16915
16916         * intl.C:
16917         * language.C:
16918         * paragraph.C:
16919         * buffer.C:
16920         killed DO_USE_DEFAULT_LANGUAGE
16921
16922 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16923
16924         * lyx_gui.C: do not include language.h.
16925
16926         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16927         arguments in function implementation.
16928
16929 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16930
16931         * BufferView_pimpl.C: add <ctime>
16932
16933 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16934
16935         * BufferView_pimpl.C: add using std::find_if
16936
16937 2001-02-27  José Matos  <jamatos@fep.up.pt>
16938
16939         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16940         by OnlyPath.
16941
16942 2001-02-11  José Matos  <jamatos@fep.up.pt>
16943
16944         * buffer.C (makeDocBookFile): command styles now have a parameter as
16945         "title" by default.
16946
16947 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16948
16949         * layout_forms.[Ch]: removed
16950         * lyx_cb.[Ch]: out character
16951         * lyx_gui.C: out character
16952         * lyx_gui_misc.C: out character
16953         * bufferview_funcs.C: : out character,
16954         added toggleall as parameter in ToggleAndShow
16955
16956 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16957
16958         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16959
16960         * text2.C (SetCurrentFont): Disable number property at boundary.
16961
16962 2001-02-26  Juergen Vigna  <jug@sad.it>
16963
16964         * lyxfunc.C (getStatus): added a string argument override function so
16965         that this is correctly called from LyXFunc::Dispatch if it contains a
16966         do_not_use_argument which is used!
16967         (Dispatch): added check for "custom" export and call appropriate func.
16968
16969 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16970
16971         * lyxrc.C: Add language_command_local, language_use_babel and
16972         language_global_options.
16973
16974         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16975
16976         * buffer.C (makeLaTeXFile): Use language_use_babel and
16977         language_global_options.
16978
16979 2001-02-23  Juergen Vigna  <jug@sad.it>
16980
16981         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16982         which works with LyXText and putted it inside BufferView. Here now we
16983         only call for that part the BufferView::Dispatch() function.
16984
16985         * BufferView.C (Dispatch): added.
16986
16987         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16988         functions which needs to use a LyXText over from LyXFunc.
16989         (MenuInsertLyXFile): added
16990         (getInsetByCode): added
16991         (moveCursorUpdate): added
16992         (static TEXT): added
16993
16994 2001-02-22  Juergen Vigna  <jug@sad.it>
16995
16996         * BufferView_pimpl.C (update): call a status update to see if LyXText
16997         needs it.
16998
16999 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17000
17001         * vc-backend.C (revert): implement for CVS
17002         (getLog): implement for CVS
17003
17004 2001-02-20  Juergen Vigna  <jug@sad.it>
17005
17006         * text2.C (ClearSelection): added BufferView param for inset_owner call
17007
17008         * lyxfunc.C (TEXT): added this function and use it instead of
17009         directly owner->view()-text of getLyXText().
17010
17011 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17012
17013         * src/layout_forms.C: out preamble
17014         * src/layout_forms.h: out preamble
17015         * src/lyx_cb.C: out preamble
17016         * src/lyx_cb.h: out preamble
17017         * src/lyx_gui.C: out preamble
17018         * src/lyx_gui_misc.C: out preamble
17019         * src/lyxfunc.C: connect with guii preamble
17020
17021 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17022
17023         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17024
17025 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17026
17027         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17028         whether to run bibtex.
17029
17030 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17031
17032         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17033
17034 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17035
17036         * Makefile.am (lyx_SOURCES): removed bibforms.h
17037
17038         * vspace.h: doxygen
17039
17040         * text.C (GetVisibleRow): make several local vars const
17041
17042         * tabular.C: small cleanup.
17043
17044         * lyxserver.C (callback): use compare instead of strncmp
17045
17046         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17047         inlines to after class or to paragraph.C
17048
17049         * lyxfont.h: remove friend operator!=
17050
17051         * converter.h: move friend bool operator< to non friend and after
17052         class def.
17053
17054         * combox.h: small cleanup
17055
17056         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17057         to inlines after class def.
17058
17059         * buffer.C (pop_tag): use string operations instead of strcmp
17060
17061         * bmtable.c: doxygen, small cleanup
17062
17063         * LaTeX.h: remove friend operator==
17064
17065 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17066
17067         * screen.C:
17068         * lyxrc.[Ch]:
17069         * lyxfunc.C:
17070         * lyxfont.[Ch]:
17071         * lyx_cb.C:
17072         * intl.[Ch]:
17073         * commandtags.h:
17074         * buffer.C:
17075         * WorkArea.[Ch]:
17076         * LyXAction.C:
17077         * BufferView_pimpl.C:
17078         * BufferView.[Ch]: remove cruft
17079
17080 2001-02-14  Juergen Vigna  <jug@sad.it>
17081
17082         * lyxfunc.C: removed #if 0 unused code
17083
17084         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17085
17086         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17087
17088         * text2.C (SetSelection): added a BufferView * parameter
17089
17090 2001-02-13  Juergen Vigna  <jug@sad.it>
17091
17092         * lyxfunc.C (Dispatch): fixed protected blank problem.
17093         * BufferView2.C (protectedBlank): added LyxText * parameter.
17094
17095         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17096         (AppendColumn): same as above for column_info.
17097
17098         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17099         (moveCursorUpdate): use a LyXText param for support of InsetText.
17100
17101         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17102         (tripleClick): ditto
17103
17104         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17105
17106         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17107
17108         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17109
17110         * text2.C (SetSelection): set correct update status if inset_owner
17111         (ToggleFree): ditto
17112
17113 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17114
17115         * tabular.C: remove some commented code.
17116
17117 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17118
17119         * BufferView_pimpl.C: call hideSplash()
17120
17121         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17122
17123         * include_form.h:
17124         * bibforms.h: remove
17125
17126         * lyxfunc.C:
17127         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17128           add LFUN_CHILD_CREATE
17129
17130         * counters.h: fix tiny typo
17131
17132         * lyx_cb.C:
17133         * lyx.h:
17134         * lyx_gui.C:
17135         * lyx.C: move splash to frontends/xforms/
17136
17137         * lyx_gui_misc.C: move Include and Bibform to frontends
17138
17139         * lyxvc.h: clarify comment
17140
17141         * vspace.C: tiny housekeeping
17142
17143 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17144
17145         * text.C (PrepareToPrint): RTL Fix.
17146
17147         * paragraph.C (GetUChar): New method.
17148         (String):  Use GetUChar.
17149
17150         * buffer.C (asciiParagraph): Use GetUChar.
17151
17152 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17153
17154         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17155
17156 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17157
17158         * buffer.h:
17159         * buffer.C: rename to getLogName(), handle
17160           build log / latex log nicely
17161
17162 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17163
17164         * MenuBackend.C:
17165         * MenuBackend.h: remove support for reference menuitem type.
17166
17167 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17168
17169         * BufferView_pimpl.C: housekeeping
17170         * BufferView_pimpl.h:
17171         * LyXView.h:
17172         * Makefile.am:
17173         * Timeout.C:
17174         * Timeout.h:
17175         * minibuffer.h: move Timeout GUI-I
17176
17177 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17178
17179         * lyxrc.C (read): Update converters data-structures.
17180
17181 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17182
17183         * LaTeX.h (operator!=): add operator != for Aux_Info
17184
17185 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17186
17187         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17188
17189         * LaTeXLog.C: deleted, useful code moved to Buffer
17190
17191         * buffer.h:
17192         * buffer.C: new function getLatexLogName()
17193
17194         * lyx_gui_misc.C:
17195         * lyx_gui.C:
17196         * lyxvc.C:
17197         * lyxvc.h:
17198         * lyxfunc.C: use frontends for LaTeX and VC logs
17199
17200 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17201
17202         * LaTeX.h: yet another std:: that Allan forgot.
17203
17204         * Variables.C (set): renamed from isset(), because this clashes
17205         with some HP-UX macros (grr).
17206
17207 2001-02-06  Allan Rae  <rae@lyx.org>
17208
17209         * LaTeX.h: Another bug fix.  Missing std:: this time.
17210
17211 2001-02-04  Allan Rae  <rae@lyx.org>
17212
17213         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17214         floats problem. I've left it commented out because it's not quite
17215         correct.  It should also test that the current object is a table or
17216         figure inset.  But I haven't gotten around to figuring out how to do
17217         that.  I *think* it'll be something like: "table" == inset.type()
17218
17219         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17220         bool.
17221
17222 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17223
17224         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17225         all the citation/databases/styles in the auxilary file.
17226         (run): Rerun latex if there was a babel language error.
17227
17228 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17229
17230         * text.C (Backspace): Preserve the font when changing newline char
17231         with a space.
17232         (BreakParagraph): If the cursor is before a space, delete the space.
17233
17234         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17235
17236 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17237
17238         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17239         new argument (code).
17240         (ChangeCitationsIfUnique): New method.
17241
17242         * paragraph.C (GetPositionOfInset): Handle bibkey.
17243
17244 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17245
17246         * BufferView_pimpl.h: change type of Position::par_pos to
17247         LyXParagraph::size_type.
17248
17249 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * BufferView_pimpl.C (savePosition, restorePosition): Write
17252         messages to minibuffer.
17253
17254 2001-01-28  José Matos  <jamatos@fep.up.pt>
17255
17256         * buffer.C (makeDocBookFile): adds support for document language.
17257         A silly restriction on the name of LatexCommand types where removed.
17258         Added support for CDATA sections, allows to chars unescaped, used
17259         among others in code, to avoid escape < and >.
17260
17261 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17262
17263         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17264         saved positions instrad of a stack. Furthermore, a position is
17265         stored using paragraph id/paragraph position.
17266
17267         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17268         Remove LFUN_REF_BACK.
17269
17270 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17271
17272         * converter.C (dvipdfm_options): New method.
17273
17274 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17275
17276         * vspace.C (isValidLength): Fix for empty input string.
17277
17278 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * LyXAction.C (init): change description of LFUN_FIGURE to
17281         "Insert Graphics"
17282
17283 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17284
17285         * LaTeX.C: add using directive
17286
17287 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17288
17289         * MenuBackend.C (expand): Fix the sorting of the formats.
17290
17291 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17292
17293         * lyx_main.C: tiny error message fix
17294
17295 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17296
17297         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17298         calling fl_initialize(). This fixes the problem with ',' as
17299         decimal separator in text files.
17300
17301 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17302
17303         * trans.C (process): Fix the keymap bug.
17304
17305 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17306
17307         * LaTeX.C (scanAuxFiles): New method. Provides support for
17308         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17309         (scanLogFile) Scan for "run BibTeX" messages.
17310
17311         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17312         OT1 font encoding. Also, load the aecompl package if the ae
17313         package is loaded.
17314
17315         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17316
17317 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17318
17319         * texrow.C (increasePos): turn two error messages into debug
17320         messages.
17321
17322 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17323
17324         * LaTeX.C (scanAux): Handle the \@input macro.
17325         (runBibTeX): Use scanAux().
17326
17327         * language.C (latex_options_): New field.
17328
17329         * LaTeXFeatures.C (getMacros): Add language macros.
17330
17331         * buffer.C (makeLaTeXFile): Small fix.
17332
17333 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17334
17335         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17336
17337         * text2.C: add a using directive.
17338
17339 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17340
17341         * BufferView2.C:
17342         * lyx_gui_misc.h:
17343         * lyxfr1.C:
17344         * lyxfunc.C: kill LyXBell.
17345
17346 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17347
17348         * text.C (IsBoundary): Remove the error message
17349
17350         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17351
17352         * lyxrc.C (setDefaults): Correct initialization value for
17353         font_norm_type.
17354
17355 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17356
17357         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17358         gotoError().
17359
17360         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17361         and GotoNextNote().
17362
17363         * src/LyXAction.C: Added reference-next.
17364
17365         * text.C (InsertChar): Use contains instead of strchr.
17366
17367         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17368
17369 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17370
17371         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17372         alignment commands (when needed).
17373
17374         * text.C (InsertChar): Add ':' to number separator chars.