]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
302cba77df93ee9dec48333aa90b5ba7627cd70c
[lyx.git] / src / ChangeLog
1 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
2
3         * lyxlex_pimpl.h: #include <fstream>.
4
5         * BufferView.[Ch] (getLyXText): add a const version.
6
7         * BufferView_pimpl.C: add debug aids.
8
9         * RowList_fwd.h:
10         * buffer.h:
11         * lyxrow.h:
12         * paragraph_funcs.h: add commentary explaining what the class does.
13
14
15         * coordcache.[Ch]: add lots of commentary.
16         (startUpdating, doneUpdating): debug aids.
17         (arrays, insets, parPos, getParPos): accessors to private data.
18
19         * cursor_slice.[Ch] (text): add a const version.
20         * dociterator.[Ch] (text, innerText): add const versions.
21
22         * lyxtext.h (breakParagraph): change the keep_layout arg to a
23         bool.
24
25         * paragraph.C (getRow, pos2ros): add asserts.
26
27         * paragraph.h: add commentary. Lots of.
28
29         * paragraph.[Ch] (metrucs, draw): removed.
30
31         * cursor.C:
32         * rowpainter.[Ch]: const-correct changes.
33
34         * text.C: various obvious clean-ups. Removal of ancient cruft.
35         Bug fixes, even.
36         
37 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
38
39         * vc-backend.C (find_file): rewrite to use boost.filesystem
40         (scanMaster): ditto
41
42         * main.C (main): sett default name check for boost.filesystem to
43         no check
44
45         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
46         (open): ditto
47         (doImport): ditto
48         (actOnUpdatedPrefs): ditto
49
50         * lyx_main.C (init): rewrite to use boost.filesystem
51         (queryUserLyXDir): ditto
52
53         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
54         (getContentsOfAsciiFile): ditto
55
56         * lastfiles.C (readFile): rewrite to use boost.filesystem
57
58         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
59
60         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
61         (loadLyXFile): ditto
62
63         * buffer.C (Buffer): adjust for destroydir
64         (getLogName): rewrite to use boost.filesystem
65         (setFileName): ditto
66         (save): use fs::copy_file (from fs_extras)
67
68         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
69
70         * LaTeX.C (run): rewrite to use boost.filesystem
71         (scanAuxFiles): ditto
72         (handleFoundFile): ditto
73
74 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
75
76         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
77
78         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
79
80 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * lyxlayout.[Ch]: change some vars from float to double
83
84         * buffer.C (readFile): make a local var const
85
86         * Several files: use convert<> instead of atoi,strToXXX and friends
87
88 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * LaTeXFeatures.[Ch]: Add a static list packages_ that
91         holds the contens of packages.lst. New functions getAvailable
92         and isAvailable to parse and check that list, resp.
93
94         * LyXAction.C:
95         * lfuns.h:
96         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
97
98         * bufferparams.[Ch]: new param output_changes.
99
100         * Buffer.C: increase file format to 240.
101         Use output_changes and isVailable.
102
103         * changes.[Ch]:
104         * paragraph.C:
105         * paragraph_pimpl.C: Use output_changes and isVailable.
106
107 2005-01-23  Angus Leeming  <leeming@lyx.org>
108
109         * output_latex.C: #include "insetbibitem.h", rather than
110         forward declare function bibitemWidest.
111
112 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
113
114         * lyx_main.C (init): make it compile on the Mac.
115
116 2005-01-20  Angus Leeming  <leeming@lyx.org>
117
118         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
119         (setLyXMisc): (char string literal) != (char string literal) is
120         performing a comparison on the addresses. Convert one operand
121         explicitly to string to guarantee expected behaviour.
122         From MSVC warning.
123
124 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
125
126         * buffer.C:
127         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
128
129         * output_plaintext.C: remove unneeded #include gzstream.h.
130
131 2005-01-20  Angus Leeming  <leeming@lyx.org>
132
133         * SpellBase.h: rename some of the elements of the Result enum.
134
135         * aspell_local.h:
136         * ispell.h:
137         * pspell.h:
138         * aspell.C (check):
139         * ispell.C (check):
140         * pspell.C (check): ditto
141
142 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
143
144         * buffer.C: add #include <fstream>.
145
146         * lyx_main.C (init): Compile fix.
147
148         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
149
150 2005-01-20  Angus Leeming  <leeming@lyx.org>
151
152         * mover.h: change commentary to reflect the changed meaning of
153         the $$s placeholder.
154
155 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * output_linuxdoc.C (linuxdocParagraphs): silence warning
158
159         * lyxfind.C (MatchString::operator()): remove bogus semicolon
160
161 2005-01-20  Angus Leeming  <leeming@lyx.org>
162
163         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
164         printing diagnostic data by not dereferecing an iterator past the
165         end.
166
167 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
168
169         * buffer.C (readHeader): use "&&" rather than "and".
170
171         * lyxserver.h (inPipeName, outPipeName): make these const.
172
173 2005-01-19  Angus Leeming  <leeming@lyx.org>
174
175         * lyx_main.C (error_handler, init): protect SIGHUP with
176         #ifdef SIGHUP guards.
177
178 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
181
182 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * text.C (setHeightOfRow): add a margin at the top and bottom of
185         the document (bug 1761)
186
187 2005-01-17  Angus Leeming  <leeming@lyx.org>
188
189         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
190         with "python ". Workaround for a brain-dead Windows.
191
192 2005-01-16  Angus Leeming  <leeming@lyx.org>
193
194         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
195         for MacOSX and Windows to use prependEnvPath.
196         Strip out the hard-coded block to add elements to the PATH for
197         MacOSX and replace it with a call to prependEnvPath using the
198         contents of LyXRC::path_prefix.
199         (queryUserLyXDir): strip out the code to run reconfigure, instead
200         returning a boolean indicating the necessity to do so.
201         (reconfigureUserLyXDir): contains the code to reconfigure the
202         user support directory. Is now called after the various LyXRC data
203         files have been read.
204
205         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
206
207 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * converter.[Ch] (convert): take a new parameter try_default. Use
210         a default converter (imagemagick) if try_default is true.
211
212 2005-01-13  Angus Leeming  <leeming@lyx.org>
213
214         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
215         os::cygwin_path_fix.
216         (write): output LyXRC::cygwin_path_fix as necessary.
217
218 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
219
220         * lyxrc.h:
221         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
222
223 2005-01-12  Angus Leeming  <leeming@lyx.org>
224
225         * lyx_main.C (init): set the PATH variable to include the
226         directory containing the LyX binary when running on Mac or Windows.
227
228 2005-01-12  Angus Leeming  <leeming@lyx.org>
229
230         * lyx_main.C (init): remove cruft that purports to set the locale
231         dir. It doesn't and is not needed anyway.
232
233 2005-01-10  Angus Leeming  <leeming@lyx.org>
234
235         * Makefile.am: remove the lyx_main.C special casing.
236
237         * BufferView_pimpl.C:
238         * bufferlist.C:
239         * exporter.C:
240         * lyx_cb.C:
241         * lyx_main.C:
242         * lyxfunc.C:
243         * messages.C: use support/package.h to provide the paths to the
244         various directories used by LyX.
245
246 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
249         layout if pasting into an empty paragraph)
250
251 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
252
253         * tex-accent.C: add <string>
254
255 2005-01-06  José Matos  <jamatos@lyx.org>
256
257         * ParagraphParameters.C (write): put every parameter in its own line.
258         * paragraph.C (write): reduce number of consecutive empty lines exported.
259         * buffer.C (LYX_FORMAT): increase file format to 239.
260
261 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
262
263         * everywhere: change support/tostr.h -> support/convert.h
264
265         * tabular.C: make all write_attributes templates, tostr -> convert
266
267         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
268         (emptyTag): and -> &&, and fix type for ret from getChar
269         (getFirstWord): fix type for ret from getChar
270         (onlyText): and -> &&
271         (simpleDocBookOnePar): and not -> && !, fix type for ret from
272         getChar
273
274         * toc.C (goTo, action):
275         * text3.C (dispatch):
276         * text.C (currentState):
277         * tex-accent.C (DoAccent):
278         * sgml.C:
279         * lyxrc.C:
280         * lyxfunc.C (menuNew):
281         * lyxfinc.C (replace):
282         * counters.C (laberItem):
283         * bufferview_funcs.C (font2string):
284         * bufferparams.C (writeFile):
285         * buffer.C (readFile):
286         * Spacing.C (set):
287         * MenuBackend.C: tostr -> convert
288
289         * LaTeX.C (runMessage): fix format
290         (scanAuxFiles): tostr -> convert
291
292         * BufferView_pimpl.C (savePosition): fix format
293         (restorePosition): ditto
294         (dispatch): ditto
295
296 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * Spacing.[Ch]: New method getValueAsString().
299
300         * Spacing.[Ch]:
301         * bufferparams.C:
302         * ParagraphParameters.C:
303         * lyxlayout.C:
304         * text.C:
305         * text3.C: store/read spacing value as string.
306
307         * rowpainter.C: change float value (spacing_val) to double.
308
309         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
310         broken custom document spacing).
311
312 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
315         namespace, also more use of temp references and const
316
317         * cursor.[Ch] (getStatus): move to lyxfunc.C
318
319         * bufferparams.C: reformat slightly
320
321         * bufferview_funcs.C (font2string): constify arg
322
323         * changes.C:
324         * converter.C:
325         * counters.C:
326         * bufferlist.C:
327         * buffer_funcs.C: (many funcs): constify arg on function
328         definitions, also make more local vars const, also add ASSERTS on
329         pointer args.
330
331         * buffer.C (LYX_FORMAT): put const in correct place
332         (many funcs): constify arg on function definitions, also make
333         more local vars const
334
335         * aspell_local.h: remove "struct" from typdef setup
336
337         * aspell.C (check): make word_ok const
338         (nextMiss): simplify slightly
339         (error): ditto
340
341 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
342
343         * lyxrc.[Ch]: store all float values as strings.
344         use int (not float) for lyxrc.dpi.
345
346 2005-01-04  Angus Leeming  <leeming@lyx.org>
347
348         * lyx_cb.C (Reconfigure):
349         * lyx_main.C (queryUserLyXDir):
350         to run the <system_lyxdir>/configure correctly on Windows, prefix
351         the path to the script with "sh " when generating the string that
352         is passed to system().
353
354 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
355
356         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
357
358 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * lyxlength.C (asLatexString): get rid of setprecision
361
362 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * text2.C (setLayout): remove unused variable endpit.
365         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
366
367         * paragraph.C (onlyText): remove unused variable style.
368
369         * cursor.C (bruteFind): remove unused variables beg and end.
370
371         * Makefile.am (dist_noinset_DATA): not needed anymore
372
373         * cheaders/*: remove.
374
375 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
376
377         * text3.C: fix LFUN_MATH_MODE.
378
379 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
380
381         * buffer_funcs.C (countWords): new function. Counts words between
382         two iterators.
383
384         * BufferView_pimpl.C (getStatus, dispatch): handle
385         LFUN_WORDS_COUNT.
386
387         * LyXAction.C (init):
388         * lfuns.h: add LFUN_WORDS_COUNT.
389
390 2004-12-19  Angus Leeming  <leeming@lyx.org>
391
392         * buffer.C (save): s/slashify_path/internal_path/.
393
394 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * lyxfind.C (findChange): do not search for end of pars, because
397         the change tracker cannot handle this (fixes bug 1719).
398
399 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * paragraph.[Ch] (autoBreakRows): remove
402
403         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
404
405         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
406         avoid using the paragraph one
407
408         * text2.C (LyXText, insertStringAsLines): adjust
409
410 2004-12-16  Angus Leeming  <leeming@lyx.org>
411
412         * bufferlist.C:
413         * lyx_main.C:
414         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
415
416 2004-12-14  Angus Leeming  <leeming@lyx.org>
417
418         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
419
420         * bufferlist.C (emergencyWrite):
421         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
422         GetEnvPath("HOME").
423
424 2004-12-14  Angus Leeming  <leeming@lyx.org>
425
426         * main.C: (main): no longer pass pointers to os::init.
427
428 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * undo.C (textUndoOrRedo): simplify logic, fix a crash
431         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
432
433 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * lyxfunc.C:
436         * text3.C: remove selection_possible global flag
437
438 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * text2.C (getSelectionSpan): remove
441         (changeDepth, changeDepthAllowed): adjust
442
443 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
444
445         * Makefile.am (BOOST_LIBS): use boost variables
446
447 2004-12-03  José Matos  <jamatos@lyx.org>
448
449         * buffer.C: format up to 238.
450
451 2004-12-03  José Matos  <jamatos@lyx.org>
452
453         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
454
455 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
456
457         * cursor.C (goUpDown): remove call to idxUpDown2
458
459 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * tabular.[Ch]: use size_t-like types for cell, row and column
462         indices
463
464 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * lyxfunc.C (getStatus): do not lose previous information when
467         calling BufferView::getStatus; do not set a default "Command
468         disabled" message at the beginning, but just before returning.
469
470 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
471
472         * cursor.h (getStatus): add better comment from src/cursor.C
473
474 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * text3.C (getStatus): return false when the lfun is not handled
477
478 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * broken_headers.h: remove
481
482         * Makefile.am (lyx_SOURCES): remove broken_headers.h
483
484 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
485
486         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
487         offset_ref accessors
488
489         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
490         top_y_, merge fitcursor with update
491         (updateScrollbar, scrollDocView, fitCursor, center, update): new
492         coord scheme
493         (metrics): introduce
494         (workAreaDispatch): adapt to new coord scheme
495         (redoCurrentBuffer): remove
496
497         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
498
499         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
500         CurStatus enum.
501
502         * coordcache.[Ch]: add paragraph cache and helpers
503
504         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
505         adjust everywhere
506
507         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
508         (targetX, setTargetX): introduce
509
510         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
511         baseline -> ascent, as the rest of lyx
512
513         * lyxtext.h: remove redoParagraphs, updateParPositions,
514         fullRebreak, redoParagraphInternal. move dist to anon namespace in
515         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
516         have ascent/descent (ascent is ascent of first par)
517
518         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
519         step of BufferView
520
521         * paragraph.[Ch]: unify dimension handling with the rest of lyx
522
523         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
524
525         * pariterator.C: fix infinite loop introduced in par->pit renaming
526
527         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
528         in insets and LyXText, draw two off-screen paragraphs using
529         NullPainter, and adapt to new coord scheme
530
531         * text.C:
532         * text2.C:
533         * text3.C: adapt lfun handlers to the new coord scheme, which
534         means: there's only guaranteed coord information for onscreen pars
535         plus one above and one below. This implies that one can do search
536         from y coordinates in the range [-1,workHeight]
537
538 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
539
540         * rename a lot of InsetOld to InsetBase
541
542 2004-11-25  Angus Leeming  <leeming@lyx.org>
543
544         * BufferView_pimpl.C:
545         * lyx_cb.C:
546         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
547
548 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
551         call BufferView::getStatus if LCursor::getStatus did nothing
552         (setStatusMessage, getStatusMessage): removed.
553
554         * FuncStatus.C (message): new methods. Used to provide an error
555         message indicating why a command is disabled.
556         (clear, |=, FuncStatus): update for message.
557
558 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
559
560         * lyxfunc.C (dispatch): always call sendDispatchMessage
561
562 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
563
564         * BufferView.C:
565         * BufferView_pimpl.C:
566         * CutAndPaste.C:
567         * FontIterator.C:
568         * buffer.C:
569         * cursor.C:
570         * cursor_slice.[Ch]:
571         * dociterator.[Ch]:
572         * lyxfind.C:
573         * paragraph_funcs.C:
574         * pariterator.C:
575         * rowpainter.C:
576         * text.C:
577         * text2.C:
578         * text3.C:
579         * undo.C: par->pit renaming
580
581 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
582
583         * tabular.C (cellstruct): use initialization, store a shared_ptr
584         to insettext instead of the insettext directly, adjust to fit.
585         (operator=):  new function
586         (swap): new function
587         (rowstruct): use initialization
588         (columnstruct): use initialization
589         (ltType): use initialization
590
591
592         * lyxlength.h (swap): new function
593
594         * LColor.[Ch] (operator=): use the common semantics
595
596 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * lyxfind.C (findNextChange): update the bufferview after setting
599         the selection.
600
601 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
604         number of InsetOptArgs has already been inserted.
605
606         * output_latex.C (latexOptArgInsets): new method. This outputs all
607         the optarg insets, up to the limit defined in the layout file.
608         (optArgInset): removed
609         (TeXOnePar): call latexOptArgInsets; correctly update texrow
610
611 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * paragraph.C (isLetter): remove special spellchecker-related
614         code; return true also for digits
615         (isWord, isKomma): remove
616
617         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
618         * lyxfind.C (MatchString()): use isLetter instead of isWord
619
620 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
621
622         * pariterator.h (operatir=): comment out un-implemented member
623         function.
624
625         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
626         static cast.
627
628 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
629
630         * lyxfont.h: include LColor.h to satisfy concept checks.
631
632 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * pariterator.h: add typdefs for value_type, difference_type,
635         pointer and reference to satisfy concept checks. Also add default
636         constructor for same reason.
637
638         * pariterator.C (operator++): add post-increment operator to
639         satisfy concept checks.
640
641         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
642         checks.
643
644         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
645
646         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
647         checks. Also rename base_type to BaseType to follow naming
648         standard better.
649
650         * FloatList.h: include Floating.h to satisfy concept checks.
651
652 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * lyxfunc.C (getStatus): when the origin of the request is menu or
655         toolbar, and the LyXView does not have focus, do as if there was
656         no buffer (bug 1720)
657
658         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
659         FuncRequest to individual entries of LFUN_SEQUENCE
660
661 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * output_latex.C (TeXOnePar): override runparams.moving_arg
664         according to the needprotect value of the current paragraph (bug
665         1739)
666
667         * paragraph.C (simpleTeXOnePar): no need to override
668         runparams.moving_args here
669
670 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
671
672         * vspace.C: fix off-by-one-error, related to fix #1682
673
674 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * lengthcommon.C: a more general fix for bug 1682
677
678 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * text.C (backspace): fix crash
681
682 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
683
684         * format.[Ch] (getFormatFromFile): new method
685         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
686
687 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
690
691 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * lyxfunc.C (dispatch): remove the verbose argument
694         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
695         instead
696
697         * kbmap.C (defkey): set the origin of func to KEYBOARD
698
699         * MenuBackend.C (MenuItem):
700         * ToolbarBackend.C (add): set the origin of func to UI
701
702         * funcrequest.[Ch]: add origin member, which indicates which part
703         of LyX requests an action
704
705 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
706
707         * converter.C (move): don't lie in the error message
708         * converter.h (isReachable, move): document
709
710 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
711
712         * buffer.C: remove unused using lyx::support::atoi
713         * paragraph_funcs.C: ditto
714
715 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
716
717         * bufferlist.C (exists): use bind and equal_to instead of
718         compare_memfun
719         (getBuffer): ditto
720         * lyxtextclasslist.C (NumberOfClass): ditto
721
722         * cursor.C (insert): use for_each instead of explicit for loop
723
724         * bufferlist.C (getFileNames): use std::transform and
725         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
726
727         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
728         for loop
729
730         * buffer.C (changeLanguage): use for_each instead of explicit for
731         loop
732         (hasParWithID): implement using getParFromID
733
734         * LaTeXFeatures.C: ws change only
735
736         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
737         to cleanup a bit.
738
739         * BufferView_pimpl.C (trackChanges): use for_each instead of
740         expilicit for loop
741
742 2004-11-04  André Pönitz  <poenitz@gmx.net>
743
744         * undo.h:
745         * undo.C (textUndoOrRedo): fix crash when creating undo information.
746
747         * dociterator.C (asDocIterator): use hard assert again.
748
749 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * lyxlength.C (asLatexString): rewrite so that it does not use
752         snprintf anymore
753
754 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * text3.C (specialChar, dispatch): make sure cursor moves to the
757         right after inserting an inset
758
759 2004-11-02  José Matos  <jamatos@lyx.org>
760
761         * output_docbook.C (docbook):
762         * paragraph.C (getID):
763         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
764         garantee that the output is always legal.
765
766         * tabular.C (docbook):
767         * outputprams.[Ch]: remove mixed contents.
768
769 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
770
771         * text2.C (setCounter): prevent endless loop
772
773 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
774
775         * exporter.C (copyFile): use the mover instead of support::copy()
776         * exporter.C (Export): pass format and latex name to copyFile()
777         * exporter.h (addExternalFile): document
778         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
779
780 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
781
782         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
783
784 2004-10-30  José Matos  <jamatos@lyx.org>
785
786         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
787         text and no inset or font change. This allows to use CDATA
788         sections just for the whole paragraph.
789
790 2004-10-30  José Matos  <jamatos@lyx.org>
791
792         * paragraph.C (getFirstWord): remove unused variable.
793
794 2004-10-30  José Matos  <jamatos@lyx.org>
795
796         * paragraph.C (getFirstWord): the content should always be escaped
797         there.
798         (simpleDocBookOnePar):
799         * output_docbook.C (makeEnvironment): replace reference to CDATA
800         to style pass_thru.
801
802 2004-10-30  José Matos  <jamatos@lyx.org>
803
804         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
805
806 2004-10-30  José Matos  <jamatos@lyx.org>
807
808         * output_docbook.C (makeParagraphs):
809         * paragraph.[Ch] (emptyTag): for docbook and company, if the
810         standard paragraph has only a given type of content drop the wrapper.
811
812 2004-10-29  José Matos  <jamatos@lyx.org>
813
814         * output_docbook.C (makeEnvironment):
815         * sgml.C (openTag):
816         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
817
818 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
819
820         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
821         (cleanID): sanitize any id.
822
823 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * buffer.C, lyxlex_pimpl.C:
826         * lyxlex_pimpl.C (setFile):
827         s/getExtFromContents/getFormatFromContents/
828
829 2004-10-28  José Matos  <jamatos@lyx.org>
830
831         * output_docbook.C (makeEnvironment): move id to broadest possible
832         scope.
833
834         * sgml.C (openTag): apply substitution of <> for all attributes.
835
836 2004-10-28  José Matos  <jamatos@lyx.org>
837
838         * buffer.C (makeLinuxDocFile, makeDocBookFile):
839         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
840         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
841
842         * sgml.[Ch]: new version for open and closeTag for paragraph and
843         for strings. Now they handle the ids of paragraphs.
844
845 2004-10-26  Angus Leeming  <leeming@lyx.org>
846
847         * Makefile.am: add mover.[Ch].
848
849         * converter.C (convert, move): use the new Movers to move external
850         files to the temp directory.
851
852         * lyx_main.C (init): ensure that the global system_movers data
853         is initialised.
854
855         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
856         preferences file.
857
858         * mover.[Ch]: new files, defining a Mover as a utility to move an
859         external file between directories and, if necessary, manipulate this
860         file using a helper script.
861
862 2004-10-25  José Matos  <jamatos@lyx.org>
863
864         * output_docbook.C (makeCommand): merge two if's that tested the
865         same condition.
866
867 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * sgml.C (escapeString): fix warning in a better way
870
871 2004-10-25  José Matos  <jamatos@lyx.org>
872
873         * sgml.C (escapeString): import the require boosts header file for
874         tie, and avoid a signed unsigned comparison.
875
876 2004-10-25  José Matos  <jamatos@lyx.org>
877
878         * sgml.h: add #include <string>
879
880 2004-10-25  José Matos  <jamatos@lyx.org>
881
882         * sgml.[Ch] (escapeString): new function to escape all the string.
883
884 2004-10-24  José Matos  <jamatos@lyx.org>
885
886         * paragraph.[Ch] (getFirstWord): new function to get the first
887         word. Useful for description.
888         (simpleDocBookOnePar): remove depth argument, add another that
889         says where to start the paragraph.
890
891         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
892         use the new functions to fix cleanly the support for descriptions.
893
894 2004-10-24  José Matos  <jamatos@lyx.org>
895
896         * buffer.C (makeLinuxDocFile, makeDocBookFile):
897         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
898         * output_linuxdoc.C (linuxdocParagraphs):
899         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
900         add buffer as argument.
901
902 2004-10-24  José Matos  <jamatos@lyx.org>
903
904         * output_docbook.C (makeEnvironment, searchEnvironment): place
905         CDATA inside paragraphs and fix scope for listitems.
906
907 2004-10-24  José Matos  <jamatos@lyx.org>
908
909         * output_docbook.C: remove using statement for stack.
910
911 2004-10-23  José Matos  <jamatos@lyx.org>
912
913         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
914         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
915         docbook. The new scheme is recursive and makes use of iterators, the
916         same as latex export works.
917         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
918         directly with the paragraph contents. This code was moved up to
919         output_docbook.C (docbookParagraphs).
920         * sgml.C (openTag, closeTag): removed unneeded newlines.
921         (closeEnvTags) removed.
922
923 2004-10-23  André Pönitz  <poenitz@gmx.net>
924
925         * undo.C (textUndoOrRedo):
926         * dociterator.C (asDocIterator): work around crash
927
928         * cursor.C (getStatus): replace ASSERT by more verbose error message
929           and manual correction of the problem. Should increase stability
930           while providing more sensible information.
931
932 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
935
936         * bufferlist.C (previous, next): new methods
937
938         * lfuns.h:
939         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
940
941 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
942
943         * buffer.C (makeDocBookFile): add dsssl stylesheet control
944         entities to preamble.
945
946 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * messages.C (Pimpl): strip off translation context information
949
950 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
953         the cursor is correct (bug 1694)
954
955 2004-10-13  José Matos  <jamatos@lyx.org>
956
957         * output_docbook.C (docbookParagraphs): fix closing tags in the
958         end of the document.
959
960 2004-10-09  José Matos  <jamatos@lyx.org>
961
962         * buffer.C: format up to 237.
963         * bufferparams.C (write): use tostr to convert booleans to strings.
964
965 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
966
967         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
968
969 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * LaTeX.C: implement use of babel language in xindy.
972
973 2004-10-05  José Matos  <jamatos@lyx.org>
974
975         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
976         Add new translators to help reading and writing the lyx file.
977
978 2004-10-05  José Matos  <jamatos@lyx.org>
979
980         * ParagraphParameters.C (read):
981         * text.C (readParToken): replace nexToken by more appropriate lex
982         methods.
983
984 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
985
986         * LaTeX.C (runMakeIndex):
987         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
988         (usually 'makeindex') configurable.
989
990         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
991         with a variable rather than with a number.
992
993 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * output_latex.C (TeXOnePar): make sure font setting is the first
996         thing that gets output (and the last at the end). Should fix bug
997         1404.
998
999 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1000
1001         * pch.h: use proper signal include
1002
1003         * LaTeX.h: Use preferred calling of Boost.Signal
1004         * buffer.h: ditto
1005
1006 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1007
1008         * pch.h: dont include <boost/function/function0.hpp>
1009
1010         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1011
1012         * paragraph_pimpl.h: remove usage of ShareContainer
1013
1014         * paragraph_pimpl.C: remove initialization of ShareContainer.
1015
1016 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1017
1018         Fix bug #1666
1019
1020         * BufferView.C (putSelectionAt): change the semantics when
1021         backwards == true: now, this just swaps cursor and anchor wrt the
1022         forward case
1023
1024         * BufferView.h (putSelectionAt): add some documentation
1025
1026         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1027         make sure backwardChar is done at least once (to avoid getting
1028         stuck)
1029         (findNextChange): use putSelectionAt in the forward direction
1030         (operator()): use Paragraph::isWord
1031
1032 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1033
1034         * Spacing.C (set): c_str fix
1035
1036 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * lyx_cb.C (Reconfigure): quote the name of configure script in
1039         case it contains spaces
1040
1041 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1042
1043         * client: new dir
1044
1045         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1046         (BOOST_LIBS): use top_buildir when looking for the file
1047
1048 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * pch.h: do not use include boost/format.hpp, multiple symbols
1051                 will result (gcc bug)
1052
1053
1054 2004-08-23  José Matos  <jamatos@lyx.org>
1055
1056         * bufferparams.C (readToken): fix reading of the author field.
1057
1058 2004-08-20  José Matos  <jamatos@lyx.org>
1059
1060         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1061
1062 2004-08-20  José Matos  <jamatos@lyx.org>
1063
1064         * lyxlex.[Ch] (findToken): remove function.
1065
1066         * ParagraphParameters.C (findToken):
1067         * bufferparams.C (findToken): replace call for previous function
1068         with local copy. This local function has one more argument, the
1069         read string argument.
1070
1071 2004-08-16  José Matos  <jamatos@lyx.org>
1072
1073         * ParagraphParameters.C (write):
1074         * Spacing.C (writeFile):
1075         * bufferparams.C (writeLaTeX):
1076         * lyx_cb.C (Reconfigure):
1077         * paragraph.C (write):
1078         * tabular.C (write): remove unnecessary space at end of line.
1079
1080
1081 2004-08-16  José Matos  <jamatos@lyx.org>
1082
1083         * text.C (readParagraph): remove debug message.
1084
1085 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1088         crash
1089
1090         * output_plaintext.C (asciiParagraph): set depth correctly
1091
1092         * outputparams.h: add member depth
1093
1094         * paragraph_funcs.C (ownerPar): remove.
1095
1096         * text2.C (setCounter): remove first_pit; comment out some
1097         non-working code that uses ownerPar
1098
1099         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1100         uses ownerPar
1101
1102 2004-08-16  José Matos  <jamatos@lyx.org>
1103
1104         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1105         For the same level of importance use the same chanel to report problems.
1106         (read): add code to deal with \begin_body and \end_body.
1107
1108
1109 2004-08-15  José Matos  <jamatos@lyx.org>
1110
1111         * lyxlex.C (getString): fix comment, buffer::readBody is now
1112         buffer:readDocument.
1113
1114         * tex-strings.C (string_papersize): Default -> default,
1115         Custom -> custom, for consistency with other options.
1116
1117 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1118
1119         * pch.h: new file
1120
1121         * Makefile.am: support pch
1122
1123 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * text.C (readParToken): remove the static LyXFont variable and
1126         pass it as a parameter instead. This fixes a nasty bug where an
1127         inset will be inserted with a bad font in some situations
1128         (readParagraph): adapt
1129
1130         * text2.C (setCounter): reduce number of calls to pars_[pit]
1131
1132         * text.C (singleWidth): add an assert, fix a test
1133
1134         * rowpainter.C (paintText): reduce number of calls to singleWidth
1135
1136         * paragraph.C (isHfill):
1137         (isNewline): ws only
1138
1139 2004-08-14  André Pönitz  <poenitz@gmx.net>
1140
1141         * text.C:
1142         * text2.C:
1143         * rowpainter.C:
1144         * lyxtext.h (several functions): use a Paragraph & argument
1145         instead of par_type
1146
1147 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1150
1151         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1152
1153         * text.C (singleWidth): remove useless test
1154
1155 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * tabular.h: remove bogus comments
1158
1159         * tabular.C (getDescentOfRow):
1160         (isPartOfMultiColumn): add assertions
1161
1162         * lyxlength.C (inPixels): remove #warning
1163
1164 2004-08-14  André Pönitz  <poenitz@gmx.net>
1165
1166         * paragraph.h: inline getChar()
1167
1168         * BufferView.h: remove unused declarations
1169
1170 2004-08-14  José Matos  <jamatos@lyx.org>
1171
1172         * Buffer.[Ch] (readDocument): new name for old readBody.
1173         * Buffer.C: new file format, new keywords: \begin_document,
1174         \begin_header, \begin_body, \end_body.
1175
1176         * bufferparams.C (readToken): replace all calls to lex.nextToken
1177         by lex.next(). Do the same to eatLine except where really needed.
1178
1179         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1180         line when writing to the lyx file.
1181
1182         * output_plaintext.C (asciiParagraph): fix Bibliography style
1183         handling.
1184
1185         * text.C (read): fix end of file handling.
1186
1187 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * MenuBackend.C (Menu::operator[]): new method to access
1190         individual menu items
1191         (Menu::hasFunc): new method. search for an item that corresponds
1192         to a given func
1193         (MenuBackend::specialMenu): new method
1194         (MenuBackend::expand): if a special menu has been set, skip
1195         entries whose func() appears in this menu
1196
1197 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1198
1199         * text3.C: use Debug::DEBUG a bit more
1200
1201         * text.C (leftMargin): try to simplify a tiny bit change var x to
1202         l_margin. Dont output the wide margins always.
1203         (rightMargin): no margin in inner texts
1204
1205         * rowpainter.h (nestMargin): new func
1206         (changebarMargin): new func
1207         (rightMargin): new func
1208
1209         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1210         now functions.
1211         (paintLast): ditto
1212
1213         * factory.C (createInset): modify setDrawFrame
1214
1215         * cursor.C: use Debug::DEBUG a bit more
1216
1217 2004-08-14  André Pönitz  <poenitz@gmx.net>
1218
1219         * coordcache.[Ch]:
1220         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1221         cache for all insets in (at least partially) visible (top-level)
1222         paragraphs.
1223
1224         * BufferView_pimpl.C: reset external coord cache before every update.
1225         This means the coord cache only contains valid entries.
1226
1227 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1228
1229         bug 1096
1230         * BufferView_pimpl.C (getInsetByCode): move function out of class
1231         and change in to a template in anon namespace. Also fix to do what
1232         suits us better.
1233
1234 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1235
1236         bug 1305
1237         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1238         of char
1239         (breakParagraph): rename par to par_offset and use a local
1240         reference. Add code to keep the language over a rebreak.
1241         (breakParagraphConservative): rename par to par_offset, use a
1242         local reference
1243         (mergeParagraph): ditto
1244         (outerHook): ditto
1245         (isFirstInSequence): ditto
1246         (outerFont): rename pit to par_offset
1247
1248         * paragraph.C: ws change
1249         * paragraph.h: ditto
1250         * text3.C: ditto
1251         * text.C: ditto
1252
1253 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1256         treatment for ']'
1257
1258         * paragraph.C (simpleTeXOnePar): when we have a \item with
1259         optional argument, enclose the argument with curly brackets (in
1260         case it contains a closing square bracket)
1261
1262         * text2.C (editXY):
1263         * text2.C (editXY):
1264         * text3.C (checkInsetHit): constify
1265
1266 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1269         documents (bug 1629)
1270
1271 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1272
1273         Fix toggling of collapsable insets with the mouse (bug 1558)
1274
1275         * lyxfunc.C (dispatch): adapt to LCursor changes
1276
1277         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1278         make sure that dispatch is not invoked twice
1279
1280         * cursor.C (needsUpdate): new method
1281         (dispatch): return void
1282         (result): new method, to access the DispatchResult of the cursor.
1283
1284 2004-08-13  José Matos  <jamatos@lyx.org>
1285
1286         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1287
1288 2004-08-13  André Pönitz  <poenitz@gmx.net>
1289
1290         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1291
1292         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1293           multiple cells
1294
1295 2004-08-12  André Pönitz  <poenitz@gmx.net>
1296
1297         * text3.C: take out the 'cursor right' form insertInset and only
1298         do it in those places when it is really needed. Fixes crash on
1299         C-m...
1300
1301 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302
1303         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1304
1305         * BufferView_pimpl.C (setBuffer): initialize the current font of
1306         the underlying LyXText
1307
1308 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * kbsequence.C (print): use UI native formatting for menu
1311         shortcuts
1312
1313         * text.C (insertChar): call Paragraph::insertChar with a font
1314         argument (cosmetic)
1315
1316         * paragraph.C (insertInset, insertChar): the version that takes a
1317         LyXFont argument is now a wrapper around the other one (the
1318         opposite used to be true).
1319
1320         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1321         argument. Font setting is done in Paragraph now.
1322
1323 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1324
1325         * outputparams.h: add new members intitle and lang.
1326
1327         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1328         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1329
1330 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1331
1332         * text3.C (dispatch): remove special handling of button 4 and 5,
1333         it is now taken care of in the frontend code.
1334
1335 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1336
1337         * Spacing.h: add <string> (STLPort compile fix)
1338
1339 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1340
1341         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1342
1343 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1344
1345         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1346         to bool.
1347
1348         * converter.C (showMessage): inherit from unary_function, make
1349         operator() const.
1350
1351         * buffer.C (writeFile): initialize retval
1352
1353         * InsetList.h: rename private variable list to list_
1354         * InsetList.[Ch]: adjust accordingly.
1355
1356 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1357
1358         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1359         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1360         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1361         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1362         * ParagraphParameters.C, LaTeXFeatures.C: replace
1363         "support/std_sstream.h" with <sstream>
1364
1365 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1366
1367         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1368         * lyxsocket.C (LyXServerSocket): ditto
1369         (serverCallback): ditto
1370
1371 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1372
1373         * LaTeXFeatures.C: check release date when loading jurabib.
1374
1375 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1376
1377         * lyxserver.C (startPipe): call register_socket_callback
1378         (endPipe): call unregister_socket_callback
1379
1380 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1381
1382         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1383         (LyXServerSocket): register the callback
1384         (LyXServerSocket): unregister the callback
1385         (fd): delete function
1386         (serverCallback): improve error checking and setup the callbacks.
1387         (dataCallback): change arg to fd.
1388         (writeln): new func (copied fro the client socket) used for server
1389         write to client.
1390         (LyXDataSocket): simplify
1391         (~LyXDataSocket): close ann unregiser callback
1392         (server): delete function
1393         (fd): delete function
1394         (readln): small changes, improve some std::string usage
1395         (writeln): constify a bit
1396
1397 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1398
1399         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1400         Qt frontend
1401
1402 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1403
1404         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1405         after it has been populated
1406
1407 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * text2.C (insertInset): move cursor when inserting inset.
1410
1411 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * kbmap.C (findbindings): a couple of new methods. returns a
1414         container of kb_sequence objects. The real work is done by the
1415         private recursive version
1416         (printbindings): uses findbindings to print out a bracketed list
1417         of bindings (renamed from findbinding).
1418
1419         * MenuBackend.C (binding): use kb_keymap::findbindings
1420
1421         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1422
1423 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1424
1425         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1426
1427 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * paragraph.C (isWord): return true on insets that report
1430         isLetter().
1431
1432         * text.C (getWord): use Paragraph::isWord to decide what is in a
1433         word and what is not; fix bug 1609.
1434
1435 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1436
1437         * tex-strings.C: add "none" to string_paperpackages[], fixes
1438         off-by-one-error in the paperpackage selection.
1439
1440         * lyxlex.[Ch]:
1441         * tex-strings.[Ch]: char const * string[n]
1442         -> char const * const string[]
1443
1444 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1447         command, return early.
1448
1449 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1450
1451         * debug.h: add DEBUG to enum and fix size of ANY.
1452
1453         * debug.C: add support for Debug::DEBUG
1454         (showTags): cast errorTags.level to unsigned int
1455
1456         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1457         (redoCurrentBuffer): ditto
1458         (updateScrollbar): ditto
1459         * cursor.C (dispatch): ditto
1460         * text2.C (setLayout): ditto
1461         (setFont): ditto
1462         (updateCounters): ditto
1463         (editXY): ditto
1464         (deleteEmptyParagraphMechanism): ditto
1465
1466 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1467
1468         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1469         annotations to cleanup the Makefile slightly.
1470
1471 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * lyxrc.C: do not set user_email to a default value but use empty
1474         instead. The entry used to be translated, which does not work
1475         since at the point where lyxrc is constructed there is no
1476         translation service available
1477
1478         * messages.C (getLocaleDir): remove and use directly
1479         lyx_localedir() instead
1480
1481 2004-06-02  Angus Leeming  <leeming@lyx.org>
1482
1483         Fix crash caused by dereferencing null pointer 'exportdata' in
1484         OutputParams by creating a new ExportData variable on the heap,
1485         storing it in a boost::shared_ptr.
1486         The crash was triggered when generating an Instant Preview
1487         of an external inset.
1488
1489         * Makefile.am: add outputparams.C
1490
1491         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1492         (c-tor): allocate memory to it.
1493
1494         * exporter.C (c-tor): associated changes.
1495
1496 2004-06-01  Angus Leeming  <leeming@lyx.org>
1497
1498         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1499         contains data before calling isInset(0). (Bug 1513.)
1500
1501 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1502
1503         * exporter.C (checkOverwrite): new method
1504         * exporter.C (copyFile): new method
1505         * exporter.C (Export): copy referenced files to the document dir
1506         * exporter.[Ch]: new class ExportedFile
1507         * exporter.[Ch]: new class ExportData. Contains currently the
1508         names of referenced external files
1509         * outputparams.h: add exportdata member.
1510
1511 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1512
1513         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1514         version.C-tmp
1515
1516 2004-05-19  Angus Leeming  <leeming@lyx.org>
1517
1518         * LaTeXFeatures.C:
1519         * ToolbarBackend.C:
1520         * bufferparams.C:
1521         * lyxfunc.C: small changes due to the introduction of namespace
1522         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1523
1524 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * text3.C (dispatch): supress update when only moving the cursor
1527         * cursor.C (selHandle): remove commented code
1528
1529 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1530
1531         * paragraph.C (startTeXParParams): correct column count
1532         * CutAndPaste.C (pasteSelection): remove const_cast
1533         * output_docbook.C (docbookParagraphs): remove const_cast
1534         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1535         const_cast and return ParagraphList::const_iterator
1536         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1537         * output_plaintext.C (writeFileAscii): remove const_cast
1538         * paragraph.[Ch] (simpleTeXOnePar): make const
1539         * paragraph_funcs.C (outerPar): use const iterators
1540         * paragraph_pimpl.C (validate): use const iterators
1541         * text.C (setHeightOfRow): use const iterators
1542
1543 2004-05-17  Angus Leeming  <leeming@lyx.org>
1544
1545         * lfuns.h:
1546         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1547
1548         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1549         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1550         if the citation engine has changed.
1551
1552 2004-05-14  José Matos  <jamatos@lyx.org>
1553
1554         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1555         if the textclass does not provide it. Have it different for sgml and
1556         xml.
1557         support the language of document.
1558         * output_docbook.C (docbookParagraphs):
1559         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1560         first anchor as the id of the paragraph, remove special case code.
1561         * sgml.C (escapeChar): escape only < & >.
1562
1563 2004-05-14  Angus Leeming  <leeming@lyx.org>
1564
1565         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1566         dependencies on src/frontends/controllers/biblio.h. Define a
1567         CiteEngine_enum wrapper class to enable the enum to be forward
1568         declared.
1569
1570 2004-05-12  Angus Leeming  <leeming@lyx.org>
1571
1572         * buffer.C: up LYX_FORMAT to 234.
1573         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1574         use_numerical_citations with a single biblio::CiteEngine cite_engine
1575         variable.
1576         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1577
1578 2004-05-13  José Matos  <jamatos@lyx.org>
1579
1580         * converter.h:
1581         * converter.C (Converter, readFlags): add xml member.
1582         * outputparams.h: add XML flavor.
1583         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1584
1585 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * lyxfunc.C (dispatch):
1588         (getStatus): fix handling of LFUN_SEQUENCE
1589
1590 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * debug.C (showLevel): do not forget the end-of-line marker
1593
1594 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * kbmap.C (read): do not stop parsing a bind file when an error
1597         occurs (bug 1575)
1598
1599 2004-04-29  Angus Leeming  <leeming@lyx.org>
1600
1601         * cursor.C:
1602         * factory.C:
1603         * pariterator.C:
1604         * text2.C: wrap a bunch of #warning statements
1605         inside #ifdef WITH_WARNINGS blocks.
1606
1607 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1608
1609         * buffer.C: increment format to 233.
1610
1611 2004-04-28  Angus Leeming  <leeming@lyx.org>
1612
1613         * BufferView_pimpl.C:
1614         * lyxfunc.C:
1615         * text3.C:
1616         s/updateToolbar()/updateToolbars()/
1617         s/Toolbar.h/Toolbars.h/
1618
1619 2004-04-28  Angus Leeming  <leeming@lyx.org>
1620
1621         * BufferView.[Ch] (c-tor):
1622         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1623         No longer passes these data to the WorkArea generator.
1624
1625 2004-04-28  Angus Leeming  <leeming@lyx.org>
1626
1627         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1628
1629 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1630
1631         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1632
1633 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634
1635         * output_latex.C (TeXEnvironment): make sure that there is a line
1636         break before \end{foo} for the last paragraph of a document
1637         (TeXOnePar): if the paragraph is at the end of the document (or
1638         inset) and the language has to be reset, then make sure that the
1639         line break is _before_ the language command, not after (fixes bug
1640         1225); also make sure that the language reset command is the first
1641         thing after the paragraph (to ensure proper nesting of
1642         environments and thus fix bug 1404)
1643
1644 2004-04-21  John Levon  <levon@movementarian.org>
1645
1646         * ToolbarBackend.h:
1647         * ToolbarBackend.C: make "name" be a programmatic name
1648         and a gui_name field.
1649
1650         * lyxfunc.C: display the minibuffer on M-x
1651
1652 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1653
1654         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1655         (bug 1526)
1656
1657 2004-04-19  Angus Leeming  <leeming@lyx.org>
1658
1659         * BufferView_pimpl.C (setBuffer): changed preview interface.
1660
1661         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1662         possible values.
1663
1664 2004-04-19  John Levon  <levon@movementarian.org>
1665
1666         * BufferView_pimpl.C:
1667         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1668
1669 2004-04-05  Angus Leeming  <leeming@lyx.org>
1670
1671         * text.C (redoParagraphs): add call to updateCounters(), thereby
1672         fixing the missing "Figure #:" label from the caption of a
1673         figure float.
1674
1675 2004-04-13  Angus Leeming  <leeming@lyx.org>
1676
1677         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1678         cursor is clicked out of an inset.
1679
1680 2004-04-13  Angus Leeming  <leeming@lyx.org>
1681
1682         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1683         than an InsetOld one.
1684
1685 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1686
1687         * format.[Ch]: add editor to Format
1688         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1689         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1690
1691 2004-04-08  André Pönitz  <poenitz@gmx.net>
1692
1693         * metricsinfo.h: remove PainterInfo::width member
1694
1695 2004-04-08  Angus Leeming  <leeming@lyx.org>
1696
1697         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1698         "\providecommand" rather than "\newcommand", thereby preventing
1699         clashes with packages that define "\boldsymbol" themselves.
1700         Eg, beamer.
1701
1702 2004-04-08  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1705         thereby squashing an unnecessary warning.
1706
1707 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1708
1709         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1710         setBuffer()
1711
1712 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1713
1714         * BufferView.C (setCursor): call redoParagraph (some insets could
1715         have been opened)
1716         (putSelectionAt): remove the 'double update' trick
1717
1718         * BufferView_pimpl.C (fitCursor): call refreshPar
1719         (workAreaDispatch): remove an uneeded update call
1720         (dispatch): remove some manual update calls
1721
1722         * cursor.[Ch]: remove cached_y_, updatePos
1723         (selHandle): set noUpdate when appropriate
1724
1725         * lyxfunc.C (dispatch): track if we need an update
1726
1727         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1728
1729         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1730         (paintSelection): cheap optimization, do not call cursorX when not
1731         needed
1732         (paintPars): change signature
1733         (refreshPar): add
1734         (paintText): adjust
1735         (paintTextInset): adjust
1736
1737         * text.C: adjust
1738
1739 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1740
1741         * lengthcommon.C: compilation fix: remove explicit array size from
1742         unit_name[] and friends
1743
1744 2004-04-05  Angus Leeming  <leeming@lyx.org>
1745
1746         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1747
1748         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1749         present only for the preferences dialog.
1750         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1751
1752 2004-04-05  Angus Leeming  <leeming@lyx.org>
1753
1754         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1755         to enable the frontends to export changes to lyxrc correctly.
1756
1757         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1758
1759 2004-04-07  André Pönitz  <poenitz@gmx.net>
1760
1761         * cursor.[Ch] (selClear, adjust): remove math
1762
1763         * cursor_slice.C: more agressive assert
1764
1765         * lyxfunc.C:
1766         * BufferView_pimpl.C: rework mouse event dispatch
1767
1768         * dociterator.C:
1769         * paragraph.C:
1770         * text2.C:
1771         * text3.C: adjust
1772
1773 2004-04-05  André Pönitz  <poenitz@gmx.net>
1774
1775         * cursor.[Ch] (valign, halign...): remove unneeded functions
1776
1777 2004-04-05  Angus Leeming  <leeming@lyx.org>
1778
1779         * lyxlength.[Ch] (unit_name et al.): const-correct.
1780
1781 2004-04-05  Angus Leeming  <leeming@lyx.org>
1782
1783         * BufferView_pimpl.C:
1784         * buffer.C:
1785         * counters.C:
1786         * cursor.C:
1787         * lyxfunc.C
1788         * paragraph.C:
1789         * pariterator.C:
1790         * text.C:
1791         * text2.C:
1792         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1793
1794 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1797
1798 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1801         * BufferView_pimpl.[Ch] (getStatus)
1802         * BufferView.[Ch] (getStatus): add
1803         * lyxfunc.C (getStatus): move lfuns handled in
1804         BufferView::dispatch to te function above
1805         * Cursor.C (setSelection): set selection() = true
1806
1807 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1808
1809         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1810
1811 2004-03-31  Angus Leeming  <leeming@lyx.org>
1812
1813         * lyxfunc.C (dispatch): Fall through to the generic
1814         Dialogs::show("preamble").
1815
1816 2004-03-31  Angus Leeming  <leeming@lyx.org>
1817
1818         * lyxfunc.C (dispatch): Fall through to the generic
1819         Dialogs::show("spellchecker").
1820
1821 2004-03-31  Angus Leeming  <leeming@lyx.org>
1822
1823         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1824         preferences dialog.
1825
1826 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * BufferView.C
1829         * cursor.[Ch]
1830         * dociterator.[Ch]:
1831         * insetiterator.[Ch]:
1832         * lyxfind.C:
1833         * lyxfunc.C:
1834         * pariterator.[Ch]:
1835         * text2.C:
1836         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1837
1838 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1841         insets where we are putting the cursor.
1842
1843 2004-03-31  Angus Leeming  <leeming@lyx.org>
1844
1845         * lfuns.h:
1846         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1847
1848         * lyxrc.[Ch] (read, write): overloaded member functions taking
1849         a std::[io]stream arguments.
1850
1851         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1852
1853 2004-03-31  Angus Leeming  <leeming@lyx.org>
1854
1855         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1856         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1857
1858         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1859         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1860
1861 2004-03-31  Angus Leeming  <leeming@lyx.org>
1862
1863         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1864         the LFUN_ALL_INSETS_TOGGLE code.
1865
1866 2004-03-30  Angus Leeming  <leeming@lyx.org>
1867
1868         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1869         has died. Fall through to the generic Dialogs::show("document").
1870
1871 2004-03-30  Angus Leeming  <leeming@lyx.org>
1872
1873         * lfuns.h:
1874         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1875         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1876
1877         * lyxfunc.C (getStatus, dispatch): define the actions for these
1878         lfuns. Little more than a cut and pste job from ControlDocument.C
1879
1880         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1881
1882 2004-03-30  Angus Leeming  <leeming@lyx.org>
1883
1884         * lfuns.h:
1885         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1886         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1887
1888         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1889         open/closed state of ollapsable insets. Usage:
1890
1891         all-inset-toggle <state> <name>, where
1892         <state> == "open" || "closed" || "toggle" and
1893         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1894
1895         * lyxtext.h, text2.C (toggleInset): removed.
1896
1897         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1898         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1899         now passes LFUN_INSET_TOGGLE to the found inset.
1900
1901         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1902         is now invoked as "all-insets-toggle toggle branch".
1903
1904 2004-03-30  Angus Leeming  <leeming@lyx.org>
1905
1906         * dociterator.C:
1907         * insetiterator.C:
1908         * pariterator.[Ch]: added/corrected header blurb.
1909
1910 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1911
1912         * dociterator.[Ch]: add an inset_ member
1913         (backwardPos): implemented
1914         (backwardPos, forwardPos): use inset_ when the stack is empty.
1915         (doc_iterator_begin, doc_iterator_end): implemented
1916         * pariterator.[Ch]: adjust, add begin, end
1917         * insetiterator.[Ch]: adjust, add begin, end
1918         * cursor.C:
1919         * document.C:
1920         * BufferView.C:
1921         * BufferView_pimpl.C:
1922         * CutAndPaste.C: adjust
1923
1924 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1925
1926         * buffer.C: increment file format to 232.
1927         * LaTeXFeatures.C: add bibtopic package.
1928         * bufferparams.[Ch]: param \use_bibtopic.
1929
1930         * lyxrc.[Ch]: add lyxrc bibtex_command
1931         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1932
1933         * buffer.C: increment file format to 231.
1934
1935 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1936
1937         * dociterator.C: implement forwardPar
1938         * iterators.[Ch]: remove, replaced by
1939         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1940         * BufferView.C:
1941         * BufferView_pimpl.C:
1942         * CutAndPaste.C:
1943         * buffer.C:
1944         * bufferview_funcs.C:
1945         * cursor.C:
1946         * lyxfind.C
1947         * lyxfunc.C
1948         * paragraph_funcs.C
1949         * toc.C:
1950         * Makefile.am: adjust
1951
1952 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1953
1954         * CutAndPaste.C (pasteSelection): fix 2 crashes
1955         (eraseSelection): fix a crash
1956         * paragraph_funcs.C: remove a warning
1957
1958 2004-03-28  Angus Leeming  <leeming@lyx.org>
1959
1960         * lfuns.h:
1961         * LyXAction.C (init): new LFUN_PRINT.
1962
1963         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1964
1965 2004-03-27  Angus Leeming  <leeming@lyx.org>
1966
1967         * lfuns.h:
1968         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1969
1970         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1971
1972 2004-03-27  Angus Leeming  <leeming@lyx.org>
1973
1974         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1975         insetlist always contains non-null pointers to insets.
1976
1977 2004-03-26  Angus Leeming  <leeming@lyx.org>
1978
1979         * src/BufferView_pimpl.C:
1980         * src/CutAndPaste.C:
1981         * src/buffer.C:
1982         * src/iterators.C:
1983         * src/output_plaintext.C:
1984         * src/outputparams.h:
1985         * src/paragraph_funcs.C:
1986         * src/rowpainter.C:
1987         * src/text.C:
1988         * src/text2.C:
1989         * src/frontends/controllers/ControlErrorList.C:
1990         * src/frontends/gtk/FileDialogPrivate.C:
1991         * src/frontends/gtk/GPainter.C:
1992         * src/frontends/gtk/GToolbar.C:
1993         * src/frontends/qt2/QRef.C:
1994         * src/mathed/math_scriptinset.C: squash compiler warnings.
1995
1996 2004-03-26  Angus Leeming  <leeming@lyx.org>
1997
1998         * ispell.C (LaunchIspell::start):
1999         * lyx_cb.C (AutoSaveBuffer::start):
2000         invoke run(DontWait) rather than runNonBlocking().
2001
2002 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2005
2006 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * kbsequence.C (print): adjust
2009
2010         * kbmap.C (printKeySym): rename and change signature
2011         (printKey): use LyXKeySym::print()
2012
2013 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * undo.C: add using std::advance to compile for stlport
2016
2017 2004-03-24  Angus Leeming  <leeming@lyx.org>
2018
2019         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2020         it leads to a crash when no buffer is present.
2021
2022 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2023             Martin Vermeer  <martin.vermeer@hut.fi>
2024
2025         * lyxfunc.C (dispatch):
2026         * bufferparams.C (readToken): use the new LColor::setColor
2027
2028         * LColor.[Ch] (setColor): new version that takes two strings as
2029         argument and creates a new color entry if necessary
2030
2031 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2032
2033         * buffer.C (makeLaTeXFile): if the main latex file that is
2034         processed is usually a subdocument of some master, then pretend
2035         for a while that it is actually the master
2036
2037 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2038
2039         * buffer.C (getLabelList):
2040         (getBibkeyList): use getMasterBuffer()
2041         (getMasterBuffer): new method. Returns the main document in the
2042         case where one is using included documents.
2043
2044 2004-03-25  André Pönitz  <poenitz@gmx.net>
2045
2046         * Makefile.am:
2047         * iterators.[Ch]:
2048         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2049
2050         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2051
2052         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2053         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2054
2055         * ParameterStruct.h: merge with ParagraphParameters
2056
2057         * lyxtext.h: remove LyXText::parOffset() and getPar()
2058
2059         * text3.C: Remove all 'manual' update calls. We do now one per user
2060         interaction which is completely sufficient.
2061
2062         * Bidi.C:
2063         * BufferView.[Ch]:
2064         * BufferView_pimpl.C:
2065         * FontIterator.[Ch]:
2066         * MenuBackend.C:
2067         * ParagraphParameters.[Ch]:
2068         * buffer.C:
2069         * buffer.h:
2070         * bufferlist.C:
2071         * cursor.[Ch]:
2072         * cursor_slice.[Ch]:
2073         * dociterator.[Ch]:
2074         * errorlist.[Ch]:
2075         * factory.C:
2076         * lfuns.h:
2077         * lyxfind.C:
2078         * lyxfunc.C:
2079         * output_docbook.[Ch]:
2080         * output_latex.[Ch]:
2081         * output_linuxdoc.[Ch]:
2082         * output_plaintext.[Ch]:
2083         * paragraph.[Ch]:
2084         * paragraph_funcs.[Ch]:
2085         * paragraph_pimpl.[Ch]:
2086         * rowpainter.C:
2087         * tabular.[Ch]:
2088         * text.C:
2089         * text2.C:
2090         * toc.C:
2091         * undo.[Ch]: adjust
2092
2093         * frontends/controllers/ControlDocument.C:
2094         * frontends/controllers/ControlErrorList.C:
2095         * frontends/controllers/ControlSpellchecker.C:
2096         * insets/inset.C:
2097         * insets/inset.h:
2098         * insets/insetbase.h:
2099         * insets/insetbibitem.C:
2100         * insets/insetbox.C:
2101         * insets/insetbranch.C:
2102         * insets/insetcaption.C:
2103         * insets/insetcharstyle.C:
2104         * insets/insetcharstyle.h:
2105         * insets/insetcollapsable.C:
2106         * insets/insetcollapsable.h:
2107         * insets/insetert.C:
2108         * insets/insetfloat.C:
2109         * insets/insetfoot.C:
2110         * insets/insetmarginal.C:
2111         * insets/insetnote.C:
2112         * insets/insetoptarg.C:
2113         * insets/insettabular.C:
2114         * insets/insettext.C:
2115         * insets/insettext.h:
2116         * insets/insetwrap.C:
2117         * mathed/math_mboxinset.C:
2118         * mathed/math_nestinset.C:
2119         * mathed/math_scriptinset.C:
2120         * mathed/math_scriptinset.h:
2121         * support/types.h:
2122
2123 2004-03-24  Angus Leeming  <leeming@lyx.org>
2124
2125         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2126         deal with any child processes that have finished but are waiting to
2127         communicate this fact to the rest of LyX.
2128
2129 2004-03-24  Angus Leeming  <leeming@lyx.org>
2130
2131         64-bit compile fixes.
2132
2133         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2134         (c-tor): pass lyx::pos_types rather than ints.
2135
2136         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2137         lyx::pos_type.
2138
2139         * text.C (Delete): compile fix.
2140         (getPar): ensure that function declaration is the same as that in
2141         the header file.
2142
2143 2004-03-23  Angus Leeming  <leeming@lyx.org>
2144
2145         * ispell.C (LaunchIspell):
2146         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2147         a boost::shred_ptr rather than a std::auto_ptr.
2148
2149 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2152         handle LFUN_FILE_INSERT_*
2153
2154         * lyxrc.C (setDefaults, getDescription, output, read):
2155         * lyxrc.h: remove ps_command
2156
2157 2004-03-22  Angus Leeming  <leeming@lyx.org>
2158
2159         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2160         Ensure that error_handler is processed once only and that all data
2161         is saved before attempting to output any warning messages.
2162
2163         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2164
2165 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2168
2169 2004-03-19  André Pönitz  <poenitz@gmx.net>
2170
2171         * cursor.[Ch] (reset): take main text inset as argument
2172
2173         * BufferView: adjust
2174         * BufferView_pimpl.C: adjust
2175
2176         * paragraph.[Ch]: fix completely broken operator=()
2177
2178 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * LColor.C (getFromLyXName): make sure that the color name is used
2181         as lowercase.
2182
2183 2004-03-17  Angus Leeming  <leeming@lyx.org>
2184
2185         * lfuns.h:
2186         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2187
2188         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2189         dialog and to kill a forked process.
2190
2191 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * text2.C (setCursorFromCoordinates): fix font problem
2194
2195 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2196
2197         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2198         bogus "rebuild cursor" code
2199
2200 2004-03-11  André Pönitz  <poenitz@gmx.net>
2201
2202         * buffer.[Ch]: use InsetText instead of LyXText as container for
2203         the main lyx text.
2204
2205         * dociterator.[Ch]: drop the BufferView * member which is not needed
2206         anymore after the change to buffer.C
2207
2208         * paragraph_funcs.C:
2209         * text.C:
2210         * text2.C:
2211         * BufferView.[Ch]:
2212         * BufferView_pimpl.[Ch]:
2213         * cursor.[Ch]:
2214         * cursor_slice.[Ch]: adjust
2215
2216         * text3.C: fix bug in mathDispatch
2217
2218 2004-03-08  André Pönitz  <poenitz@gmx.net>
2219
2220         * undo.[Ch]: use 'StableDocumentIterator' as base for
2221         the Undo struct.
2222
2223 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2224
2225         * LaTeXFeatures.C:
2226         * bufferparams.[Ch]: add jurabib support and param.
2227
2228         * LaTeX.C: add FIXME/comment.
2229
2230 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2231
2232         * buffer.C: increment file format to 230.
2233
2234 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2235
2236         * cursor.C (dispatch): avoid infinite loops
2237
2238 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2239
2240         * rowpainter.C (paintSelection): fix x coordinates
2241
2242 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2243
2244         * text.C (rowBreakPoint): fix breaking before displayed insets
2245
2246 2004-03-01  André Pönitz  <poenitz@gmx.net>
2247
2248         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2249
2250         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2251
2252         * Makefile.am:
2253         * BufferView.C:
2254         * BufferView_pimpl.C:
2255         * buffer.C:
2256         * lyxfind.C:
2257         * lyxfunc.C:
2258         * text.C:
2259         * text2.C:
2260         * text3.C: adjust
2261
2262 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * lyxtext.h:
2265         * text.C:
2266         * text2.C:
2267         * rowpainter.C:
2268         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2269         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2270
2271 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2272
2273         * Bidi.[Ch] (computeTables): const correctness
2274         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2275         fill_hfill, fill_label_hfill and x from Row
2276         * lyxtext.h: prepareToPrint returns a RowMetrics
2277         * rowPainter.C: adjust
2278         * text.C (prepareToPrint): use width, not textWidth. adjust
2279         (redoParagraphInternal, cursorX): adjust
2280         * text2.C (getColumnNearX): adjust
2281         (init): put a default value to the top LyXText::width
2282
2283 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2286
2287 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * lyxtext.h: add FontIterator class
2290
2291         * text.C (FontIterator, operator*, operator->, operator++): add
2292         (rowBreakPoint, setRowWidth): adjust (fixing a
2293         rebreaking bug)
2294
2295 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * BufferView_pimpl.C (workAreaDispatch): allow also
2298         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2299
2300 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * text.C (rowBreakPoint): fix a bug showing with very large insets
2303
2304 2004-02-25  André Pönitz  <poenitz@gmx.net>
2305
2306         * text3.C:
2307         * cursor.[Ch]: move some mathed specific code to mathed
2308
2309 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2310
2311         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2312         use_tempdir in preferences
2313         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2314         tempfile creation
2315         * lyx_main.C: ensure that tempdir is valid
2316         * lyxlex.h: correct typo
2317         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2318         * paragraph.[Ch] (isMultiLingual): make const
2319         * cursor.[Ch] (openable): make const
2320
2321 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2322
2323         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2324
2325 2004-02-20  André Pönitz  <poenitz@gmx.net>
2326
2327         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2328
2329         * cursor.[Ch]: prepare for localized getStatus()
2330
2331         * lyxtext.h:
2332         * tabular.C:
2333         * text.C:
2334         * text2.C:
2335         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2336
2337 2004-02-20  André Pönitz  <poenitz@gmx.net>
2338
2339         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2340
2341 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2342
2343         * text2.C (setCursorFromCoordinates): switch to absolute coords
2344         (cursorUp): adjust
2345         (cursorDown): adjust
2346         * text3.C (dispatch): adjust
2347
2348 2004-02-16  André Pönitz  <poenitz@gmx.net>
2349
2350         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2351           insets/ChangeLog)
2352
2353         * cursor_slice.[Ch]: remove unneeded acessor function
2354
2355         * lyxtext.h: rename rtl() to isRTL()
2356
2357         * rowpainter.C:
2358         * tabular.C:
2359         * text.C:
2360         * text2.C:
2361         * text3.C: adjust
2362
2363 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2364
2365         * rowpainter.C (paintSelection): coord fix
2366
2367 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2368
2369         * Spacing.C: compile fix
2370
2371 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * cursor.C (dispatch): restore current_ before returning
2374
2375 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * text2.C (cursorUp, cursorDown): fix coords
2378         (moveUp): fix crash
2379
2380 2004-02-12  André Pönitz  <poenitz@gmx.net>
2381
2382         * lyxtext.h:
2383         * text.C:
2384         * text2.C:
2385         * text3.C: add LCursor & parameter to most cursor movement functions
2386           remove usage of LyXText::cursorRow() and cursorPar()
2387
2388         * cursor.[Ch]: add textRow() needed members
2389
2390         * BufferView.C:
2391         * BufferView_pimpl.C:
2392         * paragraph.[Ch]:
2393         * BufferView.C:
2394         * BufferView_pimpl.C: adjust
2395
2396 2004-02-11  André Pönitz  <poenitz@gmx.net>
2397
2398         * lyxfunc.C:
2399         * BufferView.[Ch]:
2400         * BufferView_pimpl.C: shift undo/redo handling
2401
2402         * cursor.[Ch]: fix mathed crash
2403
2404         * lyxfind.C:
2405         * lyxtext.h: move selectionAsText to LCursor
2406
2407         * output_latex.C:
2408         * paragraph.C:
2409         * text.C:
2410         * text2.C:
2411         * text3.C: adjust
2412
2413         * rowpainter.C: fix excessive drawing
2414
2415 2004-02-06  André Pönitz  <poenitz@gmx.net>
2416
2417         * BufferView.[Ch]:
2418         * BufferView_pimpl.[Ch]:
2419         * text3.C: move some text specific LFUN handling
2420
2421 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2422
2423         * text3.C (checkInsetHit): adjust coords
2424         * text2.C (getColumnNearX): adjust coords
2425         (edit): adjust coords
2426         * text.C (getRowNearY): add two asserts
2427
2428 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * converter.C:
2431         * format.C: add using std::distance to compile on gcc 2.95/stlport
2432
2433 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2434
2435         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2436
2437 2004-02-04  André Pönitz  <poenitz@gmx.net>
2438
2439         * BufferView.[Ch] (insertInset):
2440         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2441
2442         * text2.C:
2443         * text3.C: adjust
2444
2445 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2446
2447         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2448         on the default clause of the switch
2449         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2450         wasn't catched by LCursor::dispatch
2451
2452 2004-02-03  André Pönitz  <poenitz@gmx.net>
2453
2454         * BufferView.C:
2455         * cursor.[Ch]: some additional asserts
2456
2457         * undo.[Ch]: remove LyXText dependency in interface
2458
2459         * lyxfunc.C: adjust
2460
2461         * lyxtext.h (firstPar, lastPar): remove dead functions
2462
2463         * text.C:
2464         * text2.C:
2465         * text3.C:
2466         * paragraph.[Ch]: adjust
2467
2468 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * lyxfind.C (find): fix argument order in call to ::find
2471
2472 2004-02-02  André Pönitz  <poenitz@gmx.net>
2473
2474         * cursor.[Ch]: remove direct access to anchor
2475
2476         * text.C: remove findText() hack
2477
2478 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2479
2480         * iterators.[Ch] (lockPath): remove in favour of...
2481         * BufferView.[Ch] (setCursor): this addition
2482         * BufferView.C (putSelectionAt): adjust
2483         * undo.C (performUndoOrRedo): adjust
2484         * lyxfunc.C (dispatch): adjust
2485
2486 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2487
2488         * iterators.C (lockPath): add a missing slice
2489         * undo.C (performUndoOrRedo): remove redundant positioning code
2490
2491 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2492
2493         * vc-backend.C (scanMaster): ";" -> ';'
2494
2495 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2496
2497         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2498         std::binary_function
2499
2500         * lyxtextclass.C (compare_name): rename to...
2501         (LayoutNamesEqual): ...this
2502
2503         * lyxlex_pimpl.C (compare_tags): inherit from
2504         std::binary_function, put back into anon namespace
2505
2506         * lyxfind.C (MatchString): inherig from std::binary_function
2507         (findChange): use empty() istead of !size()
2508
2509         * format.C (FormatNamesEqual): new functor
2510         (getFormat): use it
2511         (getNumber): use it
2512         (add): use it
2513         (erase): use it
2514         (setViewer): use it
2515
2516         * converter.C (compare_Converter): rename to...
2517         (ConverterEqual): ...this, and fixup a bit.
2518         (getConverter): use it, and make function const
2519         (getNumber): use it, and make function const
2520         (add): use it
2521         (erase): use it:
2522
2523         * bufferlist.C: add using boost::bind
2524
2525         * MenuBackend.C (MenuNamesEqual): new functor
2526         (hasMenu): use it, and make function const
2527         (hasSubmenu): use nested bind to get rid of compare_memfun.
2528
2529 2004-01-30  André Pönitz  <poenitz@gmx.net>
2530
2531         * BufferView_pimpl.C:
2532         * cursor.C:
2533         * cursor.h:
2534         * cursor_slice.[Ch]:
2535         * lyxfunc.C:
2536         * lyxtext.h:
2537         * paragraph_funcs.C:
2538         * paragraph_funcs.h:
2539         * rowpainter.C:
2540         * text.C:
2541         * text2.C:
2542         * text3.C: move some of the edit(x,y) handling to the insets
2543         some coordinate changes.
2544
2545 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2546
2547         * text.C: add using statements for std::advance and std::distance
2548
2549         * paragraph.C: add using statement for std::distance
2550
2551         * lyxfind.C: add using statement for std::advance
2552
2553         * cursor.C (region): remove std:: from swap
2554         (openable): use nucleus in stead of operator->
2555
2556         * BufferView.C: add using statements for std::distance and std::swap
2557
2558 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2559
2560         * iterators.C: Remove the pimple, move the needed structures to
2561         the header file. Create accessor for the positions stack.
2562         (asPosIterator): remove function
2563
2564         * PosIterator.C (PosIterator): move constructors to top of file
2565         (PosIterator): reimplement the constructor taking a ParIterator in
2566         terms of setFrom.
2567         (setFrom): new function
2568         (operator!=): inline it
2569
2570 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2571
2572         * lyxfind.C (replaceAll): use std::advance
2573
2574         * iterators.h: inherit from std::iterator.
2575
2576         * PosIterator.C (advance, distance): remove
2577         * PosIterator.h: interit from std::iterator.
2578
2579 2004-01-26  André Pönitz  <poenitz@gmx.net>
2580
2581         * BufferView.[Ch]:
2582         * BufferView_pimpl.[Ch]:
2583         * InsetList.[Ch]:
2584         * PosIterator.[Ch]:
2585         * buffer.h:
2586         * bufferview_funcs.C:
2587         * cursor.[Ch]:
2588         * cursor_slice.h:
2589         * factory.[Ch]:
2590         * iterators.[Ch]:
2591         * lyxfind.C:
2592         * lyxfunc.C:
2593         * lyxtext.h:
2594         * output_docbook.C:
2595         * output_latex.C:
2596         * output_linuxdoc.C:
2597         * output_plaintext.C:
2598         * paragraph.[Ch]:
2599         * paragraph_funcs.[Ch]:
2600         * paragraph_pimpl.[Ch]:
2601         * rowpainter.C:
2602         * tabular.C:
2603         * tabular.h:
2604         * text.C:
2605         * text2.C:
2606         * text3.C: more IU:  dumps most of the rest of the mathcursor
2607     implementation into cursor.[Ch]; "globalize" a bit of it.
2608
2609 2004-01-25  Angus Leeming  <leeming@lyx.org>
2610
2611         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2612
2613 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2614
2615         * LaTeXFeatures.h: add nice_ and nice() const
2616         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2617
2618 2004-01-20  André Pönitz  <poenitz@gmx.net>
2619
2620         * BufferView.[Ch]:
2621         * BufferView_pimpl.C:
2622         * PosIterator.C:
2623         * bufferview_funcs.C:
2624         * cursor.[Ch]:
2625         * cursor_slice.[Ch]:
2626         * factory.C:
2627         * iterators.C:
2628         * lyx_cb.C:
2629         * lyxfind.C:
2630         * lyxfunc.C:
2631         * lyxtext.h:
2632         * rowpainter.C:
2633         * text.C:
2634         * text2.C:
2635         * text3.C:
2636         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2637           LCursor and mathcursor parts to LCursor and InsetBase.
2638
2639 2004-01-15  André Pönitz  <poenitz@gmx.net>
2640
2641         * cursor_slice.[Ch]: add a few covienience functions
2642
2643         * funcrequest.[Ch]: remove BufferView * member
2644
2645         * BufferView_pimpl.C:
2646         * cursor.C:
2647         * factory.[Ch]:
2648         * lyxfind.[Ch]:
2649         * lyxfunc.C:
2650         * lyxtext.h:
2651         * text3.C:
2652         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2653
2654 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2657         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2658
2659 2004-01-13  André Pönitz  <poenitz@gmx.net>
2660
2661         * textcursor.[Ch]:
2662         * lyxtext.h: hide cursor and selection anchor behind accessor function
2663
2664         * BufferView.C:
2665         * BufferView_pimpl.[Ch]:
2666         * PosIterator.C:
2667         * bufferview_funcs.C:
2668         * cursor.h:
2669         * lyxfind.C:
2670         * lyxfunc.C:
2671         * text.C:
2672         * text2.C:
2673         * text3.C:
2674         * undo.C: adjust
2675
2676         * cursor.h:
2677         * cursor_slice.[Ch]: some integer type changes for inset unification
2678
2679         * lyxcursor.[hC]: remove, it's CursorSlice now.
2680
2681         * Makefile.am:
2682         * BufferView_pimpl.[Ch]:
2683         * bufferview_funcs.C:
2684         * cursor_slice.C:
2685         * lyxtext.h:
2686         * text.C:
2687         * text2.C:
2688         * text3.C:
2689         * textcursor.[Ch]: adjust
2690
2691 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * text2.C (undoSpan): add and use
2694         * text.C (breakParagraph): use undoSpan (fix bug 578)
2695         * lyxtext.h: adjust
2696
2697 2004-01-08  Angus Leeming  <leeming@lyx.org>
2698
2699         * BufferView_pimpl.C (MenuInsertLyXFile):
2700         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2701         * lyxfunc.C (menuNew, open, doImport):
2702         FileFilterList change to the FileDialog open and save functions.
2703
2704 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2705
2706         * ShareContainer.h: make isEqual and isUnique adaptable
2707
2708         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2709
2710 2004-01-07  Angus Leeming  <leeming@lyx.org>
2711
2712         * LyXAction.C:
2713         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2714
2715         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2716
2717         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2718         functions replacing find, replace and replaceAll.
2719
2720         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2721         LFUN_WORDFIND(FORWARD|BACKWARD).
2722
2723 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2724
2725         * text.C (breakParagraph): remove an outdated #warning
2726
2727 2004-01-07  André Pönitz  <poenitz@gmx.net>
2728
2729         * lyxfind.C: somewhat clearer logic
2730
2731         * text.C: prevent crash in cursorX on unitialized row cache
2732
2733 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2734
2735         * lyxcursor.[Ch] (operator>): add
2736         * textcursor.C (selStart, selEnd): use std::min and std::max
2737
2738 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2739
2740         * Chktex.C: include boost/format.hpp
2741
2742 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2743
2744         * InsetList.C: replace functor MathcIt with adaptable functor
2745         InsetTablePosLess
2746         (insetIterator): modify accordingly
2747
2748         * BranchList.h: move the BranchNamesEqual functor here from...
2749         * BranchList.C: ... to here
2750
2751         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2752         SameName and match.
2753         (add): replace a finding loop with std::find_if.
2754
2755 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2756
2757         * output_docbook.C: moving LatexParam functionality into
2758         .layout files
2759
2760 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2761
2762         * buffer.C: increment format to 229.
2763
2764 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2765
2766         * LaTeXFeatures.C:
2767         * lyx_sty.[Ch]: remove minipageindent_def
2768
2769         * LyXAction.C:
2770         * factory.C:
2771         * lfuns.h:
2772         * lyxfunc.C:
2773         * text3.C: remove LFUN_INSET_MINIPAGE
2774
2775 2003-12-28  Angus Leeming  <leeming@lyx.org>
2776
2777         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2778
2779 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2780
2781         * text2.C (setParagraph): fix off-by-one crash
2782
2783 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2784
2785         * output_docbook.C: header stuff for AGU
2786
2787 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2788
2789         * text2.C (redoCursor): remove
2790         * text.C:
2791         * text3.C:
2792         * BufferView_pimpl.C: remove calls to redoCursor and
2793         setCursor(cursor.par(), cursor.pos()) all around
2794
2795 2003-12-15  Angus Leeming  <leeming@lyx.org>
2796
2797         * buffer.C: up the format to 228.
2798
2799 2003-12-15  André Pönitz  <poenitz@gmx.net>
2800
2801         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2802         slices
2803
2804         * Makefile.am:
2805
2806         * BufferView_pimpl.C:
2807         * cursor.[Ch]:
2808         * lyxcursor.[Ch]:
2809         * rowpainter.[Ch]:
2810         * lyxtext.h:
2811         * text.C:
2812         * text2.C:
2813         * text3.C: adjust
2814
2815 2003-12-15  Angus Leeming  <leeming@lyx.org>
2816
2817         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2818         than getFromGUIName to manipulate the color.
2819
2820 2003-12-14  Angus Leeming  <leeming@lyx.org>
2821
2822         * BranchList.[Ch]: minimize the API.
2823         (Branch::getBranch, getColor): now return a 'const &'.
2824         (Branch::setSelected) now returns a bool set to true if the
2825         selection status changes.
2826         (BranchList::clear, size, getColor, setColor, setSelected,
2827         allBranches, allSelected, separator): removed.
2828         (BranchList::find): new functions, returning the Branch with
2829         the given name.
2830         (BranchList::add, remove): return a bool indicating that
2831         the operation was successful.
2832
2833         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2834         new InsetBranch::isBranchSlected member function.
2835
2836         * LColor.[Ch]: mimimize the API.
2837         (fill): renamed as addColor and made private.
2838         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2839         versions of these functions taking a string arg have been removed.
2840
2841         * bufferparams.C (readToken):
2842         * lyxfunc.C (dispatch):
2843         * lyxrc.C (read): changes due to the altered BranchList and
2844         LColor APIs.
2845
2846         * factory.C (createInset, readInset): changes due to altered
2847         InsetBranch c-tor.
2848
2849 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2850
2851         * factory.C:
2852         * lyxfunc.C: remove insetminipage. "minipage-insert"
2853         now produces a frameless minipage box inset.
2854
2855 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * textcursor.[Ch] (selStart,selEnd): add new methods
2858         remove selection::start, end, use LyXCursor::operator<
2859         * lyxcursor.[Ch] (operator<): add
2860         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2861         * BufferView.[Ch] (unsetXSel): add
2862         * text2.C (clearSelection): use unsetXSel,adjust
2863         * text.C: adjust
2864         * text3.C: adjust
2865         * rowpainter.C: adjust
2866         * bufferview_funcs.C (put_selection_at): adjust
2867
2868 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2869
2870         * BufferView_pimpl.C: small coord. correction
2871
2872 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2873
2874         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2875         dragging over the splash screen.
2876
2877 2003-12-11  Angus Leeming  <leeming@lyx.org>
2878
2879         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2880         as it is now handled in LyXText::dispatch.
2881
2882         * text3.C (doInsertInset): remove a level of nesting.
2883
2884 2003-12-11  Angus Leeming  <leeming@lyx.org>
2885
2886         * factory.C (createInset): changes due to the changed interface to
2887         InsetCommandMailer::string2params.
2888
2889 2003-12-10  Angus Leeming  <leeming@lyx.org>
2890
2891         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2892         'dialog-show-new-inset <inset name>'
2893
2894 2003-12-10  Angus Leeming  <leeming@lyx.org>
2895
2896         * buffer.C: up the format to 227.
2897
2898         * factory.C: the box inset is now identified simply by 'Box'.
2899
2900 2003-12-10  Angus Leeming  <leeming@lyx.org>
2901
2902         * buffer.C: up the format to 226.
2903
2904         * factory.C: the note inset is now identified simply by 'Note'.
2905
2906 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2909         when a pit is enough. Standarize a couple of loops.
2910
2911 2003-12-05  Angus Leeming  <leeming@lyx.org>
2912
2913         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2914         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2915         data to the re-worked "log" dialog.
2916
2917 2003-12-03  André Pönitz  <poenitz@gmx.net>
2918
2919         * PosIterator.C:
2920         * iterators.C:
2921         * lyxtext.h:
2922         * output_latex.C:
2923         * paragraph_funcs.C:
2924         * text.C:
2925         * text2.C: use Inset::getText instead of Inset::getParagraph
2926
2927 2003-12-03  André Pönitz  <poenitz@gmx.net>
2928
2929         * buffer.[Ch]:
2930         * lyxtext.h:
2931         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2932         InsetText::read() as LyXText::read()
2933
2934 2003-12-02  Angus Leeming  <leeming@lyx.org>
2935
2936         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2937         type. Add a comment in the implementation that the function uses
2938         the stream's bad() function rather than fail() as the std::streams
2939         would do.
2940
2941 2003-12-02  André Pönitz  <poenitz@gmx.net>
2942
2943         * lyxlex.[Ch]: make interface more similar to std::stream
2944
2945         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2946
2947 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2950
2951 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2952
2953         * vspace.[Ch]: remove VSpace::NONE
2954
2955 2003-12-01  André Pönitz  <poenitz@gmx.net>
2956
2957         * buffer.[Ch]:
2958         * lyxtext.h: move ParagraphList member to LyXText
2959         rename LyXText::ownerParagraphs to LyXText::paragraph
2960
2961         * CutAndPaste.C:
2962         * bufferview_funcs.C:
2963         * iterators.[Ch]:
2964         * lyx_cb.C:
2965         * paragraph.C:
2966         * rowpainter.C:
2967         * tabular.C:
2968         * text.C:
2969         * text2.C:
2970         * text3.C: adjust
2971
2972         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2973
2974         * undo.C: fix cursor positioning
2975
2976 2003-12-01  John Levon  <levon@movementarian.org>
2977
2978         * BufferView_pimpl.C: fix a crash on exit with
2979         a buffer open
2980
2981 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2982
2983         * BranchList.C: fix setSelected() method.
2984
2985 2003-11-28  André Pönitz  <poenitz@gmx.net>
2986
2987         * ParagraphParameters.[Ch]:
2988         * ParameterStruct.h: remove space above/below from Paragraph to
2989          InsetVSpace
2990
2991         * BufferView_pimpl.C:
2992         * factory.C:
2993         * lyxfunc.C:
2994         * lyxtext.h:
2995         * output_latex.C:
2996         * paragraph.C:
2997         * paragraph_funcs.C:
2998         * rowpainter.[Ch]:
2999         * text.C:
3000         * text2.C:
3001         * text3.C: adjust
3002
3003 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3004
3005         * factory.C: Syntax change for CharStyles
3006
3007 2003-11-28  André Pönitz  <poenitz@gmx.net>
3008
3009         * BufferView.[Ch]:
3010         * BufferView.[Ch]:
3011         * buffer.[Ch]:
3012         * buffer.[Ch]: move LyXText member
3013
3014 2003-11-28  André Pönitz  <poenitz@gmx.net>
3015
3016         * BufferView.[Ch]: make LyXText * text a private member
3017
3018         * BufferView_pimpl.C:
3019         * cursor.C:
3020         * iterators.C:
3021         * lyx_cb.C:
3022         * lyxfind.C:
3023         * lyxtext.h:
3024         * rowpainter.[Ch]:
3025         * text.C:
3026         * text2.C:
3027         * undo.C: adjust
3028
3029         * output_plaintext.C: cleanup
3030
3031 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * buffer.C:
3034         * lyxtextclass.[Ch]: parametrize SGML document header
3035
3036 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3037
3038         * converter.[Ch]:
3039         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3040         getFlavor().
3041
3042 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * text2.C (setFont): rework using PosIterator (no more recursive)
3045         (setCharFont): no more needed
3046         (setLayout): no more selection cursors fiddling (done by redoCursor)
3047         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3048         destroy remaining ones)
3049
3050 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3053         * lyxtext.h: ditto
3054         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3055         selection cursors
3056         * lyxfunc.C: adjust
3057         * text3.C: adjust + re-allow multi par depth changes
3058         * textcursor.C: simplify a bit
3059
3060 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3061
3062         * src/buffer.C:
3063         * src/lyxlayout.C:
3064         * src/lyxlayout.h:
3065         * src/lyxtext.h:
3066         * src/output_docbook.C:
3067         * src/output_latex.C:
3068         * src/paragraph.C:
3069         * src/paragraph.h:
3070         * src/sgml.C:
3071         * src/sgml.h:
3072         * src/text2.C: Introducing a number of tags parametrizing various
3073         XML formats that we may want to support
3074
3075 2003-11-25  André Pönitz  <poenitz@gmx.net>
3076
3077         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3078
3079         * lyxtext.h (leftMargin/rightMargin): simplify interface
3080
3081         * rowpainter.C:
3082         * text.C:
3083         * text2.C:
3084         * text3.C: adjust
3085
3086 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3087
3088         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3089         master file to any child files. Fixes bug 546.
3090
3091 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3092
3093         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3094
3095 2003-11-24  André Pönitz  <poenitz@gmx.net>
3096
3097         * rowpainter.C: simplification
3098
3099         * text2.C (updateCounters): remove call to redoParagraph on
3100         changed labels as this is far too expensive.
3101
3102 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3103
3104         * converter.C (convert): fix a crash: this function gets
3105         called with buffer == 0 from importer code.
3106
3107 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3108
3109         * text3.C (cursorPrevious): make sure that we do not compare
3110         iterators form different containers.
3111         (cursorNext): ditto
3112
3113         * rowpainter.C (paintSelection): make sure that we do not compare
3114         iterators from different containers.
3115
3116         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3117         iterators from different ParagraphList containers.
3118         [NEXT] ditto
3119
3120         * text2.C (LyXText): change order of initialization slightly
3121         (operator=): new function. copy all variables except cache_par_
3122         (moveUp): make sure that we do not compare iterators from
3123         different ParagraphList constainers.
3124         (moveDown): ditto
3125
3126         * text.C (firstPar): new function
3127         (lastPar): new function
3128         (endPar): new function
3129
3130         * lyxtext.h: move things around and group public functions, public
3131         variables, private functions, private variables
3132
3133 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3134
3135         * factory.C: change call to InsetERT constructor to avoid
3136         additional invocation of method status
3137         * text2.C (toggleInset): remove redundant update() call
3138         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3139         instead of a Bufferview pointer
3140
3141 2003-11-21  André Pönitz  <poenitz@gmx.net>
3142
3143         * rowpainter.C: simplification
3144
3145 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3146
3147         * text3.C (dispatch): make possible to extend a word/row selection
3148         with the mouse
3149
3150 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * lyxtext.h: x0_,y0_ -> xo_,yo_
3153         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3154         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3155         * rowpainter.C (paintRows): paint full paragraphs
3156
3157 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3160         screen coordinates)
3161
3162 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3163
3164         * lyxtext.h: add x0_, y0_
3165         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3166         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3167
3168 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3169
3170         * text2.C (setCursorIntern): move the x_target update here *
3171         * text3.C: change some bv() to true/false in calls to
3172         cursorUp/Down/Right/Left
3173         * cursor.C: use helper function.
3174
3175 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3178         * paragraph_funcs.[Ch]: correct comment
3179         * rowpainter.C: do not paint selections away from bv->cursor()
3180         Fix a long standing selection painting bug.
3181         * text3.C: generalize mouse-selection code to LyXTexts other that
3182         top one
3183         * textcursor.C: do not use y coords if we can use par offsets
3184
3185 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3188         cursor position after e.g. inset insert)
3189
3190 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * lyxfind.C (replace): adjust to locking removal + some
3193         code simplification
3194
3195 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3198         of the path
3199
3200 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3201
3202         * lyxlayout.[Ch]:
3203         * output_docbook.C: XML sanitation: new layout
3204         parameters InnerTag and CommandDepth
3205
3206 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * BufferView_pimpl.C:
3209         * factory.C:
3210         * text3.C: Fix the insertion and modification of button-style
3211         insets
3212
3213 2003-11-13  André Pönitz  <poenitz@gmx.net>
3214
3215         * InsetList.[Ch]: remove deleteLyXText
3216
3217         * paragraph.[Ch]: cache beginOfBody position
3218
3219         * Bidi.C:
3220         * text.C:
3221         * text2.C:
3222         * text3.C: remove superfluous update() calls
3223
3224         * vspace.C: cleanup
3225
3226 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3229         * BufferView.C (fitLockedInsetCursor): remove
3230         * cursor.[Ch] (getDim): add
3231         * text.C (getRowNearY): add faster version
3232         * text3.C: remove some update calls
3233
3234 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * LaTeXFeatures.C:
3237         * LyXAction.C:
3238         * MenuBackend.C:
3239         * MenuBackend.h:
3240         * dispatchresult.h:
3241         * factory.C:
3242         * lfuns.h:
3243         * lyxfunc.C:
3244         * lyxtextclass.C:
3245         * lyxtextclass.h:
3246         * text3.C: The Character Style /XML short element patch.
3247
3248 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * text3.C:
3251         * factory.C: Small step to solving 'unable to insert some insets'
3252         problem
3253
3254 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3255
3256         * cursor.[Ch] (updatePos): new function for updating the y
3257         position of the tip inset
3258         * bufferview_funcs.C (put_selection_at):
3259         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3260
3261 2003-11-11  André Pönitz  <poenitz@gmx.net>
3262
3263         * text.C: remove big comment on invalid Paragraph pointers as it is
3264         not valid anymore
3265
3266 2003-11-11  André Pönitz  <poenitz@gmx.net>
3267
3268         * text_funcs.[Ch]: merge with ...
3269
3270         * text.C: ... this
3271
3272         * lyxtext.h:
3273         * text2.C:
3274         * text3.C: adjust
3275
3276         * Makefile.am: remove text_funcs.[Ch]
3277
3278 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3279
3280         * cursor.C (getPos): return absolute cached y coord
3281
3282         * BufferView_pimpl.C (fitCursor): new simplistic code
3283         (workAreaDispatch): add a fitCursor call
3284
3285 2003-11-10  André Pönitz  <poenitz@gmx.net>
3286
3287         * BufferView.[Ch]:
3288         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3289
3290 2003-11-10  André Pönitz  <poenitz@gmx.net>
3291
3292         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3293         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3294         indicate that the cursor needs to leave an inset
3295
3296         * lyxtext.h: remove inset locking
3297
3298         * cursor.[Ch]: re-implement functionality provided by inset locking
3299
3300         * BufferView.[Ch]:
3301         * BufferView_pimpl.[Ch]:
3302         * LyXAction.C:
3303         * bufferview_funcs.[Ch]:
3304         * factory.C:
3305         * funcrequest.[Ch]:
3306         * iterators.C:
3307         * lyx_cb.C:
3308         * lyxfind.C:
3309         * lyxfunc.C:
3310         * text.C:
3311         * text2.C:
3312         * text3.C:
3313         * undo.C: adjust
3314
3315 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3316
3317         * PosIterator.[Ch]: replace the stack with a vector, add inset
3318         accesor
3319         * iterators.[C]: adjust
3320
3321 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3324         replaced
3325         * paragraph_funcs.C (readParToken): put the correct id in the
3326         error item, not the id of the top paragraph
3327
3328 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3331         * bufferview_funcs.C (put_selection_at): use the above
3332
3333 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3336
3337 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3338
3339         * output_linuxdoc.h:
3340         * output_plaintext.h:
3341         * output.h:
3342         * output_docbook.h: add #include statements
3343
3344 2003-11-05  José Matos  <jamatos@lyx.org>
3345
3346         * output_docbook.[Ch]:
3347         * output_latex.[Ch]:
3348         * output_linuxdoc.[Ch]:
3349         * output_plaintext.[Ch]: New files for output formats.
3350         * output.[Ch]: New file for helper functions.
3351
3352         * buffer.[Ch]:
3353         * paragraph_funcs.[Ch]: output functions moved to new files.
3354
3355         * outputparams.h: rename of latexrunparams.h
3356
3357         * LaTeX.[Ch]:
3358         * buffer.[Ch]:
3359         * bufferlist.[Ch]:
3360         * converter.[Ch]:
3361         * exporter.C:
3362         * paragraph.[Ch]:
3363         * paragraph_funcs.[Ch]:
3364         * paragraph_pimpl.[Ch]:
3365         * tabular.[Ch]: rename ascii to plaintext
3366         and LatexRunParams to OutputParams.
3367
3368 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * iterators.[Ch] (text): require bv argument
3371         * undo.C (recordUndo):
3372         * lyxfunc.C (dispatch):
3373         * bufferview_funcs.C (put_selection_at): adjust
3374
3375 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3376
3377         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3378
3379 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3380
3381         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3382         nestings
3383
3384 2003-11-04  André Pönitz  <poenitz@gmx.net>
3385
3386         * cursor.[Ch]: restructure
3387
3388         * BufferView.[Ch]:
3389         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3390
3391         * iterators.[Ch] (asCursor): remove
3392
3393         * lfuns.h: remove LFUN_INSET_EDIT
3394
3395         * lyxfunc.C:
3396         * tabular.C:
3397         * text.C:
3398         * text2.C:
3399         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3400
3401 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * lyxfind.[Ch]: complete overhaul
3404         * BufferView_pimpl.C:
3405         * lyxfunc.C: adjust
3406         * paragraph.[Ch] (insert): add
3407
3408 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3409
3410         * BufferView.[Ch]:
3411         * lyxtext.h:
3412         * text.C: remove dead spellcheck code
3413
3414 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * dispatchresult.h: add a val setter
3417
3418         * cursor.C (dispatch): use a tempvar for data_[i]
3419
3420 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * PosIterator.[Ch]: compile fix
3423
3424 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * text.C (cursorPar): deactivate the cursor cache
3427
3428 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3431
3432 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * text3.C (dispatch): adjust for new DisptchResult semantics.
3435
3436         * lyxfunc.C (dispatch): handle update when return from
3437         Cursor::dispatch, adjust for new DispatchResult semantics.
3438
3439         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3440         DispatchResult(true) mean to not update. Add class functions for
3441         setting dispatched and update, as well as reading.
3442
3443         * cursor.C (dispatch): don't handle update here
3444
3445 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3448         * trans_mgr.C: adjust
3449
3450         * paragraph_funcs.C (readParToken): exception safety
3451
3452         * lyxvc.h: store the vcs pointer in a scoped_ptr
3453         * lyxvc.C: adjust
3454
3455         * lyxsocket.C (serverCallback): exception safety
3456
3457         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3458
3459         * ispell.C (clone): make it return a auto_ptr
3460
3461         * factory.C (createInset): exception safety
3462         (readInset): exception safety
3463
3464         * bufferlist.C (newBuffer): exception safety
3465
3466         * Thesaurus.C (Thesaurus): use initialization for aik_
3467
3468         * MenuBackend.C (expandToc): exception safety.
3469
3470 2003-11-03  André Pönitz  <poenitz@gmx.net>
3471
3472         * buffer.C:
3473         * buffer.h:
3474         * bufferview_funcs.C: remove getInsetFromId()
3475
3476         * lyxcursor.[Ch]:
3477         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3478
3479         * lyxfunc.C:
3480         * text2.C:
3481         * text3.C: adjust
3482
3483 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * PosIterator.C (distance, advance): new
3486         * bufferview_funcs.[Ch] (put_selection_at): new
3487         * iterators.[Ch] (lockPath): new
3488
3489 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * iterators.[Ch] (asPosIterator): added
3492         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3493         * PosIterator.[Ch]: added
3494
3495 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * text3.C:
3498         * lyxfunc.C:
3499         * cursor.C (dispatch):
3500         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3501
3502         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3503         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3504         contructor, add a class function dispatched. Remove operator>=
3505
3506 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * debug.C: only use the default constructor for debugstream
3509         (lyxerr) here.
3510
3511         * main.C (main): include debug.h and setup the lyxerr streambuf
3512         here.
3513
3514 2003-10-31  José Matos  <jamatos@lyx.org>
3515
3516         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3517
3518         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3519         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3520         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3521         * paragraph_pimpl.C (simpleTeXSpecialC):
3522         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3523         add LatexRunParams argument.
3524
3525         * exporter.C (Export): change call accordingly.
3526
3527         * latexrunparams.h: add new member to take care of the other backends.
3528 2003-10-30  José Matos  <jamatos@lyx.org>
3529
3530         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3531         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3532         factorise code for paragraph output.
3533         * buffer.[Ch]:
3534         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3535         move functions.
3536
3537 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * text3.C (dispatch):
3540         * lyxfunc.C (dispatch):
3541         * cursor.C (dispatch):
3542         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3543
3544         * dispatchresult.h: make the dispatch_result_t ctor explicit
3545
3546 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3547
3548         * sgml.[Ch]:
3549         * buffer.C: small refactoring of docbook stuff
3550
3551 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3552
3553         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3554         meaning.
3555
3556 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3559         operator dispatch_result_t, and operators for == != and >=
3560
3561         * cursor.C (dispatch): adjust for operator dispatch_result_t
3562         removal. comment out call to update
3563
3564         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3565
3566 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3567
3568         * text3.C:
3569         * text2.C:
3570         * text.C:
3571         * lyxtext.h:
3572         * lyxfunc.C:
3573         * cursor.C:
3574         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3575         (dispatch):
3576
3577         * dispatchresult.h: new file, DispatchResult broken out of
3578         insets/insetbase.h
3579
3580         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3581
3582 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * text.C (rowBreakPoint): put a hack inside #if 0
3585
3586 2003-10-28  André Pönitz  <poenitz@gmx.net>
3587
3588         * lyxtext.h:
3589         * metricsinfo.C:
3590         * paragraph_funcs.C:
3591         * rowpainter.C:
3592         * text.C:
3593         * text2.C: general cleanup (lots of small stuff)
3594
3595 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * text2.C (cursorEnd): simple fix to the "end key goes to one
3598         before the end on last row" bug
3599
3600 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * text.C (backspace): fix the "zombie characters"
3603
3604 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3607
3608 2003-10-27  André Pönitz  <poenitz@gmx.net>
3609
3610         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3611
3612         * factory.C: handle new InsetPagebreak, InsetLine
3613
3614         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3615         and move handling into new InsetPagebreak, InsetLine
3616
3617         * BufferView_pimpl.C:
3618         * LyXAction.C:
3619         * ParagraphParameters.C:
3620         * ParameterStruct.h:
3621         * lyxfunc.C:
3622         * lyxtext.h:
3623         * paragraph.C:
3624         * paragraph.h:
3625         * paragraph_funcs.C:
3626         * paragraph_pimpl.C:
3627         * rowpainter.C:
3628         * text.C:
3629         * text2.C:
3630         * text3.C: adjust
3631
3632 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * text.C:
3635         * lyxrow_funcs.[Ch]:
3636         * Bidi.C:
3637         * paragraph.C:
3638         * lyxtext.h:
3639         * rowpainter.C:
3640         * text2.C:
3641         * text3.C: remove lastPos uses in favour of Row::endpos
3642
3643 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3644
3645         * undo.C (performUndoOrRedo): fix two crashes by setting a
3646         cursor by hand and reordering some calls. Use bv->lockInset instead
3647         of inset->edit because the latter loses cursor information
3648
3649 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3650
3651         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3652         by Martin
3653         (rowBreakPoint): fix width. change point to point + 1.
3654         Add a missing check.
3655
3656 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3657
3658         * MenuBackend.C:
3659         * lyxfunc.C: fix (at least partly) the problems
3660         with the Nav menu and headers inside branch insets
3661         reported by Kayvan
3662
3663 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3664
3665         * paragraph.C (getChar): add strong asserts
3666
3667         * lyxrow_funcs.C (lastPos): remove hideous hack
3668
3669         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3670         (fill): adjust to that (avoid an infinite loop)
3671
3672 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3673
3674         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3675
3676 2003-10-23  André Pönitz  <poenitz@gmx.net>
3677
3678         * RowList_fwd.h: change list<> to vector<> to gain speed
3679         after suggestion from Alfredo
3680
3681 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * lyxtext.h: move the bidi stuff from here...
3684         * text.C: and here
3685         * text2.C: and here
3686         * Bidi.[Ch]: ... to here
3687
3688 2003-10-23  André Pönitz  <poenitz@gmx.net>
3689
3690         * lyxtext.h:
3691         * text.C (isLastRow, isFirstRow): new functions
3692
3693         * paragraph.h: new width cache member
3694
3695         * rowpainter.C: replace RowList::iterator with Row & where possible
3696
3697         * lyxfunc.C: replace several view()->text with a single call
3698
3699         * toc.C: fix 'unused' warning
3700
3701 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3704         when woring with stream::pos_type
3705         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3706
3707 2003-10-22  André Pönitz  <poenitz@gmx.net>
3708
3709         * lyxtext.h:
3710         * text.C: use Row & instead of RowList::iterator
3711
3712         * lyxrow.h: rename end() to endpos()
3713
3714         * rowpainter.C:
3715         * text.C:
3716         * text2.C: adjust
3717
3718 2003-10-22  Angus Leeming  <leeming@lyx.org>
3719
3720         * buffer.[Ch] (fully_loaded): new member function, returning true
3721         only when the file has been loaded fully.
3722         Used to prevent the premature generation of previews and by the
3723         citation inset to prevent computation of the natbib-style label.
3724
3725         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3726         templates are all set up.
3727
3728         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3729
3730 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3731
3732         * text.C: fixed an "oops" in the "is a bit silly"
3733         bug fix
3734
3735 2003-10-21  André Pönitz  <poenitz@gmx.net>
3736
3737         * FuncStatus.[Ch]: small stuff, whitespace
3738
3739         * lyxfont.[Ch]: operator<<() for debug reasons
3740
3741         * lyxfunc.C:
3742         * lyxrow_funcs.C:
3743         * lyxtext.h: whitespace, spelling
3744
3745         * paragraph.C: naming of variables
3746
3747         * text.C:
3748         * text2.C: small stuff
3749
3750
3751 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3752
3753         * text.C: (1) finish off the inset display() work;
3754         (2) fix the "is a bit silly" bug (accessing char
3755         past end of par).
3756
3757 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3758
3759         * text.C: re-introduce display() for insets, fixing the
3760         various bugs (stretch of line above, math inset
3761         positioning, ...)
3762
3763 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3764
3765         * text.C (rightMargin): remove spurious semicolon
3766
3767         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3768         1415)
3769
3770 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3771
3772         * text3.C: fix one crash due to wrong cursor def
3773
3774 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * vc-backend.C (scanMaster): make the regex static
3777
3778         * LaTeX.C (scanAuxFile): make the regexs static
3779
3780         * text3.C (doInsertInset, dispatch, dispatch):
3781         * text2.C (cursorUp, cursorDown):
3782         * text.C (selectNextWordToSpellcheck):
3783         * BufferView_pimpl.C (dispatch):
3784         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3785
3786 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3787
3788         * lyxsocket.C: include <cerrno>
3789
3790 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * lyxfunc.C (dispatch): remove textcache stuff
3793
3794         * bufferlist.C (release): remove textcache stuff
3795         (closeAll): ditto
3796
3797         * TextCache.C: delete file
3798         * TextCache.h: delete file
3799
3800         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3801
3802         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3803         delete of the bv_->text.
3804         (resizeCurrentBuffer): remove texcache stuff
3805         (workAreaResize): ditto
3806
3807 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3810         action.
3811
3812 2003-10-16  André Pönitz  <poenitz@gmx.net>
3813
3814         * lyxrow.[Ch]:
3815         * paragraph.h:
3816         * rowpainter.C:
3817         * text.C:
3818         * text2.C:
3819         * text3.C: speed up by storing y positions per paragraph plus per-row
3820         offset instead of having a 'full' y position in the row.
3821
3822 2003-10-15  André Pönitz  <poenitz@gmx.net>
3823
3824         * iterators.[Ch]:
3825         * iterators.[Ch]:
3826         * undo.[Ch]: make undo aware of inner insets
3827
3828 2003-10-14  Angus Leeming  <leeming@lyx.org>
3829
3830         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3831         static member functions LyX::ref() and LyX::cref.
3832         (lastfiles): new accessor functions for the new lastfiles_ member var.
3833         (addLyXView, views_): add a new LyXView to the list of views_.
3834         (updateInset): loop over all LyXViews to call their own updateInset
3835         member function, returning a pointer to the Buffer owning the inset.
3836
3837         * BufferView_pimpl.C (loadLyXFile):
3838         * MenuBackend.C (expandLastfiles):
3839         * bufferlist.C (MenuWrite, QuitLyX):
3840         lastfiles is no longer a global variable.
3841         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3842
3843         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3844         static function. Access through LyX::cref().emergencyCleanup().
3845
3846 2003-10-14  André Pönitz  <poenitz@gmx.net>
3847
3848         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3849
3850         * undo.[Ch]: restoring part of 'undo in insets'
3851
3852         * Makefile.am:
3853         * undo_funcs.[Ch]: merge with undo.[Ch]
3854
3855         * tabular.C: small cleansing stuff
3856
3857 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * paragraph_funcs.C (readParToken): report unknown insets as error
3860         boxes. Use the outer paragraph as location (also for unknown
3861         tokens).
3862
3863         * factory.C (readInset): do not abort on reading an unknown inset.
3864         Eat it and return 0.
3865
3866 2003-10-13  Angus Leeming  <leeming@lyx.org>
3867
3868         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3869
3870         * lyxrc.C: displayTranslator is now a function,
3871         declared in GraphicsTypes.h.
3872
3873 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3874
3875         * format.C: new placeholder $$a to pass the socket address.
3876
3877         * bufferlist.[Ch]: new function getBufferFromTmp.
3878
3879         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3880           files in the temporary dir.
3881
3882 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3883
3884         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3885
3886         * Makefile.am: add lyxsocket.[Ch].
3887
3888         * lyx_main.C (error_handler): handle SIGPIPE.
3889
3890 2003-10-13  André Pönitz  <poenitz@gmx.net>
3891
3892         * BufferView_pimpl.C:
3893         * lyxtext.h:
3894         * text.C:
3895         * text2.C:
3896         * text3.C:
3897         * undo_funcs.[Ch]: use paroffset_type instead of
3898           ParagraphList::iterators to prevent multiple conversion
3899           (and get a more robust interface)
3900
3901 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3902
3903         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3904         * lyxtext.h: ditto
3905         * text3.C (dispatch): ditto
3906
3907 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3910         move the onlyfile, use onlyfile instead of foundfile in a couple
3911         of places.
3912
3913         * DepTable.C (update): flush the error stream a bit more
3914
3915 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * lyxserver.C (callback): adjust
3918
3919         * lyxfunc.C (getStatus): add a missing brace in commented code
3920         (ensureBufferClean): reindent
3921         (dispatch): delete version taking a string
3922
3923 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * LaTeX.C (deplog): move found file handlig from here...
3926         (handleFoundFile): .. to new function here.
3927         (deplog): make sure to discover several files mentioned on the
3928         same log line.
3929
3930 2003-10-10  André Pönitz  <poenitz@gmx.net>
3931
3932         * lyxfunc.C:
3933         * lyxtext.h:
3934         * tabular.C:
3935         * text.C:
3936         * text2.C:
3937         * text3.C: fix some of the tabular crashes
3938
3939 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3940
3941         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3942
3943         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3944
3945 2003-10-09  André Pönitz  <poenitz@gmx.net>
3946
3947         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3948
3949         * BufferView.C:
3950         * BufferView_pimpl.C:
3951         * bufferview_funcs.C:
3952         * lyx_cb.C:
3953         * lyxcursor.C:
3954         * lyxfind.C:
3955         * lyxfunc.C:
3956         * lyxtext.h:
3957         * text.C:
3958         * text2.C:
3959         * text3.C:
3960         * text_funcs.[Ch]:
3961         * textcursor.[Ch]:
3962         * undo_funcs.C: adjust
3963
3964 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * text2.C (incrementItemDepth): new function, use a backtracking
3967         algorithm to discover the correct item depth.
3968         (resetEnumCounterIfNeeded): new function, use a backtracking
3969         algorithm to discover if counter reset is needed.
3970         (setCounter): use them. Simplify a bit. Add different labels for
3971         different item depths for itemize.
3972
3973         * paragraph.C (Paragraph): remove initialization of enumdepth
3974         (operator=): ditto
3975
3976         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3977         enumerate and itemize. Change the type of itemdepth to signed char.
3978
3979 2003-10-08  André Pönitz  <poenitz@gmx.net>
3980
3981         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3982           thing assignable.
3983         * text.C:
3984         * text2.C: adjust
3985
3986         * tabular.[Ch]: fix crash after 'row-insert'
3987
3988 2003-10-08  Angus Leeming  <leeming@lyx.org>
3989
3990         Fix doxygen warnings.
3991
3992         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3993         Remove CutAndPaste:: prefix from header file declaration.
3994
3995         * LColor.h (fill): remove LColor:: prefix from declaration.
3996
3997         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3998         use lyx::depth_type rather than Paragraph::depth_type so that
3999         header file and .C file match.
4000
4001         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4002
4003         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4004         * aspell.C: \file aspell_local.C -> \file aspell.C
4005         * gettext.C: \file gettext.C -> \file src/gettext.C
4006         * gettext.h: \file gettext.h -> \file src/gettext.h
4007         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4008         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4009         * text.C: \file text.C -> \file src/text.C
4010
4011         * toc.C: move comment so that doxygen is not confused.
4012
4013 2003-10-07  Angus Leeming  <leeming@lyx.org>
4014
4015         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4016
4017 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4018
4019         * aspell.C:
4020         * aspell_local.h: add forgotten std::string's.
4021
4022 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4023
4024         * LaTeXFeatures.C:
4025         * LyXAction.C:
4026         * factory.C:
4027         * lfuns.h:
4028         * lyxfunc.C:
4029         * text3.C: The Box patch. Fancybox support, minipage, parbox
4030
4031 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4032
4033         * CutAndPaste.h:
4034         * DepTable.h:
4035         * FloatList.h:
4036         * LaTeXFeatures.h:
4037         * ParagraphParameters.h:
4038         * TextCache.h:
4039         * Thesaurus.h:
4040         * bufferlist.h:
4041         * exporter.h:
4042         * importer.h:
4043         * lastfiles.h:
4044         * lyxfind.h:
4045         * lyxfont.h:
4046         * lyxlex.h:
4047         * lyxtextclasslist.h:
4048         * messages.h:
4049         * paragraph.h:
4050         * paragraph_pimpl.C:
4051         * textcursor.h: add <string> and other small fixes to make Lars'
4052         std::string patch compile with STLport.
4053
4054 2003-10-06  Angus Leeming  <leeming@lyx.org>
4055
4056         * LColor.h: Add missing #include <string>.
4057
4058 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * All most all file in all subdirs: Make <string> be the prefered
4061         way of getting to std::string, add using declarations.
4062
4063 2003-10-06  André Pönitz  <poenitz@gmx.net>
4064
4065         * metricsinfo.C: initialize LyXFont before changing attribute.
4066         (fixes the 'math in \emph is upright' bug)
4067
4068 2003-10-06  André Pönitz  <poenitz@gmx.net>
4069
4070         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4071
4072 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4073
4074         * graph.C:
4075         * paragraph_pimpl.C: Small fixes to build using STLport
4076
4077 2003-10-02  André Pönitz  <poenitz@gmx.net>
4078
4079         * lyxfunc.C:
4080         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4081
4082 2003-10-01  André Pönitz  <poenitz@gmx.net>
4083
4084         * factory.C: assert early
4085
4086 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * lyx_main.C: remove the global debug object
4089
4090         * debug.h: adjust for new debugstream
4091
4092         * debug.C: adjust for new debugstream and keep the global debug
4093         object here.
4094
4095 2003-09-22  Angus Leeming  <leeming@lyx.org>
4096
4097         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4098         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4099         an incomplete class LyXFont.
4100
4101 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4102
4103         * factory.C: bug fix in branches
4104
4105 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * lyxfunc.C (processKeySym): adjust
4108         (dispatch): adjust
4109         (dispatch): change arg name from ev to func, adjust
4110         (sendDispatchMessage): ditto
4111
4112         * lyx_main.C (defaultKeyBindings): adjust keybindings
4113         (deadKeyBindings): ditto
4114
4115         * kbsequence.C (addkey): return a FuncRequest
4116
4117         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4118
4119         * kbmap.C (bind): take a FuncRequest as arg, adjust
4120         (read): adjust
4121         (lookup): adjust
4122         (defkey): change to take a FuncRequest as arg, adjust
4123         (findbinding): take a FuncRequest as arg, adjust.
4124
4125         * funcrequest.h (operator=): added
4126
4127         * funcrequest.C (FuncRequest): default kb_action changed from
4128         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4129
4130         * buffer.C (dispatch): simplify
4131         (dispatch): adjust to take a FuncRequest as arg, adjust
4132
4133         * boost.C (assertion_failed): change assertion message slightly
4134
4135         * ToolbarBackend.C (read): simplify
4136
4137         * MenuBackend.C (binding): adjust call to findbinding, add a
4138         message if no binding is found.
4139         (read): simplify
4140         (expandToc): correct by adding a empty FuncRequest
4141
4142         * LyXAction.C: include <boost/assert.hpp>
4143         (isPseudoAction): delete function
4144         (LookupFunc): change name to...
4145         (lookupFunc): this. change return type to FuncRequest.
4146         (getActionName): take kb_action as arg, simplify
4147         (funcHasFlag): add an assert, simplify.
4148
4149 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * toc.C (action): return a FuncRequest, simplify
4152
4153         * lyxfunc.C (processKeySym): adjust
4154         (getStatus): delete version that takes an int.
4155         (getStatus): adjust
4156         (dispatch): delete version that takes action as int
4157         (dispatch): adjust
4158         (sendDispatchMessage): simplify and adjust
4159
4160         * funcrequest.C (getArg): take unsigned int as arg
4161
4162         * ToolbarBackend.C (read): adjust
4163         (add): delete version that takes func as a string.
4164         (getIton): take a FuncRequest as arg
4165
4166         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4167         action.
4168
4169         * MenuBackend.C (MenuItem): add a new construct that only takes a
4170         Kind, simplify the constructor use for submenus.
4171         (add): adjust
4172         (expandLastfiles): adjust
4173         (expandDocuments): adjust
4174         (expandFormats): adjust
4175         (expandFloatListInsert): adjust
4176         (expandFloatInsert): adjust
4177         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4178
4179         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4180         Remove class variables lyx_pseudo_map and lyx_arg_map
4181
4182         * LyXAction.C (searchActionArg): delete function
4183         (getPseudoAction): delete function
4184         (retrieveActionArg): delete function
4185         (LookupFunc): make it return kb_action, simplify.
4186         (getActionName): simplify
4187
4188         * factory.C (createInset): fix new bug
4189
4190 2003-09-19  Angus Leeming  <leeming@lyx.org>
4191
4192         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4193         masterFilename_ parameter in the include inset.
4194
4195         * factory.C (createInset): changes due to the changes to InsetInclude.
4196
4197 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4198
4199         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4200
4201 2003-09-18  Angus Leeming  <leeming@lyx.org>
4202
4203         * buffer.C:
4204         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4205         Inset::fillWithBibKeys.
4206         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4207
4208 2003-09-18  Angus Leeming  <leeming@lyx.org>
4209
4210         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4211         variables.
4212         (ctor): pass and store a 'Buffer const &'
4213         (buffer): new member function.
4214
4215         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4216         '*this' to the LaTeXFeatures ctor.
4217
4218 2003-09-18  Angus Leeming  <leeming@lyx.org>
4219
4220         * LColor.h:
4221         * lyxfont.C:
4222         * lyxfont.h:
4223         * lyxtext.h:
4224         * text.C: rename EnumLColor as LColor_color.
4225
4226 2003-09-18  Angus Leeming  <leeming@lyx.org>
4227
4228         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4229         remove #include "insets/insetbase.h" from cursor.h.
4230
4231 2003-09-18  Angus Leeming  <leeming@lyx.org>
4232
4233         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4234         InsetOld_code to remove #include "inset.h".
4235
4236         * iterators.C: add #include "insets/inset.h"
4237
4238 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4239
4240         * BufferView.C: remove more locking stuff that apparently doesn't
4241         do anything sensible.
4242
4243 2003-09-16  André Pönitz  <poenitz@gmx.net>
4244
4245         * paragraph.[Ch]:
4246         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4247           performance boost.
4248
4249 2003-09-16  Angus Leeming  <leeming@lyx.org>
4250
4251         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4252
4253         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4254         arg/return type.
4255
4256         * paragraph.h: remove #include "lyxfont.h". Forward declare
4257         LyXFont_size.
4258
4259 2003-09-16  Angus Leeming  <leeming@lyx.org>
4260
4261         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4262         of support/textutils.h.
4263         (isWord): move the contents of support/textutils.h's IsWordChar here.
4264
4265         * buffer.C:
4266         * lyxfind.C:
4267         * rowpainter.C:
4268         * text.C:
4269         * text2.C: add #include "paragraph.h".
4270
4271         * rowpainter.C:
4272         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4273
4274 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * main.C:
4277         * lyx_main.C:
4278         * lyx_cb.C:
4279         * buffer.C:
4280         * LaTeX.C: use namespace alias for lyx::support::os
4281
4282 2003-09-16  Angus Leeming  <leeming@lyx.org>
4283
4284         * bufferparams.C:
4285         * bufferview_funcs.C:
4286         * factory.C:
4287         * lyxfunc.C:
4288         * paragraph_pimpl.C:
4289         * rowpainter.C:
4290         * text.C: add #include "LColor.h".
4291
4292 2003-09-16  Angus Leeming  <leeming@lyx.org>
4293
4294         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4295         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4296         return LyXFont &.
4297         Store the FontBits::color variable as an int rather than as an
4298         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4299         file.
4300
4301         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4302         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4303         string calls together.
4304
4305         * lyxrc.C: add #include "LColor.h".
4306
4307 2003-09-15  Angus Leeming  <leeming@lyx.org>
4308
4309         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4310         a cow_ptr.
4311
4312 2003-09-15  Angus Leeming  <leeming@lyx.org>
4313
4314         * LColor.h: add an EnumLColor wrapper for LColor::color.
4315
4316         * lyxfont.[Ch] (color, setColor, realColor):
4317         * lyxtext.h, text.C (backgroundColor):
4318         pass EnumLColor args to/from the functions, rather than LColor::color
4319         ones.
4320
4321         * lyxfont.h:
4322         * lyxtext.h: forward declare EnumLColor.
4323
4324         * lyx_main.C: add #include "LColor.h".
4325
4326 2003-09-15  Angus Leeming  <leeming@lyx.org>
4327
4328         * .cvsignore: add lyx-gtk.
4329
4330 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * Chktex.C
4333         * LaTeX.C
4334         * LaTeXFeatures.C
4335         * ParagraphParameters.C
4336         * Spacing.C
4337         * buffer.C
4338         * bufferparams.C
4339         * bufferview_funcs.C
4340         * chset.C
4341         * counters.C
4342         * funcrequest.C
4343         * lyxfont.C
4344         * lyxgluelength.C
4345         * lyxlength.C
4346         * paragraph.C
4347         * paragraph_funcs.C
4348         * text3.C
4349         * vc-backend.C: remove usage of STRCONV
4350
4351 2003-09-15  Angus Leeming  <leeming@lyx.org>
4352
4353         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4354         explicitly define the color passed to the painter.
4355
4356 2003-09-15  Angus Leeming  <leeming@lyx.org>
4357
4358         * bufferparams.C (BufferParams): reorder member initializers to avoid
4359         compiler warning.
4360
4361 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4362
4363         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4364         * text.C (updateRowPositions): remove an unusual nop
4365
4366 2003-09-12  André Pönitz  <poenitz@gmx.net>
4367
4368         * BufferView_pimpl.C:
4369         * Bullet.C:
4370         * layout.h:
4371         * lyxfunc.C:
4372         * lyxlayout.[Ch]:
4373         * lyxtextclass.C:
4374         * rowpainter.C:
4375         * text.C:
4376         * text2.C:
4377         * Counters.[Ch]: finish the 'automatic counters' job
4378
4379 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4380
4381         * aspell.C: include <boost/assert.cpp> (compile fix)
4382
4383 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4384
4385         * boost.C (assertion_failed): use lyx::support::abort instead of
4386         assert.
4387
4388 2003-09-10  Angus Leeming  <leeming@lyx.org>
4389
4390         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4391         with their _fwd progeny.
4392
4393 2003-09-09  Angus Leeming  <leeming@lyx.org>
4394
4395         134 files throughtout the source tree: replace 'using namespace abc;'
4396         directives with the appropriate 'using abc::xyz;' declarations.
4397
4398 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4399
4400         * boost.C (emergencyCleanup): moved here from LAssert.c
4401         (assertion_failed): new function, called by BOOST_ASSERT
4402
4403         * several files: change Assert to BOOST_ASSERT
4404
4405 2003-09-09  Angus Leeming  <leeming@lyx.org>
4406
4407         * buffer.[Ch]: Add an Impl class and move Buffer's member
4408         variables into it. As a result move several header files out of
4409         buffer.h.
4410
4411         Add header files to lots of .C files all over the tree as a result.
4412
4413 2003-09-09  Angus Leeming  <leeming@lyx.org>
4414
4415         * buffer.[Ch]: make Buffer's member variables private. Add
4416         accessor functions.
4417
4418         Lots of changes all over the tree as a result.
4419
4420 2003-09-08  Angus Leeming  <leeming@lyx.org>
4421
4422         * graph.C: #include <config.h>.
4423
4424 2003-09-08  Angus Leeming  <leeming@lyx.org>
4425
4426         * BranchList.C:
4427         * BufferView.C:
4428         * BufferView_pimpl.C:
4429         * CutAndPaste.C:
4430         * DepTable.C:
4431         * LaTeX.C:
4432         * LaTeXFeatures.C:
4433         * LyXAction.C:
4434         * MenuBackend.C:
4435         * TextCache.C:
4436         * aspell.C:
4437         * buffer.C:
4438         * bufferlist.C:
4439         * changes.C:
4440         * chset.C:
4441         * converter.C:
4442         * counters.C:
4443         * debug.C:
4444         * graph.C:
4445         * ispell.C:
4446         * lyx_cb.C:
4447         * lyxfind.C:
4448         * lyxfunc.C:
4449         * lyxlex_pimpl.C:
4450         * lyxrc.C:
4451         * lyxrow.C:
4452         * paragraph.C:
4453         * rowpainter.C:
4454         * texrow.C:
4455         * text.C:
4456         * text2.C:
4457         * toc.C: remove redundant using directives.
4458
4459 2003-09-07  Angus Leeming  <leeming@lyx.org>
4460
4461         * LaTeXFeatures.h: remove #include "support/types.h".
4462         * ToolbarBackend.h: remove #include <algorithm>.
4463         * changes.h: remove #include <ctime>.
4464         * debug.h: remove #include <iosfwd>.
4465         * graph.h: remove #include "support/std_string.h".
4466         * lyx_main.h: remove #include <csignal>.
4467         * lyxlex_pimpl.h: remove #include <fstream>.
4468         * sgml.h: remove #include <algorithm>, <utility>.
4469         * toc.h: remove #include "support/std_ostream.h".
4470         Add #include <iosfwd>.
4471
4472 2003-09-07  Angus Leeming  <leeming@lyx.org>
4473
4474         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4475
4476         * converter.h: forward declare LatexRunParams.
4477         * encoding.h: remove #include "lyxrc.h".
4478         * lyxtext.h: remove #include "LColor.h".
4479         * lyxtextclass.h: remove #include "support/types.h".
4480         * trans.h: remove #include "tex-accent.h".
4481         * trans_mgr.h: remove #include "tex-accent.h".
4482         * insets/inset.h: remove #include "support/types.h", <vector>.
4483         * insets/insetcollapsable.h: remove #include "LColor.h".
4484         * insets/insetinclude.h: remove #include "dimension.h".
4485         * insets/insetlatexaccent.h: remove #include "dimension.h".
4486         * insets/insetoptarg.h:: remove #include "insettext.h".
4487         * insets/insettext.h: remove #include "dimension.h",
4488         <boost/shared_ptr.hpp>
4489
4490         * insets/renderers.h: add #include "dimension.h".
4491         * insets/updatableinset.h: add #include "support/types.h".
4492
4493         * many .C files: Associated changes.
4494
4495 2003-09-06  Angus Leeming  <leeming@lyx.org>
4496
4497         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4498         one, inside testInvariant.
4499
4500         * PrinterParams.C: new file.
4501         * PrinterParams.[Ch]: move the function bodies out of line.
4502
4503 2003-09-06  Angus Leeming  <leeming@lyx.org>
4504
4505         * ParagraphParameters.h: forward declare ParameterStruct rather than
4506         including its header file.
4507         (depth): moved out-of-line.
4508
4509 2003-09-06  Angus Leeming  <leeming@lyx.org>
4510
4511         * BufferView_pimpl.h:
4512         * kbmap.h:
4513         * kbsequence.h:
4514         * lyxfunc.h: forward declare LyXKeySym rather than
4515         #include "frontends/LyXKeySym.h".
4516
4517         * BufferView_pimpl.C:
4518         * kbmap.C:
4519         * kbsequence.C:
4520         * lyxfunc.C: associated changes.
4521
4522 2003-09-06  Angus Leeming  <leeming@lyx.org>
4523
4524         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4525         As a result, can remove the #include "insets/inset.h" from BufferView.h
4526
4527 2003-09-06  Angus Leeming  <leeming@lyx.org>
4528
4529         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4530         As a result, can remove the #include "insets/inset.h" from BufferView.h
4531
4532 2003-09-06  Angus Leeming  <leeming@lyx.org>
4533
4534         * buffer_funcs.C:
4535         * buffer.h:
4536         * bufferlist.C:
4537         * BufferView.C:
4538         * bufferview_funcs.C:
4539         * BufferView_pimpl.C:
4540         * CutAndPaste.C:
4541         * lyx_cb.C:
4542         * lyxfunc.C:
4543         * paragraph.h:
4544         * ParagraphParameters.C:
4545         * tabular.C:
4546         * text3.C:
4547         * toc.C:
4548         * undo_funcs.C:
4549         * frontends/controllers/ControlDocument.C:
4550         * insets/insetcaption.C: rearrange the #includes into some sort of
4551         coherent order.
4552
4553         * buffer.h: remove #includes ErrorList.h, undo.h
4554
4555 2003-09-06  Angus Leeming  <leeming@lyx.org>
4556
4557         * support/types.h: add a 'depth_type' typedef, used to store the
4558         nesting depth of a paragraph.
4559
4560         * paragraph.h:
4561         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4562         defining explicitly.
4563
4564         * buffer.h:
4565         * paragraph_funcs.h:
4566         * ParagraphParameters.h:
4567         * sgml.h: use lyx::depth_type rather than Paragraph or
4568         ParameterStruct's depth_type.
4569
4570         * buffer.h
4571         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4572
4573         * BufferView.C:
4574         * BufferView_pimpl.C:
4575         * CutAndPaste.C:
4576         * ParagraphParameters.C:
4577         * buffer_funcs.C:
4578         * bufferlist.C:
4579         * bufferview_funcs.C:
4580         * lyx_cb.C:
4581         * lyxfunc.C:
4582         * tabular.C:
4583         * text3.C:
4584         * toc.C:
4585         * undo_funcs.C:
4586         * frontends/LyXView.C:
4587         * frontends/controllers/ControlDocument.C:
4588         * frontends/controllers/ControlErrorList.C:
4589         * insets/insetbibitem.C:
4590         * insets/insetbranch.C:
4591         * insets/insetcaption.C:
4592         * insets/insetcollapsable.C:
4593         * insets/insetenv.C:
4594         * insets/insetert.C:
4595         * insets/insetfloat.C:
4596         * insets/insetfoot.C:
4597         * insets/insetfootlike.C:
4598         * insets/insetnewline.C:
4599         * insets/insetquotes.C:
4600         * insets/insettabular.C:
4601         * insets/insettext.C:
4602         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4603
4604         * frontends/controllers/ControlChanges.C: #include "changes.h".
4605
4606 2003-09-06  Angus Leeming  <leeming@lyx.org>
4607
4608         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4609         than #including paragraph.h.
4610
4611         * ParagraphList.h:
4612         * RowList.h: deleted. Superfluous.
4613
4614         * CutAndPaste.h:
4615         * iterators.h:
4616         * lyxcursor.h:
4617         * lyxtext.h:
4618         * text_funcs.h:
4619         * undo.h:
4620         * undo_funcs.h:
4621         * insets/inset.h:
4622         * insets/insettext.h: use ParagraphList_fwd.h rather than
4623         ParagraphList.h.
4624
4625         * paragraph.h: don't forward declare ParagraphList.
4626
4627         * buffer.h:
4628         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4629         rather than ParagraphList.h. paragraph.h is still needed for the
4630         Paragraph::depth_type parameters.
4631
4632         * textcursor.h: enable it to compile stand-alone in light of the
4633         above changes.
4634
4635         * bufferview_funcs.C:
4636         * iterators.C:
4637         * lyxfunc.C:
4638         * lyxrow_funcs.C:
4639         * paragraph.C:
4640         * rowpainter.C:
4641         * text.C:
4642         * text2.C:
4643         * text3.C:
4644         * text_funcs.C:
4645         * textcursor.C:
4646         * undo.C:
4647         * frontends/controllers/ControlParagraph.C:
4648         * frontends/controllers/ControlTabular.C:
4649         * insets/insetmarginal.C:
4650         * insets/insetminipage.C:
4651         * insets/insetnote.C:
4652         * insets/insetoptarg.C: add header files needed to compile again.
4653
4654 2003-09-06  Angus Leeming  <leeming@lyx.org>
4655
4656         * RowList_fwd.h: new file, forward-declaring Row rather than
4657         #including lyxrow.h.
4658
4659         * lyxrow_funcs.h:
4660         * lyxtext.h:
4661         * paragraph.h:
4662         * insets/insettext.h: use it instead of RowList.h
4663
4664         * bufferview_funcs.C:
4665         * lyxfunc.C:
4666         * lyxrow_funcs.C:
4667         * paragraph.C:
4668         * rowpainter.C:
4669         * text.C:
4670         * text2.C:
4671         * text3.C: #include "RowList.h".
4672
4673 2003-09-05  Angus Leeming  <leeming@lyx.org>
4674
4675         * factory.C (createInset):
4676         * vspace.C (c-tor): replace sscanf call with an istringstream.
4677         * ispell.C: re-add missing HP/UX headers.
4678         * lyxserver.C: re-add missing  os2 headers.
4679
4680 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4681
4682         * BranchList.C:
4683         * graph.C:
4684         * ispell.C:
4685         * lastfiles.C:
4686         * lyx_cb.C:
4687         * lyxserver.C:
4688         * texrow.C:
4689         * text3.C: re-add missing system headers, needed for 2.95.2.
4690
4691 2003-09-05  Angus Leeming  <leeming@lyx.org>
4692
4693         Changes most place everywhere due to the removal of using directives
4694         from support/std_sstream.h.
4695
4696 2003-09-05  Angus Leeming  <leeming@lyx.org>
4697
4698         Replace LString.h with support/std_string.h,
4699         Lsstream.h with support/std_sstream.h,
4700         support/LIstream.h with support/std_istream.h,
4701         support/LOstream.h with support/std_ostream.h.
4702
4703         Changes resulting throughout the tree.
4704
4705 2003-09-05  Angus Leeming  <leeming@lyx.org>
4706
4707         * sgml.h: ensure that the header file can be compiled stand-alone.
4708         * *.C: strip out redundant #includes. (320 in total.)
4709
4710 2003-09-04  Angus Leeming  <leeming@lyx.org>
4711
4712         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4713         here (from getPackages).
4714
4715         * debug.[Ch]: add a new EXTERNAL tag.
4716
4717 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4718
4719         * text2.C (cursorEnd): simplify
4720         (setCursor): adjust
4721         (getColumnNearX): adjust
4722
4723         * text.C (computeBidiTables): adjust
4724         (fill): adjust
4725
4726         * rowpainter.C (paintChars): adjust
4727         (paintSelection): adjust
4728         (paintChangeBar): adjust
4729         (paintText): adjust
4730
4731         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4732         lastPos instead.
4733         (numberOfSeparators): adjust
4734
4735 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4736
4737         * LyXAction.C:
4738         * box.[Ch]:
4739         * lfuns.h:
4740         * lyxfunc.C:
4741         * text3.C: Restricts the mouse click functionality
4742         of insets like bibtex, include, toc and floatlist to the visible
4743         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4744         up the dialogs. Cursor has to be in front of the inset (i.e.
4745         start of row) for this to function.
4746
4747 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4748
4749         * bufferview_funcs.C (currentState): output row information
4750
4751 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4752
4753         * bufferview_funcs.C (currentState): output paragraph position
4754
4755 2003-09-04  Angus Leeming  <leeming@lyx.org>
4756
4757         * FloatList.h: move out #include "Floating.h".
4758         * LaTeX.h: move out #include "DepTable.h".
4759         * LyXAction.h: move out #include "funcrequest.h".
4760         * buffer.h: move out #include "author.h", "iterators.h".
4761         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4762         * lyx_main.h: move out #include "errorlist.h".
4763         * lyxfunc.h: move out #include "FuncStatus.h".
4764         * lyxtext: move out #include "lyxcursor.h".
4765         * paragraph_pimpl.h: move out #include "counters.h".
4766
4767 2003-09-03  Angus Leeming  <leeming@lyx.org>
4768
4769         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4770         preamble_snippets list, enabling us to add snippets to the preamble
4771         only if the snippet was not there already.
4772
4773 2003-09-04  Angus Leeming  <leeming@lyx.org>
4774
4775         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4776
4777 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4780         update
4781
4782 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4783
4784         * BranchList.C: point fix, earlier forgotten
4785
4786 2003-09-02  Angus Leeming  <leeming@lyx.org>
4787
4788         * box.C (contains): renamed from 'contained' after a fantastic
4789         amount of hot air.
4790
4791 2003-09-02  John Levon  <levon@movementarian.org>
4792
4793         * BufferView.C:
4794         * lyxcursor.h:
4795         * lyxcursor.C:
4796         * lyxfunc.C:
4797         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4798
4799 2003-09-02  John Levon  <levon@movementarian.org>
4800
4801         * text2.C: simplification of cursorEnd(), including partial
4802         fix for bug 1376
4803
4804 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * buffer.C (readFile): add a space
4807
4808 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4809
4810         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4811
4812 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * buffer.C (readFile): new function, take a filename and a
4815         ParagraphList::iterator
4816         (readFile): adjust
4817         (readFile): adjust, make it private. don't use setStream, make
4818         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4819         always contain the filename.
4820
4821         * BufferView.C (insertLyXFile): simplify and make it work for
4822         gzipped files.
4823
4824 2003-08-30  John Levon  <levon@movementarian.org>
4825
4826         * Makefile.am: fix dist (from Kayvan)
4827
4828 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * most files: change to use const Buffer refs
4831
4832 2003-08-27  André Pönitz  <poenitz@gmx.net>
4833
4834         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4835         on top of ownerPar().
4836
4837 2003-08-27  John Levon  <levon@movementarian.org>
4838
4839         * funcrequest.C: properly initialise POD members
4840
4841 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * lyxtext.h (top_y): move top_y from here
4844         * text.C:
4845         * text2.C:
4846         * text3.C:
4847         * BufferView.[Ch]:
4848         * BufferView_pimpl.[Ch]: to here
4849         * frontends/screen.C:
4850         * insets/insettabular.C:
4851         * insets/insettext.C: adjust
4852         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4853
4854 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * BufferView.[Ch]:
4857         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4858
4859 2003-08-26  André Pönitz  <poenitz@gmx.net>
4860
4861         * paragraph_func.[Ch] (outerPar): new function
4862
4863         * paragraph.C:
4864         * paragraph_funcs.C:
4865         * paragraph_funcs.h:
4866         * paragraph_pimpl.C:
4867         * text2.C: remove Inset::par_owner
4868
4869 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4870
4871         * lyxrow_funcs.C:
4872         * lyxtext.h:
4873         * text.C:
4874         * text2.C: eliminates the needFullRow/display() stuff
4875         altogether, putting the logic in metrics/draw in the insets.
4876
4877 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4878
4879         * text2.C (redoParagraphInternal, redoParagraphs):
4880         * text.C (redoParagraph): add a call to updateRowPositions at the
4881         end of each 'metrics-like' call. Remove all others.
4882         (getRow): remove the 'y-computing' version.
4883         (getRowNearY): do not compute nor return the real y. Solve the
4884         'y < 0' problem and simplify.
4885
4886 2003-08-22  Angus Leeming  <leeming@lyx.org>
4887
4888         * *.[Ch]: clean-up of licence and author blurbs.
4889         Also move config.h out of a few .h files and into a few .C files.
4890
4891 2003-08-22  André Pönitz  <poenitz@gmx.net>
4892
4893         * lyxrow.[Ch]: add x_ and *fill_ members
4894
4895         * lyxtext.h:
4896         * text.C:
4897         * rowpainter.C:
4898         * text2.C: adjust/remove prepareToPrint() calls
4899
4900 2003-08-22  André Pönitz  <poenitz@gmx.net>
4901
4902         * lyxrow.[Ch]: add  end_ member
4903
4904         * lyxrow_funcs.C: use LyXRow::end_
4905
4906         * lyxtext.h (singleWidth): add LyXFont parameter
4907
4908         * rowpainter.C:
4909         * text2.C: adjust LyXText::singleWidth() calls
4910
4911         * text.C (redoParagraph): simplify row breaking logic
4912
4913
4914 2003-08-19  André Pönitz  <poenitz@gmx.net>
4915
4916         * funcrequest.C: initialize button_ member
4917
4918         * text3.C:
4919         * rowpainter.[Ch]: interface consolidation
4920
4921 2003-08-18  André Pönitz  <poenitz@gmx.net>
4922
4923         * BufferView.C:
4924         * BufferView_pimpl.C:
4925         * lyxfind.C:
4926         * paragraph_funcs.C:
4927         * rowpainter.C:
4928         * text3.C: remove LyXScreen::draw() and fitCursor calls
4929
4930         * BranchList.h: remove spurious semicolons
4931
4932         * MenuBackend.C: fix branchlist related crash
4933
4934 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4935
4936         * BranchList.[Ch]:
4937         * InsetList.[Ch]:
4938         * LColor.[Ch]:
4939         * LyXAction.C:
4940         * Makefile.am:
4941         * MenuBackend.[Ch]:
4942         * bufferparams.[Ch]:
4943         * factory.C:
4944         * lfuns.h:
4945         * lyxfunc.C:
4946         * text3.C: implements the 'branch inset'
4947         idea. This allows the output of various versions of a document
4948         from a single source version, selectively outputing or suppressing
4949         output of parts of the text.
4950         This implementation contains a 'branch list editor' in a separate
4951         tab of the document settings dialog. Branches are user definable
4952         and have a "display colour" to distinguish them on-screen.
4953
4954         ColorHandler was somewhat cleaned up.
4955         (1) make possible a dynamically growing LColor list by allowing
4956         the graphic context cache to grow along (vector);
4957         (2) eliminate an IMHO unnecessary step in colour allocation.
4958
4959 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4960
4961         * BufferView_pimpl.C: compile fix
4962
4963 2003-08-15  André Pönitz  <poenitz@gmx.net>
4964
4965         * rowpainter.C: remove extra metrics calls
4966
4967         * lyxtext.h: merge the two constructors into a single one,
4968           pass reference to owner's par list
4969
4970         * BufferView_pimpl.C:
4971         * text.C:
4972         * text2.C: adjust
4973
4974 2003-08-15  André Pönitz  <poenitz@gmx.net>
4975
4976         * lyxrow_funcs.[Ch]:
4977         * lyxtext.h:
4978         * paragraph.h:
4979         * paragraph_funcs.C:
4980         * rowpainter.C:
4981         * text.C:
4982         * text2.C:
4983         * text3.C:
4984         * text_funcs.C: split LyXText::rowlist_ into individual
4985         Paragraph::rows_ chunks
4986
4987         * BufferView.[Ch]:
4988         * BufferView_pimpl.[Ch]:
4989         * lyxfind.C:
4990         * lyxtext.h:
4991         * text3.C: remove toggleSelection()
4992
4993 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4994
4995         * bufferlist.C: beautify two alerts (shorter text of buttons)
4996         * buffer.C: Remove redundant ' ' from message
4997         * tabular.h:
4998         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4999         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5000         rename VALIGN_CENTER to VALIGN_MIDDLE
5001
5002 2003-08-11  André Pönitz  <poenitz@gmx.net>
5003
5004         * lyxtext.h (getPar):
5005         * text.C: new function
5006
5007 2003-08-11  André Pönitz  <poenitz@gmx.net>
5008
5009         * Makefile.am:
5010         * tracer.[Ch]: remove unneeded files
5011
5012         * InsetList.[Ch]: remove resizeInsetsLyXText()
5013
5014         * lyxtext.h:
5015         * text.C:
5016         * text2.C:
5017         * text3.C: merge insertParagraphs() and appendParagraph()
5018         remove breakAgain(), update()
5019
5020         * BufferView_pimpl.[Ch]:
5021         * bufferview_funcs.[Ch]:
5022         * lyxfunc.C:
5023         * paragraph.[Ch]:
5024         * rowpainter.C:
5025         * tabular.C: adjust after text & InsetList changes.
5026
5027 2003-08-08  André Pönitz  <poenitz@gmx.net>
5028
5029         * text.C (insertChar, backspace): replace rowlist fiddling
5030         with rebreak of full par
5031
5032         * lyxtext.h:
5033         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5034         checkParagraph, updateInset): removed
5035
5036 2003-08-07  André Pönitz  <poenitz@gmx.net>
5037
5038         * paragraph.C:
5039         * text3.C: merge some LFUN handlers, remove dead code
5040
5041 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5042
5043         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5044
5045 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * text2.C (DEPM): fix part of bug 1255 and 1256
5048
5049 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5050
5051         * BufferView_pimpl.C (workAreaDispatch): change to use
5052         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5053         that are no mouse related.
5054
5055 2003-08-05  André Pönitz  <poenitz@gmx.net>
5056
5057         * BufferView.[Ch]:
5058         * BufferView_pimpl.[Ch]:
5059         * bufferview_funcs.C:
5060         * text2.C:
5061         * text3.C: rip out "deep update"
5062
5063         * textcursor.[Ch] (last_sel_cursor): remove unused member
5064
5065 2003-08-04  André Pönitz  <poenitz@gmx.net>
5066
5067         * BufferView.[Ch]:
5068         * BufferView_pimpl.[Ch]:
5069         * ParagraphParameters.C:
5070         * bufferview_funcs.C:
5071         * lyx_cb.C:
5072         * lyxfind.C:
5073         * lyxfunc.C:
5074         * text.C:
5075         * text2.C:
5076         * text3.C: replace "complicated" BufferView::update(...) calls with
5077         simpler ones.
5078
5079         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5080
5081 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5082
5083         * Makefile.am (lyx_SOURCES): add paper.h
5084
5085 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5086
5087         * Makefile.am: move things around so that both lyx-qt and
5088         lyx-xforms can be built (according to --with-frontend). Then lyx
5089         is a symbolic link to lyx-[firstfrontend]
5090
5091 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5092
5093         * Always use std::endl with lyxerr
5094
5095 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5096
5097         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5098
5099 2003-08-01  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView.[Ch]:
5102         * BufferView_pimpl.[Ch]:
5103         * lyxfunc.C:
5104         * text3.C: merge BufferView::repaint() and BufferView::update()
5105
5106 2003-08-01  José Matos  <jamatos@lyx.org>
5107
5108         * buffer.[Ch]: file_format is no longer a buffer data element.
5109
5110 2003-08-01  André Pönitz  <poenitz@gmx.net>
5111
5112         * BufferView.C:
5113         * lyxtext.h:
5114         * text.C:
5115         * text2.C: make redoParagraph more independent of current cursor
5116
5117         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5118         * text.C:
5119         * text2.C: remove unneeded members
5120
5121 2003-07-30  André Pönitz  <poenitz@gmx.net>
5122
5123         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5124
5125         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5126           create a single function...
5127
5128         * paragraph_funcs.C (moveItem): ... here.
5129
5130         * text.C:
5131           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5132
5133 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5134
5135         * LColor.[Ch]: Add comment and greyedout logical colors.
5136
5137 2003-07-30  André Pönitz  <poenitz@gmx.net>
5138
5139         * tabular.C: don't use Assert too heavily. This crashes where it
5140           shouldn't
5141
5142 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5145         is disabled (bug 1232)
5146
5147 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5148
5149         * factory.C: limited 'arg' scope
5150
5151 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5152
5153         * factory.C: fixed Note submenu issues
5154
5155 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5156
5157         * factory.C: submenu for Note/Comment/Greyedout
5158
5159 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * lyx_main.C (LyX):
5162         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5163
5164 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5165
5166         * LaTeXFeatures.C:
5167         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5168         greyedout. Patch provided by Jürgen Spitzmüller.
5169
5170 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5171
5172         * kbmap.C (read): fix error message when reading bind files
5173
5174 2003-07-29  Angus Leeming  <leeming@lyx.org>
5175
5176         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5177         certainly does not do what it purports to do. I am doing it, and
5178         us, a favour by killing it.
5179
5180 2003-07-28  José Matos  <jamatos@lyx.org>
5181
5182         * buffer.C (readBody, do_writeFile):
5183         * paragraph.C(readParagraph): \end_document replaces \the_end.
5184
5185 2003-07-29  André Pönitz  <poenitz@gmx.net>
5186
5187         * BufferView.[Ch]:
5188         * BufferView_pimpl.[Ch]:
5189         * lyxfunc.C:
5190         * text2.C:
5191         * text3.C:
5192         * textcursor.[Ch]: remove toggleToggle & Co
5193
5194 2003-07-28  José Matos  <jamatos@fep.up.pt>
5195
5196         * buffer.C (readParagraph):
5197         * params_func (readParToken, readParagraph):
5198         * paragraph.C (write): \layout -> \begin_layout.
5199
5200 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * lyxlex_pimpl.C (setFile): clean up slightly.
5203
5204         * bufferparams.h: add compressed var
5205
5206         * buffer_funcs.C (readFile): adjust for LyXLex change
5207         (newFile): ditto + simplify
5208
5209         * buffer.C (writeFile): handle writing of compressed files
5210
5211         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5212         Check if the file is compressed and set a bufferparm if so.
5213
5214         * Makefile.am (lyx_LDADD): remove explicit -lz
5215
5216 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5217
5218         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5219         makeDocBookFile): put the real LyX version in the first line of
5220         the file
5221
5222         * version.h:
5223         * version.C.in: remove lyx_docversion
5224
5225         * tabular.C (write_attribute): add a template-based version to
5226         write enums properly
5227
5228 2003-07-28  André Pönitz  <poenitz@gmx.net>
5229
5230         * lyxtext.h:
5231         * text.C:
5232         * text2.C:
5233         * text3.C: use doubles again for x-coordinates. They are needed.
5234
5235 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * messages.C (getLocaleDir): use lyx_localedir()
5238
5239         * lyxlex_pimpl.C (setFile): compress stuff
5240
5241         * buffer.C (writeFile): add some compression stuff
5242         (do_writeFile): new func, dont call expliti close... will this
5243         breake anything?
5244
5245         * Makefile.am (lyx_LDADD): add -lz
5246
5247 2003-07-28  José Matos  <jamatos@fep.up.pt>
5248
5249         * buffer.C: increment file format.
5250         * paragraph_funcs (readParagraph, readParToken):
5251         * paragraph.C (readParagraph): add \end_layout.
5252
5253 2003-07-27  Angus Leeming  <leeming@lyx.org>
5254
5255         * Makefile.am: remove special casing for configure-time setting of
5256         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5257
5258         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5259         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5260
5261 2003-07-26  André Pönitz  <poenitz@gmx.net>
5262
5263         * paragraph_func.[Ch]:
5264         * paragraph.C (realizeFont): inline it whereever it is used
5265
5266         * rowpainter.C:
5267         * text.C:
5268         * text2.C:
5269         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5270
5271
5272 2003-07-26  André Pönitz  <poenitz@gmx.net>
5273
5274         *       lyxtext.h:
5275         * text.C:
5276         * text2.C: get rid of LyXText::need_break_row
5277
5278 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * toc.[Ch]: put namespace toc inside namespace lyx
5281
5282         * MenuBackend.C (expandToc2): adjust for lyx::toc
5283         (expandToc): ditto
5284
5285         * lyxfunc.C (dispatch): adjust for lyx::find
5286
5287         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5288         lyx::find instead. Reorganize a bit.
5289         (LyXReplace): rename to replace
5290         (LyXFind): rename to find
5291
5292         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5293         (dispatch): ditto
5294
5295 2003-07-26  André Pönitz  <poenitz@gmx.net>
5296
5297         * text.C (setHeightOfRow): restrict scope of temporary variable
5298
5299         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5300           code (never has been used?)
5301
5302 2003-07-27  Asger Alstrup  <alstrup@local>
5303
5304         * text.C (fill): Optimise algorithm to exploit that we can reuse
5305         the LyXFont for many characters.
5306         (setHeightOfRow): Same thing.
5307         (rowBreakPoint): Same thing.
5308
5309 2003-07-26  Asger Alstrup  <alstrup@local>
5310
5311         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5312
5313         * text.C (singleWidth): Spurious font copying in hot-spot
5314         singleWidth avoided. Reorder tests for arabic for efficiency.
5315
5316         * text.C (fill): handle empty paragraphs better.
5317
5318 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5319
5320         * ispell.C:
5321         * encoding.h: add includes
5322
5323         * lyxrc.C: remove reading of bind files
5324
5325         * lyx_main.C (init): setup bindings and menus only if we have a
5326         gui.
5327
5328         * kbmap.C (read): new method. Do the actual reading of bind
5329         files.
5330
5331         * converter.C (dvipdfm_options):
5332         * bufferparams.C:
5333         * lyxrc.C (read):
5334         (output): adapt PAPER_* enums.
5335
5336         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5337
5338         * bufferparams.h: remove paper-related enums from there
5339
5340         * paper.h: New file. A trivial header file to hold paper-related
5341         enums. It should later expand to contain many paper-related
5342         horrors access.
5343
5344         * lyxrc.C: declare extern displayTranslator
5345
5346 2003-07-27  José Matos  <jamatos@fep.up.pt>
5347
5348         * tabular.[Ch] (linuxdoc): add support for tables and figures
5349         (linuxdoc).
5350
5351 2003-07-27  José Matos  <jamatos@fep.up.pt>
5352
5353         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5354         consistency in both functions.
5355         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5356
5357 2003-07-26  Asger Alstrup  <alstrup@local>
5358
5359         * rowpainter.C (paintRows): Change algorithm to work directly on
5360         the insets rather than asking every character in the document
5361         whether its an inset.
5362
5363 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * buffer.C (openFileWrite): factorize some code
5366
5367 2003-07-26  Angus Leeming  <leeming@lyx.org>
5368
5369         * lyx_cb.C:
5370         * lyx_main.[Ch]: replace occurances of system_tempdir with
5371         os::getTmpDir().
5372
5373 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * rename Inset to InsetOld
5376
5377 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5378
5379         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5380         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5381         which I think is a bit clearer. EDIT is gone, since it was
5382         premature optimisation, and broken for mathed anyway.
5383         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5384         with cursor positioning in insets as well (math insets still do not
5385         work, but that's a different story anyway.) It mysteriously
5386         crashes sometimes with undo in the first paragraph, but I'm fairly
5387         confident that this is a compiler bug.
5388
5389 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * paragraph.C (Paragraph): adjust for new clone return type
5392         (operator==): ditto
5393         (copyIntoMinibuffer): ditto
5394
5395 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5396
5397         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5398         by not having a special case, and always doing a full rebreak of
5399         the document after undo.
5400
5401 2003-07-23  Angus Leeming  <leeming@lyx.org>
5402
5403         * factory.C (createInset): InsetExternal::setParams now takes a
5404         Buffer const * arg.
5405
5406 2003-07-23  Angus Leeming  <leeming@lyx.org>
5407
5408         * factory.C (createInset): changed interface to the external and
5409         graphics mailers' string2params functions.
5410
5411 2003-07-23  Angus Leeming  <leeming@lyx.org>
5412
5413         * factory.C (createInset): pass a
5414         Buffer const * parameter to InsetExternalMailer's string2params.
5415
5416 2003-07-22  John Levon  <levon@movementarian.org>
5417
5418         * Thesaurus.h: include the right aiksaurus header
5419
5420 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5421
5422         * MenuBackend.C (expand): check menu shortcuts unconditionally
5423
5424 2003-07-21  Angus Leeming  <leeming@lyx.org>
5425
5426         * factory.C (createInset): pass a
5427         buffer_path parameter to InsetGraphicsMailer's string2params.
5428
5429 2003-07-21  Angus Leeming  <leeming@lyx.org>
5430
5431         * BufferView_pimpl.C (buffer):
5432         * buffer.C (d-tor):
5433         * lyx_main.C (LyX):
5434         * lyxfunc.C (dispatch):
5435         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5436         rather than the grfx shortcut.
5437
5438 2003-07-21  André Pönitz  <poenitz@gmx.net>
5439
5440         * rowpainter.C: remove unused variables
5441
5442         * tabular_funcs.C:
5443         * tabular_funcs.h: move to tabular.C
5444         * Makefile.am: adjust
5445
5446         * tabular.[Ch]: basic optical cleaning
5447
5448         * author.h: pass references, not values
5449
5450 2003-07-18  André Pönitz  <poenitz@gmx.net>
5451
5452         * lyxtext.h:
5453         * metricsinfo.C:
5454         * metricsinfo.h:
5455         * rowpainter.C:
5456         * text.C:
5457         * text2.C:
5458         * text3.C: two-phase drawing for InsetText and InsetTabular
5459         some float -> int changes.
5460
5461 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * lyx_main.C: fix the fix
5464
5465 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5466
5467         * lyx_main.C: fix a crash in batch mode if no files specified
5468         * converter.C: ws
5469
5470 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5471
5472         * format.[Ch] (papersize): moved to BufferParams
5473         * converter.[Ch] (dvips_options): moved to BufferParams
5474         (dvipdfm_options): moved to anon namespace
5475         * bufferparams.[Ch]: added above functions.
5476
5477 2003-07-17  André Pönitz  <poenitz@gmx.net>
5478
5479         * lyxtext.h:
5480         * rowpainter.C:
5481         * text2.C: don't call inset->update() anymore
5482
5483         * metricsinfo.[Ch]: add convenience constructor
5484
5485 2003-07-16  André Pönitz  <poenitz@gmx.net>
5486
5487         * lyxcursor.[Ch]:
5488         * lyxfunc.[Ch]:
5489         * text.C:
5490         * text2.C: replace the LyXCursor::irow_ member with
5491          on-demand computation of the value
5492
5493 2003-07-16  John Levon  <levon@movementarian.org>
5494
5495         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5496
5497 2003-07-15  André Pönitz  <poenitz@gmx.net>
5498
5499         * text.C:
5500         * text2.C: remove no more needed refresh_row
5501
5502 2003-07-15  André Pönitz  <poenitz@gmx.net>
5503
5504         * lyxtext.h:
5505         * rowpainter.C:
5506         * text2.C:
5507         * text3.C: refresh_status tristate -> need_update bool
5508
5509 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5510
5511         * lyxtext.h (init): remove reinit argument (act as if always true)
5512         * text2.C: adjust to that
5513
5514 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5515
5516         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5517         * text3.C: use it to delete selections in some cases
5518         (bugs 441, 673, 702, 954).
5519
5520 2003-07-14  André Pönitz  <poenitz@gmx.net>
5521
5522         * rowpainter.[Ch]: reduce interface
5523
5524 2003-07-14  André Pönitz  <poenitz@gmx.net>
5525
5526         * BufferView_pimpl.C:
5527         * text2.C: adjust after removing unused BufferView * argument
5528
5529 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5530
5531         * text2.C (init): fix a crash fired on resize
5532
5533 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5534
5535         * buffer.[Ch]: added new closing signal
5536         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5537         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5538         BufferView::Pimpl via the closing the signal
5539
5540 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * buffer.[Ch]: take out all bv-related from buffer
5543         * BufferView.C:
5544         * BufferView_pimpl.[Ch]: connect to new signals
5545         * CutAndPaste.C: removed useless asserts
5546         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5547         * lyxvc.[Ch]:
5548         * vc-backend.[Ch]:
5549         * lyxfunc.C: moved view-related funciontality from vc here
5550         * paragraph.C: removed outdated comments
5551         * text.C: ws
5552
5553 2003-07-10  André Pönitz  <poenitz@gmx.net>
5554
5555         * BufferView_pimpl.C:
5556         * tabular.h:
5557         * tabular_funcs.C:
5558         * text.C:
5559         * text2.C: remove InsetText::InnerCache, clean up consequences
5560
5561 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5562
5563         * ispell.C: fix two typos in error messages
5564
5565 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5566
5567         * Extend Note inset to other forms of annotation like Comment
5568         and Greyedout. Right button click gives dialog.
5569
5570         Files modified or added (+):
5571
5572         * insetnote.[Ch]
5573         * FormNote.[Ch]      +
5574         * ControlNote.[Ch]   +
5575         * form_note.fd       +
5576         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5577         frontends/controllers
5578         * xforms/Dialogs.C
5579         * factory.C
5580
5581 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5582
5583         * aspell.C: add missing namespace lyx::support
5584
5585 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5586
5587         * BufferView.[Ch] (newFile): Add
5588         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5589         * LaTeX.[Ch] (message): added this signal and use it
5590         * buffer.[Ch] (busy, message): added these signals and use them
5591         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5592         * converter.C:
5593         * exporter.C:
5594         * format.C:
5595         * importer.C: use buffer signals instead of direct bv calling
5596         * lyx_cb.[Ch] (ShowMessage): removed
5597         * lyx_main.C:
5598         * lyxfunc.C:
5599         * paragraph_funcs.C:
5600         * text2.C: use buffer signals
5601
5602 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * introduce namespace lyx::graphics
5605
5606 2003-07-02  André Pönitz  <poenitz@gmx.net>
5607
5608         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5609
5610 2003-07-01  André Pönitz  <poenitz@gmx.net>
5611
5612         * text.C:
5613         * text2.C:
5614         * text3.C:
5615         * text_funcs.[Ch]:
5616         * textcursor.h:
5617         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5618           text*.C to text_func.C
5619
5620 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * introduce namespace lyx::support
5623
5624 2003-06-30  André Pönitz  <poenitz@gmx.net>
5625
5626         * Chktex.C:
5627         * funcrequest.C:
5628         * lyxtext.h:
5629         * text.C: re-enable --with-included-string
5630
5631 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * textcursor.C: add <config.h>
5634
5635         * text.C (getWord): remove const from word_location arg
5636
5637         * lyxvc.C (getLogFile): fix const type order
5638
5639         * lyxtext.h: remove const from word_location arg, add arg name
5640
5641         * lyxlayout.h: currect type on labeltype.
5642
5643         * importer.C: correct \file
5644
5645         * converter.C (intToFormat): use std:: on ret val, ws changes
5646
5647         * bufferlist.h: correct \file
5648
5649         * buffer.C (makeLinuxDocFile): fix const type order
5650         (makeDocBookFile): ditto
5651         (fillWithBibKeys): use std:: on stdlib args.
5652
5653         * CutAndPaste.C: fix authors.
5654         (availableSelections): use std:: on return vector
5655
5656 2003-06-27  André Pönitz  <poenitz@gmx.net>
5657
5658         * BufferView_pimpl.C:
5659         * bufferview_funcs.C:
5660         * lyxcursor.C:
5661         * lyxcursor.h:
5662         * lyxfunc.C:
5663         * lyxtext.h:
5664         * rowpainter.C:
5665         * text.C:
5666         * text2.C:
5667         * text3.C: remove LyXCursor::row_ member
5668
5669         * lyxtext.h:
5670         * text.C: rename fullRebreak() to partialRebreak() and implement
5671           a fullRebreak() that really bereks fully
5672
5673         * textcursor.h: new struct for cursor-related data
5674
5675 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5676
5677         * lyx_main.C (LyX): get full path of document loaded on the
5678         command line
5679
5680 2003-06-26  André Pönitz  <poenitz@gmx.net>
5681
5682         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5683           remove unused/broken operator>,<,>=.
5684
5685         *       text.C: remove only use of broken operator<= in an Assert().
5686
5687 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5688
5689         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5690         moved errorlist_.clear to showErrorList
5691
5692 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5693
5694         * converter.C (scanLog, runLaTeX):
5695         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5696         move the bv->showErrorList call to the callers
5697         * lyxfunc.C: i.e. here...
5698         * text2.C: and here
5699         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5700         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5701         namespace, the second to...
5702         * buffer_funcs (BufferFormat, parseErrors): added
5703         * errorlist.C (ErrorList(TeXErrors const &)): removed
5704
5705 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5706
5707         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5708
5709 2003-06-24  "Garst R. Reese" <reese@isn.net>
5710
5711         * debug.C: fix typo
5712
5713 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5714
5715         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5716
5717         * version.C.in: change docversion to 1.4
5718
5719 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * buffer.C: fix a bug just introduced
5722
5723 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * buffer.[Ch]: added the parseError signal and use it, removed
5726         sgmlError
5727         * BufferView.[Ch] (addError): moved to ...
5728         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5729         to the Buffer::parseError signal to catch (guess what) parse errors
5730         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5731
5732 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5733
5734         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5735         ability to create a buffer and to return an existing one from
5736         the list. Moved these functions to...
5737         * buffer_funcs.[Ch]: added
5738         * BufferView.[Ch] (loadLyXFile): added
5739         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5740         job removed from bufferlist::loadLyXFile.
5741         * buffer.C (setReadOnly): make it work without view
5742         (i.e added an if (users))
5743
5744 2003-06-19  Angus Leeming  <leeming@lyx.org>
5745
5746         * lfuns.h:
5747         * LyXAction.C (init):
5748         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5749         with LFUN_DIALOG_SHOW <name> <data>.
5750
5751 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5752
5753         * CutAndPaste.C (availableSelections): small compilation fix for
5754         ancient (gcc 2.9x) compilers
5755
5756 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * text3.C (cursorNext): add tmp var
5759
5760         * text2.C (updateCounters): for function calling out of for clause
5761         (replaceSelectionWithString): ditto
5762         (insertStringAsParagraphs): ditto
5763         (getColumnNearX): add tmp var
5764         (setCursorFromCoordinates): add tmp var
5765         (cursorDownParagraph): add tmp var
5766         (deleteEmptyParagraphMechanism): add tmp var
5767
5768         * text.C (insertChar): add tmp var
5769
5770         * rowpainter.C (paintDepthBar): add tmp var
5771
5772         * CutAndPaste.C (availableSelections): potentially check all
5773         paragraphs in a cut to fill the shown strings.
5774
5775 2003-06-18  André Pönitz  <poenitz@gmx.net>
5776
5777         * kbmap.[Ch]: use vector<> instead of list<>
5778
5779 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5780
5781         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5782         pasteSelection with index
5783
5784         * text2.C (pasteSelection): modify, call pasteSelection with index
5785
5786         * paragraph.C (asString): reimplement version with no interval to
5787         call the one with interval.
5788
5789         * lyxtext.h: add index arg to pasteSelection
5790
5791         * MenuBackend.C (MenuItem): handle PasteRecent
5792         (Menu::read::Menutags): add md_pasterecent
5793         (read): handle it
5794         (expandPasteRecent): new function
5795         (expand): use it
5796
5797         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5798
5799         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5800         the limited stack
5801         (availableSelections): new function
5802
5803 2003-06-17  Angus Leeming  <leeming@lyx.org>
5804
5805         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5806
5807 2003-06-17  Angus Leeming  <leeming@lyx.org>
5808
5809         * lfuns.h:
5810         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5811
5812         * lyxfunc.C (dispatch): invoke it.
5813
5814 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5815
5816         * iterators.C (operator++, ParPosition): reintroduce some
5817         const_cast for the benefit of older compilers.
5818
5819 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5820
5821         * text3.C (dispatch): do not modify clipboard when doing
5822         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5823         LFUN_DELETE_SKIP on a selection selection
5824
5825 2003-06-16  André Pönitz  <poenitz@gmx.net>
5826
5827         * BufferView.C:
5828         * buffer.C:
5829         * buffer.h:
5830         * paragraph.C:
5831         * tabular.[Ch]: IU of clone() and getLabelList();
5832
5833 2003-06-13  André Pönitz  <poenitz@gmx.net>
5834
5835         * tabular.h: compactification
5836
5837 2003-06-12  André Pönitz  <poenitz@gmx.net>
5838
5839         * tabular.C:
5840         * tabular.h:
5841         * tabular_funcs.h: some renaming plus whitespace
5842
5843 2003-06-12  André Pönitz  <poenitz@gmx.net>
5844
5845         * BufferView.C:
5846         * BufferView_pimpl.C:
5847         * CutAndPaste.C:
5848         * buffer.C:
5849         * iterators.[Ch]:
5850         * lyxfunc.C:
5851         * text.C:
5852         * toc.C: Return a Paragraph & for ParIterator::operator*()
5853
5854 2003-06-11  John Levon  <levon@movementarian.org>
5855
5856         * lyx_main.C:
5857         * ToolbarBackend.h:
5858         * ToolbarBackend.C: add "Toolbars" section and
5859         put the flags there
5860
5861 2003-06-10  Angus Leeming  <leeming@lyx.org>
5862
5863         * lfuns.h:
5864         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5865
5866         * lyxfunc.C (dispatch): invoke it.
5867
5868 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * main.C: protect <ios> with HAVE_IOS
5871         (main): protect sync_with_stdio with HAVE_IOS
5872
5873 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5874
5875         * text2.C (cutSelection): adjust
5876         (pasteSelection): adjust
5877
5878         * messages.C: handle get of empty string
5879
5880         * main.C (main): use sync_with_stdio(false)
5881
5882         * lyxfunc.C (dispatch): adjust
5883
5884         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5885         (WriteAs): remove unneeded BufferView arg.
5886
5887         * bufferparams.h: use correct types on papersize, papersize2 and
5888         paperpackage.
5889
5890         * bufferparams.C (readToken): adjust for type
5891         (writeLaTeX): add missing cases to switch.
5892
5893         * bufferlist.C (quitWriteBuffer): adjust
5894         (close): adjust
5895
5896         * buffer.C (asciiParagraph): remove some commented code.
5897
5898         * CutAndPaste.C: remove current_view extern variable.
5899         (cutSelection): add BufferParams arg.
5900         (eraseSelection): add BufferParams arg.
5901         (pasteSelection): add Buffer const & arg
5902
5903 2003-06-07  John Levon  <levon@movementarian.org>
5904
5905         * buffer.C:
5906         * paragraph_funcs.C:
5907         * paragraph_pimpl.C:
5908         * text.C:
5909         * text2.C:
5910         * paragraph.h:
5911         * paragraph.C: allow InsetERT to freely space lines,
5912         and some consolidation of code
5913
5914 2003-06-06  José Matos  <jamatos@fep.up.pt>
5915
5916         * buffer.C (makeDocBookFile): fix bug #821
5917
5918 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5921
5922 2003-06-04  Angus Leeming  <leeming@lyx.org>
5923
5924         * buffer.C: bump format to 224.
5925
5926 2003-06-05  André Pönitz  <poenitz@gmx.net>
5927
5928         * text2.C (redoParagraphs): remove two const_cast<>
5929
5930 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5931
5932         * ParagraphList.h: remove last remnants of NO_STD_LIST
5933
5934 2003-06-03  Angus Leeming  <leeming@lyx.org>
5935
5936         * factory.C (createInset): small change to the way InsetExternal's params
5937         are set.
5938
5939 2003-06-04  André Pönitz  <poenitz@gmx.net>
5940
5941         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5942
5943         * paragraph_pimpl.h:
5944         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5945
5946         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5947
5948         * undo_funcs.C: make some simple cases of undo work again
5949
5950 2003-06-03  John Levon  <levon@movementarian.org>
5951
5952         * ispell.C: HPUX doesn't have sys/select.h
5953         (from Albert Chin)
5954
5955 2003-06-03  John Levon  <levon@movementarian.org>
5956
5957         * CutAndPaste.C: update tabular and include inset
5958         buffer references
5959
5960         * buffer.h:
5961         * paragraph.h:
5962         * paragraph.C: remove owningBuffer(), don't pass Buffer
5963         to clone()
5964
5965         * factory.C: insetGraphicsParams changed
5966
5967 2003-06-02  John Levon  <levon@movementarian.org>
5968
5969         * LyXAction.C:
5970         * factory.C:
5971         * lfuns.h:
5972         * lyxfunc.C:
5973         * text3.C: remove insetparent
5974
5975 2003-06-02  John Levon  <levon@movementarian.org>
5976
5977         * buffer.h:
5978         * buffer.C: fix inset_iterator.end(), move out of line
5979         (bug 1149)
5980
5981 2003-06-01  John Levon  <levon@movementarian.org>
5982
5983         * text3.C: use a proper cut/paste when doing inset
5984         insert (from Jürgen Spitzmüller)
5985
5986 2003-06-01  John Levon  <levon@movementarian.org>
5987
5988         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5989
5990 2003-05-30  André Pönitz  <poenitz@gmx.net>
5991
5992         * rowpainter.C: unify second drawing phase
5993
5994 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * trans_mgr.C: remove one case of current_view
5997
5998         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5999
6000         * paragraph_funcs.h: remove paragraph.h include
6001
6002         * paragraph.h: delete NO_STD_LIST stuff
6003
6004         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6005
6006         * buffer.h: remove paragraph.h include
6007
6008         * ParagraphList.C: delete file
6009
6010         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6011
6012         * toc.C (getTocList): adjust
6013
6014         * paragraph_pimpl.C (validate): adjust
6015
6016         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6017
6018         * paragraph.C (Paragraph): adjust
6019         (getPositionOfInset): use const_iterator, adjust
6020         (bibitem): use const_iterator, adjust
6021         (setInsetOwner): adjust
6022
6023         * iterators.C (operator++): adjust
6024
6025         * InsetList.[Ch]: Replace selfmade iterator with standard
6026         vector::iterator also introduce const_iterator. Remove getPos,
6027         getInset and setInset from InsetTable. Adjust accordingly.
6028
6029         * BufferView.C (lockInset): adjust
6030         (ChangeInsets): adjust
6031
6032         * tabular.[Ch]: delete commented same_id functions
6033
6034 2003-05-28  John Levon  <levon@movementarian.org>
6035
6036         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6037
6038 2003-05-28  André Pönitz  <poenitz@gmx.net>
6039
6040         * metricsinfo.[Ch]: remove 'fullredraw' member
6041
6042 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6043
6044         * lyxtextclass.C (operator): remove caching.
6045
6046 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * text3.C: adjust
6049
6050         * text2.C (cursorBottom): adjust
6051         (setCounter): use ParagraphList::find, adjust
6052
6053         * text.C (workWidth): use ParagraphList::find, adjust
6054
6055         * lyxcursor.C (LyXCursor): adjust
6056
6057         * buffer.C (inset_iterator): adjust
6058
6059         * ParagraphList.h: make iterator(value_type) private, make
6060         ParagraphList a friend of iterator.
6061
6062         * ParagraphList.C (find): new function
6063
6064         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6065
6066 2003-05-27  André Pönitz  <poenitz@gmx.net>
6067
6068         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6069
6070 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6071
6072         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6073
6074 2003-05-26  John Levon  <levon@movementarian.org>
6075
6076         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6077
6078 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * remove same_id from function signatures, adjust.
6081
6082 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6085
6086         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6087
6088         * paragraph.C (Paragraph): get rid of same_ids parameter
6089
6090         * ParagraphList.C (insert): adjust
6091         (push_back): adjust
6092
6093 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * paragraph_funcs.C (breakParagraph): adjust
6096         (breakParagraphConservative): adjust
6097
6098         * buffer.C (readParagraph): adjust
6099
6100         * ParagraphList.C (insert): take a reference instead of a pointer
6101         (insert): adjust
6102
6103         * paragraph.[Ch] (id): new function
6104
6105         * bufferlist.C (newFile): adjust
6106
6107         * ParagraphList.C (ParagraphList): adjust
6108         (assign): adjust
6109         (push_back): take a reference instead of a pointer.
6110
6111         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6112
6113         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6114         instead.
6115
6116         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6117         set else use old code.
6118
6119         * ParagraphList.C: remove all NO_NEXT code and only compile this
6120         code of NO_STD_LIST is set.
6121
6122 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6123
6124         * BufferView_pimpl.C:
6125         * TextCache.C:
6126         * TextCache.h:
6127         * bufferlist.C:
6128         * errorlist.h:
6129         * format.C:
6130         * format.h:
6131         * graph.C:
6132         * lyxfunc.C:
6133         * lyxrc.C:
6134         * graphics/GraphicsConverter.C:
6135         * graphics/PreviewLoader.C: header adjustment
6136
6137 2003-05-23  Angus Leeming  <leeming@lyx.org>
6138
6139         * LaTeXFeatures.[Ch] (useBabel): new method.
6140         * bufferparams.C (writeLaTeX): use it.
6141
6142 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * ParagraphList.h (set): remove unused function.
6145
6146 2003-05-23  André Pönitz  <poenitz@gmx.net>
6147
6148         * BufferView.C:
6149         * BufferView_pimpl.C:
6150         * buffer.C:
6151         * buffer.h:
6152         * lyxfunc.C:
6153         * undo_funcs.C: setUndo reworked
6154
6155         * iterators.[Ch]: add access to topmost ParagraphList
6156
6157         * lyxtext.[Ch] (workWidth): add a const
6158
6159 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6160
6161         * texrow.[Ch] (increasePos): remove function
6162         * exporter.C (export): removed unused var and outdated comment
6163
6164 2003-05-23  Angus Leeming  <leeming@lyx.org>
6165
6166         * latexrunparams.h: rename fragile as moving_arg.
6167         * paragraph.C (simpleTeXOnePar): ditto.
6168         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6169
6170 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6173         (createUndo): ditto
6174         (textUndoOrRedo): comment out a currently unused var.
6175
6176         * paragraph.h (NO_NEXT): enable NO_NEXT
6177
6178         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6179
6180         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6181
6182         * exporter.C (Export): adjust for removeAutoInsets removal.
6183
6184         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6185
6186         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6187
6188         * BufferView.[Ch] (removeAutoInsets): delete function
6189
6190 2003-05-22  Angus Leeming  <leeming@lyx.org>
6191
6192         * latexrunparams.h: add a free_spacing variable.
6193
6194         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6195         to pass moving_arg, as the data is stored in runparams.fragile.
6196
6197         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6198         to Inset::latexOptional or to simpleTeXOnePar.
6199
6200         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6201         free_spacing arg to Inset::latexOptional.
6202
6203         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6204         free_spacing arg.
6205
6206 2003-05-22  Angus Leeming  <leeming@lyx.org>
6207
6208         * latexrunparams.h: add fragile and use_babel variables.
6209
6210         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6211         * buffer.C (makeLaTeXFile): store this returned value in
6212         runparams.use_babel, thus passing it to the inset::latex methods.
6213
6214         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6215         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6216
6217         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6218         longer has a fragile arg, as it is stored in runparams.fragile.
6219
6220         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6221         moving_arg parameter as the data is stored in runparams.fragile.
6222
6223         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6224         a fragile parameter as the data is stored in runparams.fragile.
6225
6226 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6229
6230 2003-05-22  Angus Leeming  <leeming@lyx.org>
6231
6232         * latexrunparams.h: add a 'bool nice' which defaults to false.
6233
6234         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6235         now encapsulated within runparams.
6236
6237         * bufferlist.C (updateIncludedTeXfiles):
6238         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6239
6240 2003-05-22  Angus Leeming  <leeming@lyx.org>
6241
6242         * latexrunparams.h: new file containing struct LatexRunParams.
6243         * Makefile.am: add new file.
6244
6245         * LaTeX.[Ch] (c-tor, run):
6246         * buffer.[Ch] (makeLaTeXFile):
6247         * bufferlist.[Ch] (updateIncludedTeXfiles):
6248         * converter.C (convert, scanLog):
6249         * converter.[Ch] (runLaTeX):
6250         * exporter.C (Export):
6251         * paragraph.[Ch] (simpleTeXOnePar):
6252         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6253         * paragraph_funcs.[Ch] (latexParagraphs):
6254         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6255         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6256         pass around a LatexRunParams parameter.
6257
6258 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * paragraph.[Ch]: remove unused constructor
6261
6262         * ParagraphList.C (erase): new function, taking two iterators
6263
6264 2003-05-22  André Pönitz  <poenitz@gmx.net>
6265
6266         * undo_funcs.C: remove duplicated code
6267
6268         * iterator.[Ch]: operator=
6269
6270 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * tabular.C (SetMultiColumn): ws changes
6273
6274         * rowpainter.C (paintFirst): get rid of a ->previous
6275
6276         * lyx_cb.C (getPossibleLabel): parlist simplification
6277
6278         * BufferView.C (ChangeInsets): simplify slightly.
6279
6280 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6281
6282         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6283         * lfuns.h: new LFUN_SPACE
6284         * lyxfunc.C: protected space has a new lfun
6285         * paragraph_funcs.C: read new space insets
6286         * text3.C:
6287         * factory.C: handle new space insets
6288
6289 2003-05-22  André Pönitz  <poenitz@gmx.net>
6290
6291         * BufferView.C:
6292         * BufferView_pimpl.C:
6293         * buffer.[Ch]:
6294         * lyxfunc.C:
6295         * undo_funcs.C: return a ParIterator from getParFromID.
6296
6297         * iterators.[Ch]: add two const's
6298
6299 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6300
6301         * toc.C (getTocList): adjust
6302
6303         * iterators.[Ch]: rework for parlist
6304
6305         * buffer.C (par_iterator_begin): adjust
6306         (par_iterator_end): adjust
6307
6308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6309
6310         * BufferView.C (removeAutoInsets): adjust
6311         (ChangeInsets): adjust
6312
6313 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * text.C (top_y): fix bug 1110
6316
6317 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6318
6319         * errorlist.[Ch]: added
6320         * buffer.C:
6321         * BufferView.[Ch]:
6322         * BufferView_pimpl.C:
6323         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6324         instead
6325
6326 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * Makefile.am: ensure that lyx is relinked upon changes to the
6329         various "convenience" libs.
6330
6331 2003-05-20  Angus Leeming  <leeming@lyx.org>
6332
6333         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6334         files are compiled in alphabetical order again.
6335
6336         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6337
6338 2003-05-19  Angus Leeming  <leeming@lyx.org>
6339
6340         * gettext.[Ch]: remove "char const * _(char const *)".
6341
6342 2003-05-19  André Pönitz  <poenitz@gmx.net>
6343
6344         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6345
6346         * Makefile.am:
6347         * BufferView.C:
6348         * DepTable.h:
6349         * LaTeXFeatures.C:
6350         * buffer.C:
6351         * lyxfont.C:
6352         * lyxlex.h:
6353         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6354
6355 2003-05-19  André Pönitz  <poenitz@gmx.net>
6356
6357         * buffer.C:
6358         * lyxlayout.[Ch]:
6359         * lyxtextclass.[Ch]:
6360         * paragraph.C:
6361         * paragraph_funcs.[Ch]:
6362         * text2.C:
6363         * text3.C: more insetenv work
6364
6365 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * ParagraphParameters.C (params2string): small bug fixed
6368
6369 2003-05-16  André Pönitz  <poenitz@gmx.net>
6370
6371         * debug.C:
6372         * bufferview_funcs.C: patch from Kornel Benko to prevent
6373           crash when _(...) is called twice in a statement
6374
6375 2003-05-16  André Pönitz  <poenitz@gmx.net>
6376
6377         * BufferView.C:
6378         * lyxfunc.C:
6379         * text.C:
6380         * text2.C:
6381         * text3.C:
6382         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6383
6384 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * lyx_main.C (init): remove spurious static_cast
6387
6388 2003-05-14  André Pönitz  <poenitz@gmx.net>
6389
6390         * BufferView.C: fix format string
6391
6392 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6393
6394         * BufferView.[Ch] (insertErrors): removed
6395         * BufferView.[Ch] (showErrorList): added
6396         * buffer.C (runChkTeX):
6397         * converter.C (scanLog): call showErrorList instead of inserterrors
6398
6399 2003-05-13  André Pönitz  <poenitz@gmx.net>
6400
6401         * BufferView_pimpl.C:
6402         * buffer.C:
6403         * bufferview_func.C:
6404         * MenuBackend.C:
6405         * lyxfunc.C:
6406         * lyxrc.C:
6407         * tex-accent.C:
6408         * text3.C:
6409         * toc.C:
6410         * tabular_funcs.h: tostr() from its own header
6411
6412         * ParagraphParameters.C:
6413         * ToolbarBackend.C:
6414         * bufferparams.C:
6415         * format.C:
6416         * lyxlex_pimpl.C:
6417         * text3.C: STRCONV()
6418
6419 2003-05-12  André Pönitz  <poenitz@gmx.net>
6420
6421         * BufferView.C:
6422         * BufferView_pimpl.C:
6423         * CutAndPaste.C:
6424         * LaTeX.C:
6425         * LaTeXFeatures.C:
6426         * ParagraphParameters.C:
6427         * buffer.C:
6428         * bufferlist.C:
6429         * bufferparams.C:
6430         * bufferview_funcs.C:
6431         * converter.C:
6432         * counters.C:
6433         * debug.C:
6434         * exporter.C:
6435         * format.C:
6436         * importer.C:
6437         * lyx_cb.C:
6438         * lyx_main.C:
6439         * lyxfont.C:
6440         * lyxfunc.C:
6441         * lyxvc.C:
6442         * paragraph.C:
6443         * paragraph_funcs.C:
6444         * tabular.C:
6445         * tabular_funcs.C:
6446         * text2.C:
6447         * text3.C:  boost::format -> bformat  all over the place
6448
6449
6450 2003-05-09  André Pönitz  <poenitz@gmx.net>
6451
6452         * LColor.[Ch]: Pimpl the #include <map> away
6453
6454 2003-05-09  John Levon  <levon@movementarian.org>
6455
6456         * bufferlist.C: never remove emergency saves
6457
6458 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * Makefile.am: better lib building
6461
6462 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6465         instead.
6466         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6467         (simpleTeXSpecialChars): adjust
6468         (simpleTeXSpecialChars): adjust
6469         * paragraph.C (simpleTeXOnePar): adjust
6470         * buffer.C (makeLaTeXFile): adjust
6471
6472         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6473
6474         * text2.C (changeDepth): parlist cleanup
6475         (getColumnNearX): ditto
6476
6477         * rowpainter.C (getLabelFont): parlist cleanup
6478
6479         * bufferlist.C (newFile): parlist cleanup
6480
6481         * CutAndPaste.C (eraseSelection): parlist cleanup
6482
6483         * BufferView_pimpl.C (trackChanges): parlist cleanup
6484         (dispatch): ditto
6485
6486         * BufferView.C (lockInset): parlist cleanup.
6487         (ChangeInsets): ditto
6488
6489 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * CutAndPaste.h: Update file header.
6492
6493         * CutAndPaste.C: Update file header.
6494         Store the parts cut out of the Document in a limited_stack.
6495         (copySelection): adjust
6496         (pasteSelection): new function, takes the index in the limited stack.
6497         (nrOfParagraphs): adjust
6498         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6499         simplify error inset insertion.
6500         (checkPastePossible): adjust
6501
6502 2003-05-06  John Levon  <levon@movementarian.org>
6503
6504         * text2.C: don't cast wrap inset to float
6505
6506 2003-05-05  André Pönitz  <poenitz@gmx.net>
6507
6508         * iterator.C:
6509         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6510
6511         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6512           few naked Paragraph *.
6513
6514 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6515
6516         * bufferparams.C: Output warning if a document with missing
6517         TeX document class is loaded
6518         * exporter.C: Disable TeX exports if the document class is missing
6519         * lyxtextclass.C:
6520         * lyxtextclass.h:
6521         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6522         isTeXClassAvailable()
6523
6524 2003-05-03  John Levon  <levon@movementarian.org>
6525
6526         * BufferView.h:
6527         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6528         explicit cursor show/hide
6529
6530         * BufferView_pimpl.h:
6531         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6532         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6533
6534         * lyxfunc.C: hide cursor before dispatching.
6535
6536         * lyx_cb.C:
6537         * lyxfind.C:
6538         * text.C:
6539         * text3.C: remove explicit cursor hides
6540
6541 2003-05-02  André Pönitz  <poenitz@gmx.net>
6542
6543         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6544
6545         * undo_funcs.C:
6546         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6547           linked lists
6548
6549         * text2.C: tiny whitespace
6550
6551 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * undo_funcs.C: almost only ws changes.
6554
6555         * ParagraphList.C (splice): just return if pl is empty.
6556
6557 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * ParagraphList.C (splice): new function.
6560
6561         * CutAndPaste.C (pasteSelection): use it
6562
6563 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * CutAndPaste.C (pasteSelection): remove the last next and
6566         previous from this file.
6567
6568 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * CutAndPaste.C (pasteSelection): more clean up, user proper
6571         ParagraphList functions for pasteing.
6572
6573         * ParagraphList.C (insert): new function, three arg insert
6574
6575 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * ParagraphList.C (insert): new function, three arg insert
6578
6579         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6580         not on paragraphs.
6581
6582 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6583
6584         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6585
6586 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6589
6590 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6593         (copySelection): clean up a bit.
6594         (pasteSelection): use make_pair
6595
6596         * ParagraphList.C (ParagraphList): implement copy constructor
6597         (operator=): implement, base on copy constructor.
6598         (assign): new func
6599
6600         * paragraph.C (erase): return a bool
6601
6602         * paragraph_pimpl.C (erasePos): remove function, move contents...
6603         (erase): ... here. Return a bool.
6604         (erase): call erase instead of erasePos.
6605
6606 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * ParagraphList.h: define PitPosPair
6609         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6610         ParagraphList, fix a bug on pasting multiple pars
6611         * text2.C: change interface to C&P
6612
6613 2003-04-30  André Pönitz  <poenitz@gmx.net>
6614
6615         * undo_func.C: revert part of yesterday's patch 2
6616
6617 2003-04-30  John Levon  <levon@movementarian.org>
6618
6619         * LColor.C: s/tabular/table/
6620
6621 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * text3.C (dispatch): do not convert iterator -> pointer
6624         * undo_funcs.C (setCursorParUndo): ditto
6625         * text_funcs.C (transposeChars): ditto
6626
6627         * text2.C (setLayout): ws changes only
6628
6629         * text.C (breakParagraph): do not convert iterator -> pointer
6630         (insertChar): ditto
6631         (acceptChange): ditto
6632         (rejectChange): ditto
6633         (changeCase): ditto
6634         (Delete): ditto
6635         (backspace): ditto
6636
6637         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6638         pointer
6639
6640 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * text3.C (gotoInset): YABG (yet another bad getChar)
6643
6644 2003-04-29  André Pönitz  <poenitz@gmx.net>
6645
6646         * paragraph.h: make operator= private unimplemented as long as
6647           it is unusable
6648
6649         * ParagraphList.C: whitespace
6650
6651         * paragraph.[Ch]:
6652         * paragraph_pimpl.[Ch]:
6653         * paragraph_funcs.C:
6654         * CutAndPaste.C:
6655         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6656
6657         * text2.C:
6658           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6659
6660 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6663         * paragraph.[Ch] (erase):
6664         * paragraph_pimpl.[Ch] (erase): change return type and value
6665         * text2.C (cutSelection): some rework
6666
6667 2003-04-28  John Levon  <levon@movementarian.org>
6668
6669         * bufferlist.C: changes for unsaved changes dialog
6670
6671 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * bufferlist.C (newFile): set language (messages_) for new
6674         documents also.
6675
6676         * buffer.C (readFile): ws changes only.
6677
6678 2003-04-28  André Pönitz  <poenitz@gmx.net>
6679
6680         * undo_funcs.C:
6681         * lyxfunc.C:
6682         * buffer.[Ch]:
6683         * BufferView_pimpl.C:
6684         * BufferView.C: getParFromID related ParagraphList::iterator changes
6685
6686 2003-04-28  André Pönitz  <poenitz@gmx.net>
6687
6688         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6689           Changes
6690
6691 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * messages.C: remove one more localedir class variable.
6694
6695 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * messages.C (getLocaleDir): singleton generation function
6698         (Pimpl): use it.
6699         (Messages): add a default constructor.
6700
6701         * main.C (main): do not setup localedir here, do not call
6702         gettext_init.
6703
6704         * gettext.C (_): use it.
6705         (gettext_init): delete funciton
6706
6707 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * gettext.C (getLyXMessages): new singleton generating function.
6710
6711         * buffer.C (updateDocLang): adjust
6712
6713         * Makefile.am (messages.o): add target
6714         (main.o): remove target
6715
6716 2003-04-27  John Levon  <levon@movementarian.org>
6717
6718         * bufferlist.C:
6719         * lyx_cb.C:
6720         * lyxfunc.C:
6721         * lyxvc.C: specify cancel button in Alert::prompt
6722
6723 2003-04-26  John Levon  <levon@movementarian.org>
6724
6725         * text3.C:
6726         * lyxfunc.C:
6727         * lfuns.h:
6728         * LyXAction.C: add LFUN_INSET_SETTINGS
6729
6730         * lyxfunc.C: don't enable tabular-feature when there's
6731         just any locking inset
6732
6733 2003-04-26  John Levon  <levon@movementarian.org>
6734
6735         * bufferlist.C: re-add Cancel to buffer close question
6736
6737         * lyxfunc.C: fix import UI a bit
6738
6739 2003-04-25  John Levon  <levon@movementarian.org>
6740
6741         * gettext.C: remove the broken asserts for now
6742
6743 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * messages.C: make case where setlocale cannot comply work better.
6746
6747         * buffer.C (updateDocLang): new function
6748         (changeLanguage): use it
6749         (readFile): use it
6750
6751         * text2.C (setCounter): use B_ a bit.
6752
6753         * lyxlayout.C (Read): be sure to trim the label strings.
6754
6755         * messages.C (Messages): fix typo in comment
6756
6757         * buffer.C (readFile): set message_ after file is loaded.
6758         (makeDocBookFile): remove double return
6759         (changeLanguage): reset message_ upon language change.
6760         (B_): new func, use this to get translated buffer strings.
6761
6762         * main.C: add myself and Jean Marc as authors.
6763
6764 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * messages.[hC]: pimplify Messages, and three different pimpls to be
6767         used in different circumstances.
6768
6769         * gettext.[Ch]: change for use with new message code.
6770
6771 2003-04-24 André Pönitz <poenitz@gmx.net>
6772
6773         * factory.C: support for eqref
6774
6775 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * messages.[Ch]: add missing char
6778
6779         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6780
6781         * messages.[Ch]: New files
6782
6783 2003-04-18  John Levon  <levon@movementarian.org>
6784
6785         * BufferView.h:
6786         * BufferView.C:
6787         * BufferView_pimpl.C:
6788         * lfuns.h:
6789         * LyXAction.C:
6790         * lyxtext.h:
6791         * text2.C: remove layout-copy/paste (bug 778)
6792
6793 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6794
6795         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6796
6797 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6798
6799         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6800         if they succeed. Act accordingly.
6801
6802 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * text2.C (setCharFont): adjust
6805         (setCounter): adjust
6806         (insertStringAsLines): adjust
6807
6808         * text.C (leftMargin): adjust
6809         (setHeightOfRow): adjust
6810
6811         * rowpainter.C (paintFirst): adjust
6812         (paintLast): adjust
6813
6814         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6815         (outerHook): ditto
6816         (isFirstInSequence): ditto
6817         (getEndLabel): ditto
6818         (outerFont): adjust
6819
6820         * paragraph.C (getParLanguage): comment out some hard stuff.
6821
6822         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6823         (sgmlError): ditto
6824         (simpleDocBookOnePar): ditto
6825         (makeDocBookFile): use ParagraphList::iterator
6826
6827         * CutAndPaste.C (pasteSelection): adjust
6828
6829 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * text2.C (getFont): adjust
6832         (getLayoutFont): adjust
6833         (getLabelFont): adjust
6834
6835         * paragraph_funcs.C (TeXOnePar): adjust
6836
6837         * buffer.C (simpleLinuxDocOnePar): adjust
6838         (simpleDocBookOnePar): adjust
6839
6840         * CutAndPaste.C (pasteSelection): adjust
6841
6842         * BufferView.C (getEncoding): adjust
6843
6844         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6845
6846 2003-04-16  John Levon  <levon@movementarian.org>
6847
6848         * lyxfind.C: use parlist stuff for search/changes
6849
6850 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6853
6854         * text2.C (deleteEmptyParagraphMechanism): adjust
6855
6856         * text2.[Ch] (ownerParagraph): delete func (both of them
6857
6858 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6861
6862 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * ParagraphList.C: prepare for NO_NEXT
6865
6866 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * text2.C (getFont): adjust
6869         (getLayoutFont): adjust
6870         (getLabelFont): adjust
6871
6872         * paragraph.C (getFont): adjust
6873         (getLabelFont): adjust
6874         (getLayoutFont): adjust
6875
6876         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6877
6878 2003-04-15  John Levon  <levon@movementarian.org>
6879
6880         From Angus Leeming
6881
6882         * lyx_main.C: handle Include in .ui files
6883
6884 2003-04-15  John Levon  <levon@movementarian.org>
6885
6886         * MenuBackend.C: make the doc files length shorter
6887
6888         * ToolbarBackend.h:
6889         * ToolbarBackend.C: handle toolbar placement flags,
6890         Minibuffer
6891
6892 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6895         adjust
6896
6897         * paragraph_funcs.C (TeXOnePar): adjust
6898
6899         * paragraph.C (getLabelFont): add outerfont arg, adjust
6900         (getLayoutFont): ditto
6901         (simpleTeXOnePar): adjust
6902
6903         * paragraph_pimpl.C (realizeFont): delete func
6904
6905 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6906
6907         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6908         row argument, constify cur argument.
6909
6910 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * text2.C (getFont): adjust
6913         (getLayoutFont): adjust
6914         (getLabelFont): adjust
6915
6916         * paragraph_funcs.C (TeXOnePar): adjust
6917         (outerFont): new func...
6918         (realizeFont): ...moved out from here, changed this to facilitate
6919         transition
6920
6921         * paragraph.C (getFont): take outerfont as arg, adjust
6922         (simpleTeXOnePar): add outerfont arg, adjust
6923
6924         * buffer.C (simpleLinuxDocOnePar): adjust
6925         (simpleDocBookOnePar): adjust
6926
6927         * CutAndPaste.C (pasteSelection): adjust
6928
6929         * BufferView.C (getEncoding): adjust
6930
6931 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * text2.C (setCharFont): adjust
6934         (setCounter): adjust
6935
6936         * text.C (leftMargin): adjust
6937         (setHeightOfRow): adjust
6938
6939         * rowpainter.C (paintFirst): adjust
6940         (paintLast): adjust
6941
6942         * paragraph_pimpl.C (realizeFont): adjust
6943
6944         * paragraph.C (isFirstInSequence): move from here...
6945         * paragraph_funcs.C (isFirstInSequence): ...to here
6946
6947         * paragraph.C (outerHook): move from here...
6948         * paragraph_funcs.C (outerHook): ...to here
6949
6950         * paragraph.C (depthHook): move from here...
6951         * paragraph_funcs.C (depthHook): ...to here
6952
6953         * paragraph.C (getEndLabel): move from here...
6954         * paragraph_funcs.C (getEndLabel): ...to here
6955
6956         * text2.C (realizeFont): move from here...
6957         * paragraph_funcs.C (realizeFont): ...to here
6958
6959 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6962
6963 2003-04-14  Angus Leeming  <leeming@lyx.org>
6964
6965         * LColor.[Ch]: scrap LColor mathcursor.
6966
6967 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * lyxlex.[Ch] (text): delete function
6970         * trans.C (Load): adjust
6971         * paragraph_funcs.C (readParToken): adjust
6972
6973 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6976         vector<char> instead of a char[].
6977
6978         * lyxlex_pimpl.C (getString): adjust
6979         (next): adjust
6980         (lex): use getString
6981         (eatLine): adjust
6982         (nextToken): adjust
6983
6984         * lyxlex.C (text): use pimpl_->getString()
6985         (getBool): ditto
6986         (findToken): ditto
6987
6988 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6991         (makeFontEntriesLayoutSpecific): temp var for par.size()
6992         (setLayout): temp var for ownerParagraphs().end()
6993         (fullRebreak): temp var for rows().end()
6994         (selectionAsString): temp var for boost::next(startpit), realize
6995         that the while really is a regular for loop.
6996         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6997         setCursor in one place.
6998         (setParagraph): temp vr for ownerParagraphs().end()
6999         (updateCounters): make the while loop a for loop
7000         (cutSelection): temp var for ownerParagraphs().end()
7001         (updateInset): make the do {} while() a regular for loop
7002         (getCursorX): use temp vars
7003         (setCurrentFont): use temp vars
7004         (getColumnNearX): use temp vars
7005
7006 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * text.C (transformChar): use temp var for getChar
7009         (computeBidiTables): use temp var for row->par()
7010         (fill): move temp vars for row->par() and pit->layout() earlier in
7011         the function.
7012         (labelFill): use temp var for row->par()
7013         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7014         asc and desc, realize that pit never changes and that firstpit is
7015         just a duplicate and not needed. Exchange rit->par() with pit in a
7016         lot of places.
7017         (breakAgain): use a temp var for boost::next(rit)
7018         (breakAgainOneRow): ditto
7019         (breakParagraph): use a temp var for rows().begin()
7020         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7021         (cursorRightOneWord): use temp var for cursor.par() and
7022         cursor.pos(), remove usage of tmpcursor.
7023         (cursorLeftOneWord): use temp var for cursor.par() and
7024         cursor.pos() only set cur at end of function.
7025
7026 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * text.C, text2.C: exchange all usage of Paragraph::next with
7029         boost::next(ParagraphList::iterator)
7030
7031         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7032
7033         * text2.C (cursorTop): simplify implementation
7034         (cursorBottom): ditto
7035         (setParagraph): use ParagraphList::iterator
7036         (setCurrentFont): adjust
7037         (getColumnNearX): adjust
7038         (cursorRight): adjust
7039         (cursorLeft): remove usage of Paragraph::previous
7040         (cursorUpParagraph): ditto
7041         (deleteEmptyParagraphMechanism): slight cleanup
7042
7043         * text.C (isBoundary): take a Paragraph const & instead of a
7044         pointer as arg.
7045         (addressBreakPoint): ditto
7046         (leftMargin): remove usage of Paragraph::previous.
7047         (setHeightOfRow): ditto
7048         (cursorLeftOneWord): ditto
7049         (selectNextWordToSpellcheck): ditto
7050         (Delete): ditto
7051         (backspace): ditto
7052         (breakParagraph): remove one usage of Paragraph::next
7053         (redoParagraph): ditto
7054         (acceptChange): ditto
7055         (insertChar): adjust
7056         (rowBreakPoint): adjust
7057
7058         * bufferview_funcs.C (toggleAndShow): adjust
7059
7060 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7063         methods to access it.
7064         * lyxtext.h:
7065         * text.C: Added updateRowPositions to compute all row positions.
7066         Make top_y and getRowNearY() to use the cached y position
7067
7068 2003-04-11  John Levon  <levon@movementarian.org>
7069
7070         * text.C (rowBreakPoint): reintroduce the labelEnd
7071         checks, code copied from the row fill stuff. Deep voodoo.
7072
7073         * text.C (fill): add a comment and debugging for the
7074         next poor soul.
7075
7076 2003-04-11  John Levon  <levon@movementarian.org>
7077
7078         * text.C: make sure fullrow insets get wrapped to the next line,
7079         even when they're in a manual label
7080
7081 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * text2.C (insertParagraph): make it take ParagraphList::iterator
7084         as arg.
7085         (setLayout): make it return ParagraphList::iterator
7086         (redoParagraphs): ditto
7087         (setCounter): ditto
7088         (checkParagraph): ditto
7089
7090         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7091
7092         * text2.C: adjust several funcs.
7093         (realizeFont): take a ParagraphList::iterator as arg.
7094         (getLayoutFont): ditto
7095         (getLabelFont): ditto
7096         (setCharFont): ditto
7097
7098         * text.C: adjust several funcs.
7099
7100 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * text.C (selectNextWordToSpellcheck): don't accidentally
7103         skip insets
7104
7105 2003-04-10  John Levon  <levon@movementarian.org>
7106
7107         * ToolbarBackend.C (getIcon): special handling for
7108         LFUN_MATH_DELIM
7109
7110 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * text2.C (cursorRight): a getChar assert fixed
7113
7114 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * text2.C (getFont): change to take a ParagraphList::iterator
7117         instead of Paragraph*
7118         Adjust several functions.
7119
7120         * text.C (transformChar): change to take a ParagraphList::iterator
7121         instead of Paragraph*
7122         (singleWidth): ditto
7123         Adjust several functions.
7124
7125         * rowpainter.C: adjust several functions
7126         * rowpainter.h:store a ParagraphList::iterator and not a
7127         Paragraph&.
7128
7129
7130 2003-04-09  John Levon  <levon@movementarian.org>
7131
7132         * lyxfunc.C:
7133         * lfuns.h:
7134         * LyXAction.h:
7135         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7136         and the "help" bits as well
7137
7138 2003-04-09  John Levon  <levon@movementarian.org>
7139
7140         * ToolbarBackend.h:
7141         * ToolbarBackend.C: allow multiple toolbars
7142
7143 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * undo_funcs.C (setCursorParUndo): adjust
7146
7147         * text_funcs.C (transposeChars): adjust
7148
7149         * text3.C (gotoNextInset): adjust
7150         (dispatch): adjust
7151
7152         * text2.C (setLayout): adjust
7153         (changeDepth): adjust
7154         (setFont): adjust
7155         (redoParagraphs): adjust
7156         (selectionAsString): adjust
7157         (setParagraph): adjust
7158         (insertInset): adjust
7159         (cutSelection): adjust
7160         (copySelection): adjust
7161         (pasteSelection): adjust
7162         (insertStringAsLines): adjust
7163         (updateInset): adjust
7164         (setCursor): change to take a ParagraphList::iterator parameter
7165         (setCursorIntern): change to take a ParagraphList::iterator parameter
7166         (setCurrentFont): adjust
7167         (cursorLeft): adjust
7168         (cursorRight): adjust
7169         (deleteEmptyParagraphMechanism): adjust
7170
7171         * text.C (breakParagraph): adjust
7172         (insertChar): adjust
7173         (acceptChange): adjust
7174         (rejectChange): adjust
7175         (selectNextWordToSpellcheck): adjust
7176         (changeCase): adjust
7177         (Delete): adjust
7178         (backspace): adjust
7179
7180         * lyxfind.C (SearchForward): adjust
7181         (SearchBackward): adjust
7182         (nextChange): adjust
7183
7184         * lyxcursor.C (par): adjust
7185
7186         * lyxcursor.h: store a ParagraphList::iterator instead of a
7187         Paragraph*
7188
7189         * lyx_cb.C (getPossibleLabel): adjust
7190
7191         * bufferview_funcs.C (toggleAndShow): adjust
7192
7193         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7194         (dispatch): adjust
7195
7196         * BufferView.C (removeAutoInsets): adjust
7197         (lockedInsetStoreUndo): adjust
7198
7199 2003-04-09  John Levon  <levon@movementarian.org>
7200
7201         * ToolbarBackend.C: try icon without argument
7202         if with argument fails
7203
7204 2003-04-08  John Levon  <levon@movementarian.org>
7205
7206         * ToolbarBackend.h:
7207         * ToolbarBackend.C: add getIcon(), handle tooltip,
7208         and change from "Icon" to "Item".
7209
7210 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7211
7212         * BufferView.C (lockInset): another bad getchar crunched
7213
7214 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7215
7216         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7217         again)
7218
7219 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7220
7221         * lyxfind.C (searchForward, searchBackwards): bug 782
7222
7223 2003-04-07  John Levon  <levon@movementarian.org>
7224
7225         * paragraph.C: remove dead comment
7226
7227         * text.C: remove troublesome depth-fiddling code
7228         in leftMargin() and rightMargin() (bug 1017)
7229
7230         * text.C: fix breaking of rows in nested lists
7231         (bug 1004)
7232
7233         * text2.C (updateCounters): fix up depth values
7234         (bug 1013)
7235
7236 2003-04-07  John Levon  <levon@movementarian.org>
7237
7238         * BufferView_pimpl.C: clear message when doc finishes resizing,
7239         and after a mouse event
7240
7241         * lyxfunc.C: clear message after exiting inset
7242
7243 2003-04-07  John Levon  <levon@movementarian.org>
7244
7245         * bufferview_funcs.C: show math status not outside
7246         status in the statusbar
7247
7248 2003-04-07  John Levon  <levon@movementarian.org>
7249
7250         * lyxfunc.C: note status changed after a depth change
7251
7252 2003-04-04  Angus Leeming  <leeming@lyx.org>
7253
7254         * LaTeX.h: move AuxInfo operator==, != out of line.
7255         Remove LaTeX virtual destructor; nothing derives from it.
7256         Move operator()() out of public area and rename it startscript().
7257         Change protected for private.
7258
7259 2003-04-04  Angus Leeming  <leeming@lyx.org>
7260
7261         * lyxfunc.C:
7262         * text2.C: remove unneeded #includes.
7263
7264 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text2.C (dEPM): fix the heigth of the next row
7267
7268 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7269
7270         * text.C: squashed an invalid getChar requester + some ws changes
7271
7272 2003-04-03  John Levon  <levon@movementarian.org>
7273
7274         * bufferview_funcs.h:
7275         * bufferview_funcs.C:
7276         * lyxfunc.C:
7277         * lyxtext.h:
7278         * text2.C: make getStatus work for the env depth lfuns
7279
7280 2003-04-03  John Levon  <levon@movementarian.org>
7281
7282         * bufferview_funcs.h:
7283         * bufferview_funcs.C:
7284         * lyxfunc.C:
7285         * lyxtext.h:
7286         * text2.C: parlistize decDepth(), by merging it with incDepth()
7287
7288 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * lyxrow.h: store a ParagraphList::iterator instead of a
7291         Paragraph* and adjust other class functions to suit.
7292
7293         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7294         above.
7295
7296 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7297
7298         * text2.C (setCursor): do not anchor to cursor row for the time being
7299
7300 2003-04-02  John Levon  <levon@movementarian.org>
7301
7302         * LyXAction.C:
7303         * lfuns.h:
7304         * lyx_main.C:
7305         * lyxtext.h:
7306         * text.C:
7307         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7308
7309 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * paragraph.h: make ParagraphList and ParagraphList::iterator
7312         friends of Paragraph.
7313
7314         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7315
7316         * ParagraphList.C: Use the private next_ and previous_ from
7317         Paragraph.
7318
7319 2003-04-01  John Levon  <levon@movementarian.org>
7320
7321         * ToolbarBackend.h:
7322         * ToolbarBackend.C:
7323         * Makefile.am: rename, remove defaults gunk
7324
7325         * MenuBackend.h:
7326         * MenuBackend.C: remove defaults gunk
7327
7328         * Languages.h:
7329         * Languages.C: remove defaults gunk
7330
7331         * lyx_main.h:
7332         * lyx_main.C: error out if files couldn't be found.
7333
7334 2003-04-02  John Levon  <levon@movementarian.org>
7335
7336         * text2.C: make incDepth() use parlist
7337
7338 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * undo_funcs.C (firstUndoParagraph): adjust
7341
7342         * text3.C (gotoInset): adjust
7343         (dispatch): adjust, and rewrite loop.
7344
7345         * text2.C (init): adjust, and rewrite loop.
7346         (redoParagraphs): adjust
7347         (updateInset): adjust, and rewrite loop.
7348         (deleteEmptyParagraphMechanism): adjust
7349
7350         * tabular.C (LyXTabular): adjust
7351         (SetMultiColumn): adjust
7352         (TeXRow): adjust
7353
7354         * lyxtext.[Ch] (ownerParagraph): delete function
7355         (ownerParagraphs): new function returns a ParagraphList.
7356
7357         * BufferView.C (removeAutoInsets): adjust
7358         (insertErrors): adjust
7359         (setCursorFromRow): adjust
7360
7361 2003-04-01  Angus Leeming  <leeming@lyx.org>
7362
7363         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7364         in the frontends.
7365
7366 2003-04-02  John Levon  <levon@movementarian.org>
7367
7368         * lyxtext.h:
7369         * text.C:
7370         * Makefile.am:
7371         * text_funcs.h:
7372         * text_funcs.C: make transposeChars a free function
7373
7374         * lyxrow_funcs.C: remove wrong comment
7375
7376 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * lyxtext.h: adjust
7379         * rowpainter.C: adjust
7380         * text.C: adjust
7381         * text2.C: adjust
7382         * text3.C: adjust
7383
7384         * lyxrow_funcs. [Ch]: new files
7385
7386         * lyxrow.[Ch]: remove next and previous pointers
7387         (next,previous): remove accessor functions
7388         (isParEnd): move to lyxrow_funcs
7389         (lastPos): move to lyxrow_funcs
7390         (nextRowIsAllInset): move to lyxrow_funcs
7391         (lastPrintablePos): move to lyxrow_funcs
7392         (numberOfSeparators): move to lyxrow_funcs
7393         (numberOfHfills): move to lyxrow_funcs
7394         (numberOfLabelHfills): move to lyxrow_funcs
7395         (hfillExpansion): move to lyxrow_funcs
7396
7397         * lyxfunc.C: adjust
7398
7399         * bufferview_funcs.C (toggleAndShow): adjust
7400
7401         * RowList.h: Remove class RowList from file leave just a
7402         std::list<Row>.
7403
7404         * RowList.C: delete file
7405
7406         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7407         and lyxrow_funcs.h
7408
7409 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * text3.C (cursorPrevious): adjust
7412         (cursorNext): adjust
7413         (dispatch): adjust
7414
7415         * text2.C (redoHeightOfParagraph): adjust
7416         (redoDrawingOfParagraph): adjust
7417         (setCursor): adjust
7418
7419         * text.C (breakParagraph): adjust
7420         (insertChar): adjust
7421         (backspace): adjust
7422
7423         * rowpainter.C (RowPainter): adjust
7424         (leftMargin): simplify and adjust
7425         (most rowpainter functions): adjust.
7426
7427         * rowpainter.h: store the row as RowList::iterator not as Row*
7428
7429         * lyxcursor.C (row): taka RowList::iterator as arg
7430         (irow): ditto
7431
7432         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7433         of Row*.
7434
7435 2003-04-01  Angus Leeming  <leeming@lyx.org>
7436
7437         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7438         stuff like bool Bool.
7439
7440 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7441
7442         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7443         rewrite a loop
7444
7445 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7448         RowList::iterator.
7449
7450         * lyxtext.h (rows): drop one version and leve a const variant that
7451         returns a RowList::iterator.
7452
7453 2003-03-31  Angus Leeming  <leeming@lyx.org>
7454
7455         * text.C (fill): ensure that the signature is the same as that in the
7456         header file.
7457
7458 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * text2.C (redoParagraphs): adjust
7461         (updateCounters): adjust
7462         (checkParagraph): adjust
7463         (getColumnNearX): adjust and reformat a bit.
7464
7465         * text.C (top_y): adjust
7466         (workWidth): adjust
7467         (leftMargin): adjust
7468         (prepareToPrint): adjust
7469         (getRow): adjust
7470         (getRowNearY): adjust
7471
7472         * lyxtext.h: make rowlist_ mutable.
7473
7474         * RowList.h: add const_iterator
7475         * RowList.C: adjust for RowList::const_iterator.
7476
7477         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7478         adjust.
7479
7480 2003-03-31  John Levon  <levon@movementarian.org>
7481
7482         * lyxrc.h:
7483         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7484
7485         * lyx_main.C: set default fonts from using lyx_gui funcs
7486
7487         * exporter.C: pdf_mode moved from lyxrc
7488
7489         * lyx_cb.C:
7490         * lyxfunc.C: changes from above
7491
7492 2003-03-31  John Levon  <levon@movementarian.org>
7493
7494         * lyx_main.C: fix to the last fix
7495
7496 2003-03-31  John Levon  <levon@movementarian.org>
7497
7498         * bufferlist.C: "Load original" -> "Load Original"
7499
7500         * converter.C:
7501         * exporter.C:
7502         * importer.C:
7503         * lyx_main.C:
7504         * format.C: more Alert cleanups
7505
7506 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * text2.C (removeParagraph): make it take a RowList::iterator as
7509         arg, adjust.
7510         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7511         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7512
7513         * text.C (anchor_row): make it take a RowList::iterator as arg,
7514         adjust.
7515         (computeBidiTables): make it take a const reference to Row instead
7516         of Row pointer, adjust.
7517         (leftMargin): make it take a RowList::iterator as arg, adjust.
7518         (rowBreakPoint): adjust
7519         (breakAgainOneRow): make it take a RowList::iterator as arg,
7520         adjust.
7521         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7522
7523         * bufferview_funcs.C (toggleAndShow): adjust
7524
7525 2003-03-30  John Levon  <levon@movementarian.org>
7526
7527         * Makefile.am:
7528         * BoostFormat.h:
7529         * boost-inst.C: moved to support
7530
7531         * several files: changes as a result
7532
7533 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text2.C (LyXText): adjust.
7536         (init): adjust
7537         (removeRow): make it take a RowList::iterator as arg, adjust.
7538         (fullRebreak): adjust
7539         (deleteEmptyParagraphMechanism): adjust
7540         (clearPaint): adjust
7541         (postPaint): adjust
7542
7543         * text.C (top_y): adjust
7544         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7545         (breakAgain): make it take a RowList::iterator as arg, adjust.
7546         (breakParagraph): adjust
7547         (insertChar): adjust
7548         (backspace): adjust
7549
7550         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7551         need_break_row, and refresh_row.
7552
7553         * text3.C (dispatch): adjust
7554
7555         * text2.C (checkParagraph): adjust
7556         (setCursor): adjust
7557         (setCursorFromCoordinates): adjust
7558
7559         * text.C (top_y): adjust
7560         (workWidth): adjust
7561         (getRow): make it return a RowList::iterator, adjust
7562         (getRowNearY): make it return a RowList::iterator, adjust
7563
7564         * text2.C (init): adjust
7565         (insertRow): remove function
7566         (insertParagraph): adjust
7567         (redoParagraphs): adjust
7568         (fullRebreak): adjust
7569         (updateCounters): adjust
7570
7571         * text.C (top_y): rewrite to use RowList iterators.
7572         (top_y): adjust
7573         (setHeightOfRow): rewrite to sue RowList iterators.
7574         (appendParagraph): adjust
7575         (breakAgain): adjust
7576         (breakAgainOneRow): adjust
7577         (breakParagraph): adjust
7578         (getRow): adjust
7579         (getRowNearY): adjust, and remove commented code.
7580
7581         * lyxtext.h (firstRow): delete function
7582         (lastRow): delete function
7583         (rows): new function (const and non-const versions.)
7584         (insertRow): delete function
7585
7586         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7587
7588 2003-03-29  John Levon  <levon@movementarian.org>
7589
7590         * BufferView_pimpl.C: always update scrollbar top
7591         because pasting text when we're anchored could mean we
7592         miss an update altogether
7593
7594 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * text2.C (init): use rowlist_.end() and not 0.
7597         (insertRow): change to take a RowList::iterator as arg, adjust
7598         for this.
7599         (insertParagraph): change to take a RowList::iterator as arg,
7600         adjust for this.
7601         (redoParagraphs): remove some debug msgs.
7602
7603         * text.C (appendParagraph): change to take a RowList::iterator
7604         arg, adjust for this.
7605         (breakAgain): add an assert
7606         (breakAgainOneRow): ditto
7607
7608 2003-03-29  John Levon  <levon@movementarian.org>
7609
7610         * text2.C: do not clear selection after inc/decDepth
7611         (bug 550)
7612
7613 2003-03-29  John Levon  <levon@movementarian.org>
7614
7615         * BufferView.C:
7616         * buffer.C: fix broken strerrors according to Lars
7617
7618 2003-03-29  John Levon  <levon@movementarian.org>
7619
7620         * converters.C: more Alert cleanups
7621
7622 2003-03-29  John Levon  <levon@movementarian.org>
7623
7624         * bufferview_funcs.C: remove pointless Alert
7625
7626         * buffer.C: fix confusing error message when
7627         a template is chmoded 000
7628
7629 2003-03-29  John Levon  <levon@movementarian.org>
7630
7631         * BufferView.C:
7632         * BufferView.h:
7633         * BufferView_pimpl.C: Alert fixes
7634
7635         * Makefile.am:
7636         * tabular.C:
7637         * tabular-old.C: remove unused table compat reading
7638
7639 2003-03-29  John Levon  <levon@movementarian.org>
7640
7641         * BufferView.C:
7642         * buffer.C:
7643         * lyx_cb.h:
7644         * lyx_cb.C: more Alert cleanups
7645
7646         * lyxfunc.C: don't allow chktex if not latex document
7647
7648 2003-03-29  John Levon  <levon@movementarian.org>
7649
7650         * lyx_cb.C:
7651         * BufferView.C:
7652         * buffer.C: warnings pushed down from support/,
7653         kill err_alert
7654
7655 2003-03-29  John Levon  <levon@movementarian.org>
7656
7657         * lyxfunc.C: safety check for C-r (revert)
7658
7659 2003-03-29  John Levon  <levon@movementarian.org>
7660
7661         * bufferlist.h:
7662         * bufferlist.C: several UI fixes using Alert::prompt.
7663         Fix the pointless looping quit code. Fix stupid revert
7664         behaviour (bug 938)
7665
7666         * lyxvc.h:
7667         * lyxvc.C:
7668         * lyx_cb.C: use Alert::prompt
7669
7670         * lyx_main.C: remove a silly question
7671
7672         * lyxfunc.C: remove a couple of silly questions,
7673         use Alert::prompt
7674
7675 2003-03-28  John Levon  <levon@movementarian.org>
7676
7677         * text2.C: fix bug 974 (End on empty par)
7678
7679 2003-03-28  John Levon  <levon@movementarian.org>
7680
7681         * BufferView_pimpl.C:
7682         * LyXAction.C:
7683         * lfuns.h: remove do-nothing math greek lfuns
7684
7685 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * lyxgluelength.h (isValidGlueLength): add default arg on
7688         parameter 2. Remove default arg from friend in class.
7689
7690         * lyxlength.h (isValidLength): add default arg on parameter 2.
7691         Remove default arg from friend in class.
7692
7693         * text2.C (LyXText): adjust, initialize refresh_row.
7694         (init): adjust
7695         (removeRow): adjust
7696         (insertRow): adjust
7697         (insertParagraph): adjst
7698         (redoParagraphs): adjust
7699         (fullRebreak): adjust
7700         (updateCounters): adjust
7701         (deleteEmptyParagraphMechanism): first attempt at fixing a
7702         crashing bug.
7703
7704         * text.C (top_y): adjust
7705         (setHeightOfRow): adjust
7706         (getRow): adjust
7707         (getRowNearY): adjust
7708
7709         * lyxtext.h: include RowList.h
7710         (~LyXText): not needed anymore, deleted.
7711         (firstRow): modify for RowList
7712         (lastRow): new function
7713         Delete firstrow and lastrow class variables, add a Rowlist
7714         rowlist_ class variable.
7715
7716         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7717         paragraph is empty.
7718
7719         * RowList.C (insert): fix case where it == begin().
7720
7721 2003-03-26  Angus Leeming  <leeming@lyx.org>
7722
7723         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7724         the thesaurus dialog.
7725
7726 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7729
7730         * RowList.[Ch]: new files
7731
7732         * ParagraphList.C (erase): handle the case where it == begin
7733         correctly.
7734
7735 2003-03-25  John Levon  <levon@movementarian.org>
7736
7737         * Makefile.am:
7738         * aspell_local.h:
7739         * aspell.C: add new aspell support
7740
7741         * lyxrc.h:
7742         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7743         have it accessible.
7744
7745 2003-03-25  Angus Leeming  <leeming@lyx.org>
7746
7747         * lfuns.h:
7748         * LyXAction.C (init): new LFUN_INSET_INSERT.
7749
7750         * BufferView_pimpl.C (dispatch): split out part of the
7751         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7752
7753         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7754         LFUN_INSET_APPLY.
7755
7756 2003-03-25  Angus Leeming  <leeming@lyx.org>
7757
7758         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7759
7760 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7761
7762         * text2.C:
7763         * text3.C: remove useless row->height(0)
7764
7765 2003-03-25  John Levon  <levon@movementarian.org>
7766
7767         * lyxtext.h:
7768         * text2.C:
7769         * text3.C: rename the refreshing stuff to better names
7770
7771 2003-03-24  John Levon  <levon@movementarian.org>
7772
7773         * BufferView_pimpl.h:
7774         * BufferView_pimpl.C: update layout choice on a mouse
7775         press/release
7776
7777 2003-03-23  John Levon  <levon@movementarian.org>
7778
7779         * Makefile.am: fix commandtags.h reference
7780
7781 2003-03-22  John Levon  <levon@movementarian.org>
7782
7783         * BufferView_pimpl.C:
7784         * lyxtext.h:
7785         * rowpainter.C:
7786         * rowpainter.h:
7787         * text.C:
7788         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7789
7790 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7791
7792         * lyxtext.h:
7793         * text.C: take the rtl methods out of line
7794
7795 2003-03-21 André Pönitz <poenitz@gmx.net>
7796
7797         * metricsinfo.[Ch]: new files containing structures to be passed around
7798         during the two-phase-drawing...
7799
7800 2003-03-21 André Pönitz <poenitz@gmx.net>
7801
7802         * lyxtextclass.C: read 'environment' tag.
7803
7804 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7805
7806         * text2.C (removeRow): fix bug 964
7807
7808 2003-03-20  John Levon  <levon@movementarian.org>
7809
7810         * rowpainter.C:
7811         * text.C:
7812         * text2.C: paint cleanups. Inset::update() dropped font
7813         parameter
7814
7815 2003-03-19  John Levon  <levon@movementarian.org>
7816
7817         * lyxfunc.C: only fitcursor/markDirty if available()
7818
7819 2003-03-19  John Levon  <levon@movementarian.org>
7820
7821         * commandtags.h: rename to ...
7822
7823         * lfuns.h: ... this, and renumber / cleanup
7824
7825 2003-03-19  John Levon  <levon@movementarian.org>
7826
7827         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7828         fit the cursor after an lfun
7829
7830         * BufferView.h:
7831         * BufferView.C:
7832         * BufferView_pimpl.h:
7833         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7834
7835         * LyXAction.C: layout-character should have ReadOnly
7836
7837         * ParagraphParameters.C:
7838         * buffer.C:
7839         * bufferview_funcs.C:
7840         * lyx_cb.C:
7841         * lyxfind.C:
7842         * lyxtext.h:
7843         * text.C:
7844         * text2.C:
7845         * text3.C:
7846         * undo_funcs.C: changes from above
7847
7848 2003-03-18  John Levon  <levon@movementarian.org>
7849
7850         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7851         remove it from update()
7852
7853         * lyxfunc.C: update layout choice after an lfun
7854
7855         * text3.C: remove extra updateLayoutChoice()s
7856
7857 2003-03-18  John Levon  <levon@movementarian.org>
7858
7859         * text.C: top_y change means full repaint, fix
7860         a drawing bug with cursor movement
7861
7862 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7863
7864         * lyxtext.h:
7865         * text.C:
7866         * text2.C: anchor row on setCursor
7867
7868 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7869
7870         * lyxtext.h: remove almost all mutable keywords
7871         * text.C:
7872         * text2.C:
7873         * text3.C: remove const keywords accordingly
7874
7875 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7878         anon namespace
7879         (TeXEnvironment): ditto
7880         (TeXOnePar): ditto
7881
7882 2003-03-17  John Levon  <levon@movementarian.org>
7883
7884         * text.C (rowBreakPoint): remove attempt to fix displayed
7885         math insets inside a manual label
7886
7887 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * lyxtext.h: remove BufferView* as first arg from almost all class
7890         functions.
7891         * other files: adjust.
7892
7893 2003-03-17  John Levon  <levon@movementarian.org>
7894
7895         * lyxtext.h:
7896         * undo_funcs.C:
7897         * text2.C: more paint cleanups
7898
7899         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7900
7901         * rowpainter.h:
7902         * rowpainter.C: remove "smart" background painting code
7903
7904 2003-03-16  John Levon  <levon@movementarian.org>
7905
7906         * lyxtext.h:
7907         * text.C:
7908         * text2.C:
7909         * text3.C: add helper functions for setting refresh_row/y
7910
7911 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7912
7913         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7914         newline inset which *can* get inserted in the pass_thru layouts.
7915         This is primarily for literate documents.
7916
7917 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7918
7919         * buffer.C: increment LYX_FORMAT to 223
7920
7921 2003-03-14 André Pönitz <poenitz@gmx.net>
7922
7923         * textclass.h: prepare for environment handling, ws changes
7924         * lyxlayout.C: read latexheader and latexfooter tags
7925
7926 2003-03-14  John Levon  <levon@movementarian.org>
7927
7928         * text2.C: rewrite ::status() a bit
7929
7930 2003-03-13  John Levon  <levon@movementarian.org>
7931
7932         * lyxtext.h: add some docs
7933
7934 2003-03-13  John Levon  <levon@movementarian.org>
7935
7936         * lyxtext.h:
7937         * text.C:
7938         * text2.C:
7939         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7940
7941 2003-03-13  John Levon  <levon@movementarian.org>
7942
7943         * text3.C: fix appendix redrawing
7944
7945 2003-03-13  John Levon  <levon@movementarian.org>
7946
7947         * text.C (setHeightOfRow):
7948         * rowpainter.h:
7949         * rowpainter.C: make appendix mark have the text
7950           "Appendix" so the user knows what it is
7951
7952         * LColor.h:
7953         * LColor.C: s/appendixline/appendix/ from above
7954
7955 2003-03-13  John Levon  <levon@movementarian.org>
7956
7957         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7958
7959         * text.C: fix a getChar(pos) bug properly
7960
7961 2003-03-13  Angus Leeming  <leeming@lyx.org>
7962
7963         * commandtags.h:
7964         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7965         Probably only temporary. Let's see how things pan out.
7966
7967         * BufferView.C (unlockInset):
7968         * BufferView_pimpl.C (fitCursor):
7969         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7970
7971         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7972         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7973
7974         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7975         new functions that convert ParagraphParameters to and from a string.
7976
7977         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7978         BufferView::Pimpl's dispatch.
7979         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7980
7981 2003-03-13 André Pönitz <poenitz@gmx.net>
7982
7983         * lyxfunc.C:
7984         * text3.C:
7985         * factory.C: make it aware of InsetEnv
7986
7987 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * text2.C (setCursor): never ask for one past last
7990         (setCursor): add some debugging messages.
7991
7992         * text.C (singleWidth): never ask for one past last
7993         (singleWidth): ditto
7994         (leftMargin): ditto
7995         (rightMargin): ditto
7996         (rowBreakPoint): ditto
7997         (setHeightOfRow): ditto
7998         (prepareToPrint): ditto
7999
8000         * rowpainter.C (paintBackground): never ask for one past last
8001         (paintText): never ask for one past last
8002
8003         * paragraph_pimpl.C (getChar): make the assert stricter, never
8004         allow the one past last pos to be taken
8005
8006         * paragraph.C (getChar): ws changes only
8007
8008         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8009         (numberOfSeparators): ditto
8010         (numberOfHfills): ditto
8011
8012 2003-03-12  John Levon  <levon@movementarian.org>
8013
8014         * author.h:
8015         * author.C:
8016         * bufferparams.h:
8017         * bufferparams.C:
8018         * paragraph_funcs.C: fix per-buffer authorlists
8019
8020 2003-03-12  John Levon  <levon@movementarian.org>
8021
8022         * text.C: fix newline in right address
8023
8024 2003-03-12  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8027         duplicate those in LyXFunc::dispatch.
8028
8029         * commandtags.h:
8030         * LyXAction.C:
8031         * ToolbarDefaults.C:
8032         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8033         Add LFUN_FONTFREE_UPDATE.
8034
8035         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8036         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8037
8038         * bufferview_func.[Ch]: several new functions to facilliate
8039         transfer of data to and from the character dialog.
8040
8041 2003-03-12  John Levon  <levon@movementarian.org>
8042
8043         * buffer.C:
8044         * paragraph.h:
8045         * paragraph.C:
8046         * paragraph_funcs.C:
8047         * paragraph_pimpl.C:
8048         * sgml.C:
8049         * tabular.C:
8050         * text.C:
8051         * text3.C: remove META_NEWLINE in favour of an inset
8052
8053         * rowpainter.h:
8054         * rowpainter.C: remove paintNewline (done by inset)
8055
8056 2003-03-12  John Levon  <levon@movementarian.org>
8057
8058         * paragraph_pimpl.C: complain about bad getChar()s
8059         for a while at least
8060
8061 2003-03-12  John Levon  <levon@movementarian.org>
8062
8063         * buffer.h:
8064         * buffer.C: move paragraph read into a separate function,
8065         a little renaming to reflect that.
8066
8067         * bufferparams.h:
8068         * bufferparams.C: remove the author_ids map, not necessary now
8069
8070         * factory.h:
8071         * factory.C: moved Buffer::readInset to here
8072
8073         * paragraph_funcs.h:
8074         * paragraph_funcs.C: readParagraph free function moved from
8075         buffer.C
8076
8077         * tabular.C: name change
8078
8079 2003-03-12  John Levon  <levon@movementarian.org>
8080
8081         * buffer.C:
8082         * ParagraphParameters.C: move par params input to
8083         a read() method
8084
8085         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8086         behave like a normal read from the stream wrt reading
8087         a line vs. a \\token
8088
8089 2003-03-12  John Levon  <levon@movementarian.org>
8090
8091         * paragraph.C:
8092         * ParagraphParameters.h:
8093         * ParagraphParameters.C: move output code to a
8094         ::write() method
8095
8096 2003-03-12  John Levon  <levon@movementarian.org>
8097
8098         * BufferView.C (insertLyXFile):
8099         * buffer.h:
8100         * buffer.C:
8101         * tabular.C: use a parlist iterator for creating the
8102           document.
8103
8104 2003-03-12  John Levon  <levon@movementarian.org>
8105
8106         * buffer.C: make current_change static local not
8107           static file-scope
8108
8109 2003-03-12  John Levon  <levon@movementarian.org>
8110
8111         * buffer.C: fix insertStringAsLines for change tracking
8112
8113 2003-03-12  John Levon  <levon@movementarian.org>
8114
8115         * BufferView.C:
8116         * tabular.C:
8117         * buffer.h:
8118         * buffer.C:
8119         * bufferparams.h:
8120         * bufferparams.C: move author list into params. Rename some
8121           functions. Move the header reading into a separate token
8122           loop. Move the header token reading into BufferParams.
8123
8124 2003-03-12  John Levon  <levon@movementarian.org>
8125
8126         * changes.C: put debug inside lyxerr.debugging() checks
8127
8128 2003-03-11 André Pönitz <poenitz@gmx.net>
8129
8130         * factory.C: make it aware of InsetHFill
8131
8132 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8133
8134         * buffer.C (latexParagraphs): move function from here...
8135         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8136         args.
8137
8138 2003-03-10  Angus Leeming  <leeming@lyx.org>
8139
8140         * LyXAction.C (init): fix bug in poplating array with multiple entries
8141         with the same LFUN (spotted by JMarc).
8142
8143 2003-03-10  John Levon  <levon@movementarian.org>
8144
8145         * text.C:
8146         * text2.C: move getColumnNearX() near its
8147         only call site
8148
8149 2003-03-10  John Levon  <levon@movementarian.org>
8150
8151         * text.C: fix break before a minipage
8152
8153 2003-03-10  John Levon  <levon@movementarian.org>
8154
8155         * text.C: fix the last commit
8156
8157 2003-03-09  John Levon  <levon@movementarian.org>
8158
8159         * lyxtext.h:
8160         * text.C:
8161         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8162         bug 365 (don't break before insets unless needed). Don't
8163         return a value > last under any circumstances.
8164
8165 2003-03-09  Angus Leeming  <leeming@lyx.org>
8166
8167         * BufferView_pimpl.C (trackChanges, dispatch): call
8168         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8169
8170 2003-03-09  Angus Leeming  <leeming@lyx.org>
8171
8172         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8173         than Dialogs::showAboutlyx().
8174
8175 2003-03-09  Angus Leeming  <leeming@lyx.org>
8176
8177         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8178         than Dialogs::showTabularCreate().
8179
8180 2003-03-09  John Levon  <levon@movementarian.org>
8181
8182         * lyxtext.h:
8183         * text.C:
8184         * text2.C: 3rd arg to nextBreakPoint was always the same.
8185           Use references.
8186
8187 2003-03-08  John Levon  <levon@movementarian.org>
8188
8189         * lyxrow.C:
8190         * paragraph.C:
8191         * paragraph.h:
8192         * rowpainter.C:
8193         * text.C:
8194         * text2.C: Remove the "main" bit from the "main body"
8195           notion.
8196
8197 2003-03-08  John Levon  <levon@movementarian.org>
8198
8199         * text.C (leftMargin): The left margin of an empty
8200         manual label paragraph should not include the label width
8201         string length.
8202
8203         * text.C (prepareToPrint): don't attempt to measure hfills
8204         for empty manual label paragraphs - the answer should be 0
8205
8206 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * CutAndPaste.C: remove commented code and reindent.
8209
8210 2003-03-08  John Levon  <levon@movementarian.org>
8211
8212         * lyxfunc.h:
8213         * lyxfunc.C: move reloadBuffer()
8214
8215         * BufferView.h:
8216         * BufferView.C: to here
8217
8218         * lyxvc.C: add comment
8219
8220         * vc-backend.h:
8221         * vc-backend.C: call bv->reload() to avoid
8222           getStatus() check on MENURELOAD
8223
8224 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8225
8226         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8227         to an old format .dep file.
8228
8229 2003-03-07  Angus Leeming  <leeming@lyx.org>
8230
8231         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8232         when the LFUN_MOUSE_RELEASE should have been handled by
8233         inset->localDispatch.
8234
8235 2003-03-07  Angus Leeming  <leeming@lyx.org>
8236
8237         * BufferView_pimpl.C (dispatch):
8238         * LyXAction.C (init):
8239         * ToolbarDefaults.C (init):
8240         * commandtags.h:
8241         * lyxfunc.C (getStatus):
8242         remove LFUN_INSET_GRAPHICS.
8243
8244         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8245
8246 2003-03-07  Angus Leeming  <leeming@lyx.org>
8247
8248         * commandtags.h:
8249         * LyXAction.C (init):
8250         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8251
8252         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8253
8254         * commandtags.h:
8255         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8256
8257         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8258         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8259
8260 2003-03-07  Angus Leeming  <leeming@lyx.org>
8261
8262         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8263         remove "ert".
8264
8265 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * ParagraphList.C (front): new function
8268         (back): implement
8269
8270 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8271
8272         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8273         and top_row_offset_. removed var first_y.
8274         * text.C (top_y):
8275         * text2.C (LyXText, removeRow):
8276         * text3.C:
8277         * BufferView_pimpl.C:
8278         use these methods instead of using first_y
8279
8280 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * text2.C (pasteSelection): adjust for checkPastePossible
8283
8284         * CutAndPaste.C: remove Paragraph * buf and replace with
8285         ParagraphList paragraphs.
8286         (DeleteBuffer): delete
8287         (cutSelection): change the tc type to textclass_type
8288         (copySelection): change the tc type to textclass_type
8289         (copySelection): adjust for ParagraphList
8290         (pasteSelection): change the tc type to textclass_type
8291         (pasteSelection): adjust for Paragraphlist
8292         (nrOfParagraphs): simplify for ParagraphList
8293         (checkPastePossible): simplify for ParagraphList
8294         (checkPastePossible): remove unused arg
8295
8296         * ParagraphList.C (insert): handle the case where there are no
8297         paragraphs yet.
8298
8299         * CutAndPaste.h: make CutAndPaste a namespace.
8300
8301         * text3.C (dispatch): adjust
8302
8303         * text.C (breakParagraph): add a ParagraphList as arg
8304
8305         * paragraph_funcs.C (breakParagraph): change to take a
8306         BufferParams and a ParagraphList as args.
8307         (breakParagraphConservative): ditto
8308         (mergeParagraph): ditto
8309         (TeXDeeper): add a ParagraphList arg
8310         (TeXEnvironment): ditto
8311         (TeXOnePar): ditto
8312
8313         * buffer.C (readLyXformat2): adjust
8314         (insertStringAsLines): adjust
8315         (latexParagraphs): adjust
8316
8317         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8318         (cutSelection): adjust
8319         (pasteSelection): adjust
8320
8321         * BufferView_pimpl.C (insertInset): adjust
8322
8323 2003-03-05  Angus Leeming  <leeming@lyx.org>
8324
8325         * commandtags.h:
8326         * LyXAction.C (init):
8327         * BufferView_pimpl.C (dispatch):
8328         * lyxfunc.C (getStatus):
8329         remove LFUN_CHILD_INSERT.
8330
8331         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8332
8333 2003-03-05  Angus Leeming  <leeming@lyx.org>
8334
8335         * commandtags.h:
8336         * LyXAction.C (init):
8337         * src/factory.C (createInset):
8338         * lyxfunc.C (getStatus):
8339         * text3.C (dispatch):
8340         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8341
8342         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8343
8344 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * ParagraphList.C (insert): handle insert right before end()
8347         (erase): fix cases where it can be first or last paragraph.
8348
8349 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8352         Paragraph::next and Paragraph::previous
8353         (TeXOnePar): ditto
8354
8355         * text.C (breakParagraph): adjust
8356
8357         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8358         BufferParams& as arg.
8359         (breakParagraph): use ParagraphList::insert
8360         (breakParagraphConservative): take a Buffer* instead of a
8361         BufferParams& as arg.
8362         (breakParagraphConservative): use ParagraphList::insert.
8363
8364         * buffer.C (insertStringAsLines): un-const it
8365         (insertStringAsLines): adjust
8366
8367         * ParagraphList.C (insert): new function
8368
8369         * CutAndPaste.C (pasteSelection): adjust
8370
8371         * text.C (backspace): adjust
8372
8373         * tabular.C (SetMultiColumn): adjust
8374
8375         * CutAndPaste.C (cutSelection): adjust
8376         (pasteSelection): adjust
8377
8378         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8379         Buffer const * as arg
8380
8381         * ParagraphList.C (erase): new function
8382         * paragraph_funcs.C (mergeParagraph): use it
8383         (mergeParagraph): make it take a Buffer* instead of a
8384         BufferParams* as arg
8385
8386         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8387         as arg
8388         (breakParagraphConservative): ditto
8389
8390         * paragraph.h: remove the breakParagraph friend
8391
8392         * paragraph.C (eraseIntern): new function
8393         (setChange): new function
8394
8395         * paragraph_funcs.C (mergeParagraph): make it take a
8396         ParagraphList::iterator instead of a Paragraph *, adjust
8397         accordingly.
8398
8399         * paragraph.h: move an #endif so that the change tracking stuff
8400         also works in the NO_NEXT case.
8401
8402 2003-03-04  Angus Leeming  <leeming@lyx.org>
8403
8404         * commandtags.h:
8405         * LyXAction.C: new LFUN_INSET_MODIFY.
8406
8407         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8408         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8409
8410 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * several files: ws changes only
8413
8414         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8415         (TeXEnvironment): ditto
8416         (TeXDeeper): ditto
8417
8418         * buffer.C (makeLaTeXFile): adjust
8419         (latexParagraphs): make it take ParagraphList::iterator as args
8420
8421 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * buffer.C (latexParagraphs): adjust
8424
8425         * paragraph.C (TeXOnePar): move function...
8426         (optArgInset): move function...
8427         (TeXEnvironment): move function...
8428         * paragraph_pimpl.C (TeXDeeper): move function...
8429         * paragraph_funcs.C: ...here
8430
8431         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8432
8433 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * buffer.C (readInset): remove compability code for old Figure and
8436         InsetInfo insets
8437
8438 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * buffer.C: ws changes
8441         (readInset):
8442
8443         * BufferView_pimpl.C: ditto
8444         * author.C: ditto
8445         * buffer.h: ditto
8446         * bufferlist.h: ditto
8447         * changes.h: ditto
8448         * lyxfunc.C: ditto
8449
8450 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8451
8452         * converter.[Ch]: split into itself +
8453         * graph.[Ch]
8454         * format.[Ch]
8455         * Makefile.am: += graph.[Ch] + format.[Ch]
8456         * MenuBackend.C
8457         * buffer.C
8458         * exporter.C
8459         * importer.C
8460         * lyx_main.C
8461         * lyxfunc.C
8462         * lyxrc.C: added #include "format.h"
8463
8464 2003-02-27  Angus Leeming  <leeming@lyx.org>
8465
8466         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8467           a label.
8468
8469         * factory.C (createInset): add "label" to the factory.
8470
8471         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8472           string and do no more.
8473
8474 2003-02-27  Angus Leeming  <leeming@lyx.org>
8475
8476         * commandtags.h:
8477         * LyXAction.C (init):
8478         * factory.C (createInset):
8479         * BufferView_pimpl.C (dispatch):
8480           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8481
8482         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8483
8484         * lyxfunc.C (dispatch):
8485         * text3.C (dispatch): pass name to params2string.
8486
8487 2003-02-26  Angus Leeming  <leeming@lyx.org>
8488
8489         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8490           blocks together.
8491           Rearrange the ~includes. Strip out the unnecessary ones.
8492
8493         * factory.C (createInset): reformat.
8494           create new insets for the various LFUN_XYZ_APPLY lfuns.
8495
8496 2003-02-26  John Levon  <levon@movementarian.org>
8497
8498         * lyxrow.h:
8499         * lyxrow.C: add isParStart,isParEnd helpers
8500
8501         * paragraph.h: make isInserted/DeletedText take refs
8502
8503         * paragraph_funcs.h:
8504         * paragraph_funcs.C: remove #if 0'd code
8505
8506         * lyxtext.h:
8507         * text3.C:
8508         * text2.C:
8509         * text.C: use lyxrow helpers above.
8510           Move draw and paint routines to RowPainter.
8511           Make several methods use refs not pointers.
8512           Make backgroundColor() const.
8513           Add markChangeInDraw(), isInInset().
8514           Merge changeRegionCase into changeCase.
8515           Make workWidth() shouldn't-happen code into an Assert.
8516
8517         * rowpainter.h:
8518         * rowpainter.C: new class for painting a row.
8519
8520         * vspace.h:
8521         * vspace.C: make inPixels take a ref
8522
8523 2003-02-26  Angus Leeming  <leeming@lyx.org>
8524
8525         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8526         LFUN_REF_APPLY.
8527
8528 2003-02-25  John Levon  <levon@movementarian.org>
8529
8530         * ispell.C: give the forked command a more accurate name
8531
8532 2003-02-22  John Levon  <levon@movementarian.org>
8533
8534         * toc.h:
8535         * toc.C: make TocItem store an id not a Paragraph *
8536           (bug #913)
8537
8538 2003-02-21  Angus Leeming  <leeming@lyx.org>
8539
8540         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8541           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8542           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8543           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8544           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8545           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8546
8547         * BufferView_pimpl.C (dispatch):
8548         * LyXAction.C (init):
8549         * factory.C (createInset):
8550         * lyxfunc.C (getStatus, dispatch):
8551         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8552
8553 2003-02-21  Angus Leeming  <leeming@lyx.org>
8554
8555         * BufferView_pimpl.C (MenuInsertLyXFile):
8556         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8557         * lyxfunc.C (menuNew, open, doImport):
8558           no longer pass a LyXView & to fileDlg.
8559
8560 2003-02-21  Angus Leeming  <leeming@lyx.org>
8561
8562         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8563         * LyXAction.C: change, BIBKEY to BIBITEM.
8564         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8565         Change InsetBibKey to InsetBibitem.
8566         Change BIBKEY_CODE to BIBITEM_CODE.
8567         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8568         * factory.C: replace insetbib.h with insetbibitem.h.
8569         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8570         * paragraph.C: replace insetbib.h with insetbibitem.h.
8571         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8572         Change bibkey() to bibitem().
8573         * text.C: remove insetbib.h.
8574         * text2.C: replace insetbib.h with insetbibitem.h.
8575         change bibkey() to bibitem().
8576         * text3.C: remove insetbib.h.
8577         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8578
8579 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8580
8581         * lyxrc.C (output): enclose user email in quotes (in case there are
8582         several words)
8583
8584 2003-02-18  John Levon  <levon@movementarian.org>
8585
8586         * buffer.h: add std::
8587
8588 2003-02-17  John Levon  <levon@movementarian.org>
8589
8590         * SpellBase.h:
8591         * ispell.h:
8592         * ispell.C:
8593         * pspell.h:
8594         * pspell.C: reworking. Especially in ispell, a large
8595           number of clean ups and bug fixes.
8596
8597         * lyxfunc.C: fix revert to behave sensibly
8598
8599 2003-02-17 André Pönitz <poenitz@gmx.net>
8600
8601         * LyXAction.C:
8602         * commandtags.h: new LFUN_INSERT_BIBKEY
8603
8604         * layout.h:
8605         * lyxlayout.C:
8606         * buffer.C:
8607         * factory.C:
8608         * text.C:
8609         * text2.C:
8610         * text3.C:
8611         * paragraph.[Ch]:
8612         * paragraph_func.C: remove special bibkey handling
8613
8614 2003-02-17  John Levon  <levon@movementarian.org>
8615
8616         * text.C (Delete): fix case where delete at the end of
8617           the very first paragraph would not merge the pars
8618
8619 2003-02-17  John Levon  <levon@movementarian.org>
8620
8621         * lyxrow.C: fix lastPrintablePos()
8622
8623 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8624
8625         * bufferparams.C (writeLaTeX): add a std:here
8626
8627         * buffer.C: and remove a using directive there
8628
8629 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8630
8631         * buffer.C (makeLaTeXFile): move the code that generates the
8632           preamble...
8633
8634         * bufferparams.C (writeLaTeX): ... in this new method
8635
8636         * LaTeXFeatures.C (getEncodingSet): make const
8637           (getLanguages): make const
8638
8639         * MenuBackend.C (binding): returns the binding associated to this
8640           action
8641           (add): sets the status of each item by calling getStatus. Adds
8642           some intelligence.
8643           (read): add support for OptSubMenu
8644           (expand): remove extra separator at the end of expanded menu
8645
8646 2003-02-15  John Levon  <levon@movementarian.org>
8647
8648         * BufferView.C:
8649         * BufferView_pimpl.C:
8650         * bufferlist.h:
8651         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8652           inset code that had no actual effect. Remove unneeded status
8653           code.
8654
8655 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8656
8657         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8658           in preamble
8659
8660 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8661
8662         * text.C (drawLengthMarker): also draw an arrow marker for
8663           symbolic lengths (medskip...)
8664
8665 2003-02-14  John Levon  <levon@movementarian.org>
8666
8667         * tabular.h:
8668         * tabular.C: better method names
8669
8670 2003-02-14  John Levon  <levon@movementarian.org>
8671
8672         * BufferView_pimpl.C:
8673         * bufferlist.C:
8674         * buffer.C:
8675         * converter.C:
8676         * lyx_cb.C:
8677         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8678           it's a more accurate name. Remove some pointless uses.
8679
8680 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * text2.C (LyXText): change order of initilizers to shut off
8683           warnings
8684
8685 2003-02-14  John Levon  <levon@movementarian.org>
8686
8687         * buffer.C: use ParIterator for getParFromID()
8688
8689         * paragraph.h:
8690         * paragraph.C:
8691         * paragraph_pimpl.h:
8692         * paragraph_pimpl.C: remove unused getParFromID()
8693
8694 2003-02-14  John Levon  <levon@movementarian.org>
8695
8696         * buffer.C: remove some very old #if 0'd parse code
8697
8698 2003-02-13  John Levon  <levon@movementarian.org>
8699
8700         * text.h:
8701         * text.C:
8702         * text2.C: move hfillExpansion(), numberOfSeparators(),
8703           rowLast(), rowLastPrintable(), numberofHfills(),
8704           numberOfLabelHfills() ...
8705
8706         * lyxrow.h:
8707         * lyxrow.C: ... to member functions here.
8708
8709         * paragraph.h:
8710         * paragraph.C:
8711         * lyxtext.h:
8712         * text.C: remove LyXText::beginningOfMainBody(), and call
8713           p->beginningOfMainBody() directly. Move the check for
8714           LABEL_MANUAL into the latter.
8715
8716         * text.h:
8717         * text.C:
8718         * text2.C:
8719         * vspace.C:
8720         * BufferView.h:
8721         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8722
8723         * text.h:
8724         * text.C:
8725         * text2.C:
8726         * text3.C:
8727         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8728           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8729
8730 2003-02-13  John Levon  <levon@movementarian.org>
8731
8732         * CutAndPaste.C: remove debug
8733
8734 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8735
8736         * paragraph.C (asString): remove two unused variables
8737
8738         * lyxtextclass.C (readTitleType):
8739           (Read):
8740           (LyXTextClass): handle new members titletype_ and titlename_
8741
8742         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8743
8744 2003-02-09  John Levon  <levon@movementarian.org>
8745
8746         * buffer.h:
8747         * buffer.C: replace hand-coded list with a map for the dep clean
8748
8749 2003-02-08  John Levon  <levon@movementarian.org>
8750
8751         * LaTeX.C: consolidate code into showRunMessage() helper
8752
8753 2003-02-08  John Levon  <levon@movementarian.org>
8754
8755         * lyxfind.C:
8756         * lyxtext.h:
8757         * text2.C:
8758         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8759           and pass the size in explicitly
8760
8761         * BufferView_pimpl.h:
8762         * BufferView_pimpl.C:
8763         * BufferView.h:
8764         * BufferView.C: add getCurrentChange()
8765
8766         * BufferView_pimpl.h:
8767         * BufferView_pimpl.C: handle change lfuns
8768
8769         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8770           for changes. Mark pasted paragraphs as new.
8771
8772         * support/lyxtime.h:
8773         * support/lyxtime.C:
8774         * DepTable.C: abstract time_t as lyx::time_type
8775
8776         * LColor.h:
8777         * LColor.C: add colours for new text, deleted text, changebars
8778
8779         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8780           package use "usenames" option.
8781
8782         * commandtags.h:
8783         * lyxfunc.C:
8784         * LyXAction.C: add change lfuns
8785
8786         * Makefile.am:
8787         * author.h:
8788         * author.C: author handling
8789
8790         * buffer.h:
8791         * buffer.C: add a per-buffer author list, with first entry as
8792           current author. Handle new .lyx tokens for change tracking. Output
8793           author list to .lyx file. Output dvipost stuff to .tex preamble.
8794           Bump lyx format to 222.
8795
8796         * bufferlist.h:
8797         * bufferlist.C: add setCurrentAuthor() to reset current author details
8798           in all buffers.
8799
8800         * bufferparams.h:
8801         * bufferparams.C: add param for tracking
8802
8803         * bufferview_funcs.C: output change info in minibuffer
8804
8805         * Makefile.am:
8806         * changes.h:
8807         * changes.C: add change-tracking structure
8808
8809         * debug.h:
8810         * debug.C: add CHANGES debug flag
8811
8812         * lyxfind.h:
8813         * lyxfind.C: add code for finding the next change piece
8814
8815         * lyxrc.h:
8816         * lyxrc.C: add user_name and user_email
8817
8818         * lyxrow.h:
8819         * lyxrow.C: add a metric for the top of the text line
8820
8821         * lyxtext.h:
8822         * text.C: implement accept/rejectChange()
8823
8824         * lyxtext.h:
8825         * text.C: paint changebars. Paint new/deleted text in the chosen
8826         colours. Strike through deleted text.
8827
8828         * paragraph.h:
8829         * paragraph.C:
8830         * paragraph_pimpl.h:
8831         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8832           in the current change to the insert functions. Rework erase to
8833           mark text as deleted, adding an eraseIntern() and a range-based
8834           erase(). Implement per-paragraph change lookup and
8835           accept/reject.
8836
8837         * paragraph_funcs.C: Fixup paste for change tracking.
8838
8839         * tabular.C: mark added row/columns as new.
8840
8841         * text.C: fix rowLast() to never return -1. Don't allow
8842           spellchecking of deleted text. Track transpose changes. Don't
8843           allow paragraph break or merge where appropriate.
8844
8845         * text2.C: leave cursor at end of selection after a cut.
8846
8847 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8848
8849         * text.C (getLengthMarkerHeight):
8850         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8851         visible on screen too.
8852
8853 2003-02-07  John Levon  <levon@movementarian.org>
8854
8855         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8856
8857 2003-02-05  Angus Leeming  <leeming@lyx.org>
8858
8859         * lyxserver.C (read_ready): revert my patch of 11 September last year
8860         as it sends PC cpu through the roof. Presumably this means that
8861         the lyxserver will no longer run on an Alpha...
8862
8863 2003-01-30  Angus Leeming  <leeming@lyx.org>
8864
8865         * factory.C (createInset): create an InsetCommandParam of type "index"
8866         and use it to 'do the right thing'.
8867
8868         * text2.C (getStringToIndex): ensure that cursor position is always
8869         reset to the reset_cursor position.
8870
8871 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8872
8873         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8874         disabled.
8875
8876 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8877
8878         * bufferview.C:
8879         * lyxcb.C:
8880         * lyxfunc.C: Output messages with identical spelling, punctuation,
8881         and spaces
8882
8883 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8884
8885         * MenuBackend.C (expandFormats): List only viewable export formats
8886         in "View" menu
8887
8888         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8889         message
8890
8891         * lyxfunc.C (getStatus): Make sure that formats other than
8892         "fax" can also be disabled
8893
8894 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8895
8896         * text3.C (dispatch): put the lfuns that insert insets in 3
8897         groups, and call doInsertInset with appropriate arguments.
8898         (doInsertInset): new function, that creates an inset and inserts
8899         it according to some boolean parameters.
8900
8901 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8902
8903         * buffer.C (readFile): remember to pass on 'par' when calling
8904         readFile recursively.
8905
8906 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8907
8908         * MenuBackend.C (expandFormats): add "..." to import formats.
8909
8910 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8911
8912         * paragraph.C (asString): Remove XForms RTL hacks.
8913
8914 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8915         * buffer.C: fix typo
8916
8917 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8918
8919         * Makefile.am (LIBS): delete var
8920         (lyx_LDADD): add @LIBS@ here instead.
8921
8922 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8923
8924         * Clarify the meaning of "wheel mouse jump"
8925
8926 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8927
8928         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8929         tabular in a float
8930
8931 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8932
8933         * importer.C (Loaders): do not preallocate 3 elements in the
8934         vector, since one ends up with 6 elements otherwise
8935
8936 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8937
8938         * DepTable.C (write): write the file name as last element of the
8939         .dep file (because it may contain spaces)
8940         (read): read info in the right order
8941
8942 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8943
8944         * paragraph_pimpl.C (simpleTeXBlanks):
8945         (simpleTeXSpecialChars):
8946         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8947
8948         * tabular.C (latex): add some missing case statements. Reindent.
8949
8950         * MenuBackend.C (expandToc): remove unused variable.
8951
8952 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8953
8954         * LColor.C:
8955         * LaTeX.C:
8956         * LyXAction.C:
8957         * MenuBackend.C:
8958         * buffer.C:
8959         * exporter.C:
8960         * lyxfunc.C:
8961         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8962         and the like.
8963
8964 2003-01-05  John Levon  <levon@movementarian.org>
8965
8966         * BufferView.h:
8967         * BufferView.C: add getEncoding()
8968
8969         * kbsequence.h:
8970         * kbsequence.C: do not store last keypress
8971
8972         * lyxfunc.h:
8973         * lyxfunc.C: store last keypress here instead. Pass encoding
8974           to getISOEncoded()
8975
8976 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * lyx_main.C (init): remove annoying error message when following
8979         symbolic links (bug #780)
8980
8981 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8982
8983         * text.C (insertChar):
8984         * lyxrc.C (getDescription): remove extra spaces
8985
8986 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8987
8988         * lyxrc.C (getDescription): remove extra spaces
8989
8990 2002-12-20  John Levon  <levon@movementarian.org>
8991
8992         * text3.C: hack fix for page up/down across tall rows
8993
8994 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8995
8996         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8997         not been invoked
8998
8999 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9000
9001         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9002         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9003         thesaurus is not compiled in
9004
9005 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9006
9007         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9008
9009 2002-12-16  Angus Leeming  <leeming@lyx.org>
9010
9011         * lyxrc.[Ch]:
9012         * lyx_main.C (init): remove override_x_deadkeys stuff.
9013
9014 2002-12-12  John Levon  <levon@movementarian.org>
9015
9016         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9017           insert. Only remove shift modifier under strict
9018           circumstances.
9019
9020 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9021
9022         * MenuBackend.C (expandToc): fix crash.
9023
9024 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9025
9026         * MenuBackend.C (expandToc): gettext on float names.
9027
9028 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9029
9030         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9031         implement bool empty() [bug 490]
9032
9033 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9036
9037 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9038
9039         * several files: ws changes
9040
9041 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9042
9043         * text2.C (setCounter): clean up a bit, use boost.format.
9044         (updateCounters): initialize par upon declaration.
9045
9046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9047         if the layout exists. We do not just store the layout any more.
9048         (SwitchLayoutsBetweenClasses): use boost.format
9049
9050 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9051
9052         * converter.C (convert): if from and to files are the same, use a
9053         temporary files as intermediary
9054
9055 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9056
9057         * commandtags.h:
9058         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9059
9060 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9061
9062         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9063
9064 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * tabular.C (asciiPrintCell): use string(size, char) instead of
9067         explicit loop.
9068
9069         * sgml.C (openTag): fix order of arguments to string constructor
9070         (closeTag): ditto
9071
9072         * lyxfunc.C (dispatch): use boost.format
9073
9074         * lots of files: change "c" -> 'c'
9075
9076 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9077
9078         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9079
9080 2002-11-25  Angus Leeming  <leeming@lyx.org>
9081
9082         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9083
9084         * lyx_main.C (init): compile fix.
9085
9086 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * lyx_cb.C (start): boost.formatify
9089         do not include <iostream>
9090
9091         * lengthcommon.C: ws only
9092
9093         * boost-inst.C,BoostFormat.h: add more explict instantations
9094
9095 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9096
9097         * lots of files: handle USE_BOOST_FORMAT
9098
9099 2002-11-21  John Levon  <levon@movementarian.org>
9100
9101         * pspell.C: fix compile
9102
9103 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * lyxfunc.C (dispatch): use boost::format
9106         (open): ditto
9107         (doImport): ditto
9108
9109         * lyxfont.C (stateText): use boost::format
9110
9111         * lyx_main.C (LyX): use boost::format
9112         (init): ditto
9113         (queryUserLyXDir): ditto
9114         (readRcFile): ditto
9115         (parse_dbg): ditto
9116         (typedef boost::function): use the recommened syntax.
9117
9118         * importer.C (Import): use boost::format
9119
9120         * debug.C (showLevel): use boost::format
9121
9122         * converter.C (view): use boost::format
9123         (convert): ditto
9124         (move): ditto
9125         (scanLog): ditto
9126
9127         * bufferview_funcs.C (currentState): use boost::format
9128
9129         * bufferlist.C (emergencyWrite): use boost::format
9130
9131         * buffer.C (readLyXformat2): use boost::format
9132         (parseSingleLyXformat2Token): ditto
9133
9134         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9135
9136         * LaTeX.C (run): use boost::format
9137
9138         * Chktex.C (scanLogFile): use boost::format
9139
9140         * BufferView_pimpl.C (savePosition): use boost::format
9141         (restorePosition): ditto
9142         (MenuInsertLyXFile): ditto
9143
9144         * BoostFormat.h: help file for explicit instation.
9145
9146 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9147
9148         * tabular.C (latex): Support for block alignment in fixed width
9149         columns.
9150
9151 2002-11-17  John Levon  <levon@movementarian.org>
9152
9153         * BufferView_pimpl.C:
9154         * lyx_cb.C:
9155         * lyxfunc.C: split filedialog into open/save
9156
9157 2002-11-08  Juergen Vigna  <jug@sad.it>
9158
9159         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9160         by my last patch (hopefully).
9161
9162 2002-11-08  John Levon  <levon@movementarian.org>
9163
9164         * iterators.h:
9165         * iterators.C:
9166         * buffer.h:
9167         * buffer.C:
9168         * paragraph.h:
9169         * paragraph.C:
9170         * toc.h:
9171         * toc.C: ParConstIterator, and use it (from Lars)
9172
9173 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9174
9175         * lyxtextclass.[Ch]: revise and add doxygen comments
9176
9177 2002-11-07  John Levon  <levon@movementarian.org>
9178
9179         * text.C: fix progress value for spellchecker
9180
9181         * toc.C: fix navigate menu for insetwrap inside minipage
9182
9183         * paragraph_funcs.C: added FIXME for suspect code
9184
9185 2002-11-07  John Levon  <levon@movementarian.org>
9186
9187         * BufferView_pimpl.C: fix redrawing of insets
9188           on buffer switch
9189
9190 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * text2.C (updateCounters): fix bug 668
9193
9194 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9195
9196         * text3.C (dispatch): Do not make the buffer dirty when moving the
9197         cursor.
9198
9199 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * vc-backend.C: STRCONV
9202         (scanMaster): ditto
9203
9204         * text2.C (setCounter): STRCONV
9205
9206         * paragraph.C (asString): STRCONV
9207
9208         * lyxlength.C (asString): STRCONV
9209         (asLatexString): ditto
9210
9211         * lyxgluelength.C (asString): STRCONV
9212         (asLatexString): ditto
9213
9214         * lyxfunc.C (dispatch): STRCONV
9215         (open): ditto
9216
9217         * lyxfont.C (stateText): STRCONV
9218
9219         * importer.C (Import): STRCONV
9220
9221         * counters.C (labelItem): STRCONV
9222         (numberLabel): ditto
9223         (numberLabel): remove unused ostringstream o
9224
9225         * chset.C: STRCONV
9226         (loadFile): ditto
9227
9228         * bufferview_funcs.C (currentState): STRCONV
9229
9230         * buffer.C (readFile): STRCONV
9231         (asciiParagraph): ditto
9232         (makeLaTeXFile): ditto
9233
9234         * Spacing.C (writeEnvirBegin): STRCONV
9235
9236         * LaTeXFeatures.C (getLanguages): STRCONV
9237         (getPackages): ditto
9238         (getMacros): ditto
9239         (getBabelOptions): ditto
9240         (getTClassPreamble): ditto
9241         (getLyXSGMLEntities): ditto
9242         (getIncludedFiles): ditto
9243
9244         * LaTeX.C: STRCONV
9245         (run): ditto
9246         (scanAuxFile): ditto
9247         (deplog): ditto
9248
9249         * LString.h: add the STRCONV macros
9250
9251         * BufferView_pimpl.C (savePosition): STRCONV
9252         (restorePosition): ditto
9253         (MenuInsertLyXFile): ditto
9254
9255         * vc-backend.C (scanMaster): change from submatch[...] to
9256         submatch.str(...)
9257
9258         * funcrequest.C: include config.h
9259
9260         * factory.C: include config.h
9261
9262         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9263
9264         * box.C: include config.h
9265
9266         * LaTeX.C (scanAuxFile): change from submatch[...] to
9267         submatch.str(...)
9268         (deplog): ditto
9269
9270 2002-10-25  Angus Leeming  <leeming@lyx.org>
9271
9272         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9273
9274         * ispell.[Ch] (setError): new method.
9275         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9276         Use setError() insetead of goto END.
9277
9278         * lyx_cb.C (AutoSave): move out child process into new class
9279         AutoSaveBuffer.
9280
9281 2002-10-30  John Levon  <levon@movementarian.org>
9282
9283         * text3.C: make start appendix undoable
9284
9285 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9286
9287         * lyxlength.C (inPixels): Fix returned value.
9288
9289         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9290         environment.
9291
9292 2002-10-24  Angus Leeming  <leeming@lyx.org>
9293
9294         * lyxgluelength.h: no need to forward declare BufferParams
9295         or BufferView, so don't.
9296
9297 2002-10-21  John Levon  <levon@movementarian.org>
9298
9299         * BufferView.C: menuUndo ->undo, redo
9300
9301         * BufferView.h: document, remove dead, make some methods private
9302
9303         * paragraph_funcs.h:
9304         * paragraph_funcs.C:
9305         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9306
9307         * buffer.h:
9308         * buffer.C:
9309         * sgml.h:
9310         * sgml.C: move sgml open/close tag into sgml.C
9311
9312         * bufferview_funcs.h: unused prototype
9313
9314         * lyxfunc.h:
9315         * lyxfunc.C: remove unused
9316
9317         * lyxtext.h:
9318         * text.C: remove unused
9319
9320 2002-10-21  John Levon  <levon@movementarian.org>
9321
9322         * BufferView.h:
9323         * BufferView.C:
9324         * BufferView_pimpl.h:
9325         * BufferView_pimpl.C: fix mouse wheel handling based on
9326           patch from Darren Freeman
9327
9328 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9329
9330         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9331
9332 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9333
9334         * lyxlength.C (inPixels): Fix hanfling of negative length.
9335         Fix LyXLength::MU case.
9336
9337 2002-10-16  John Levon  <levon@movementarian.org>
9338
9339         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9340
9341 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9342
9343         * converter.C (view): add support for $$i (file name) and $$p
9344         (file path) for the viewer command. If $$i is not specified, then
9345         it is appended to the command (for compatibility with old syntax)
9346
9347 2002-10-14  Juergen Vigna  <jug@sad.it>
9348
9349         * undo_funcs.C (textHandleUndo): alter the order in which the
9350         new undopar is added to the LyXText, as we have to set first
9351         the right prev/next and then add it as otherwise the rebuild of
9352         LyXText is not correct. Also reset the cursor to the right paragraph,
9353         with this IMO we could remove the hack in "redoParagraphs()".
9354
9355 2002-10-09  Angus Leeming  <leeming@lyx.org>
9356
9357         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9358         to turn off an optimisation if a new inset is to be inserted.
9359
9360 2002-10-11 André Pönitz <poenitz@gmx.net>
9361
9362         * lyxtext.h: make some functions public to allow access
9363         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9364
9365 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9366
9367         * text3.C (dispatch): when changing layout, avoid an infinite loop
9368         [bug #652]
9369
9370 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9371
9372         * lyxrc.C (read): treat a viewer or converter command of "none" as
9373         if it were empty.
9374
9375         * MenuBackend.C (expandFormats): for an update, also allow the
9376         formats that are not viewable
9377
9378         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9379         script if it is newer than the lyxrc.defaults in user directory
9380
9381 2002-10-07 André Pönitz <poenitz@gmx.net>
9382
9383         * text.C: Vitaly Lipatov's small i18n fix
9384
9385 2002-09-25  Angus Leeming  <leeming@lyx.org>
9386
9387         * ispell.h: doxygen fix.
9388
9389 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9390
9391         * buffer.h (readFile): Add a new argument to the method, to allow
9392         reading of old-format templates.
9393
9394 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9395
9396         * toc.C (getTocList): Get TOC from InsetWrap.
9397
9398 2002-09-16  John Levon  <levon@movementarian.org>
9399
9400         * lyxfunc.C: check tabular for cut/copy too
9401
9402 2002-09-12  John Levon  <levon@movementarian.org>
9403
9404         * LyXAction.C: tidy
9405
9406         * factory.h:
9407         * factory.C: add header
9408
9409         * paragraph_funcs.h:
9410         * paragraph_funcs.C: cleanup
9411
9412 2002-09-11  John Levon  <levon@movementarian.org>
9413
9414         * PrinterParams.h: odd/even default to true
9415
9416 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9417
9418         * PrinterParams.h: update printer parameters for new xforms dialog
9419
9420 2002-09-11  Angus Leeming  <leeming@lyx.org>
9421
9422         * lyxserver.C (read_ready): re-write to make it more transparent
9423         and to make it work in coherent fashion under Tru64 Unix.
9424
9425 2002-09-11  André Pönitz <poenitz@gmx.net>
9426
9427         * commandtags.h:
9428         * LyXAction.C:
9429         * text3.C: implement LFUN_WORDSEL
9430
9431 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9432
9433         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9434         make floatlist_ a boost::shared_ptr<FloatList>
9435
9436         * lyxtextclass.C: include FloatList.h
9437         (LyXTextClass): initialize floatlist_
9438         (TextClassTags): add TC_NOFLOAT
9439         (Read): match "nofloat" to TC_NOFLOAT and use it.
9440         (readFloat): modify call to floatlist_
9441         (floats): ditto
9442         (floats): ditto
9443
9444         * FloatList.[Ch] (FloatList): remove commented out float
9445         initialization.
9446         (erase): new function
9447
9448 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9449
9450         * MenuBackend.C (expandToc): fix crash when there is no document
9451         open
9452
9453 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9454
9455         * many files: Add insetwrap.
9456
9457 2002-09-09  John Levon  <levon@movementarian.org>
9458
9459         * text2.C: remove confusing and awkward depth wraparound
9460
9461 2002-09-09  John Levon  <levon@movementarian.org>
9462
9463         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9464
9465         * buffer.h:
9466         * buffer.C: remove getIncludeonlyList()
9467
9468         * paragraph.C:
9469         * lyxfunc.C: remove headers
9470
9471 2002-09-09  Juergen Vigna  <jug@sad.it>
9472
9473         * text.C (getColumnNearX): fix form Michael this is most
9474         probably a cut&paste bug.
9475
9476 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9477
9478         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9479
9480         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9481         references, ws changes.
9482
9483         * text2.C (init): update counters after init
9484         (insertParagraph): no need to set counter on idividual paragraphs.
9485         (setCounter): access the counters object in the textclass object
9486         on in the buffer object.
9487         (updateCounters): ditto
9488
9489         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9490         shared_ptr<Counters> to avoid loading counters.h in all
9491         compilation units.
9492         (LyXTextClass): initialize ctrs_
9493         (TextClassTags): add TC_COUNTER, and ...
9494         (Read): use it here.
9495         (CounterTags): new tags
9496         (readCounter): new function
9497         (counters): new funtion
9498         (defaultLayoutName): return a const reference
9499
9500         * counters.C (Counters): remove contructor
9501         (newCounter): remove a couple of unneeded statements.
9502         (newCounter): simplify a bit.
9503         (numberLabel): some small formatting changes.
9504
9505         * buffer.[Ch]: remove all traces of counters, move the Counters
9506         object to the LyXTextClass.
9507
9508 2002-09-06  Alain Castera  <castera@in2p3.fr>
9509
9510         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9511         package to set the horizontal alignment on fixed width columns.
9512
9513         * lyx_sty.C:
9514         * lyx_sty.h: added tabularnewline macro def.
9515
9516         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9517
9518 2002-09-06  John Levon  <levon@movementarian.org>
9519
9520         * LyXAction.C: tooltips for sub/superscript
9521
9522         * MenuBackend.C: a bit more verbose
9523
9524         * lyxfunc.C: tiny clean
9525
9526         * undo_funcs.C: document undo_frozen
9527
9528 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9529
9530         * counters.C (Counters): add missing algorithm counter.
9531
9532         * text2.C (setCounter): lookup the counter with layouts latexname
9533         instead of by section number.
9534         (setCounter): use a hackish way to lookup the correct enum
9535         counter.
9536         a float name->type change
9537         reset enum couners with counter name directly instead of depth value.
9538
9539         * counters.C (Counters): remove the push_backs, change to use the
9540         float type not the float name.
9541         (labelItem): remove unused string, float name->type change
9542
9543         * counters.h: don't include vector, loose the enums and sects vectors
9544
9545 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9546
9547         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9548         (Read): add float->TC_FLOAT to textclassTags
9549         (Read): and handle it in the switch
9550         (readFloat): new function
9551
9552         * FloatList.C (FloatList): comment out the hardcoded float
9553         definitions.
9554
9555         * lyxlayout.h: ws change.
9556
9557 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9558
9559         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9560
9561 2002-09-03  Angus Leeming  <leeming@lyx.org>
9562
9563         * BufferView_pimpl.h: qualified name is not allowed in member
9564         declaration: WorkArea & Pimpl::workarea() const;
9565
9566         * factory.C: added using std::endl directive.
9567
9568         * text3.C: added using std::find and std::vector directives.
9569
9570 2002-08-29  André Pönitz <poenitz@gmx.net>
9571
9572         * lyxtext.h:
9573         * text2.C: remove unused member number_of_rows
9574
9575         * Makefile.am:
9576         * BufferView2.C: remove file, move contents to...
9577         * BufferView.C: ... here
9578
9579         * BufferView_pimpl.C:
9580         * factory.C: move more inset creation to factory
9581
9582         * vspace.C: avoid direct usage of LyXText, ws changes
9583
9584         * BufferView.[Ch]:
9585                 don't provide direct access to WorkArea, use two simple
9586                 acessors haveSelction() and workHeight() instead
9587
9588
9589 2002-08-29  John Levon  <levon@movementarian.org>
9590
9591         * BufferView_pimpl.C (dispatch): do not continue when
9592           no buffer
9593
9594 2002-08-28  André Pönitz <poenitz@gmx.net>
9595
9596         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9597
9598         * BufferView.h:
9599         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9600
9601 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9602
9603         * buffer.C: increment LYX_FORMAT to 221
9604
9605         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9606         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9607
9608         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9609
9610         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9611
9612 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * factory.C (createInset): use LyXTextClass::floats
9615
9616         * MenuBackend.C (expandFloatListInsert):
9617         (expandFloatInsert):
9618         (expandToc):
9619
9620         * text2.C (setCounter):
9621
9622         * LaTeXFeatures.C (useFloat):
9623         (getFloatDefinitions):
9624
9625         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9626
9627         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9628         floatlist_, with accessor floats().
9629
9630         * FloatList.h: remove global FloatList
9631
9632 2002-08-26  André Pönitz <poenitz@gmx.net>
9633
9634         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9635
9636         * BufferView.h:
9637         * BufferView2.C:
9638         * BufferView_pimpl.C:
9639         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9640
9641 2002-08-25  John Levon  <levon@movementarian.org>
9642
9643         * LyXAction.C: fix margin note description
9644
9645 2002-08-24  John Levon  <levon@movementarian.org>
9646
9647         * buffer.C:
9648         * bufferlist.C:
9649         * bufferview_funcs.C:
9650         * lyxfont.C:
9651         * undo_funcs.C: cleanups
9652
9653         * lyxfunc.C: disable CUT/COPY when no selection
9654
9655 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9656
9657         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9658         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9659
9660         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9661         Add backward compatibility to "mono", "gray" and "no".
9662
9663 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9664
9665         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9666         (and file_format >= 200).
9667
9668 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9671
9672 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9675
9676 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9677
9678         * BufferView_pimpl.C:
9679         * LyXAction.C:
9680         * buffer.C:
9681         * commandtags.h:
9682         * lyxfunc.C:
9683         * paragraph.[Ch]:
9684         * text2.C:
9685         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9686         inset and code to make it  work with the paragraph code. The inset
9687         can be anywhere in the paragraph, but will only do the expected
9688         thing in LaTeX if the layout file contains the parameter line
9689                         OptionalArgs    1
9690         (or more generally, a nonzero value) for that layout.
9691
9692 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9693
9694         * paragraph.h: remove the declaration of undefined counters class
9695         function.
9696
9697 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9698
9699         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9700         Dr. Richard Hawkins.
9701
9702 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * paragraph_funcs.h: remove some unneeded includes
9705
9706         * text.C (backspace): pasteParagraph now in global scipe
9707
9708         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9709         (pasteSelection): ditto
9710
9711         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9712         * paragraph_funcs.C (pasteParagraph): ... here
9713
9714 2002-08-20  André Pönitz <poenitz@gmx.net>
9715
9716         * commandtags.h: new LFUNs for swapping/copying table row/colums
9717
9718         * LyXAction.C:
9719         * lyxfunc.C: support for new lfuns
9720
9721 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9722
9723         * tabular.C:
9724         * buffer.[Ch]: remove NO_COMPABILITY stuff
9725
9726 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9727
9728         * boost.C (throw_exception): new file, with helper function for
9729         boost compiled without exceptions.
9730
9731         * paragraph.h:
9732         * lyxlength.C:
9733         * buffer.C:
9734         * ParameterStruct.h:
9735         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9736
9737         * bufferlist.C (emergencyWriteAll): use boost bind
9738
9739         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9740
9741         * text.C: include paragraph_funcs.h
9742         (breakParagraph): breakParagraph is now in global scope
9743
9744         * paragraph_funcs.[Ch]: new files
9745
9746         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9747         global scope
9748
9749         * buffer.C: include paragraph_funcs.h
9750         (insertStringAsLines): breakParagraph is now in global scope
9751
9752         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9753         paragraph_funcs.C
9754
9755         * CutAndPaste.C: include paragraph_funcs.h
9756         (cutSelection): breakParagraphConservative is now in global scope
9757         (pasteSelection): ditto
9758
9759         * buffer.h: declare oprator== and operator!= for
9760         Buffer::inset_iterator
9761
9762         * bufferlist.C (emergencyWrite): don't use fmt(...)
9763
9764         * text3.C: add using std::endl
9765
9766         * BufferView.C (moveCursorUpdate): remove default arg
9767
9768 2002-08-20  André Pönitz <poenitz@gmx.net>
9769
9770         * buffer.[Ch]: move inline functions to .C
9771
9772         * BufferView2.C:
9773         * BufferView_pimpl.C:
9774         * text.C:
9775         * buffer.[Ch]: use improved inset_iterator
9776
9777         * buffer.C:
9778         * paragraph.[Ch]: write one paragraph at a time
9779
9780 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9783         style if style is not specified.
9784
9785 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * text2.C (setCounter): when searching for right label for a
9788         caption, make sure to recurse to parent insets (so that a caption
9789         in a minipage in a figure float works) (bug #568)
9790
9791 2002-08-20  André Pönitz <poenitz@gmx.net>
9792
9793         * text3.C: new file for LyXText::dispatch() and helpers
9794
9795         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9796
9797         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9798
9799 2002-08-19  André Pönitz <poenitz@gmx.net>
9800
9801         * lyxtext.h:
9802         * text.C: new LyXText::dispatch()
9803
9804         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9805
9806 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9807
9808         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9809
9810         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9811         Hebrew text.
9812
9813 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * Makefile.am: use $(variables) instead of @substitutions@
9816
9817 2002-08-15  André Pönitz <poenitz@gmx.net>
9818
9819         * lyxfunc.C:
9820         * BufferView_pimpl.C: streamlining mathed <-> outer world
9821         interaction
9822
9823         * commandtags.h:
9824         * LyXAction.C: remove unused LFUN_MATH
9825
9826 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9827
9828         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9829
9830 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9831
9832         * paragraph.C (Paragraph): reformat a bit
9833         (cutIntoMinibuffer): use builtin InsetList function instad of
9834         doing it manually.
9835         (getInset): ditto
9836
9837         * buffer.C: include boost/bind.hpp, add using std::for_each
9838         (writeFileAscii): use ParagraphList iterators
9839         (validate): use for_each for validate traversal of paragraphs
9840         (getBibkeyList): use ParagraphList iterators
9841         (resizeInsets): use for_each to resizeInsetsLyXText for all
9842         paragraphs.
9843         (getParFromID): use ParagraphList iterators
9844
9845         * BufferView2.C (lockInset): use paragraph list and iterators
9846
9847 2002-08-14  John Levon  <levon@movementarian.org>
9848
9849         * lyxserver.C: remove spurious xforms include
9850
9851 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9854
9855 2002-08-13  André Pönitz <poenitz@gmx.net>
9856
9857         * LyXAction.[Ch]:
9858         * lyxfunc.C: further cleaning
9859
9860 2002-08-13  André Pönitz <poenitz@gmx.net>
9861
9862         * funcrequest.h: new constructor
9863
9864         * funcrequest.C: move stuff here from .h
9865
9866         * Makefile.am:
9867         * BufferView_pimpl.C:
9868         * LyXAction.C:
9869         * toc.C:
9870         * lyxfunc.C: subsequent changes
9871
9872         * lyxfunc.h: new view() member function
9873
9874         * lyxfunc.C: subsequent changes
9875
9876 2002-08-13  Angus Leeming  <leeming@lyx.org>
9877
9878         * BufferView2.C:
9879         * BufferView_pimpl.C:
9880         * buffer.C:
9881         * converter.C:
9882         * importer.C:
9883         * lyxfunc.C:
9884         * lyxvc.C:
9885         * toc.C:
9886         * vc-backend.C:
9887         changes due to the changed LyXView interface that now returns references
9888         to member variables not pointers.
9889
9890 2002-08-13  Angus Leeming  <leeming@lyx.org>
9891
9892         * WordLangTuple (word, lang_code): return references to strings,
9893         not strings.
9894
9895         * BufferView.h:
9896         * SpellBase.h:
9897         * lyxtext.h: forward-declare WordLangTuple.
9898
9899         * BufferView2.C:
9900         * ispell.C:
9901         * pspell.C:
9902         * text.C: #include "WordLangTuple.h".
9903
9904         * lyxtext.h:
9905         * text.C: (selectNextWordToSpellcheck): constify return type.
9906
9907 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9908
9909         * buffer.C:
9910         * buffer.h:
9911         * lyxtext.h:
9912         * paragraph.C:
9913         * paragraph_pimpl.h:
9914         * text.C:
9915         * text2.C:
9916         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9917         suggested by Angus.
9918         Made updateCounter always count from start of buffer, and removed
9919         second argument (par).
9920         Reverted floats number display to '#'. Perhaps I'll try again when the
9921         code base is sanitized a bit.
9922
9923 2002-08-12  Angus Leeming  <leeming@lyx.org>
9924
9925         * buffer.[Ch] (getLabelList): constify.
9926
9927 2002-08-07  André Pönitz <poenitz@gmx.net>
9928
9929         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9930
9931         * funcrequest.h: extension to keep mouse (x,y) position
9932
9933 2002-08-12  Juergen Vigna  <jug@sad.it>
9934
9935         * BufferView2.C (insertErrors): forbid undo when inserting error
9936         insets.
9937
9938         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9939
9940 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9941
9942         * ParagraphList.[Ch]: new files
9943
9944         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9945
9946         * BufferView2.C (lockInset): ParagraphList changes
9947         * toc.C: ditto
9948         * text2.C: ditto
9949         * bufferlist.C: ditto
9950         * buffer.h: ditto
9951         * buffer.C: ditto
9952
9953 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9954
9955         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9956         unused class variable counter_,
9957
9958         * paragraph.[Ch] (getFirstCounter): delete unused function
9959
9960         * counters.C: include LAssert.h
9961         (reset): add a new function with no arg, change other version to
9962         not have def. arg and to not allow empty arg.
9963
9964         * text2.C (setCounter): remove empty arg from call to Counters::reset
9965
9966 2002-08-11  John Levon  <levon@movementarian.org>
9967
9968         * Makefile.am: add WordLangTuple.h
9969
9970 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9971
9972         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9973         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9974
9975         * insets/insettext.C: InsetList changes
9976
9977         * graphics/GraphicsSupport.C (operator()): InsetList changes
9978
9979         * toc.C (getTocList): InsetList changes
9980
9981         * paragraph_pimpl.[Ch]: InsetList changes
9982
9983         * paragraph.[Ch]: InsetList changes
9984
9985         * buffer.C (inset_iterator): InsetList changes
9986         (setParagraph): ditto
9987         * buffer.h (inset_iterator): ditto
9988         * iterators.C (operator++): ditto
9989         * iterators.h: ditto
9990
9991         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9992
9993         * InsetList.[Ch]: new files, most InsetList handling moved out of
9994         paragraph.C.
9995
9996         * BufferView2.C (removeAutoInsets): InsetList changes
9997         (lockInset): ditto
9998         (ChangeInsets): ditto
9999
10000 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10001
10002         * paragraph_pimpl.h (empty): new function
10003
10004         * paragraph.[Ch] (empty): new function
10005
10006         * other files: use the new Paragraph::empty function
10007
10008 2002-08-09  John Levon  <levon@movementarian.org>
10009
10010         * lyxtext.h: remove unused refresh_height
10011
10012 2002-08-09  John Levon  <levon@movementarian.org>
10013
10014         * Makefile.am:
10015         * sgml.h:
10016         * sgml.C:
10017         * buffer.C:
10018         * paragraph.h:
10019         * paragraph.C: move sgml char escaping out of paragraph
10020
10021         * paragraph.h:
10022         * paragraph.C: remove id setter
10023
10024         * buffer.C:
10025         * paragraph.C:
10026         * paragraph_pimpl.C: remove dead tex_code_break_column
10027
10028         * bufferview_funcs.C: small cleanup
10029
10030         * lyxfunc.C: remove dead proto
10031
10032         * lyxtext.h: make some stuff private. Remove some dead stuff.
10033
10034         * lyxgluelength.C: make as[LyX]String() readable
10035
10036 2002-08-08  John Levon  <levon@movementarian.org>
10037
10038         * LyXAction.h:
10039         * LyXAction.C:
10040         * MenuBackend.C:
10041         * ToolbarDefaults.C:
10042         * lyxfunc.C:
10043         * lyxrc.C:
10044         * toc.C: lyxaction cleanup
10045
10046 2002-08-08  John Levon  <levon@movementarian.org>
10047
10048         * BufferView2.C: small cleanup
10049
10050         * lyxfind.h:
10051         * lyxfind.C: move unnecessary header into the .C
10052
10053 2002-08-08  John Levon  <levon@movementarian.org>
10054
10055         * funcrequest.h: just tedious nonsense
10056
10057         * lyx_main.h:
10058         * lyx_main.C: cleanups
10059
10060         * buffer.C:
10061         * vspace.C: remove dead header lyx_main.h
10062
10063 2002-08-07  Angus Leeming  <leeming@lyx.org>
10064
10065         * Paragraph.[Ch]:
10066         * paragraph_pimpl.h:
10067         Forward declare class Counters in paragraph.h by moving the ctrs member
10068         variable into Paragraph::Pimpl.
10069         (counters): new method, returning a reference to pimpl_->ctrs.
10070
10071         * text2.C: ensuing changes.
10072
10073 2002-08-07  John Levon  <levon@movementarian.org>
10074
10075         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10076
10077         * BufferView_pimpl.C: announce X selection on double/triple
10078           click
10079
10080         * lyx_main.C: use correct bool in batch dispatch
10081
10082         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10083
10084 2002-08-07  André Pönitz <poenitz@gmx.net>
10085
10086         * funcrequest.h: new class to wrap a kb_action and its argument
10087
10088         * BufferView.[Ch]:
10089         * BufferView_pimpl[Ch]:
10090         * LaTeX.C:
10091         * LyXAction.[Ch]:
10092         * lyxfunc.[Ch]:
10093         * lyxrc.C: subsequent changes
10094
10095
10096 2002-08-07  John Levon  <levon@movementarian.org>
10097
10098         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10099           document options change.
10100
10101 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10102
10103         * counters.[Ch]
10104         * text2.C
10105         * paragraph.[Ch]
10106         * makefile.am: move counters functionality over from
10107         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10108
10109 2002-08-06  John Levon  <levon@movementarian.org>
10110
10111         * WordLangTuple.h: new file for word + language code tuple
10112
10113         * SpellBase.h:
10114         * pspell.h:
10115         * pspell.C:
10116         * ispell.h:
10117         * ispell.C:
10118         * lyxtext.h:
10119         * text.C:
10120         * text2.C:
10121         * BufferView.h:
10122         * BufferView2.C: use WordLangTuple
10123
10124         * layout.h:
10125         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10126
10127 2002-08-06  John Levon  <levon@movementarian.org>
10128
10129         * lyx_main.C: fix cmdline batch handling
10130
10131 2002-08-06  André Pönitz <poenitz@gmx.net>
10132
10133         * lyxrc.C: set default for show_banner to true
10134
10135 2002-08-06  John Levon  <levon@movementarian.org>
10136
10137         * pspell.C: fix a crash, and allow new aspell to work
10138
10139 2002-08-06  John Levon  <levon@movementarian.org>
10140
10141         * lyxfunc.C:
10142         * kbmap.C: small cleanup
10143
10144         * vspace.h:
10145         * vspace.C: add const
10146
10147 2002-08-05  John Levon  <levon@movementarian.org>
10148
10149         * LyXAction.C: back to tabular-insert
10150
10151 2002-08-04  John Levon  <levon@movementarian.org>
10152
10153         * BufferView.h:
10154         * BufferView.C: cosmetic change
10155
10156         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10157
10158         * bufferlist.C:
10159         * buffer.h:
10160         * buffer.C:
10161         * lyxcb.h:
10162         * lyxcb.C:
10163         * lyxserver.C:
10164         * lyxvc.C:
10165         * vc-backend.C:
10166         * BufferView2.C: purge all "Lyx" not "LyX" strings
10167
10168         * lyxcursor.h:
10169         * lyxcursor.C: attempt to add some documentation
10170
10171         * lyxfunc.C:
10172         * commandtags.h:
10173         * LyXAction.C:
10174         * ToolbarDefaults.C:
10175         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10176           merge with LFUN_TABULAR_INSERT
10177
10178         * Makefile.am:
10179         * SpellBase.h:
10180         * ispell.h:
10181         * ispell.C:
10182         * pspell.h:
10183         * pspell.C: split up i/pspell implementations into separate
10184           files, many cleanups
10185
10186         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10187
10188         * text2.C: some cleanup
10189
10190         * lyxfunc.C: don't check for isp_command == "none" any more, it
10191           didn't make any sense
10192
10193 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10194
10195         * counters.[Ch]
10196         * text2.C
10197         * paragraph.[Ch]
10198         * makefile.am: move counters functionality over
10199         from text2.C/paragraph.[Ch] to counters.[Ch], and
10200         make proper C++.
10201 2002-08-02  John Levon  <levon@movementarian.org>
10202
10203         * buffer.C: s/lyxconvert/lyx2lyx/
10204
10205 2002-08-02  Angus Leeming  <leeming@lyx.org>
10206
10207         * lyxlex.C: revert John's change as it breaks reading of the user
10208         preamble.
10209
10210 2002-08-02  Angus Leeming  <leeming@lyx.org>
10211
10212         * importer.C (Import):
10213         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10214         changes due to LyXView::view() now returning a boost::shared_ptr.
10215
10216 2002-08-02  John Levon  <levon@movementarian.org>
10217
10218         * lyxlex.C: small cleanup
10219
10220 2002-08-02  John Levon  <levon@movementarian.org>
10221
10222         * text2.C (status): small cleanup, no logic change
10223
10224 2002-08-01  John Levon  <levon@movementarian.org>
10225
10226         * buffer.h:
10227         * buffer.C (writeFile): don't output alerts, caller
10228           handles this
10229
10230         * bufferlist.C:
10231         * lyx_cb.C: from above
10232
10233         * lyxfunc.C: allow to open non-existent files
10234
10235 2002-07-31  John Levon  <levon@movementarian.org>
10236
10237         * lyxserver.C: don't let incidental errors get
10238           in the way (errno)
10239
10240 2002-07-30  John Levon  <levon@movementarian.org>
10241
10242         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10243
10244 2002-07-30  John Levon  <levon@movementarian.org>
10245
10246         * lyxserver.h:
10247         * lyxserver.C: remove I/O callback too
10248
10249 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10250
10251         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10252         log.
10253
10254 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10255
10256         * many files: strip,frontStrip -> trim,ltrim,rtrim
10257
10258 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10259
10260         * PrinterParams.h: remove extern containsOnly, and include
10261         support/lstrings.h instead.
10262
10263         * LaTeX.C (scanAuxFile): modify because of strip changes
10264         (deplog): ditto
10265         * buffer.C (makeLaTeXFile): ditto
10266         * bufferparams.C (writeFile): ditt
10267         * lyxfont.C (stateText): ditto
10268         * lyxserver.C (read_ready): ditto
10269         * vc-backend.C (scanMaster): ditto
10270
10271         * BufferView_pimpl.h: ws changes
10272
10273         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10274
10275 2002-07-26  André Pönitz <poenitz@gmx.net>
10276
10277         * kb_sequence.C: remove unnedred usings
10278
10279 2002-07-26  Juergen Vigna  <jug@sad.it>
10280
10281         * lyxfind.C (LyXReplace): we have to check better if the returned
10282         text is not of theLockingInset()->getLockingInset().
10283
10284 2002-07-25  Juergen Vigna  <jug@sad.it>
10285
10286         * lyxfind.C (LyXReplace): don't replace if we don't get the
10287         right LyXText.
10288
10289         * undo_funcs.C (createUndo): remove debugging code.
10290
10291 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * buffer.C (parseSingleLyXformat2Token): Use default placement
10294         when reading old floats.
10295
10296         * FloatList.C (FloatList): Change the default placement of figure
10297         and tables to "tbp".
10298
10299 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * MenuBackend.C: using std::max
10302
10303 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * MenuBackend.C (expandToc):
10306         (expandToc2): code moved from xforms menu frontend. It is now
10307         generic and TOCs are transparent to menu frontends.
10308
10309 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10310
10311         * toc.C (getTocList): protect against buf=0
10312
10313         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10314         Menu as first parameter. Now, this calls itself recursively to
10315         expand a whole tree (this will be useful for TOC handling)
10316         (expandFloatInsert): remove 'wide' version of floats
10317
10318         * MenuBackend.h (submenuname): returns the name of the submenu.
10319         (submenu): returns the submenu itself, provided it has been
10320         created by MenuBackend::expand
10321
10322 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10325         insets which have noFontChange == true. (bug #172)
10326
10327 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * BufferView_pimpl.C: add connection objects and use them...
10330         (Pimpl): here.
10331
10332 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10333
10334         * MenuBackend.C (expandLastfiles):
10335         (expandDocuments):
10336         (expandFormats):
10337         (expandFloatListInsert):
10338         (expandFloatInsert):
10339         (expand): split expand in parts
10340
10341 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * lyx_gui.C: use lyx_gui::exit()
10344
10345 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * LyXAction.C: show the failing pseudo action
10348
10349 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10350
10351         * buffer.C (readFile): Run the lyxconvert script in order to read
10352         old files.
10353
10354 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * LyXAction.C:
10357         * commandtags.h:
10358         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10359
10360 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * LyXAction.C:
10363         * commandtags.h:
10364         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10365
10366 2002-07-22  Herbert Voss  <voss@lyx.org>
10367
10368         * lengthcommon.C:
10369         * lyxlength.[Ch]: add support for the vertical lengths
10370
10371 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * toc.[Ch]: std:: fixes
10374
10375 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * lyxrc.C: do not include lyx_main.h
10378
10379         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10380         for layouts
10381
10382         * lyxrc.C:
10383         * encoding.C:
10384         * bufferlist.C:
10385         * BufferView2.C: include "lyxlex.h"
10386
10387         * tabular.h:
10388         * bufferparams.h: do not #include "lyxlex.h"
10389
10390         * lyxtextclasslist.C (Add): remove method
10391         (classlist): renamed to classlist_
10392
10393         * paragraph_pimpl.C:
10394         * paragraph.C:
10395         * text2.C:
10396         * CutAndPaste.C:
10397         * bufferview_funcs.C:
10398         * bufferlist.C:
10399         * text.C:
10400         * LaTeXFeatures.C:
10401         * buffer.C:
10402         * toc.C (getTocList): use BufferParams::getLyXTextClass
10403
10404         * toc.C (getTocList): use InsetFloat::addToToc
10405
10406         * toc.[Ch]: new files, containing helper functions to handle table
10407         of contents
10408
10409         * lyxfunc.C (dispatch): no need to remove spaces around command
10410         given as a string
10411         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10412         first command of the sequence; it is not very clever, but I do not
10413         have a better idea, actually
10414
10415         * LyXAction.C (LookupFunc): make sure to remove space at the
10416         beginning and end of the command
10417
10418 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * MenuBackend.C (getMenubar): new method: return the menubar of
10421         this menu set
10422         (read): treat differently reading of menu and menubar (in
10423         particular, the menubar has no name now)
10424         (Menu::menubar): remove
10425
10426         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10427         saving is finished
10428
10429 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10430
10431         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10432         a bibitem inset in a RTL paragraph.
10433
10434 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * paragraph_pimpl.C: constify
10437
10438         * BufferView_pimpl.C:
10439         * LaTeX.C:
10440         * lyxfunc.C: fix dispatch in a nicer way
10441
10442 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * lyxfunc.C (dispatch):
10445         * BufferView_pimpl.C:
10446         * BufferView_pimpl.h:
10447         * BufferView.C:
10448         * BufferView.h: rename Dispatch() to dispatch()
10449
10450         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10451
10452         * lyxlayout.C (Read): honor DependsOn tag
10453
10454         * lyxlayout.[Ch] (depends_on): new method
10455
10456         * version.C.in: update lyx_docversion
10457
10458         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10459
10460         * paragraph.C (validate): remove from here...
10461         * paragraph_pimpl.C (validate): ... and move here
10462         (isTextAt): make it const
10463
10464         * buffer.C (getLists): ws cleanup
10465
10466 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10467
10468         * language.C (read): Use iso8859-1 encoding in latex_lang
10469         (this prevents LyX from crashing when using iso10646-1 encoding).
10470
10471 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * text2.C (toggleInset): if cursor is inside an inset, close the
10474         inset and leave cursor _after_ it
10475
10476 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyxfunc.C: move minibuffer completion handling out of here
10479
10480 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * BufferView_pimpl.C:
10483         * LaTeX.C: fix dispatch calls
10484
10485 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10486
10487         * text.C (drawChars): Fix Arabic text rendering.
10488
10489 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * LyXAction.C:
10492         * commandtags.h:
10493         * lyxfunc.C: remove message-push/pop
10494
10495         * lyxserver.C:
10496         * lyxfunc.h:
10497         * lyxfunc.C: rationalise some code by removing verboseDispatch
10498           in favour of a bool argument to dispatch()
10499
10500 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10501
10502         * lyx_main.C (init): make sure to read symlinks as absolute paths
10503
10504 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * lyxfunc.h:
10507         * lyxfunc.C: no need for commandshortcut to be a member
10508
10509 2002-07-15  André Pönitz <poenitz@gmx.net>
10510
10511         * converter.C: add support for $$s (scripts from lib/scripts dir)
10512         * lyx_main.C: white space
10513
10514 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * bufferlist.C:
10517         * lyxrc.h:
10518         * lyxrc.C: remove second exit confirmation
10519
10520 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * BufferView.h:
10523         * BufferView.C:
10524         * BufferView2.C:
10525         * BufferView_pimpl.h:
10526         * BufferView_pimpl.C:
10527         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10528
10529 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * MenuBackend.C (expand): add numeric shortcuts to document menu
10532
10533         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10534
10535 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * lyxfont.C (setLyXFamily):
10538         (setLyXSeries):
10539         (setLyXShape):
10540         (setLyXSize):
10541         (setLyXMisc):
10542         (lyxRead):
10543         * debug.C (value):
10544         * buffer.C (asciiParagraph): use ascii_lowercase
10545
10546 2002-07-15  Mike Fabian  <mfabian@suse.de>
10547
10548         * lyxlex_pimpl.C (search_kw):
10549         * lyxlex.C (getLongString):
10550         * converter.h (operator<):
10551         * converter.C (operator<):
10552         * buffer.C (parseSingleLyXformat2Token):
10553         (asciiParagraph):
10554         * ToolbarDefaults.C (read):
10555         * MenuBackend.C (checkShortcuts):
10556         (read):
10557         * LColor.C (getFromGUIName):
10558         (getFromLyXName): use the compare_ascii_no_case instead of
10559         compare_no_case, because in turkish, 'i' is not the lowercase
10560         version of 'I', and thus turkish locale breaks parsing of tags.
10561
10562 2002-07-16  Angus Leeming  <leeming@lyx.org>
10563
10564         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10565         now takes a Buffer const & argument.
10566
10567 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * BufferView.C (resize): check there's a buffer to resize
10570
10571 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyxfunc.C: remove dead code
10574
10575         * lyxserver.h:
10576         * lyxserver.C: use lyx_guii::set_read_callback
10577
10578 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10579
10580         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10581         an inset in a RTL paragraph.
10582
10583 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * lyxfunc.C: repaint after a font size update
10586
10587 2002-07-15  André Pönitz <poenitz@gmx.net>
10588
10589         * lyxlength.C: inBP should be able to return negative values
10590
10591 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * lyxfunc.C: use lyx_gui::update_fonts()
10594
10595 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * lyxfunc.C: use lyx_gui::update_color()
10598
10599 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * bufferlist.C:
10602         * lyxfunc.h:
10603         * lyxfunc.C:
10604         * lyxrc.h:
10605         * lyxrc.C: remove file->new asks for name option, and let
10606           buffer-new take an argument
10607
10608 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * BufferView_pimpl.C: remove unneeded extra repaint()
10611
10612 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * LyXAction.C: allow command-sequence with NoBuffer
10615
10616         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10617
10618 2002-07-10  Angus Leeming  <leeming@lyx.org>
10619
10620         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10621
10622 2002-07-09  Angus Leeming  <leeming@lyx.org>
10623
10624         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10625
10626 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * lengthcommon.h: whitespace
10629
10630         * lyxfunc.C: update scrollbar after goto paragraph
10631
10632         * lyxtext.h: factor out page break drawing, and fix it so
10633           page break/added space paints as selected nicely
10634
10635 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * BufferView_pimpl.C: add FIXMEs, clean up a little
10638
10639 2002-07-09  André Pönitz <poenitz@gmx.net>
10640
10641         * lyxfont.[Ch]: support for wasy symbols
10642
10643 2002-07-08  André Pönitz <poenitz@gmx.net>
10644
10645         * BufferView_pimpl.C: apply John's patch for #93.
10646
10647 2002-07-05  Angus Leeming  <leeming@lyx.org>
10648
10649         * BufferView_pimpl.C (buffer): generate previews if desired.
10650
10651         * LColor.h: add "preview" to the color enum.
10652
10653         * LColor.C (LColor): add a corresponding entry to the items array.
10654
10655         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10656         with this buffer.
10657
10658 2002-07-05  Angus Leeming  <leeming@lyx.org>
10659
10660         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10661         The body of the code is now in the method that is passed an ostream &
10662         rather than a file name.
10663         Pass an additional only_preamble parameter, useful for the forthcoming
10664         preview stuff.
10665
10666 2002-07-03  André Pönitz <poenitz@gmx.net>
10667
10668         * lyxfunc.C: simplify getStatus() a bit for math stuff
10669
10670 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10673
10674 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * text.C (changeRegionCase): do not change case of all the
10677         document when region ends at paragraph end (bug #461)
10678
10679 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * paragraph.C (startTeXParParams):
10682         (endTeXParParams): add \protect when necessary
10683
10684 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * BufferView_pimpl.C (workAreaExpose): remove warning
10687
10688 2002-06-27  Angus Leeming  <leeming@lyx.org>
10689
10690         * Makefile.am: add lyxlayout_ptr_fwd.h.
10691
10692 2002-06-26  André Pönitz <poenitz@gmx.net>
10693
10694         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10695
10696 2002-06-25  Angus Leeming  <leeming@lyx.org>
10697
10698         * lyxfunc.C (dispatch): Comment out the call to
10699         grfx::GCache::changeDisplay. The method no longer exists now that the
10700         pixmap generation part of the graphics loader has been moved into
10701         InsetGraphics.
10702
10703 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10704
10705         * text2.C: layout as layout
10706
10707         * text.C: layout as layout
10708
10709         * tabular.C (OldFormatRead): layout as layout
10710
10711         * paragraph_pimpl.C (TeXDeeper): layout as layout
10712         (realizeFont): layout as layout
10713
10714         * paragraph.C (writeFile): layout as layout
10715         (validate): layout as layout
10716         (getFont): layout as layout
10717         (getLabelFont): layout as layout
10718         (getLayoutFont): layout as layout
10719         (breakParagraph): layout as layout
10720         (stripLeadingSpaces): layout as layout
10721         (getEndLabel): layout as layout
10722         (getMaxDepthAfter): layout as layout
10723         (applyLayout): layout as layout
10724         (TeXOnePar): layout as layout
10725         (simpleTeXOnePar): layout as layout
10726         (TeXEnvironment): layout as layout
10727         (layout): layout as layout
10728         (layout): layout as layout
10729
10730         * lyxtextclass.C (compare_name): new functor to work with
10731         shared_ptr, layout as layout
10732         (Read): layout as layout
10733         (hasLayout): layout as layout
10734         (operator): layout as layout
10735         (delete_layout): layout as layout
10736         (defaultLayout): layout as layout
10737
10738         * lyxlayout_ptr_fwd.h: new file
10739
10740         * lyxlayout.C (Read): layout as layout
10741
10742         * lyx_cb.C (MenuInsertLabel): layout as layout
10743
10744         * bufferlist.C (newFile): layout as layout
10745
10746         * buffer.C (readLyXformat2): layout as layout
10747         (parseSingleLyXformat2Token): layout as layout
10748         (insertStringAsLines): layout as layout
10749         (asciiParagraph): layout as layout
10750         (latexParagraphs): layout as layout
10751         (makeLinuxDocFile): layout as layout
10752         (simpleLinuxDocOnePar): layout as layout
10753         (makeDocBookFile): layout as layout
10754         (simpleDocBookOnePar): layout as layout
10755         (getLists): layout as layout
10756
10757         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10758
10759         * CutAndPaste.C (cutSelection): layout as layout
10760         (pasteSelection): layout as layout
10761         (SwitchLayoutsBetweenClasses): layout as layout
10762
10763         * BufferView_pimpl.C (Dispatch): layout as layout
10764         (smartQuote): layout as layout
10765
10766         * BufferView2.C (unlockInset): layout as layout
10767
10768 2002-06-24  André Pönitz <poenitz@gmx.net>
10769
10770         * lyxfunc.C: fix #487
10771
10772 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * lyxrc.h:
10775         * lyxrc.C:
10776         * lyxfunc.C: remove display_shortcuts, show_banner
10777
10778 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * Buffer_pimpl.C: oops, update on resize
10781
10782 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * buffer.C:
10785         * converter.C:
10786         * exporter.C:
10787         * lyxfunc.C:
10788         * BufferView.h:
10789         * BufferView.C: use repaint()
10790
10791         * BufferView_pimpl.h:
10792         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10793           as it's a clearer description. Remove superfluous
10794           redraws.
10795
10796 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * text.C: fix bug 488. Not ideal, but getting
10799           getWord() to work properly for the insets that
10800           matter is more difficult ...
10801
10802 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * BufferView_pimpl.C:
10805         * LyXAction.C:
10806         * commandtags.h:
10807         * lyxfunc.C: remove the six million index lyxfuncs to just
10808           one, and DTRT (bug 458)
10809
10810 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10811
10812         * BufferView.h:
10813         * BufferView.C:
10814         * BufferView_pimpl.h:
10815         * BufferView_pimpl.C: clean up resize() stuff,
10816           and unnecessary updateScreen()s
10817
10818 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * BufferView.h:
10821         * BufferView.C:
10822         * BufferView_pimpl.h:
10823         * BufferView_pimpl.C:
10824         * lyxfind.h:
10825         * lyxfind.C:
10826         * minibuffer.C: remove focus management of workarea,
10827           not needed. Use screen's greyOut()
10828
10829 2002-06-17  Herbert Voss  <voss@lyx.org>
10830
10831         * converter.C: (convert) do not post a message, when converting
10832         fails, let the calling function decide what to do in this case
10833
10834 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * lyxfunc.C: tidy up a little
10837
10838 2002-06-16    <alstrup@diku.dk>
10839
10840         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10841         Got rid of FORMS_H_LOCATION include. Now we are
10842         GUII.
10843
10844 2002-06-15  LyX Development team  <lyx@rilke>
10845
10846         * buffer.[Ch] (sgmlOpenTag):
10847         (sgmlCloseTag): Added support for avoiding pernicious mixed
10848         content. Return number of lines written.
10849
10850         (makeLinuxDocFile):
10851         (makeDocBookFile): Fixed calls to sgml*Tag.
10852         Simple white space clean.
10853
10854         (simpleDocBookOnePar): Simple white space clean.
10855
10856         * tabular.[Ch] (docBook): Renamed to docbook and got another
10857         argument to related with the pernicious mixed content.
10858
10859         (docbookRow): Fixed calls for docbook inset method.
10860
10861 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10862
10863         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10864         so it's X11 independent.
10865
10866         * kb*.[Ch]: ditto.
10867
10868         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10869
10870 2002-06-15  Lyx Development team  <lyx@electronia>
10871
10872         * intl.h: Renamed getTrans to getTransManager.
10873
10874 2002-06-14  Angus Leeming  <leeming@lyx.org>
10875
10876         * Makefile.am: nuke forgotten stl_string_fwd.h.
10877
10878 2002-06-12  Angus Leeming  <leeming@lyx.org>
10879
10880         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10881
10882 2002-06-13  Angus Leeming  <leeming@lyx.org>
10883
10884         * LaTeX.C:
10885         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10886
10887 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10888
10889         * kbmap.C (getiso): add support for cyrillic and greek
10890
10891 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * BufferView.h:
10894         * BufferView.C:
10895         * BufferView_pimpl.h:
10896         * BufferView_pimpl.C: move bogus scrolling logic
10897           to xforms
10898
10899 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10900
10901         * lyxfunc.C:
10902         * BufferView_pimpl.C: view->resize() change
10903
10904 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * BufferView_pimpl.C: topCursorVisible
10907           prototype change
10908
10909 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * Makefile.am:
10912         * lyx_gui.h:
10913         * lyx_gui.C: move to frontends/
10914
10915         * main.C:
10916         * lyx_main.h:
10917         * lyx_main.C: changes from above
10918
10919 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * intl.C:
10922         * intl.h:
10923         * kbmap.C:
10924         * kbsequence.C:
10925         * lyx_cb.C:
10926         * lyx_main.C: minor tidy
10927
10928 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * BufferView_pimpl.h:
10931         * BufferView_pimpl.C:
10932         * BufferView.h:
10933         * BufferView.C: make painter() const,
10934           remove dead code
10935
10936         * BufferView2.C: use screen() accessor
10937
10938         * lyx_main.h:
10939         * lyx_main.C: some minor cleanup
10940
10941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * BufferView_pimpl.h:
10944         * BufferView_pimpl.C: remove enter/leaveView,
10945           use workHeight()
10946
10947 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * BufferView.h:
10950         * BufferView.C:
10951         * BufferView2.C:
10952         * BufferView_pimpl.h:
10953         * BufferView_pimpl.C: only construct screen once,
10954           rename
10955
10956         * lyxrc.C: remove pointless comment
10957
10958 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * BufferView.h:
10961         * BufferView.C: remove active() and belowMouse()
10962
10963         * BufferView_pimpl.h:
10964         * BufferView_pimpl.C: use workarea() not workarea_,
10965           and make it use a scoped_ptr instead
10966
10967 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * lyx_gui.C: add debug message on BadWindow
10970
10971 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10972
10973         * sp_spell.C: fdopen is not part of the C++ standard.
10974
10975         * paragraph.C (InsetIterator): use >= instead of ==
10976
10977 2002-06-07  Angus Leeming  <leeming@lyx.org>
10978
10979         Fixes needed to compile with Compaq cxx 6.5.
10980         * BufferView_pimpl.C:
10981         * DepTable.C:
10982         * buffer.C:
10983         * converter.C:
10984         * encoding.C:
10985         * lyx_gui.C:
10986         * lyx_main.C:
10987         * lyxtextclasslist.C:
10988         * minibuffer.C:
10989         * sp_spell.C:
10990         * tabular_funcs.C:
10991         * vc-backend.C:
10992         all c-library variables have been moved into namespace std. Wrap
10993         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10994
10995         * lyxlength.C:
10996         * tabular-old.C:
10997         * tabular.C:
10998         Add a using std::abs declaration.
10999
11000         * kbmap.h (modifier_pair):
11001         * paragraph.h (InsetTable, InsetList):
11002         * lyxfont.h (FontBits):
11003         type definition made public.
11004
11005         * bufferlist.C (emergencyWriteAll): the compiler complains that
11006         there is more than one possible lyx::class_fun template to choose from.
11007         I re-named the void specialisation as lyx::void_class_fun.
11008
11009         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11010
11011         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11012         the compiler is is unable to find tostr in write_attribute.
11013
11014 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * buffer.C (sgmlError): hide #warning
11017
11018 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * xtl/*: get rid of xtl, which is not in use anyway
11021
11022         * LyXAction.C (init):
11023         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11024         were unimplemented xtl experimentation
11025
11026 2002-06-04  André Pönitz <poenitz@gmx.net>
11027
11028         * lyxfunc.C: disable array operation on simple formulae
11029
11030 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * converter.C: constify a bit
11033
11034 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * lyx_gui.C: check xforms version correctly
11037
11038 2002-04-30  Herbert Voss  <voss@lyx.org>
11039
11040         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11041         "keep" option
11042
11043 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11046           attempt to register it with a VCS)
11047
11048 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * lyx_main.C (init): honor variables LYX_DIR_13x and
11051         LYX_USERDIR_13x
11052
11053 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * buffer.h:
11056         * buffer.C:
11057         * lyx_main.C: fix a crash on bad command line,
11058           and give a useful exit status on error
11059
11060         * lyxfunc.C (doImport): allow -i lyx to work
11061
11062 2002-03-30  André Pönitz <poenitz@gmx.net>
11063
11064         * lyxfunc.C: mathed font changes
11065
11066 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * LaTeX.C:
11069         * importer.h:
11070         * importer.C:
11071         * lyx_sty.h:
11072         * lyx_sty.C:
11073         * lyxlex.C:
11074         * lyxrow.h:
11075         * lyxtext.h:
11076         * paragraph.h:
11077         * paragraph.C:
11078         * texrow.h:
11079         * texrow.C:
11080         * text.C:
11081         * trans_mgr.h: srcdocs, and some minor cleanups
11082
11083 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11086         call getFont all the time)
11087
11088 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * switch from SigC signals to boost::signals
11091
11092 2002-05-29  André Pönitz <poenitz@gmx.net>
11093
11094         * paragraph_pimpl.C (getChar): don't call size() too often...
11095
11096 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * paragraph_pimpl.C (insertChar): do not try to update tables when
11099         appending (pos == size())
11100
11101         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11102         in order to reduce drastically the number of comparisons needed to
11103         parse a large document
11104
11105 2002-05-29  André Pönitz <poenitz@gmx.net>
11106
11107         * text.C:
11108         * text2.C:
11109         * lyxtextclass.C:
11110         * sp_pspell.h:
11111         * textclasslist.[Ch]:
11112         * sp_ispell.h: whitespace change
11113
11114 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11117         lyxaction directly now.
11118
11119 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * trans.C:
11122         * lyxfont.C:
11123         * lyxvc.C: remove unused headers
11124
11125 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * Makefile.am:
11128         * buffer.h:
11129         * undostack.h:
11130         * undostack.C:
11131         * undo_funcs.h:
11132         * undo_funcs.C: some cleanups. Use shared_ptr
11133           and a template for the undo stacks.
11134
11135 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11136
11137         * BufferView_pimpl.h:
11138         * BufferView_pimpl.C:
11139         * kbmap.h:
11140         * kbmap.C:
11141         * kbsequence.h:
11142         * kbsequence.C:
11143         * lyxfunc.h:
11144         * lyxfunc.C:
11145         * text2.C: use key_state/mouse_state
11146
11147 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11148
11149         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11150         and LSubstring
11151
11152         * chset.C: change include order
11153         (loadFile): use boost regex and get rid of LRegex and LSubstring
11154
11155         * Makefile.am (BOOST_LIBS): new variable
11156         (lyx_LDADD): use it
11157
11158         * LaTeX.C: change include order.
11159         (scanAuxFile): use boost regex and get rid of LRegex and
11160         LSubstring
11161         (deplog): ditto
11162
11163 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * ColorHandler.h:
11166         * ColorHandler.C:
11167         * FontInfo.h:
11168         * FontInfo.C: moved to frontends/xforms/
11169
11170         * FontLoader.h:
11171         * FontLoader.C: moved into frontends for GUIIzation
11172
11173         * Makefile.am:
11174         * lyx_gui.C:
11175         * lyxfont.C:
11176         * lyxfunc.C: changes from above
11177
11178 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * LColor.C: remove spurious X include
11181
11182         * BufferView_pimpl.C:
11183         * Makefile.am:
11184         * font.h:
11185         * font.C:
11186         * text.C:
11187         * text2.C: move font metrics to frontends/
11188
11189 2002-05-24  Juergen Vigna  <jug@sad.it>
11190
11191         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11192         setting the undo_cursor.
11193
11194         * ParagraphParameters.h: include local includes first.
11195
11196 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView_pimpl.C:
11199         * BufferView_pimpl.h:
11200         * Makefile.am:
11201         * WorkArea.h:
11202         * WorkArea.C:
11203         * screen.C: move WorkArea into frontends/
11204
11205         * lyxscreen.h:
11206         * screen.C:
11207         * text.C:
11208         * BufferView.C:
11209         * BufferView2.C: move LyXScreen into frontends/
11210
11211         * lyxlookup.h:
11212         * lyxlookup.C:
11213         * lyx_gui.C: move lyxlookup into frontends/xforms/
11214
11215 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * BufferView2.C:
11218         * BufferView_pimpl.C:
11219         * FontLoader.C:
11220         * LyXView.h:
11221         * LyXView.C:
11222         * Makefile.am:
11223         * WorkArea.C:
11224         * XFormsView.h:
11225         * XFormsView.C:
11226         * buffer.C:
11227         * bufferlist.C:
11228         * bufferview_funcs.C:
11229         * converter.C:
11230         * importer.C:
11231         * lyx_cb.C:
11232         * lyx_gui.C:
11233         * lyx_main.C:
11234         * lyx_find.C:
11235         * lyxfunc.C:
11236         * lyxvc.C:
11237         * minibuffer.C:
11238         * text.C:
11239         * text2.C:
11240         * trans.C:
11241         * vc-backend.C: move LyX/XFormsView into frontends/
11242
11243 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * Makefile.am:
11246         * PainterBase.C:
11247         * PainterBase.h:
11248         * Painter.C:
11249         * Painter.h:
11250         * WorkArea.C:
11251         * WorkArea.h:
11252         * screen.C:
11253         * tabular.C:
11254         * text.C:
11255         * text2.C: move Painter to frontends/
11256
11257 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * buffer.C: comment out some some code that depend upon lyx_format
11260         < 220
11261
11262         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11263         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11264
11265         * buffer.h (NO_COMPABILITY): turn off compability
11266
11267         * ColorHandler.C: include scoped_array.hpp
11268
11269         * font.C: Use more specific smart_ptr header.
11270         * Painter.C: ditto
11271         * gettext.C: ditto
11272         * ShareContainer.h: ditto
11273         * lyx_main.h: ditto
11274         * kbmap.h: ditto
11275         * FontInfo.h: ditto
11276         * BufferView_pimpl.h: ditto
11277         * ColorHandler.h: ditto
11278
11279         * kbmap.C (defkey): change call to shared_ptr::reset
11280
11281 2002-05-21  Juergen Vigna  <jug@sad.it>
11282
11283         * buffer.C (insertErtContents): fix to insert ert asis if it is
11284         non empty. Skip it completely if it contains only whitespaces.
11285
11286 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * BufferView_pimpl.C:
11289         * BufferView2.C: clear selection on paste (bug 393)
11290
11291 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * DepTable.C: include ctime
11294
11295 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11296
11297         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11298
11299 2002-05-14  Juergen Vigna  <jug@sad.it>
11300
11301         * text.C (breakParagraph): fixed function to honor the keepempty
11302         layout in the right maner and also to permit the right breaking
11303         algorithm on empty or non empyt keepempty paragraphs.
11304
11305         * paragraph.C (breakParagraph): we have to check also if the par
11306         is really empty (!size()) for isempty otherwise we do the wrong
11307         paragraph break.
11308
11309 2002-05-10  Juergen Vigna  <jug@sad.it>
11310
11311         * buffer.[Ch] : The following are only changes to the ert
11312         compatibility read reading old LaTeX layout and font stuff and
11313         convert it to ERTInsets.
11314
11315         * buffer.h: added isErtInset().
11316
11317         * buffer.C (struct ErtComp): add a fromlayout bool to check
11318         if we're inside a LaTeX layout.
11319         (isErtInset): new helper function.
11320         (insertErtContents): look for other ert insets before this one
11321         and insert the contents there, so that we don't have subsequent
11322         ERT insets with nothing between them. This way we create only one
11323         inset with multiple paragraphs. Also check if we don't insert only
11324         spaces ' ' as they are ignored anyway afterwards in the .tex file
11325         so if we have only spaces we will ignore this latex part in the
11326         new file.
11327         (parseSingleLyXformat2Token \\layout): better compatibility when
11328         reading layout-latex stuff.
11329         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11330         language tag.
11331         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11332         stuff after reading the inset only get the information back from
11333         the stack.
11334
11335 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11338
11339         * LaTeXFeatures.C (getBabelOptions): New method.
11340
11341 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * BufferView_pimpl.C (Dispatch): work around missing argument for
11344         'layout'
11345
11346 2002-05-08  Juergen Vigna  <jug@sad.it>
11347
11348         * text.C (leftMargin): handle paragraph leftindent.
11349
11350         * paragraph.C (writeFile): write the new \\leftindent tag.
11351         (validate): handle leftindent code.
11352         (TeXEnvironment): handle paragraphleftindent code again.
11353
11354         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11355
11356         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11357         for paragrap_extra indent code and new token \\leftindent.
11358         (latexParagraphs): handle the leftindent as environment.
11359
11360         * ParameterStruct.h: added leftindent support.
11361
11362         * ParagraphParameters.C (leftIndent): added support functions for
11363         the paragraph left indent.
11364
11365         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11366         more appropriate.
11367
11368 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11369
11370         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11371         inside insetERT.
11372
11373         * text.C (computeBidiTables): No bidi in insetERT.
11374
11375         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11376         in RTL documents.
11377
11378 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11379
11380         * version.C.in: pre 5
11381
11382 2002-05-02  José Matos  <jamatos@fep.up.pt>
11383         * buffer.C (makeDocBookFile): white space changes, add newline to
11384         command styles.
11385         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11386
11387         * tabular.C (docBook): fix typo.
11388
11389 2002-05-03  Juergen Vigna  <jug@sad.it>
11390
11391         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11392         change in LyXText as we can not be sure it was not freed.
11393         (drawOneRow): remove unused code.
11394
11395         * text.C (drawInset): redo the calculation of the need_break_row as
11396         it could have a row which was already freed.
11397         (draw): look at the return value of drawInset and return false if
11398         it also returned false.
11399         (paintRowText): look at the return value of draw and return false if
11400         it also returned false.
11401
11402         * lyxtext.h: added bool return type to drawInset() and draw() so that
11403         if we have a change in the row so that the rowbreak has to be redone
11404         we abort drawing as it will be called again.
11405
11406 2002-05-02  Juergen Vigna  <jug@sad.it>
11407
11408         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11409         a change in the maintext also if we're inside an inset.
11410         (Dispatch): set the cursor again after a break line and after the
11411         screen has been updated as it could be we're in a different row.
11412
11413         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11414         to set the cursor behind the pargraph with > size().
11415         (setCursor): check also for the same paragraph when checking where
11416         to put the cursor if we have a NFR inset.
11417
11418         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11419         parts of layout read further up as it still was in the wrong
11420         position.
11421
11422 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11423
11424         * screen.C (drawFromTo): change sine fullRebreak always return
11425         true.
11426
11427         * buffer.C (parseSingleLyXformat2Token): reindent some
11428
11429         * BufferView_pimpl.C (update): change since fullRebreak always
11430         return true.
11431         (Dispatch): git rid of the last hardcoded "Standard"s.
11432
11433 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11434
11435         * text2.[Ch] (fullRebreak): make it return void now that we always
11436         returned true.
11437
11438 2002-04-30  Juergen Vigna  <jug@sad.it>
11439
11440         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11441         ert compatibility check for "latex" layout.
11442
11443 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11444
11445         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11446         minipages: use col% instead of p%, and also use the current font.
11447         (makeLaTeXFile): Fix use babel condition.
11448         (parseSingleLyXformat2Token): Correct font when reading old floats.
11449
11450 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11451
11452         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11453         inserting list of floats.
11454
11455 2002-04-25  Herbert Voss  <voss@lyx.org>
11456
11457         * MenuBackend.C (expand): don't add the graphics extensions to the
11458         export menu
11459
11460 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11461
11462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11463         non-existing layout, do not complain if it was the default layout
11464         of the original class (bug #342)
11465
11466 2002-04-24  Juergen Vigna  <jug@sad.it>
11467
11468         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11469         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11470
11471 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11472
11473         * buffer.C (getBibkeyList): If using \bibliography, return the
11474         option field with the reference itself. Enables us to provide natbib
11475         support when using \bibliography.
11476
11477 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11478
11479         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11480
11481         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11482         natbib is provided by the LaTeX class.
11483
11484 2002-04-23  Juergen Vigna  <jug@sad.it>
11485
11486         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11487         Wakeup functions.
11488
11489         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11490
11491 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11492
11493         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11494
11495         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11496         ensuremath around textordmasculine, textordfeminine and
11497         textdegree.
11498
11499 2002-04-19  Juergen Vigna  <jug@sad.it>
11500
11501         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11502         reinitializing the buffer otherwise row-dimensions may be wrong.
11503         (update): reset also the selection cursors if they do exits otherwise
11504         their x/y positions may be wrong.
11505
11506         * text2.C (cursorDown): don't enter the inset if we came from a row
11507         above and are one row over the inset.
11508
11509         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11510         really leaving an inset.
11511
11512 2002-04-18  Juergen Vigna  <jug@sad.it>
11513
11514         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11515         of the selected paragraph does not have the selected layout also if
11516         the last one had!
11517
11518         * text2.C (setLayout): fixed bug which did not change last selected
11519         paragraph.
11520
11521         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11522         changed the read and substituted \\end_float with \\end_inset!
11523
11524         * BufferView_pimpl.C (cursorPrevious):
11525         (cursorNext): fixed to make it work with rows heigher than the work
11526         area without moving the cursor only the draw of the row.
11527         (workAreaMotionNotify): fix jumping over high rows.
11528
11529 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11532         Ressler.
11533
11534 2002-04-16  Juergen Vigna  <jug@sad.it>
11535
11536         * text2.C (setCursor): set also the irow().
11537         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11538         (cursorUp):
11539         (cursorDown): support for locking an inset if the x_fix value goes
11540         inside it. That way I can transverse insets too with cursor up/down.
11541
11542         * lyxrow.h: added irow helper function same as other (i) functions.
11543
11544         * BufferView_pimpl.C (cursorPrevious):
11545         (cursorNext): fixed for insets!
11546
11547 2002-04-15  Juergen Vigna  <jug@sad.it>
11548
11549         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11550         position otherwise it is wrong in some cases.
11551
11552         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11553         inside the inset before the call.
11554
11555 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * buffer.[Ch] (getBibkeyList): make it const.
11558
11559 2002-04-12  Juergen Vigna  <jug@sad.it>
11560
11561         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11562
11563         * text2.C (getCursorX): new helper function
11564         (setCursor): compute also ix_
11565         (setCursorFromCoordinates): set also ix.
11566
11567         * lyxcursor.h: added ix_ and helper functions.
11568
11569         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11570
11571         * buffer.C (insertStringAsLines): dont break paragraph if the this
11572         paragraph is inside an inset which does not permit it!
11573
11574         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11575         also with no chars on this paragraph.
11576         (paintRowText): only paint stuff if it's inside the workarea!
11577
11578         * paragraph.C (breakParagraph): honor keepempty flag and break the
11579         paragraph always below not above.
11580
11581         * BufferView2.C (unlockInset): update the paragraph layout on inset
11582         unlock as we changed paragraph in such a case.
11583
11584         * lyxfind.C (LyXFind): clear the former selection if not found!
11585
11586         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11587         again called in insertChar().
11588
11589         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11590         an inset which uses the whole row!
11591         (rightMargin): ditto.
11592         (insertChar): force a rebreak if we inserted an inset!
11593
11594 2002-03-28  Herbert Voss  <voss@lyx.org>
11595
11596         * lyxlength.[Ch]: add inBP() to get the right PS-point
11597         units (BigPoint). With inPixels we have rounding errors
11598
11599 2002-04-11  Juergen Vigna  <jug@sad.it>
11600
11601         * text2.C (setCursorFromCoordinates): set iy to the right value.
11602         (setCursor): add check if row->previous exists!
11603
11604         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11605         an old float_type as this was the case in the old code!
11606
11607         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11608
11609         * BufferView2.C (showLockedInsetCursor): use iy
11610         (fitLockedInsetCursor): ditto
11611
11612         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11613         locked insets as there we have the right value now.
11614
11615         * lyxcursor.C: added iy_ variable and iy functions to set to the
11616         baseline of cursor-y of the locked inset.
11617
11618         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11619         (setCursor): fixed for insets which need a full row.
11620
11621         * text.C (rowLastPrintable): don't ignore the last space when before
11622         an inset which needs a full row.
11623         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11624         as last character of a row when before a inset which needs a full row.
11625
11626 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * version.C.in: update date
11629
11630         * text2.C (fullRebreak): try to always return true and see what
11631         happens...
11632
11633 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * MenuBackend.C (expand): use Floating::listName
11636
11637         * FloatList.C (FloatList): add listName argument to the built-in
11638         floats
11639
11640         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11641         text associated with the float.
11642
11643 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11644
11645         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11646
11647 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * ShareContainer.h: add a couple of missing typenames.
11650
11651 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11652
11653         * lyxrc.C (getDescription): use _() correctly rather than N_().
11654
11655 2002-03-28  Herbert Voss  <voss@lyx.org>
11656
11657         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11658         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11659
11660 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11663         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11664
11665 2002-03-29  Juergen Vigna  <jug@sad.it>
11666
11667         * lyxfunc.C (dispatch): add a missing fitCursor call.
11668
11669         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11670         it was scrolled by a cursor move, so return the bool status.
11671
11672         * BufferView.C (fitCursor): return the bool flag also to the outside
11673         world as this is needed.
11674
11675         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11676
11677         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11678         call the edit() as it is not needed (and wrong) IMO.
11679         (workAreaButtonPress): set the screen_first variable before evt.
11680         unlock the inset as this may change screen_first and then we have
11681         a wrong y position for the click!
11682
11683 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * MenuBackend.C (expand): another translation that I missed
11686
11687 2002-03-28  Juergen Vigna  <jug@sad.it>
11688
11689         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11690
11691         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11692
11693 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11694
11695         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11696
11697         * MenuBackend.C (expand): fix export/view/update when there is no
11698         document open.
11699
11700 2002-03-27  Herbert Voss  <voss@lyx.org>
11701
11702         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11703         and text%
11704
11705 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11706
11707         * bufferview_funcs.C (currentState): only show paragraph number
11708         for is DEVEL_VERSION is set.
11709
11710         * lyxfunc.C (dispatch): put warning in INFO channel
11711
11712         * MenuBackend.C (expand): translate the name of floats
11713
11714         * FloatList.C (FloatList): mark the float names for translation
11715
11716         * converter.C (convert): use LibScriptSearch
11717
11718 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11719
11720         * MenuBackend.C (defaults): fix default menu (we might as well get
11721         rid of it...)
11722
11723 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11726         directory.
11727
11728 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11729
11730         * lyxvc.C: reorder includes.
11731
11732 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11735           properly
11736
11737 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * CutAndPaste.C: change layouts earlier on paste
11740           to avoid crashing when calling getFont()
11741
11742 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11743
11744         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11745         irritating #error.
11746
11747 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * WorkArea.C: remove 'Pending' debug message.
11750
11751         * most files: ws cleanup
11752
11753         * buffer.[Ch]: ws changes
11754
11755         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11756
11757 2002-03-21  Juergen Vigna  <jug@sad.it>
11758
11759         * tabular.C (SetMultiColumn): collapse also the contents of the
11760         cells and set the last border right. Added a Buffer const * param.
11761
11762 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11765         linking or not.
11766
11767 2002-03-19  Juergen Vigna  <jug@sad.it>
11768
11769         * text2.C (clearSelection): reset also xsel_cache.
11770
11771         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11772         where it needs to be called (John tells us to do so too :)
11773         (selectionLost): reset sel_cache.
11774
11775         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11776
11777 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * text2.C (setCursorIntern): put debuging code in INSETS channel
11780
11781 2002-03-19  André Pönitz <poenitz@gmx.net>
11782
11783         * lyxfunc.C: tiny whitespace change
11784
11785 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * ToolbarDefaults.C (init):
11788         * LyXAction.C (init):
11789         * commandtags.h:
11790         * BufferView_pimpl.C (Dispatch):
11791         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11792
11793 2002-03-19  Allan Rae  <rae@lyx.org>
11794
11795         * exporter.C (Export): removeAutoInsets before doing anything else.
11796         While I've just introduced a dependency on BufferView this really is
11797         the best place to clean the buffer otherwise you need to cleanup in
11798         a dozen places before calling export or cleanup in a dozen functions
11799         that export calls.
11800
11801         * converter.C (runLaTeX):
11802         (scanLog): Better handling of removeAutoInsets and screen updates.
11803
11804         * lyxfunc.C (dispatch): small whitespace changes
11805
11806 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * WorkArea.C (C_WorkAreaEvent): return a value.
11809         (event_cb): return 1 if we handled the event, 0 otherwise.
11810
11811         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11812
11813 2002-03-18  Juergen Vigna  <jug@sad.it>
11814
11815         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11816         (GetAdditionalWidth): ditto.
11817         (RightLine): ditto.
11818         (LeftLine): ditto.
11819
11820         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11821         inset if we're there actually (probably not used right now but this
11822         is the direction to go for unifying code).
11823         (paste): disable code to clear the selection.
11824
11825         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11826         inside an InsetText and move the check further up as it is in the
11827         wrong place.
11828
11829         * text2.C (pasteSelection): set a selection over the pasted text.
11830
11831 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11832
11833         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11834         and libgraphics to build on Cygwin.
11835
11836 2002-03-15  Juergen Vigna  <jug@sad.it>
11837
11838         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11839         inserting an Inset into the paragraph. I know this is not the best
11840         fix but we already use current_view in CutAndPaste so we will remove
11841         all of it's using at the same time.
11842
11843         * buffer.C (sgmlError): deactivated function till it is rewritten in
11844         the right mode, now it can create problems.
11845
11846         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11847         before accessing it.
11848
11849 2002-03-14  Juergen Vigna  <jug@sad.it>
11850
11851         * undo_funcs.C (textHandleUndo): do the right thing when updating
11852         the inset after the undo/redo.
11853
11854         * text2.C (setCursor): just some testcode for #44 not ready yet.
11855
11856         * undo_funcs.C (textHandleUndo): set the next() and previous()
11857         pointers of the paragraph to 0 before deleting otherwise we have
11858         problems with the Paragraph::[destructor].
11859
11860         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11861         on a paragraph insertion.
11862
11863 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * buffer.C (asciiParagraph): use += operator for char append to
11866         string.
11867
11868         * paragraph.C (getFontSettings): compare >= not just >
11869         (highestFontInRange): ditto
11870         (setFont): ditto
11871
11872 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * paragraph.C: change several algorithm to be more appripriate for
11875         the problem domain. This is lookip in FontList and in the InsetList.
11876
11877 2002-03-13  André Pönitz <poenitz@gmx.net>
11878
11879         * commandtags.h:
11880         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11881
11882 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * commandtags.h:
11885         * LyXAction.C:
11886         * lyxfunc.C:
11887         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11888
11889 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * Painter.C (display): anon helper function, adjust code for this
11892         change.
11893         (pixmap): remove function.
11894
11895         * Painter.h: remove private display variable.
11896
11897         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11898
11899 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * WorkArea.[Ch]: remove figinset_canvas cruft.
11902
11903 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * lyxtextclass.C (operator): add one item cache optimization.
11906
11907         * bufferlist.h: doxy changes
11908
11909         * bufferlist.C: ws changes
11910
11911         * DepTable.[Ch] (ext_exist): place const in the right spot.
11912
11913         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11914         call resizeInsets.
11915         (workAreaExpose): call resizeInsets when the with BufferView changes.
11916         (Dispatch): adjust for protectedBlank removal
11917         (specialChar): call updateInset if the insert went ok.
11918
11919         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11920         specialChar instead.
11921
11922         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11923
11924         * BufferView.h: doxy change
11925
11926         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11927
11928         * lyxtextclass.C (operator[]): remove non-const version
11929         (defaultLayout): remove non-const version
11930
11931 2002-03-12  Juergen Vigna  <jug@sad.it>
11932
11933         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11934         did resize the LyXText too.
11935
11936         * buffer.C (readLyXformat2): set layout information on newly allocated
11937         paragraphs.
11938
11939         * tabular.C (OldFormatRead): set layout information on the paragraph.
11940
11941 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11942
11943         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11944
11945 2002-03-11  Juergen Vigna  <jug@sad.it>
11946
11947         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11948         plainly wrong.
11949         (resizeCurrentBuffer): force also the insets to resize themselfes.
11950         (moveCursorUpdate): fixed up for InsetText.
11951
11952 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11953
11954         * commandtags.h:
11955         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11956         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11957         value of Dialogs::tooltipsEnabled().
11958         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11959
11960 2002-03-08  Juergen Vigna  <jug@sad.it>
11961
11962         * BufferView_pimpl.C (updateInset): update inset inside inset also
11963         if it isn't inside theLockingInset().
11964
11965 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * buffer.C (asciiParagraph): redo some of the word and line length
11968         handling.
11969         (getLists): look for Caption instead of caption.
11970
11971 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * buffer.C (Buffer): initialize niceFile to true
11974         (makeLaTeXFile):
11975         (makeLinuxDocFile):
11976         (makeDocBookFile): make sure niceFile is true on exit
11977
11978 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11981
11982 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11983
11984         * LyXSendto.C: remove.
11985         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11986         * lyx_gui.C: remove now-redundant comment.
11987         * ColorHandler.h: remove forward declaration of class WorkArea.
11988         * lyxfunc.C: remove #include "WorkArea.h".
11989
11990 2002-03-07  Juergen Vigna  <jug@sad.it>
11991
11992         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11993         got moved away with the DEPM and also set the inset_owner always
11994         right which before could have been omitted.
11995
11996 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11999         wanted layout is not found.
12000
12001 2002-03-07  Juergen Vigna  <jug@sad.it>
12002
12003         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12004
12005 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * paragraph.C (breakParagraph): use default layout not layout of
12008         prev paragraph.
12009         (Paragraph): clear ParagraphParameters.
12010
12011 2002-03-06  Juergen Vigna  <jug@sad.it>
12012
12013         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12014         otherwise it would not be a valid lenght. Fixed a special case in
12015         the minipage compatibility read where we end the document with a
12016         minipage.
12017
12018         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12019         was set as it could be 0 for InsetTexts first entry.
12020
12021 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * paragraph.C (writeFile): if layout is empty write out
12024         defaultLayoutName().
12025
12026         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12027         file without named layout we set layout to defaultLayoutName().
12028
12029 2002-03-06  Juergen Vigna  <jug@sad.it>
12030
12031         * CutAndPaste.C (copySelection): set layout for new paragraph.
12032
12033         * text.C (prepareToPrint): leave ERT inset left aligned
12034         (leftMargin): don't indent paragraphs inside ERT insets
12035
12036 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * paragraph.C (breakParagraph): dont call clear do the work manually
12039
12040         * paragraph.[Ch] (clear): remove function
12041
12042 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12043
12044         * paragraph.C (Paragraph): dont call clear, the work has already
12045         been done.
12046
12047         * lyxtextclass.C (operator): assert if n is empty
12048
12049         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12050         work manually instead.
12051
12052 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * BufferView_pimpl.C: protect selectionLost against text == 0
12055
12056 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * text.C (breakParagraph): fix a setting layout to '0' problem.
12059
12060 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12061
12062         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12063         final location of file, for the included files, and graphics.
12064
12065 2002-03-05  Juergen Vigna  <jug@sad.it>
12066
12067         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12068
12069 2002-03-04  Juergen Vigna  <jug@sad.it>
12070
12071         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12072
12073         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12074         last column of multicolumn cells.
12075         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12076
12077 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12078
12079         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12080         file if it doesn't go to a temporary file.
12081
12082         * buffer.C (sgmlOpenTag):
12083         (sgmlCloseTag):  remove extra newline insertion.
12084
12085 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * text.C (getRowNearY): comment out debug msg
12088
12089 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * text2.C: first -> first_y
12092
12093         * text.C (getRowNearY): add some attemts at a possible
12094         optimization, not working.
12095
12096         * tabular.[Ch]: add BufferParams to several function so that newly
12097         created paragraph can be initialized to he default layotu for the
12098         buffers textclass.
12099
12100         * tabular-old.C (ReadOld): add buf->params to call of Init
12101
12102         * screen.C: rename text->first to text->first_y
12103
12104         * paragraph.C (breakParagraph): always set layout in the broken
12105         paragraph
12106
12107         * lyxtextclass.C (Read): remove lowercase
12108         (hasLayout): ditto
12109         (operator): ditto
12110         (delete_layout): ditto
12111
12112         * lyxtext.h: rename first -> first_y
12113
12114         * lyxlayout.C (Read): remove lowercase
12115         (name): ditto
12116         (setName): ditto
12117         (obsoleted_by): ditto
12118
12119         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12120
12121         * buffer.C (insertErtContents): add params are to InsetERT
12122         (parseSingleLyXformat2Token): add code to check if a paragraphs
12123         layout really exist.
12124         (parseSingleLyXformat2Token): add params to several inset
12125         constructors
12126         (asciiParagraph): remove lowercase, do the layout comparisons with
12127         no_case
12128
12129         * BufferView_pimpl.C (cursorNext): first -> first_y
12130         (resizeCurrentBuffer): first -> first_y
12131         (updateScrollbar): first -> first_y
12132         (scrollCB): first -> first_y
12133         (workAreaMotionNotify): first -> first_y
12134         (workAreaButtonPress): first -> first_y
12135         (checkInsetHit): first -> first_y
12136         (cursorPrevious): first -> first_y
12137         (cursorNext): first -> first_y
12138         (Dispatch): add buffer_->params to severl inset contructors
12139
12140 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * lyxlayout.C (Read): remove some debug info that I forgot.
12143
12144         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12145         clean up the code slightly.
12146         (makeLinuxDocFile): ditto
12147         (makeDocBookFile): ditto
12148
12149         * text2.C: layout as string
12150
12151         * text.C: layout as string
12152
12153         * paragraph_pimpl.C: layout as string
12154
12155         * paragraph.[Ch]: layout as string
12156
12157         * lyxtextclasslist.[Ch]: layout as string
12158
12159         * lyxtextclass.[Ch]: layout as string
12160
12161         * lyxtext.h: layout as string
12162
12163         * lyxlayout.[Ch]: layout as string
12164
12165         * lyx_cb.C: layout as string
12166
12167         * bufferview_funcs.C: layout as string
12168
12169         * bufferparams.C: layout as string
12170
12171         * buffer.C: layout as string
12172
12173         * LyXView.[Ch]: layout as string
12174
12175         * LaTeXFeatures.[Ch]: layout as string
12176
12177         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12178
12179         * BufferView_pimpl.C: change current_layout to string, remove
12180         lyx::layout_type.
12181         (Dispatch):
12182         (smartQuote):
12183         (insertInset):
12184         (workAreaButtonRelease): layout as string
12185
12186         * BufferView2.C (unlockInset): adjust
12187
12188         * vspace.C (asLatexCommand): use an explict temp variable.
12189
12190 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * Makefile.am: use FRONTEND_*
12193
12194 2002-03-01  Juergen Vigna  <jug@sad.it>
12195
12196         * tabular.C (SetWidthOfMulticolCell): changed to something better
12197         I hope but still work in progress.
12198         (recalculateMulticolumnsOfColumn): renamed function from
12199         recalculateMulticolCells as it is more appropriate now.
12200         (SetWidthOfCell): calculate multicols better.
12201
12202 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12205
12206         * lyxfunc.C (processKeySym): print sequence also if it is
12207         `deleted' (complete)
12208
12209         * kbsequence.C (print): print sequence even if it is deleted
12210         (complete would be a better word, actually).
12211
12212         * lyxfunc.C (dispatch): print complete options after a prefix key
12213
12214         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12215
12216 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12217
12218         * text2.C (setCharFont): eliminate setCharFont code duplication.
12219
12220 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12221
12222         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12223         LFUN_TABULAR_FEATURE (bug #177)
12224
12225 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         * Makefile.am: remove figure.h
12228
12229 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12230
12231         * Bufferview_pimpl.C:
12232         * CutAndPasteC:
12233         * LaTeX.C:
12234         * LyXSendto.C:
12235         * buffer.C:
12236         * bufferlist.C:
12237         * converter.C:
12238         * language.C:
12239         * lyxfunc.C:
12240         * lyxvc.C:
12241         * paragraph.C:
12242         * text.C:
12243         * text2.C: remove #include "lyx_gui_misc.h".
12244
12245         * LaTeX.C: added #include <cstdio>
12246
12247 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12250         that the paragraph following this one can have.
12251
12252         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12253
12254         * vspace.C (asLatexCommand): fix bogus gcc warning
12255
12256         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12257
12258 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12259
12260         * text2.C (setLayout): get rid of redundant code
12261
12262 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12263
12264         * text2.C (incDepth): make sure depth cannot be increased beyond
12265         reasonable values.
12266
12267 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12270         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12271
12272         * PainterBase.h (image):
12273         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12274         a LyXImage const *.
12275
12276 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * BufferView.C:
12279         * BufferView.h:
12280         * BufferView_pimpl.C:
12281         * BufferView_pimpl.h:
12282         * LaTeXFeatures.C:
12283         * LyXAction.C:
12284         * LyXView.C:
12285         * Makefile.am:
12286         * UpdateList.h:
12287         * UpdateList.C:
12288         * buffer.C:
12289         * figure.h:
12290         * figureForm.C:
12291         * figureForm.h:
12292         * figure_form.C:
12293         * figure_form.h:
12294         * lyx_cb.C:
12295         * lyx_gui.C:
12296         * lyx_gui_misc.C:
12297         * lyxfunc.C:
12298         * sp_base.h:
12299         * sp_ispell.h:
12300         * sp_pspell.h:
12301         * sp_spell.C: remove fig inset, and the crap house of
12302           cards that follows it
12303
12304 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * Makefile.am:
12307         * lyxserver.C:
12308         * os2_defines.h:
12309         * os2_errortable.h:
12310         * nt_defines.h: move .h into support/
12311
12312         * vms_defines.h: remove
12313
12314         * WorkArea.C: add space in debug output
12315
12316         * text2.C:
12317         * paragraph.C:
12318         * buffer.C: add WITH_WARNINGS
12319
12320         * vc-backend.h:
12321         * vc-backend.C:
12322         * bufferlist.C: s/retrive/retrieve/, add docs
12323
12324         * vspace.h:
12325         * vspace.C:
12326         * kbmap.h:
12327         * lyxlength.h:
12328         * lyxgluelength.h:
12329         * length_common.h:
12330         * chset.h:
12331         * chset.C: add docs
12332
12333         * lyxgui.C: add ID to X error handler
12334
12335         * lyxtestclass.c: fix typo
12336
12337 2002-02-26  Juergen Vigna  <jug@sad.it>
12338
12339         * tabular_funcs.C (write_attribute): changed so that some default
12340         attributes are not written at all.
12341         (getTokenValue): set default values before trying to read the
12342         value so we have the return value always set as default if we don't
12343         find the token we search for.
12344
12345         * tabular.C (Write): write bools as bools not as strings!
12346
12347 2002-02-22  Juergen Vigna  <jug@sad.it>
12348
12349         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12350         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12351
12352         * text.C (leftMargin): don't add an indent for paragraphs inside
12353         tabular cells (fix #208).
12354
12355 2002-02-21  José Matos  <jamatos@fep.up.pt>
12356
12357         * tabular.C (docBook): fixed support for long tables.
12358
12359 2002-02-20  Juergen Vigna  <jug@sad.it>
12360
12361         * text2.C (getFont): get the drawing font of the Inset if this
12362         paragraph is inside an inset (only important for InsetERT for now).
12363
12364         * buffer.C (insertErtContents): use new lanugage params in ERT
12365         constructor.
12366
12367         * CutAndPaste.C: commenting out seemingly uneeded code.
12368
12369 2002-02-19  Allan Rae  <rae@lyx.org>
12370
12371         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12372         Iterators might be simple to use but they also get invalidated.
12373         (removeAutoInsets): renamed saved cursor tracking variables and added
12374         some comments to clarify what everything does.
12375
12376 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12377
12378         * Chktex.C:
12379         * LaTeX.C:
12380         * LyXSendto.C:
12381         * converter.C:
12382         * lyx_cb.C:
12383         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12384         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12385
12386         * lyxfunc.C:
12387         * vc-backend.h: remove #include "support/syscall.h"
12388
12389         * LaTeX.C:
12390         * LyXSendto.C:
12391         * converter.C: rearrange #includes in Lars' approved fashion.
12392
12393         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12394         forward declare class Timeout in the header file.
12395
12396         * XFormsView.C: changes due to the above.
12397
12398         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12399         similar to LyXView.
12400
12401         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12402         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12403
12404 2002-02-18  José Matos  <jamatos@fep.up.pt>
12405
12406         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12407         insets contents.
12408
12409 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12410
12411         * a lot of small ws changes
12412         * add a lot of using std::XXX
12413         * use std construcs some places where approp.
12414         * use some exisint stuff from lyxfunctional where approp.
12415         * Make file changes to use partial linking (lets test this now...)
12416
12417 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * Chktex.C:
12420         * buffer.C:
12421         remove #include "support/syscontr.h" as it's redundant. Always has been.
12422
12423         * Chktex.C:
12424         * LaTeX.C:
12425         * LyXSendto.C:
12426         * converter.C:
12427         * lyx_cb.C:
12428         * vc-backend.C:
12429         change Systemcalls::System to Systemcalls::Wait and
12430         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12431         No change of functionality, just reflects the stripped down Systemcalls
12432         class.
12433
12434 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * debug.[Ch]: add a GRAPHICS type to the enum.
12437
12438 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12441
12442         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12443         there is an inset.
12444
12445 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12446
12447         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12448         match the changes below.
12449
12450         * text2.C (toggleInset): if there is not editable inset at cursor
12451         position, try to see if cursor is _inside_ a collapsable inset
12452         and close it.
12453
12454 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12455
12456         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12457         document menu has a nice checkbox
12458
12459 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12460
12461         * lyxlength.C (asLatexString): change PW to output as percent of
12462         \textwidth.
12463
12464         * lengthcommon.C: change '%' to 't%'
12465
12466         * lyxfunc.C (dispatch): a few comments from Martin
12467
12468 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * WorkArea.h:
12471         * WorkArea.C:
12472         * BufferView_pimpl.h:
12473         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12474           the X selection.
12475
12476 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * vspace.C (inPixels): fix compiler warning
12479
12480 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * lyxfunc.C (getStatus): fix status message for disabled commands.
12483
12484 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView_pimpl.C: fix crash on close buffer
12487         during selection (#227)
12488
12489 2002-01-27  Herbert Voss  <voss@lyx.org>
12490
12491         * buffer.C: link old Figure to new graphic inset
12492
12493 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12494
12495         * FontLoader.C (getFontinfo): Change the latex font names in order
12496         to match the names of type1inst.
12497
12498 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12501
12502         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12503         (extchanged): ditto
12504         (ext_exist): ditto
12505         (remove_files_with_extension): ditto
12506         (remove_file): ditto
12507         (write): ditto
12508
12509         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12510         document is smaller than the work area height. Do not initialize
12511         static variables to 0.
12512
12513 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12516
12517         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12518         LFUN_LAYOUT_PARAGRAPHS.
12519
12520         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12521         tabular. It is possible to provide a possible cell, which will
12522         typically be the actcell from the corresponding insettabular
12523
12524         * lyxfunc.C (getStatus): small cleanup; disable
12525         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12526         true
12527
12528 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12529
12530         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12531
12532         * paragraph.C (startTeXParParams):
12533         (endTeXParParams): new methods. The LaTeX code to
12534         start/end paragraph formatting
12535         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12536         empty (fixes bug #200)
12537
12538         * vspace.C (inPixels): adapt to the change below
12539         (inPixels): [later] more cleanups (remove unused variables)
12540
12541         * lyxlength.C (inPixels): change to use a width and a height as
12542         parameter.
12543
12544 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12545
12546         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12547         Replaced with \paperwidth
12548
12549         * DepTable.C (insert): add std:: qualifier
12550
12551 2002-01-18  Allan Rae  <rae@lyx.org>
12552
12553         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12554         updated also?
12555
12556         * text.C (drawInset): Turned out I didn't know enough about how
12557         rebreaking worked.  This fixes most of the redraw problems.  I see
12558         an occasional cursor trail when a line is broken now and the cursor
12559         placement can seem out by a few pixels also after a rebreak.
12560
12561 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * buffer.C (parseSingleLyXformat2Token): update because minipage
12564         width is now a LyXLength
12565
12566         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12567
12568         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12569         math insets
12570
12571 2002-01-17  Juergen Vigna  <jug@sad.it>
12572
12573         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12574
12575         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12576         is set correctly and the inset is updated correctly.
12577
12578 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12581         the beginning of the loop.
12582
12583 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * lyxrc.C: improve help for use_scalable_fonts
12586
12587 2002-01-17  Allan Rae  <rae@lyx.org>
12588
12589         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12590
12591 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12594         make sure to set their inset_owner to the right value (bug #171)
12595
12596 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12597
12598         * DepTable.h
12599         * DepTable.C: Implement mtime checking to reduce time spent doing
12600         CRCs.
12601
12602 2002-01-16  Juergen Vigna  <jug@sad.it>
12603
12604         * tabular.C (GetAdditionalHeight): one of error fixed.
12605
12606         * lyxrc.C (output): small fix in writing use_pspell.
12607
12608 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * sp_base.h: #include LString.h
12611
12612 2002-01-16  Allan Rae  <rae@lyx.org>
12613
12614         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12615         Can someone check this please?
12616
12617         * text.C (drawInset): It was possible that p.row would be removed by
12618         breakAgainOneRow upsetting a few other settings.  There may be another
12619         small tweak possible by setting need_break_row = 0 when p.row has been
12620         removed but I don't know enough about the logic here.
12621
12622 2002-01-15  Allan Rae  <rae@lyx.org>
12623
12624         * text.C (insertChar): removed conditional truism.
12625
12626         * BufferView2.C (removeAutoInsets): More tweaks.
12627         cur_par_prev could be a stray pointer.  Check for trailing empty line
12628         in case last line was cur_par and only had an error inset on it.
12629
12630 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12633         absolute
12634
12635         * vc-backend.C (most methods):
12636         * exporter.C (Export):
12637         * converter.C (convert):
12638         (runLaTeX):
12639         * LyXSendto.C (SendtoApplyCB):
12640         * lyxfunc.C (dispatch):
12641         (menuNew):
12642         (open):
12643         (doImport):
12644         * lyx_cb.C (AutoSave):
12645         (InsertAsciiFile):
12646         * BufferView_pimpl.C (MenuInsertLyXFile):
12647         * buffer.C (runChktex): use Buffer::filePath().
12648
12649         * buffer.h: rename filename to filename_; rename filepath to
12650         filepath_ and make it private
12651         (filePath): new method
12652
12653         * buffer.C (writeFile): use fileName()
12654         (getLatexName):
12655
12656         * lyx_main.C (init): fix starting  of LyX when the binary is a
12657         link from so,ewhere else.
12658
12659         * minibuffer.C: include <cctype> for isprint
12660
12661 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12664         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12665         name clash with InsetCollapsable's width function.
12666
12667 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * lastfiles.C: include <iterator>
12670
12671 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12674         std::count.
12675
12676         * buffer.C (makeLaTeXFile): ditto.
12677         Also make loop operation more transparent.
12678
12679 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * ToolbarDefaults.C: remove trailing comma closing namespace.
12682
12683         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12684
12685         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12686         as in WorkArea.
12687
12688         * trans.C (Load): comment out unused variable, allowed.
12689
12690 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12691
12692         * minibuffer.[Ch] (append_char): new method to recieve input from the
12693         drop-down completion browser. If a key was pressed, then recieve this
12694         char and append it to the existing string.
12695         (peek_event): modify the positioning data passed to the completion
12696         browser so that it can be placed above the minibuffer rather than below.
12697 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * LyXAction.C (init): alloe error-next for readonly documents.
12700
12701         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12702         count.
12703
12704 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * bufferlist.C (readFile): create the buffer _after_ checking that
12707         the file exists.
12708
12709         * lyxfunc.C (verboseDispatch): fix handling of arguments
12710
12711         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12712
12713         * lyxrc.C: use string::erase() instead of initializing to "".
12714
12715
12716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * BufferView_pimpl.h:
12719         * BufferView_pimpl.C:
12720         * WorkArea.h:
12721         * WorkArea.C:
12722         * text2.C: tell X when we have made a selection for copying
12723
12724 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12725
12726         * BufferView_pimpl.C (MenuInsertLyXFile):
12727         * lyxfunc.C (menuNew):
12728         (open):
12729         (doImport): add shortcuts to directory buttons
12730
12731         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12732         open a float)
12733
12734         * lyxfunc.C (setStatusMessage):
12735         (getStatusMessage): new methods
12736         (getStatus):use setStatusMessage instead of setErrorMessage
12737         (dispatch): when function is disabled, set error message here
12738         [instead of in getStatus previously]
12739
12740         * BufferView_pimpl.C (workAreaButtonRelease): update
12741         toolbar/menubar here too.
12742
12743 2002-01-13  Allan Rae  <rae@lyx.org>
12744
12745         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12746         Now seems indestructible.  Remaining task is to audit all other
12747         code affected by deleteEmptyParagraphMechanism.  One small quirk
12748         left is that an empty document with an error in the preamble can
12749         be made to report an error but no error box appears.  I don't know
12750         where it goes.
12751         (removeAutoInsets): Improved comments.
12752
12753 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * Thesaurus.h:
12756         * Thesaurus.C: update for Aiksaurus 0.14
12757
12758 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * text2.C (firstParagraph): removed member function, all uses
12761         replaces with ownerParagraph
12762         (redoParagraphs): here
12763         (updateInset): here
12764         (toggleAppendix): here
12765         * BufferView2.C (insertErrors): here
12766         (setCursorFromRow): here
12767
12768 2002-01-13  Allan Rae  <rae@lyx.org>
12769
12770         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12771         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12772         There is still a way to segfault this although you may have to do this
12773         multiple times: Have an InsetERT with an unknown command in it.
12774         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12775         <down-arrow>, <Enter> again, View->DVI, BANG!
12776
12777         * text2.C (setCursor):
12778         (deleteEmptyParagraphMechanism):
12779         * lyxtext.h (setCursor):
12780         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12781         Making use of the return value may help fix other bugs.
12782
12783 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12786
12787         * LyXView.C (updateMenubar): call MenuBar::update here
12788         (updateToolbar): but not here
12789         (showState): do not update toolbar/menubar
12790
12791         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12792         should need to care about that.
12793
12794         * lyxfunc.C (verboseDispatch): simplify a bit
12795         (getStatus): have a version which takes a pseudoaction, and
12796         another which requires a (kb_action,string).
12797
12798         * LyXAction.C (retrieveActionArg): make it work also when action
12799         is not a pseudo-action.
12800         (getActionName): simplify a bit
12801         (helpText):
12802
12803 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12804
12805         * lyxfunc.C (verboseDispatch): new families of methods with
12806         several ways to specify a command and a bool to indicate whether
12807         the command name and shortcut should be displayed in minibuffer
12808         (eventually, we could extend that to a finer bitmask like
12809         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12810         (dispatch): the pristine dispatch command which just, well,
12811         dispatchs! Note it still sets its result to minibuffer; I'm not
12812         sure we want that.
12813
12814         * lyxfunc.h: remove setHintMessage
12815
12816         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12817
12818 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12819
12820         * BufferView_pimpl.C (specialChar): delete new inset if we have
12821         not been able to insert it.
12822
12823         * kbmap.C: revert to using int instead of kb_action, since all we
12824         are dealing with is pseudo-actions.
12825
12826         * LyXAction.C (searchActionArg): change to return int instead of
12827         kb_action, since the result is a pseudoaction.
12828
12829 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12830
12831         * buffer.C (insertErtContents): Fix (partially) the font bug.
12832
12833 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12834
12835         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12836         as the other one is broken on my machine!
12837
12838 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12839
12840         * commandtags.h:
12841         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12842
12843 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12846         reflect their actual use. Provide compatibility code for older lyxrc
12847         files.
12848
12849         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12850         FL_NORMAL_STYLE.
12851         change names of popup font variables in line with the changes to lyxrc.C
12852
12853 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12854
12855         * buffer.C (asciiParagraph): avoid outputing a word twice after
12856         an inset.
12857
12858         * lyxrc.C (getDescription): document that document_path and
12859         template_path can be empty.
12860
12861 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12862
12863         * LaTeXFeatures.C (getMacros):
12864         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12865
12866         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12867
12868         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12869         getPackages.
12870         (getPackages): rename feature "floats" to "float". Use an array to
12871         iterate over 'simple' features (i.e. just a \usepackage). Add
12872         handling of "amsmath" (renamed from "amsstyle").
12873
12874 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12875
12876         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12877         features list.
12878
12879 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12882         FuncStaus::FuncStatus & FuncStaus::some_method().
12883
12884 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12885
12886         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12887         of the func_satus stuff. Edited and massaged in various ways by
12888         JMarc.
12889
12890         * lyxfunc.C (getStatus): use FuncStatus
12891
12892 2002-01-08  Juergen Vigna  <jug@sad.it>
12893
12894         * text.C (nextBreakPoint): use function Inset::isChar().
12895
12896         * paragraph.C (TeXOnePar): use function
12897         Inset::forceDefaultParagraphs.
12898
12899         * buffer.C (latexParagraphs): use function
12900         Inset::forceDefaultParagraphs.
12901
12902 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12903
12904         * lyx_gui.C (init): set the style of the menu popups to
12905         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12906
12907 2002-01-07  Juergen Vigna  <jug@sad.it>
12908
12909         * text.C (setHeightOfRow): small fix
12910         (prepareToPrint): don't look at alignment if we don't have the place
12911         for doing it.
12912
12913 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * box.C: New file. Move the Box methods and functions out of box.h,
12916         following Lars' suggestion.
12917
12918 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         * box.h: #include "support/LOstream.h", needed for inlined function.
12921
12922         * lyxtextclass.C:
12923         * lyxtextclasslist.C: added some using std declarations.
12924
12925 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * box.h: make signed dimensions to allow insets wider than
12928           the screen (bug #162)
12929
12930         * BufferView_pimpl.C: add some insetHit debug
12931
12932 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * vc-backend.C: add FIXME
12935
12936 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12937
12938         * lyxfunc.C (getStatus): enable code for showing math font status
12939         in toolbar/menu.
12940
12941 2002-01-07  Juergen Vigna  <jug@sad.it>
12942
12943         * text.C (nextBreakPoint): removed debug output not needed anymore.
12944
12945 2002-01-06  Juergen Vigna  <jug@sad.it>
12946
12947         * text.C (nextBreakPoint): fixed up this function we had this bug
12948         since ever but now hopefully we break row better.
12949         (insertChar): we have to check if an inset is the next char as it
12950         could now happen that a large inset is causing a break.
12951
12952 2002-01-05  Juergen Vigna  <jug@sad.it>
12953
12954         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12955         if it doesn't like to be drawed.
12956
12957 2002-01-04  Juergen Vigna  <jug@sad.it>
12958
12959         * BufferView2.C (lockInset): forgot to set a cursor.
12960
12961         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12962
12963 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12964
12965         * FormMathsPanel.C:
12966         * FormMathsPanel.h
12967         * MathsSymbols.C:
12968         * form_maths_panel.C:
12969         * form_maths_panel.h:
12970         * form_maths_panel.fd: implemented sub- and super- buttons in math
12971         panel.
12972
12973         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12974         (or ^ space) to be used as in TeX (req'd by André).
12975
12976         * lyxfunc.C: Allow ^ and _ again to be used both as
12977         super/subscript (mathed) and as themselves (in text).
12978
12979 2002-01-03  Allan Rae  <rae@lyx.org>
12980
12981         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12982         "LyX" or the filename of the current buffer if it has one.  This is a
12983         modified form of John Levon's patch.
12984
12985         * XFormsView.C (setWindowTitle): also set icon title.
12986
12987         * LyXView.h (setWindowTitle): signature changed.
12988         * XFormsView.h (setWindowTitle): ditto.
12989
12990 2002-01-02  Juergen Vigna  <jug@sad.it>
12991
12992         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12993
12994 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * screen.C (topCursorVisible): introduce a temp var for
12997         text->cursor.row(), handle the case where this row is null. (kindo
12998         hachish)
12999
13000         * text2.C (setCursor): add a couple of asserts.
13001
13002         * paragraph.h (inset_iterator): add -> operator
13003
13004         * paragraph.[Ch] (autoDeleteInsets): remove member function
13005
13006         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13007         cursor pos correctly and handle inset deletion by itself.
13008         (insertErrors): move iterator declaration out of for expression
13009
13010         * lyxtextclass.C: add <algorithm>
13011
13012         * Makefile.am: added the new files to sources, removed layout.C
13013
13014         * layout.C: removed file
13015
13016         * layout.h: remove LYX_DUMMY_LAYOUT
13017
13018         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13019         layout.
13020
13021         * lyxlayout.[Ch]:
13022         * lyxtextclass.[Ch]:
13023         * lyxtextclasslist.[Ch]: new files
13024
13025         * include order changes to a lot of files, also changes because of
13026         the six new files.
13027
13028 2001-12-27  Juergen Vigna  <jug@sad.it>
13029
13030         * buffer.C (asciiParagraph): more fixes.
13031
13032         * tabular.C (ascii): make ascii export support export of only the
13033         data separated by a column-delimiter.
13034         (ascii): better support for ascii export.
13035
13036         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13037
13038 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * tabular_funcs.C: use a "using std::getline" instead of the
13041         previous fix from Angus (necessary for cxx + lyxstring)
13042
13043 2001-12-24  Juergen Vigna  <jug@sad.it>
13044
13045         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13046
13047         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13048         problems. First check a minipage also if we have some ert-contents
13049         (not only on par->size(), second set the right depth of the paragraph
13050         on the relink to the root-paragraph-list!
13051
13052         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13053         which then did not anymore update the main paragraphs on undo/redo!
13054
13055 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13056
13057         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13058         code. Support all font-changing funcs (even those which are not in
13059         menu currently). Support for reporting font settings in
13060         mathed (disabled until Andre provides a function on mathed's side).
13061
13062         * func_status.h (toggle): small helper function to set toggle
13063         state on a flag.
13064
13065 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * tabular_funcs.C: getline -> std::getline
13068
13069 2001-12-21  Juergen Vigna  <jug@sad.it>
13070
13071         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13072         accessed and could be 0 (I couldn't generate this but it seems
13073         Michael could!).
13074
13075 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13078         * tabular_funcs.h: here and include iosfwd
13079
13080 2001-12-20  Juergen Vigna  <jug@sad.it>
13081
13082         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13083         inside inset but undo_par was.
13084
13085 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * Thesaurus.C: always include <config.h> in sources.
13088
13089         * Painter.h:
13090         * lyxlookup.h:
13091         * box.h: do not include <config.h> in header files
13092
13093         * text.C (paintLastRow): remove unused variable
13094
13095         * text.C (transformChar):
13096         (insertChar):
13097         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13098
13099         * Painter.C (text):
13100         * font.C (width): rewrite to use uppercase() instead of
13101         islower/toupper.
13102
13103         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13104
13105 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * lyxfind.C: clean up of find failure position change
13108
13109 2001-12-20  Juergen Vigna  <jug@sad.it>
13110
13111         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13112
13113         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13114         (TeXRow): added to LaTeX a single tabular row.
13115         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13116         (Latex): simplified and finally good LT-h/f support.
13117         (various_functions): just small adaptions for LT-h/f support.
13118
13119         * tabular_funcs.[hC]: added and moved here all not classfunctions
13120         of LyXTabular.
13121
13122 2001-12-19  Juergen Vigna  <jug@sad.it>
13123
13124         * tabular.[Ch]: better support for longtabular options (not finished
13125         yet!)
13126
13127 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13128
13129         * text.C (paintLastRow): use the label font instead of the font of
13130         the last character to compute the size of *_BOX. This makes more
13131         sense and avoids a crash with empty paragraphs.
13132         Use Painter::rectangle to draw EMPTY_BOX.
13133
13134 2001-12-19  Juergen Vigna  <jug@sad.it>
13135
13136         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13137         the paragraphs if the replaced paragraph is not the first one!
13138         Tried to delete not used paragraphs but does not work yet so for
13139         now it's inside #ifdef's and by default off!
13140
13141 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13142
13143         * MenuBackend.C: include "lyx_main.h" instead of declaring
13144         lastfiles (actually was declared as LastFiles* instead of a
13145         scoped_ptr).
13146
13147 2001-12-17  Juergen Vigna  <jug@sad.it>
13148
13149         * tabular.C (AppendColumn): applied John's fix
13150
13151 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * BufferView.h:
13154         * BufferView.C:
13155         * BufferView_pimpl.h:
13156         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13157
13158         * Makefile.am:
13159         * box.h: new start of class for above
13160
13161         * lyxfunc.C: ignore space-only minibuffer dispatches.
13162           Show the command name when it doesn't exist
13163
13164         * minibuffer.C: don't add empty lines to the history
13165
13166         * minibuffer.C: add a space on dropdown completion
13167
13168 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * text.C: fix line above/below drawing in insets
13171
13172 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxlength.C (LyXLength): Initialize private variables.
13175
13176 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13177
13178         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13179         when inserting error insets.
13180
13181 2001-12-13  Juergen Vigna  <jug@sad.it>
13182
13183         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13184         actually sometimes the before-paragraph.
13185         (setUndo): don't clear the redostack if we're not actually undoing!
13186
13187 2001-12-06  Juergen Vigna  <jug@sad.it>
13188
13189         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13190         and fixed redoing of main paragraph, so we can use it now ;)
13191
13192         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13193
13194 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13197         Juergen's request
13198
13199 2001-12-13  André Pönitz <poenitz@gmx.net>
13200
13201         * undostack.[Ch]:
13202         * undo_func.C: minor cleanup
13203
13204 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13205
13206         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13207         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13208         font in urw-fonts package which is marked as -urw-fontspecific and
13209         does not work (incidentally, changing the encoding in the
13210         fonts.dir of this package to -adobe-fontspecific fixes the
13211         problem).
13212
13213         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13214         is a crash when undoing first paragraph (Juergen, please take a
13215         look). THis does not mean the undo fix is wrong, just that it
13216         uncovers problems.
13217
13218         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13219         the (Paragraph*) version when needed instead of duplicating the
13220         code.
13221
13222         * text.C (workWidth): use Inset::parOwner to find out where the
13223         inset has been inserted. This is a huge performance gain for large
13224         documents with lots of insets. If Inset::parOwner is not set, fall
13225         back on the brute force method
13226
13227         * paragraph_pimpl.C (insertInset):
13228         * paragraph.C (Paragraph):
13229         (cutIntoMinibuffer): set parOwner of insets when
13230         inserting/removing them
13231
13232         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13233
13234 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13235
13236         * commandtags.h:
13237         * LyXAction.C:
13238         * lyx_main.C:
13239         * lyxfunc.C:
13240         * mathed/formulabase.C:
13241         * mathed/math_cursor.[Ch]:
13242         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13243
13244
13245 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13246
13247         * lyxlength.[Ch] (operator!=): new function
13248
13249 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * text.C (workWidth): use Inset::parOwner to find out where the
13252         inset has been inserted. This is a huge performance gain for large
13253         documents with lots of insets. If Inset::parOwner is not set, fall
13254         back on the brute force method
13255
13256         * paragraph_pimpl.C (insertInset):
13257         * paragraph.C (Paragraph):
13258         (cutIntoMinibuffer): set parOwner of insets when
13259         inserting/removing them
13260
13261         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13262
13263 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * tabular-old.C (getTokenValue):
13266         * tabular.C (getTokenValue):
13267         (write_attribute): new versions for LyXLength
13268         (everywhere): adjust the use of widths
13269
13270         * tabular.h: change the type of widths from string to LyXLength
13271
13272 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13273
13274         * paragraph.C: fixed missing line number count when exporting
13275         Environments to LaTeX file
13276
13277         * buffer.C: added informational message for checking line numbers.
13278
13279 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13280
13281         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13282         paragraph, do the 'double space' part, but not the 'empty
13283         paragraph' one.
13284
13285         * text.C (workWidth): small optimization
13286         (getLengthMarkerHeight): use minimal size for negative lengths.
13287
13288 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13289
13290         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13291
13292         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13293
13294 2001-12-11  André Pönitz <poenitz@gmx.net>
13295
13296         * FontLoader.C:
13297         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13298
13299 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13300
13301         * text2.C: keep selection on a setFont()
13302
13303 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * lyx_cb.C: another bv->text misuse, from insert label
13306
13307 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13308
13309         * kbsequence.h:
13310         * kbsequence.C: re-instate nmodifier mask
13311
13312 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13313
13314         * lyx_main.h: make lyxGUI private.
13315
13316 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * lyxfind.C: place the cursor correctly on failed search
13319
13320 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13321
13322         * text.C (getLengthMarkerHeight): for small heights, the arrows
13323         are not always on top/bottom of the text
13324         (drawLengthMarker): smaller arrows; take the left margin in
13325         account; draw also vfills.
13326         (paintFirstRow):
13327         (paintLastRow): remove special code for vfill and standard spaces,
13328         since everything is handled in drawLengthMarker now.
13329
13330 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * buffer.C (insertErtContents): try to handle font and language
13333         interaction a bit better.g
13334
13335         * ColorHandler.C (updateColor): change the hash to cover the whole
13336         LColor enum, ws cleanup
13337         (getGCLinepars): ditto
13338         (getGCLinepars): only lookup in the linecache once.
13339
13340 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * iterators.C (operator++): Make the iterator more robust
13343
13344         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13345         (John's patch)
13346         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13347
13348 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13349
13350         * lyxtext.h:
13351         * text.C: better added space drawing
13352
13353 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * LyXView.C:
13356         * BufferView2.C: fix layout combo update on inset unlock
13357
13358 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * Makefile.am: don't compile unused files
13361
13362 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * lyxfunc.C:
13365         * commandtags.h:
13366         * LyXAction.C: remove old LFUN_LAYOUTNO
13367
13368 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13369
13370         * paragraph_pimpl.h:
13371         * paragraph_pimpl.C: isTextAt() doesn't need font param
13372
13373 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * lyxlex.h:
13376         * lyxlex.C: little cleanup
13377
13378 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * BufferView_pimpl.C: fix insertAscii for insets
13381
13382 2001-12-05  Juergen Vigna  <jug@sad.it>
13383
13384         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13385         set the right font on the "multi" paragraph paste!
13386
13387 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * trans_decl.h:
13390         * trans_mgr.[Ch]:
13391         * trans.[Ch]:
13392         * lyxgluelength.C:
13393         * lyxlength.C: remove out-commented code.
13394
13395         * BufferView_pimpl:
13396         * CutAndPaste.C:
13397         * DepTable.C:
13398         * buffer.C:
13399         * chset.C:
13400         * lastfiles.C:
13401         * lyxlex.C:
13402         * lyxlex_pimpl.C:
13403         * lyxserver.C:
13404         * screen.C:
13405         * tabular-old.C:
13406         * tabular.C:
13407         * text.C:
13408         * trans_mgr.C:
13409         * vc-backend.C: change "while(" to "while ("
13410
13411         * lyxlength.[Ch]: add zero function to check if length is zero or
13412         not
13413         * lyxgluelength.C: use it
13414
13415 2001-12-05  Allan Rae  <rae@lyx.org>
13416
13417         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13418         Works for 2.95.3, from what I understand of Garst's reports this should
13419         work for other g++ versions.  We're screwed if the abs(int) definition
13420         changed between bugfix releases of gcc.
13421
13422 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13423
13424         * text.C: fix chapter label offset !
13425
13426 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13427
13428         * lyxtext.h:
13429         * text.C: fix hfill at end of line, clean up
13430
13431 2001-12-04  Juergen Vigna  <jug@sad.it>
13432
13433         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13434         that we force an update of the inset and it's owners if neccessary.
13435
13436 2001-12-03  Juergen Vigna  <jug@sad.it>
13437
13438         * text.C (rowLast): simplified code
13439
13440 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13441
13442         * lyxfunc.C: fix show options on timeout
13443
13444 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * screen.C (topCursorVisible): scroll half a page when the cursor
13447         reached top of bottom of screen
13448
13449 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13450
13451         * minibuffer.C: deactivate on loss of focus
13452
13453 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * vspace.[Ch] (operator!=): add operator.
13456
13457 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * BufferView_pimpl.C: refuse to open an inset when
13460         there's a selection.
13461
13462 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * BufferView_pimpl.C: allow to click on RHS of full row insets
13465
13466 2001-11-30  Juergen Vigna  <jug@sad.it>
13467
13468         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13469         insets for undo reasons.
13470
13471 2001-11-28  André Pönitz <poenitz@gmx.net>
13472
13473         * vspace.[Ch]: cosmetical changes
13474
13475 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13476
13477         * LyXAction.h:
13478         * LyXAction.C:
13479         * lyxfunc.h:
13480         * lyxfunc.C:
13481         * kbmap.h:
13482         * kbmap.C:
13483         * lyxrc.C:
13484         * kbsequence.h:
13485         * kbsequence.C: part re-write of old kb code
13486
13487         * Painter.C:
13488         * WorkArea.C: remove Lgb_bug_find_hack
13489
13490 2001-11-30  José Matos <jamatos@fep.up.pt>
13491
13492         * buffer.C (makeDocBookFile): add a comment to point a hack.
13493         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13494         Fixed a double write of labels.
13495
13496 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13497
13498         * LaTeX.C:
13499         * LaTeX.h Fixed bug in LaTeX class where it would not
13500         re-run latex if no depfiles were changed, but the .dvi was removed.
13501
13502 2001-11-28  André Pönitz <poenitz@gmx.net>
13503
13504         * all the files from the change on 2001/11/26:
13505         use lyx::layout_type instead of LyXTextClass::size_type
13506         use lyx::textclass_type instead of LyXTextClassList::size_type
13507
13508 2001-11-29  Juergen Vigna  <jug@sad.it>
13509
13510         * text.C: added support for paragraph::isFreeSpacing()
13511
13512         * buffer.C: same as above
13513
13514         * paragraph.h: inserted isFreeSpacing() function to enable
13515         FreeSpacing inside InsetERT.
13516
13517         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13518         of the paragraph's in the cut/copy buffer to 0!
13519
13520         * text2.C (removeRow): remove the assert as it can!
13521
13522         * lyxtext.h: added helper function firstRow returning firstrow and
13523         made firstrow private again.
13524
13525         * BufferView2.C (lockInset): don't relock if we're already locked!
13526
13527         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13528         the only paragraph.
13529         (removeRow): added Assert::(firstrow)
13530
13531         * debug.C: forgot to add INSETTEXT here.
13532
13533 2001-11-28  Juergen Vigna  <jug@sad.it>
13534
13535         * sp_spell.C (initialize): changed error text to more general
13536         spellchecker command use (not only ispell!)
13537
13538         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13539
13540         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13541
13542 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * vspace.C: initialise lyxgluelength on failure
13545
13546 2001-11-28  Allan Rae  <rae@lyx.org>
13547
13548         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13549         declaration & definition that looks like a function declaration.
13550
13551 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * BufferView2.C (copy):
13554         (copyEnvironment): do not clear the selection when doing a copy.
13555
13556         * text.C (paintFirstRow): compilation fix
13557
13558 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13559
13560         * tabular.C (Latex): correct line count when writing latex.
13561
13562 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13563
13564         * paragraph_pimpl.h:
13565         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13566           bug a bit
13567
13568 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * text.C:
13571         * LColor.h:
13572         * LColor.C: change vfillline->added_space
13573
13574         * text.C: add markers and text for added space
13575
13576         * vspace.C: fix comment
13577
13578 2001-11-28  André Pönitz <poenitz@gmx.net>
13579
13580         * paragraph.C: whitespace changes
13581         * all the other files from the change on 2001/11/26:
13582         change *::pos_type into lyx::pos_type
13583
13584 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13587         language of the document when inserting error insets.
13588
13589 2001-11-26  André Pönitz <poenitz@gmx.net>
13590
13591         * BufferView_pimpl.[Ch]:
13592         *       CutAndPaste.C:
13593         * buffer.[Ch]:
13594         * lyxcursor.[Ch]:
13595         * lyxfind.C:
13596         * lyxfunc.C:
13597         * lyxrow.[Ch]:
13598         * paragraph.[Ch]:
13599         * paragraph_pimpl.[Ch]:
13600         * sp_spell.C:
13601         * text.C:
13602         * text2.C: reduce header dependencies, introduce type for positions
13603
13604 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * <various>: change to use Alert.h
13607
13608 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13609
13610         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13611         when encountering an unknown token.
13612         (readLyXformat2): Show an error message if there were unknown tokens.
13613
13614 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * BufferView2.C:
13617         * BufferView_pimpl.C:
13618         * buffer.C:
13619         * paragraph.h:
13620         * text.C:
13621         * text2.C: use par->isInset()
13622
13623 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * paragraph_pimpl.h:
13626         * paragraph_pimpl.C: cleanup
13627
13628 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * text2.C (removeRow):
13631         * text.C (setHeightOfRow): remove useless (and costly) call to
13632         getRow.
13633
13634 2001-11-20  Allan Rae  <rae@lyx.org>
13635
13636         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13637         Now need Inset*::checkInsertChar() to return true for appropriate
13638         cases so that the characters in the minibuffer will actually be
13639         inserted.
13640
13641 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13642
13643         * text.C: change the order of the includes.
13644         (workWidth): initialize it at once.
13645         (workWidth): make maxw unsigned
13646         (setHeightOfRow): remove unused variable (inset)
13647         (selectSelectedWord): remove unused variable (inset)
13648         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13649
13650 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13653         server is not running.
13654         (openConnection):
13655         (closeConnection): add debug info when server is disabled.
13656
13657         * ColorHandler.C (getGCForeground): send debug message to GUI
13658         channel.
13659
13660         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13661
13662         * kbmap.C (bind): modify because return conventions of
13663         kb_sequence::parse have changed.
13664
13665         * kbsequence.C (parse): only ignore spaces and not any stupid
13666         control character. This avoids tests like s[i] <= ' ', which are
13667         guaranteed to fail with 8bit characters and signed chars.
13668         Change return code to string::npos when there have been no error
13669         (0 was a bad idea when error is at first character)
13670
13671 2001-11-14  José Matos  <jamatos@fep.up.pt>
13672
13673         * buffer.h:
13674         * buffer.C (simpleDocBookOnePar): removed unused argument.
13675
13676 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13679         insets which are part of a word. Paragraph::isLetter takes care of
13680         that now. Use Paragraph::isInset to identify insets.
13681         (selectSelectedWord): do not test for hyphenation break.
13682
13683         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13684         that protected spaces are considered as spaces.
13685
13686         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13687         Inset::isLetter.
13688
13689 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * lyxserver.h:
13692         * lyxserver.C: fix it. and small cleanup.
13693
13694 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * BufferView_pimpl.C: use inline helpers
13697
13698         * LaTeXFeatures.h:
13699         * LaTeXFeatures.C: fix typos
13700
13701         * Spacing.h:
13702         * Spacing.C: move spacing_string into class
13703
13704         * ToolbarDefaults.C: move stuff into namespace anon
13705
13706         * layout.h: update enum
13707
13708         * lyxfunc.C: use better debug
13709
13710         * minibuffer.h: fix typo
13711
13712         * debug.h:
13713         * debug.C:
13714         * WorkArea.C: add and use Debug::WORKAREA
13715
13716         * lyxtext.h:
13717         * text.C:
13718         * text2.C: code re-organisation, inline helpers
13719
13720 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13721
13722         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13723         std::vector.empty().
13724
13725 2001-11-09  Allan Rae  <rae@lyx.org>
13726
13727         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13728         '\n's after tables.  Tabular and ERT inset work now makes this no
13729         longer necessary.
13730
13731 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13732
13733         * minibuffer.h:
13734         * minibuffer.C: fix crash, improve drop-down completion
13735
13736 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * lyxserver.h:
13739         * lyxserver.C: invalidate fd's when doing endPipe()
13740
13741 2001-11-08  José Matos  <jamatos@fep.up.pt>
13742
13743         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13744         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13745
13746         * paragraph.h:
13747         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13748
13749 2001-11-07  José Matos  <jamatos@fep.up.pt>
13750
13751         * buffer.h:
13752         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13753         const qualifier.
13754
13755         * buffer.C (sgmlOpenTag):
13756         * buffer.C (sgmlCloseTag): removed debug info.
13757
13758         * buffer.h (sgmlOpenTag):
13759         * buffer.h (sgmlCloseTag): made public.
13760
13761 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13762
13763         * buffer.C (saveParamsAsDefaults):
13764         * lyx_cb.C (MenuLayoutSave): remove
13765
13766         * LyXAction.C (init):
13767         * commandtags.h:
13768         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13769
13770 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13771
13772         * buffer.C (setPaperStuff): removed from here...
13773
13774         * bufferparams.C (setPaperStuff): ... and moved there.
13775
13776 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * minibuffer.h:
13779         * minibuffer.C:
13780         * XFormsView.C: add support for drop-down completion
13781
13782 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13785         commands.
13786
13787 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13790         disabled.
13791
13792 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13793
13794         * lyx_main.C: change ref to known bugs
13795
13796 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13797
13798         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13799         to work around older babel problems.
13800
13801 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13802
13803         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13804
13805 2001-10-24  Juergen Vigna  <jug@sad.it>
13806
13807         * tabular-old.C (ReadOld): below variable changes reflected.
13808
13809         * tabular.[Ch]: added ltType struct for longtable header/footer
13810         defines and changed all instances where they are used. Added
13811         future support for double top/bottom rows.
13812
13813 2001-10-24  José Matos  <jamatos@fep.up.pt>
13814
13815         * buffer.h (docbookHandleCaption):
13816         * buffer.C (docbookHandleCaption): removed unused function.
13817         (makeDocBookFile): moved docbook supported version to v4.1.
13818
13819 2001-10-24  José Matos  <jamatos@fep.up.pt>
13820
13821         * tabular.h:
13822         * tabular.C (docbookRow): new function to export docbook code of a row.
13823         (DocBook): now honors the longtable flags.
13824
13825 2001-10-23  José Matos  <jamatos@fep.up.pt>
13826
13827         * LaTeXFeatures.h:
13828         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13829         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13830
13831         * buffer.C (makeLinuxDocFile):
13832         (makeDocBookFile): reworked the preamble, more clean, and with
13833         support for lyx defined entities. Changed the document declaration
13834         to be more XML friendly.
13835
13836         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13837         if we need to output XML that should be done with a filter.
13838
13839 2001-10-22  Juergen Vigna  <jug@sad.it>
13840
13841         * sp_pspell.h (class PSpell): add alive function needed in the
13842         controller to see if the spellchecker could be started.
13843
13844 2001-10-22  Juergen Vigna  <jug@sad.it>
13845
13846         * buffer.C (insertStringAsLines): modify the font for inserting
13847         chars in certain conditions by calling checkInsertChar(font).
13848
13849 2001-10-19  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C (workWidth): use getRow instead of wrong algorithm.
13852         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13853
13854 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * lyxserver.h:
13857         * lyxserver.C:
13858         * lyx_main.h:
13859         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13860
13861 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * text.C (workWidth): do not search for the exact row when
13864         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13865         optimization for big documents.
13866
13867 2001-10-18  Juergen Vigna  <jug@sad.it>
13868
13869         * text.C (workWidth): new function with added Inset * parameter.
13870
13871 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13872
13873         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13874
13875         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13876         change return type of getColumnNearX.
13877
13878
13879         * text.C (changeRegionCase): use uppercase/lowercase instead of
13880         toupper/tolower.
13881         (leftMargin):
13882         (rightMargin): simplify code by factoring out the uses of
13883         textclasslist.
13884         (labelFill):
13885         (numberOfHfills):
13886         (setHeightOfRow):
13887         (appendParagraph): use Paragraph::size_type
13888
13889 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * vspace.C (asLatexString): add a missing break
13892
13893 2001-10-15  Herbert Voss  <voss@perce.de>
13894
13895         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13896
13897 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13900         is not available.
13901
13902 2001-10-10  André Pönitz <poenitz@gmx.net>
13903
13904         * lyxfunc.C: removed greek_kb_flag.
13905
13906 2001-10-10  Herbert Voss  <voss@perce.de>
13907
13908         * lyx_main.C: delete global string help_lyxdir.
13909
13910 2001-10-09  Herbert Voss  <voss@perce.de>
13911
13912         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13913
13914         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13915
13916         * lyx_main.C: added global string help_lyxdir.
13917
13918         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13919
13920 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13921
13922         * lyxrc.C (set_font_norm_type): support iso8859-4
13923
13924 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13925
13926         * LaTeX.C (deplog): add another regex for MikTeX
13927
13928 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13929
13930         * lyxrc.C (set_font_norm_type): support iso8859-3
13931
13932 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13935
13936         * LaTeXFeatures.C: remove special case of french and index
13937
13938         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13939         before \begin{document}). This solves several incompatibilities.
13940
13941 2001-10-03  Garst Reese  <reese@isn.net>
13942
13943         * lyx_cb.C: change CheckTex error msg.
13944
13945 2001-10-03  José Matos  <jamatos@fep.up.pt>
13946
13947         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13948
13949 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13950
13951         * .cvsignore: update
13952
13953         * lyx_main.C (commandLineVersionInfo): use new style version info.
13954
13955         * buffer.C (writeFile):
13956         (makeLaTeXFile):
13957         (makeLinuxDocFile):
13958         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13959
13960         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13961
13962         * version.h: update to use stuff in version.C
13963
13964         * version.C.in: new file. Contains version information determined
13965         at compile time. This is a merging of version.h and
13966         version_info.h.in.
13967
13968 2001-10-03  Juergen Vigna  <jug@sad.it>
13969
13970         * BufferView_pimpl.C (update): don't change "dirty" status in
13971         updateInset call.
13972
13973 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         * WorkArea.C (c-tor): re-position version string slightly.
13976
13977 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13980         revert to previous code.
13981
13982         WorkArea.[Ch]: (show, destroySplash): methods removed.
13983
13984         WorkArea.C: rework code so that it's an amalgam of the codes before and
13985         after the splash screen was moved to WorkArea.
13986
13987 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * lyxrc.C (read):
13990         * vspace.C (inPixels):
13991         (lyx_advance):
13992         * kbmap.C (bind):
13993         * buffer.C (insertStringAsLines):
13994         (asciiParagraph): fix types to be large enough
13995
13996         * lyxlex_pimpl.h: change member status from short to int
13997
13998         * layout.h: fix type of endlabeltype
13999
14000         * kbmap.C (bind):
14001         * kbsequence.C (parse): change return type to string::size_type
14002
14003         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14004         variable
14005
14006         * Bullet.C (bulletSize):
14007         (bulletEntry): do not use short ints as parameters
14008
14009         * BufferView2.C (insertLyXFile): change a char to an int.
14010
14011         * WorkArea.C (WorkArea): remove unneeded floats in computation
14012
14013 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14016
14017         * paragraph.C (asString): Do not ignore newline/hfill chars when
14018         copying to the clipboard.
14019
14020 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14021
14022         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14023         after a multi-line inset.
14024
14025 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * paragraph.C (validate): Set NeedLyXFootnoteCode
14028
14029 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14030
14031         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14032         and decrease-error to decrease.
14033
14034 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14035
14036         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14037         it more readable (should be equivalent)
14038
14039 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14040
14041         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14042
14043 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14046         of a cursor (row, etc.) after a character has been deleted
14047         (deleteEmptyParagraphMechanism): call the method above on _all_
14048         cursors held by the LyXText when a double space has been
14049         detected/deleted.
14050
14051 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14052
14053         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14054         pixmap.
14055         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14056
14057         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14058         background. Use greyOut() and the new show() methods to toggle between
14059         the foreground and background. Add code to remove the splash after
14060         its initial showing.
14061
14062         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14063         (create_forms): no longer call Dialogs::showSplash.
14064
14065 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14066
14067         * .cvsignore: add version_info.h
14068
14069 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * version_info.h.in: new file
14072
14073         * Makefile.am: add version_info.h.in
14074
14075         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14076         version_info.h instead of VERSION_INFO
14077
14078 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14079
14080         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14081         The ERT inset now returns string().
14082
14083 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14084
14085         * lyxtext.h, text.C (selectNextWord): renamed as
14086         selectNextWordToSpellcheck.
14087
14088         * text.C (selectNextWordToSpellcheck): Modified to not select
14089         words inside an ERT inset.
14090
14091 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * lyx_cb.C (MenuLayoutSave): change a bit the question
14094
14095         * sp_base.h: include <sys/types.h>
14096
14097 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14100
14101 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14102
14103         * several files: fix typos in user-visible strings
14104
14105 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * text2.C (pasteSelection): do not set the selection, since it
14108         will be cleared later. Actually, the intent was to fix the way the
14109         selection was set, but I figured rmoving the code was just as good.
14110
14111 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * FontLoader.C (available): Check if font is available without
14114         loading the font.
14115
14116 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14117
14118         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14119
14120 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * lyxrc.[Ch]: added display_graphics variable and associated code.
14123
14124 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14125
14126         * bufferparams.C (hasClassDefaults): new method. Returns true if
14127         the buffer parameters correspond to known class defaults
14128
14129 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14130
14131         * XFormsView.C (show): set minimum size to the main window.
14132
14133 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14134
14135         * text2.C (copySelection):
14136         (cutSelection):
14137         * lyxfind.C (LyXReplace):
14138         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14139         LyXText::selectionAsString.
14140
14141         * paragraph.C (asString): add "label" argument to the second form
14142
14143         * text2.C (selectionAsString): add "label" argument and pass it to
14144         Paragraph::asString.
14145
14146 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * lyx_main.C (commandLineHelp): remove version information
14149
14150 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14151
14152         * lyx_main.C: add -version commandline option
14153
14154 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * paragraph.h: make the optional constructor arg required instead.
14157         some modifications to other files because of this.
14158
14159         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14160
14161         * lyxserver.C (C_LyXComm_callback): make it static
14162
14163         * lyx_main.C (error_handler): make it static
14164
14165         * lyx_gui.C (LyX_XErrHandler): make it static
14166
14167         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14168
14169         * WorkArea.C: make the extern "C" methods static.
14170
14171         * Makefile.am (lyx_LDADD): simplify
14172
14173 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14174
14175         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14176         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14177
14178         * LyXAction.C (init):
14179         * lyxfunc.C (dispatch): associated code removal.
14180
14181 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * lyxfont.h (isSymbolFont): shut off warning
14184
14185         * text.C (setHeightOfRow):
14186         (getVisibleRow): fix crash with empty paragraphs which have a
14187         bottom line
14188
14189 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14190
14191         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14192         code.
14193
14194 2001-09-04  José Matos  <jamatos@fep.up.pt>
14195         * buffer.C
14196         * buffer.h
14197         * tabular.C (docbook): rename docBook method to docbook.
14198
14199 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * Makefile.am: add dependencies to main.o.
14202
14203 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14204
14205         * FontLoader.C (available): Return false if !lyxrc.use_gui
14206
14207 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14208
14209         * FontInfo.C (query):
14210         * converter.C (view):
14211         * importer.C (Import):
14212         * exporter.C (Export): Can not -> cannot.
14213
14214 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * BufferView_pimpl.C: allow to create index inset even if
14217           string is empty
14218
14219 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14220
14221         * buffer.C (getLists): replace boost::tie code with an explicit pair
14222         as boost::tie can break some compilers.
14223
14224         * iterators.h: Added a std:: declaration to the return type of
14225         ParIterator::size.
14226
14227 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14230           case.
14231
14232 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14233
14234         * iterators.[Ch]: New files. Provide paragraph iterators.
14235
14236         * buffer.C (changeLanguage): Use paragraph iterators.
14237         (isMultiLingual): ditto
14238
14239         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14240
14241 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14242
14243         * FontLoader.C: Support for cmr font.
14244
14245 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14248         (available): New method.
14249
14250         * FontInfo.C (getFontname): Use scalable fonts even when
14251         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14252         found.
14253
14254 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14255
14256         * converter.C (Formats::view): reverted! Incorrect fix.
14257
14258 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14259
14260         * converter.C (Formats::view): only output the -paper option
14261         if the dvi viewer is xdvi, thereby fixing bug #233429.
14262
14263 2001-08-23  Herbert Voss  <voss@perce>
14264
14265         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14266
14267 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * Spacing.h (Spacing): Set space to Default on in the default
14270         constructor.
14271
14272 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * vc-backend.h (RCS::versionString): add RCS to version
14275         (CVS::versionString): add CVS to version
14276
14277         * vc-backend.C (scanMaster): do not add CVS to version.
14278         (scanMaster): do not add RCS to version
14279
14280         * lyxvc.C (versionString): new method
14281
14282         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14283
14284 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * Spacing.C (set): initialize fval
14287
14288 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14289
14290         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14291         " or \.
14292
14293 2001-08-16  Juergen Vigna  <jug@sad.it>
14294
14295         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14296
14297 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * BufferView_pimpl.C:
14300         * figureForm.C:
14301         * lyxtext.h:
14302         * text2.C: setParagraph takes linespacing now
14303
14304 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * LyxAction.C: add internal LFUN_CITATION_INSERT
14307
14308         * LyXView.C: actually apply fix
14309
14310         * bufferlist.C: fix open non-existent file
14311
14312         * lyxfind.C: fix indentation
14313
14314         * lyxfunc.C: remove unneeded assert, fix typo
14315
14316 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * MenuBackend.C: use "Floatname List"
14319
14320 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14321
14322         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14323         when converting LaTeX layout to insetERT.
14324         Generate a non-collapsed float when reading old float
14325
14326 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14327
14328         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14329         ERT insets.
14330
14331 2001-08-13  Juergen Vigna  <jug@sad.it>
14332
14333         * text.C (fill): return 0 instead of 20 as this seems to be the more
14334         correct value.
14335
14336 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14339         lyxrc.font_norm.
14340
14341 2001-08-13  Juergen Vigna  <jug@sad.it>
14342
14343         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14344         casesensitive off.
14345         (SearchBackward): comment out the unlocking of the inset_owner this
14346         should not be needed!
14347
14348 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14349
14350         * Many files: Remove inherit_language, and add latex_language
14351
14352         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14353         collapsible insets.
14354
14355 2001-08-10  Juergen Vigna  <jug@sad.it>
14356
14357         * text.C (prepareToPrint): fixed hfill-width in draw!
14358
14359         * BufferView2.C (selectLastWord): save the selection cursor as this
14360         now is cleared in the function LyXText::clearSelection!
14361
14362 2001-08-08  Juergen Vigna  <jug@sad.it>
14363
14364         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14365         BACKSPACE type functions.
14366
14367         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14368         is only cutted from the document but not put in the cut-buffer, where
14369         still the old stuff should be.
14370
14371         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14372
14373         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14374
14375         * tabular.C (SetWidthOfCell): fixed special case where the width
14376         was not updated!
14377         (LeftLine): handle '|' in align_special.
14378         (RightLine): ditto
14379         (LeftAlreadyDrawed): ditto
14380         (SetWidthOfCell): ditto
14381
14382 2001-08-07  Juergen Vigna  <jug@sad.it>
14383
14384         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14385
14386 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14389         * lyxlex.[hC]: ditto
14390
14391 2001-08-06  Juergen Vigna  <jug@sad.it>
14392
14393         * text.C (getVisibleRow): fix up row clearing a bit.
14394
14395 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * minibuffer.C: make sure the X server sees the changes in the input.
14398
14399 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * paragraph.C (getFont): split into...
14402         (getLabelFont): this
14403         (getLayoutFont): and this
14404         * paragraph_pimpl.C (realizeFont): calling this
14405
14406         * text2.C (getFont): split into...
14407         (getLayoutFont): this
14408         (getLabelFont): and this
14409         (realizeFont): all three calling this
14410
14411         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14412         files where used.
14413
14414 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14417
14418 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14419
14420         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14421         layouts from the Quote inset insertion.
14422
14423 2001-08-03  Juergen Vigna  <jug@sad.it>
14424
14425         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14426
14427         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14428         only if status not is already CHANGED_IN_DRAW (second level).
14429
14430         * text.C (draw): don't set the need_break_row when inside an
14431         InsetText LyXText.
14432
14433 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * buffer.C (parseSingleLyXformat2Token): handle more latex
14436         conversion cases.
14437
14438         * bufferview_funcs.[hC]: change function names to
14439         begin with small char, adjust other files.
14440
14441 2001-08-02  André Pönitz <poenitz@gmx.net>
14442
14443         * lyxfunc.C:
14444         BufferView_pimpl.C: remove broken special code for math-greek
14445
14446 2001-08-02  Juergen Vigna  <jug@sad.it>
14447
14448         * BufferView_pimpl.C (update): redone this function so that we
14449         update the text again if there was a CHANGE_IN_DRAW.
14450
14451         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14452         (drawFromTo): added a new internal bool which is used by draw() and
14453         redraw() function.
14454         (general): some cursor drawing problems fixed.
14455
14456 2001-08-01  Juergen Vigna  <jug@sad.it>
14457
14458         * lyxfind.C (LyXFind): fixed
14459         (SearchForward): ditto
14460         (SearchBackward): ditto
14461
14462         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14463         spurius drawing of the cursor in the main area.
14464
14465         * text2.C (status): small fix which could lead to a segfault!
14466         (clearSelection): remove unneeded BufferView param.
14467
14468 2001-08-01  André Pönitz <poenitz@gmx.net>
14469
14470         * lyxfunc.C: small change due to changed mathed interface
14471
14472 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14475
14476 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * lyxfunc.c: fail gracefully if file doesn't exist
14479
14480         * LyXSendto.C:
14481         * buffer.C:
14482         * lyxfunc.C:
14483         * BufferView_pimpl.C: IsDirWriteable() proto changed
14484
14485         * LyXView.C: fix updateWindowTitle() to store the last title
14486
14487 2001-07-31  Juergen Vigna  <jug@sad.it>
14488
14489         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14490         the font (wrong since using of Paragraph::highestFontInRange).
14491
14492         * paragraph.C (highestFontInRange): added a default_size parameter.
14493
14494         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14495         (setHeightOfRow): reformat
14496
14497 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * converter.[hC] + affected files: move to (inital-char)lowercase
14500         function names.
14501
14502         * ParagraphParameters.C (ParagraphParameters): remove commented code
14503
14504         * PainterBase.[Ch]: remove commented code
14505
14506         * LaTeXFeatures.h: add "bool floats" for float.sty
14507
14508         * LaTeXFeatures.C (LaTeXFeatures): init floats
14509         (require): handle float
14510         (getPackages): do it with floats
14511
14512 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * BufferView_pimpl.C (Dispatch): improve handling of
14515         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14516
14517         * commandtags.h: #include lyxfont.h here temporarily to avoid
14518         keybinding bug.
14519
14520         * bufferlist.h: include LString.h here.
14521
14522 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * text2.C (getStringToIndex): new method.
14525
14526 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14527
14528         * *: Reduced header file dependencies all over.
14529
14530 2001-07-30  Baruch Even  <baruch@lyx.org>
14531
14532         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14533
14534 2001-07-29  Baruch Even  <baruch@lyx.org>
14535
14536         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14537
14538 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * ParameterStruct.h (endif): add a default constructor to make
14541         sure that all variables is initialized.
14542
14543         * ParagraphParameters.C (ParagraphParameters): adjust
14544
14545 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14548         index; also, check that there is something to index, and that it
14549         does not span over several paragraphs.
14550         (doubleClick): use WHOLE_WORD_STRICT for double click.
14551
14552         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14553
14554         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14555         scheme.
14556
14557 2001-07-26  Baruch Even  <baruch@lyx.org>
14558
14559         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14560         an InsetFig figure, backwards compatible reading of old figure code.
14561
14562 2001-07-27  Juergen Vigna  <jug@sad.it>
14563
14564         * text2.C: font.realize function adaption.
14565
14566         * text.C (draw): add a warnings lyxerr text if needed.
14567
14568         * layout.C: font.realize function adaption.
14569
14570         * language.C: add inherit_language and implement it's handlings
14571
14572         * bufferview_funcs.C (StyleReset): remove language parameter from
14573         font creation (should be language_inherit now).
14574
14575         * bufferparams.C (writeFile): handle ignore_language.
14576
14577         * paragraph.C (getFontSettings): the language has to be resolved
14578         otherwise we have problems in LyXFont!
14579
14580         * lyxfont.C (lyxWriteChanges): added document_language parameter
14581         (update): removed unneeded language parameter
14582
14583         * paragraph.C (validate): fixed wrong output of color-package when
14584         using interface colors for certain fonts in certain environments,
14585         which should not seen as that on the final output.
14586
14587 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * BufferView_pimpl.C:
14590         * Thesaurus.h:
14591         * Thesaurus.C:
14592         * Makefile.am:
14593         * commandtags.h:
14594         * LyXAction.C: add thesaurus support
14595
14596         * lyxfind.h:
14597         * lyxfind.C: add "once" parameter, for thesaurus, to not
14598           move to the next match
14599
14600 2001-07-26  Juergen Vigna  <jug@sad.it>
14601
14602         * lyxfont.C (realize): honor ignore_language too!
14603         (resolved): ditto.
14604
14605         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14606
14607         * text.C (draw): one place more for ignore_language to not draw
14608         itself!
14609
14610 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14611
14612         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14613
14614 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14615
14616         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14617         the minipage conversion problem.
14618
14619 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14622         insert an inset.
14623
14624 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14625
14626         * BufferView.h: don't forward declare WorkArea
14627
14628         * BufferView.C: don't include WorkArea.h
14629
14630 2001-07-25  André Pönitz <poenitz@gmx.net>
14631
14632         * commandtags.h:
14633         * LyXAction.C:
14634         * lyxfunc.C:  new LFUN 'math-space'
14635
14636         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14637
14638 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * text2.C (toggleInset): call open/close
14641
14642 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * lyxfunc.C (dispatch): add debug for the disabled case
14645
14646         * font.C (buttonText): make similar to rectText
14647
14648         * buffer.C (readInset): comment out parsing of insetlist and
14649         insttheorem
14650
14651         * PainterBase.C (rectText): small correction
14652
14653         * BufferView_pimpl.C: comment out insettheorem and insetlist
14654         * LyXAction.C: ditto
14655         * commandtags.h: ditto
14656
14657 2001-07-24  Juergen Vigna  <jug@sad.it>
14658
14659         * text.C (draw): honor the ignore_language.
14660
14661         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14662
14663 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14666         char inset.
14667
14668 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14669
14670         * lyxtext.h: remove unused (and unimplemented) methods
14671
14672 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14673
14674         * text.C (getVisibleRow): honor background color
14675
14676         * PainterBase.h:
14677         * Painter.h: remove default color argument for fillRectangle
14678
14679         * text.C (backgroundColor): new method
14680
14681 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * text.C (getVisibleRow): adjust
14684
14685         * font.[Ch] (rectText): new method, metrics
14686         (buttonText): new method, metrics
14687
14688         * PainterBase.[hC]: make rectText and buttonText always draw and take
14689         fewer paramteres.
14690
14691 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14692
14693         * ToolbarDefaults.C (read):
14694         * MenuBackend.C (read): allow escaping in all strings
14695
14696         * BufferView_pimpl.C (insertAndEditInset): new method.
14697         (Dispatch): use insertAndEditInset whenever appropriate.
14698
14699         * BufferView_pimpl.C (insertNote): removed
14700
14701         * BufferView_pimpl.C (smartQuote): new method, moved from
14702         BufferView; if an insetquote cannot be inserted, insert a '"'
14703         character instead.
14704
14705         * BufferView2.C: remove insertCorrectQuote();
14706
14707         * lyxfunc.C (getStatus): Add support for all remaingin
14708         inset-insert lfuns.
14709
14710         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14711
14712         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14713         command (necessary to pass " as parameter of self-insert.
14714
14715         * text.C (selectWordWhenUnderCursor):
14716         (selectWord): add word_location parameter
14717         (selectWordWhenUnderCursor): same + remove special code for word
14718         boundary.
14719         (selectNextWord): use kind() to guess type of insetspecialchar,
14720         not latex().
14721
14722         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14723         (insertErtContents): create ert insets as collapsed.
14724         (readInset): better compatibility code for Info inset.
14725
14726 2001-07-20  Juergen Vigna  <jug@sad.it>
14727
14728         * lyxfunc.C (dispatch): use always LyXFind now!
14729
14730         * text2.C (init): add a reinit flag so that the LyXText can be
14731         reinited instead of deleted and reallocated (used in InsetText).
14732
14733         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14734
14735         * text.C: ditto
14736
14737         * text2.C: ditto
14738
14739 2001-07-18  Juergen Vigna  <jug@sad.it>
14740
14741         * text.C (selectNextWord): handle insets inside inset by calling
14742         always the bv->text functions so that we can go up the_locking_inset!
14743
14744         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14745         in strange locations when inside an inset!
14746
14747         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14748         handling to include insets.
14749
14750         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14751
14752 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * LyXAction.C (init):
14755         * commandtags.h:
14756         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14757         LIGATURE_BREAK, since the name is so stupid.
14758
14759 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14760
14761         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14762         InsetInfos.
14763
14764         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14765
14766         * sp_form.[Ch]: remove.
14767
14768         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14769
14770         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14771         InsetInfo.
14772
14773         * src/buffer.C (readInset): ditto.
14774
14775 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14776
14777         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14778         menuSeparator(), endOfSentenceDot(), ldots() and
14779         hyphenationPoint(), which are therefore removed.
14780         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14781
14782         * LyXAction.C (init):
14783         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14784
14785         * paragraph.C (getWord): removed.
14786
14787         * BufferView_pimpl.C (Dispatch): use last word or selection for
14788         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14789
14790         * lyx_main.C (queryUserLyXDir): do not ask before creating
14791         user_dir, except if it has been named explicitely.
14792
14793 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14794
14795         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14796         a document of zero size.
14797
14798 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14799
14800         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14801         approriately in the c-tor and in require().
14802         (getPackages): output the appropriate LaTeX for natbib support.
14803
14804         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14805         variables "use_natbib" and "use_numerical_citations" when reading the
14806         LyX file.
14807         (readInset): read the various natbib cite commands.
14808         (validate): white-space change.
14809
14810         * bufferparams.[Ch]: new variables "bool use_natbib" and
14811         "bool use_numerical_citations".
14812         (writeFile): output them in the LyX file.
14813
14814 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14815
14816         * lyxfunc.C (getStatus): add support for all the inset insertion
14817         commands.
14818
14819         * text2.C (insertInset):
14820         * paragraph.C (insetAllowed):
14821         * BufferView_pimpl.C (insertInset): update to take in account the
14822         renaming of insertInsetAllowed
14823
14824         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14825
14826         * text2.C (getInset): new method. returns inset at cursor position.
14827
14828         * BufferView_pimpl.C (Dispatch): changes because of this.
14829
14830         * LyXAction.C (init): rename open-stuff to inset-toggle.
14831
14832         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14833
14834         * text2.C (toggleInset): renamed from openStuff; use
14835         Inset::open().
14836
14837 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14838
14839         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14840
14841         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14842
14843 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * buffer.C (readLyXformat2): Add filename to the error dialog
14846
14847 2001-07-18  Juergen Vigna  <jug@sad.it>
14848
14849         * tabular.C (GetCellNumber): put an assert here instead of the check!
14850
14851 2001-07-17  Juergen Vigna  <jug@sad.it>
14852
14853         * BufferView_pimpl.C (toggleSelection): adapted too.
14854
14855         * text.C (selectNextWord): adapted for use with insets.
14856         (selectSelectedWord): ditto
14857
14858 2001-07-17  Juergen Vigna  <jug@sad.it>
14859
14860         * sp_spell.C (PSpell): fix initialitation order.
14861
14862 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * paragraph.C: spacing
14865
14866 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14867
14868         * sp_spell.C: repair language selection for pspell
14869
14870 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14871
14872         * lyxfunc.h: change more methods to begin with lower char.
14873
14874 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14875
14876         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14877         for unknown layouts.
14878
14879 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14880
14881         * buffer.C (readLyXformat2): Generate an error dialog if there are
14882         unknown layouts.
14883
14884 2001-07-16  Juergen Vigna  <jug@sad.it>
14885
14886         * sp_spell.C: always compile ISpell part.
14887
14888         * lyxrc.C: added use_pspell entry and it's handling.
14889
14890 2001-07-13  Juergen Vigna  <jug@sad.it>
14891
14892         * sp_spell.C: removed double includes.
14893
14894 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14895
14896         Consistent use of Lsstream.h:
14897         * Lsstream.h: added using std::stringstream for consistencies sake.
14898
14899         * buffer.C: removed using std::stringstream
14900
14901         * lyxfont.C (stateText):
14902         * paragraph.C (asString):
14903         * text.C (selectNextWord, selectSelectedWord):
14904         * text2.C (setCounter):
14905         * vspace.C (asString, asLatexString):
14906         std::ostringstream -> ostringstream.
14907
14908 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14909
14910         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14911         * commandtags.h: add LFUN_HELP_ABOUTLYX
14912         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14913
14914 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14915
14916         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14917         cursorToggle()
14918         * lyx_gui_misc.C: remove spellchecker
14919         * lyxfunc.C: showSpellchecker
14920         * sp_base.h: added
14921         * sp_ispell.h: added
14922         * sp_pspell.h: added
14923         * sp_spell.C: added
14924         * sp_form.[Ch]: removed
14925         * spellchecker.[Ch]: removed
14926
14927 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14928
14929         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14930         is set.
14931         (simpleTeXSpecialChars): Simply print the input character without
14932         any special translation if pass_thru is set.
14933
14934         * layout.h: Added bool pass_thru to layout class for being able to
14935         implement pass through of a paragraph for Literate Programming.
14936
14937         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14938         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14939         * layout.C (Read): add "passthru" to list of layout tags and add
14940         code to set the pass_thru boolean when it is read.
14941
14942 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * trans_decl.h: remove allowed from KmodInfo
14945
14946         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14947         remove allowed code
14948         (Load): adjust
14949
14950         * paragraph_pimpl.C (erase): use boost::prior
14951
14952         * Painter.C (text): use data() instead of c_str() when length is
14953         also provided.
14954         * WorkArea.C (putClipboard): ditto
14955         * font.h (width): ditto
14956
14957         * BufferView2.C: use it-> instead of (*it). for iterators
14958         * texrow.C: ditto
14959         * paragraph_pimpl.C: ditto
14960         * paragraph.C: ditto
14961         * minibuffer.C: ditto
14962         * language.C: ditto
14963         * kbmap.C: ditto
14964         * encoding.C: ditto
14965         * counters.C: ditto
14966         * converter.C: ditto
14967         * chset.C: ditto
14968         * Variables.C: ditto
14969         * TextCache.C: ditto
14970         * MenuBackend.C: ditto
14971         * LyXAction.C: ditto
14972         * LColor.C: ditto
14973         * FloatList.C: ditto
14974         * DepTable.C: ditto
14975         * ColorHandler.C (LyXColorHandler): ditto
14976
14977 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14980
14981         * text2.C (openStuff): reintroduce this method (which had been
14982         nuked in NEW_INSETS frenzy).
14983
14984         * lyxfunc.C (Dispatch): when an action has not been handled, use
14985         its name in the error message, not its number.
14986
14987         * paragraph.C (inInset): change method name to begin with lowercase.
14988
14989         * undo_funcs.C:
14990         * text2.C: updates because of this.
14991
14992 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * ToolbarDefaults.C (add): add spaces in error message
14995
14996 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14999         (readLyXformat2): rename return_par to first_par, use lyxlex's
15000         pushToken and remove the manual push handling.
15001         (parseSingleLyXformat2Token): add another ert comp. variable:
15002         in_tabular, rename return_par to first_par. handle newlines better
15003
15004 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15007
15008 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15009
15010         * text2.C (getParFromID): removed
15011
15012         * buffer.C (getParFromID): new method moved form lyxtext.
15013         * BufferView2.C (insertErrors): adjust
15014         (setCursorFromRow): adjust
15015         * BufferView_pimpl.C (restorePosition): adjust
15016         * lyxfunc.C (Dispatch): adjust
15017         * undo_funcs.C (textUndo): adjust
15018         (textRedo): adjust
15019         (textHandleUndo): adjust
15020         (textHandleUndo): adjust
15021
15022 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * buffer.C: up' the LYX_FORMAT
15025
15026         * lyxfont.h: turn NO_LATEX on as default
15027
15028         * buffer.C (insertErtContents): new methods of tex style compability.
15029         (parseSingleLyXformat2Token): use it several places.
15030         * tabular.C (OldFormatRead): and here
15031
15032 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * text2.C: remove some commented code.
15035         reindent file.
15036
15037         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15038         * trans.C: changes because of the above.
15039
15040 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * text2.C (setCounter): Fix counters bug with bibliography layout.
15043
15044 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15047         own member functions
15048         (simpleTeXSpecialChars): ditto
15049
15050 2001-07-06  Juergen Vigna  <jug@sad.it>
15051
15052         * a lot of files: changed the access to LyXText::status and the
15053         call of undo-functions.
15054
15055         * undo.[Ch]: added a inset_id to the undo informations.
15056
15057         * undo_funcs.[Ch]: added and moved here all undo functions.
15058
15059         * lyxtext.h: give the status enum a weight, made status_ a private
15060         variable and made accessor functions for it, removed the whole bunch
15061         of undo-functions as they are now in their own file, make some
15062         functions publically available. Added function ownerParagraph with
15063         int parameter.
15064
15065         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15066         made InInset() a const function, added getParFromID() function.
15067
15068         * buffer.[Ch]: added const version for inset_iterator functions,
15069         added getInsetFromID() function.
15070
15071         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15072         changed undo functions for new version.
15073
15074 2001-07-05  Juergen Vigna  <jug@sad.it>
15075
15076         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15077         unknow mechanism does not call the proper constructor but only this
15078         one also if I request the other!?
15079
15080 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15083
15084         * text2.C (LyXText): use initialization lists.
15085
15086         * lyxtext.h (Selection): initialize set_ and mark_
15087         (init): remove method
15088
15089 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15092
15093 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15094
15095         * screen.[Ch]: change method names to begin with lowercase
15096
15097         * BufferView_pimpl.C (updateScrollbar): simplify further and
15098         hopefully make it a bit faster.
15099
15100 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15101
15102         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15103         calling directly xforms functions.
15104
15105         * Painter.C (Painter):
15106         * lyx_cb.C (MenuWrite):
15107         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15108         fl_display.
15109
15110         * lyx_gui.C: remove bogus guiruntime extern declaration.
15111
15112 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15115         in NEW_INSETS
15116         (redoDrawingOfParagraph): ditto
15117         (redoParagraphs): ditto
15118         (cutSelection): don't create a object for CutAndPaste use the
15119         static method directly
15120         (pasteSelection): ditto
15121
15122         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15123         LyXview (+ rename)
15124
15125 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * modifications to some other files because of this.
15128
15129         * Makefile.am (lyx_SOURCES): add XFormsView
15130
15131         * XFormsView.[Ch]: new files
15132
15133         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15134         the main window. Move the gui dependent stuff to XFormsView
15135
15136 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * tabular.C (GetCellInset): update cur_cell also in the row/col
15139         version of this function.
15140
15141         * lyxfunc.C: no need to include figure_form.h here.
15142
15143         * FontLoader.h:
15144         * lyxfunc.h:
15145         * lyxscreen.h:
15146         * text2.C:
15147         * lyxvc.C: no need to include forms.h here.
15148
15149 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15152
15153         * lyxfunc.C (Dispatch):
15154         * Spacing.C (set):
15155         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15156         constructor argument.
15157
15158 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15159
15160         * paragraph.C (Paragraph): dont't clear, and just set layout.
15161         (makeSameLayout): use params's copy contructor.
15162
15163         * ParagraphParameters.[Ch] (makeSame): delete method
15164
15165 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15166
15167         * Variables.[Ch]: fix indentation, rename set to isSet
15168
15169 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * lyxfunc.C (Dispatch): fix typo
15172
15173 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15176         upper_bound.
15177
15178         * bufferlist.C: include assert.h for emergencyWrite().
15179
15180 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15183           give up at last (bug #425202) !
15184
15185 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * lyx_gui_misc.C:
15188         * sp_form.h:
15189         * sp_form.C:
15190         * spellchecker.h:
15191         * spellchecker.C: strip spellchecker options and bring up
15192           preferences tab instead
15193
15194 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15197         the istringstream constructor
15198
15199 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * paragraph.C (getLayout): fix return value
15202
15203         * paragraph.h: do not declare getLayout as inline.
15204
15205         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15206
15207 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * lyxcursor.h (operator<): new func
15210         (operator>): new func
15211         (operator>=): new func
15212         (operator<=): new func
15213
15214         * text.C (changeCase): use selection.start and selection.end
15215         (changeRegionCase): require from to be <= to. Require par to be a
15216         valid paragraph.
15217
15218         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15219
15220 2001-06-27  Juergen Vigna  <jug@sad.it>
15221
15222         * text.C (cursorLeftOneWord): changed to return the cursor and added
15223         overlay with BufferView * parameter which calls this one.
15224         (getWord): added
15225         (selectWord): use new getWord function.
15226         (changeCase): renamed from changeWordCase as and extended to work
15227         also on selections.
15228
15229         * lyxtext.h: added enum word_location
15230
15231         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15232         changeCase as this operates now also on selections.
15233
15234 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15235
15236         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15237
15238         * many files: send debug output to Debug::INFO instead of
15239         Debug::ANY.
15240
15241         * converter.C (View):
15242         (Convert):
15243         (Move): send debug output to Debug::FILES instead of console.
15244
15245 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15246
15247         * lyxfunc.C (getStatus): use func_status
15248
15249         * func_status.h: new header, describing the results of
15250         LyXFunc::getStatus;
15251
15252         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15253         LFUN_MATH_HALIGN.
15254
15255 2001-06-25  The LyX Project  <jug@sad.it>
15256
15257         * buffer.C (sgmlOpenTag):
15258         (sgmlCloseTag):
15259         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15260
15261 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15262
15263         * text2.C: remove some dead code
15264
15265         * tabular.C (GetCellInset): store the last cell checked (gotten)
15266
15267         * tabular.h: add the helper for the speedup
15268
15269         * lyxtext.h: remove some dead code
15270
15271 2001-06-26  The LyX Project  <Asger>
15272
15273         * paragraph.C: Change export to LaTeX of alignment to
15274         \begin{center} and family for better roundtrip work with reLyX.
15275
15276         * Tune the math drawing a bit.
15277
15278 2001-06-25  The LyX Project  <Asger>
15279
15280         * LColor.C (LColor): New color for math background. New color
15281         for buttons.
15282
15283 2001-06-25  The LyX Project  <jug@sad.it>
15284
15285         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15286
15287         * lyxfunc.C (Open):
15288         * bufferlist.C (newFile): do not restrict to files ending with
15289         .lyx
15290
15291         * BufferView_pimpl.C (MenuInsertLyXFile):
15292
15293 2001-06-24  The LyX Project  <jug@sad.it>
15294
15295         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15296         of compare_no_case
15297
15298 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * lyxtext.h: rename most methods to begin with a small char.
15301         Lots of changes because of this.
15302
15303         * paragraph.C (Paragraph): do not call fitToSize
15304         (erase): call Pimpl::erase
15305         (insertChar): call Pimpl::insertChar
15306         (insertInset): call Pipl::insertInset
15307         (breakParagraph): do not call fitToSize
15308         (breakParagraphConservative): do not call fitToSize
15309         (fitToSize): remove method
15310
15311         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15312
15313 2001-06-24  The LyX Project  <Asger>
15314
15315         * Fix Qt compilation^2
15316
15317 2001-06-24  The LyX Project  <jug@sad.it>
15318
15319         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15320         depthHook(getDepth()-1).
15321
15322         * paragraph.h:
15323         * ParagraphParameters.h:
15324         * ParameterStruct.h: change type of depth to unsigned int ==
15325         depth_type. Many adaptations to other files before of that.
15326
15327 2001-06-24  The LyX Project  <Asger>
15328
15329         * Fix Qt compilation.
15330
15331 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * paragraph.h: renamed several methods to begin with small letter.
15334         several changes to many parts of the code because of this.
15335
15336 2001-06-23  The LyX Project  <jug@sad.it>
15337
15338         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15339         rewritten to discard all double spaces when KeepEmpty is off
15340         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15341         to only handle newlines but not fiddle with spaces and friends.
15342
15343         * lyxfunc.C (MenuNew): when doing 'new from template', use
15344         template_path as default directory
15345
15346 2001-06-23  The LyX Project  <Asger>
15347
15348         * Clean-up of header file includes all over
15349         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15350
15351 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15352
15353         * paragraph.h: renamed from lyxparagraph.h
15354
15355 2001-06-23  Asger  <lyx@violet.home.sad.it>
15356
15357         * Buffer.h: Removed Buffer::resize
15358         * BufferList.h: Removed BufferList::resize
15359         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15360         the document lazily when we change the width, or the font settings.
15361
15362 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15363
15364         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15365
15366 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15367
15368         * buffer.h: remove out of date comment
15369
15370 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15371
15372         * lyxscreen.h:
15373         * screen.C: fix "theoretical" GC leak
15374
15375 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15376
15377         * LaTeX.C (scanAuxFile):
15378         (deplog): remove trailing \r when reading stream (useful under
15379         win32)
15380
15381 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15382
15383         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15384         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15385         and BufferView::theLockingInset(Inset*), so should use them and not
15386         access bv_->text->the_locking_inset directly.
15387
15388         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15389
15390 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15391
15392         * Makefile.am:
15393         * tex-defs.h: remove old unused file
15394
15395 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15396
15397         * BufferView_pimpl.C: fix typo, remove minibuffer message
15398           when buffer has loaded
15399
15400 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * lyxfunc.C (Dispatch): use stringstream
15403         (MenuNew): use stringstream
15404         (Open): use stringstream
15405
15406         * importer.C (Import): use stringstream
15407
15408         * bufferview_funcs.C (CurrentState): use stringstream
15409
15410         * LaTeX.C (run): use stringstream
15411
15412         * BufferView_pimpl.C (savePosition): use stringstream
15413         (restorePosition): use stringstream
15414         (MenuInsertLyXFile): use stringstream
15415
15416 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15417
15418         * BufferView.C:
15419         * Bullet.C:
15420         * ColorHandler.C:
15421         * FontInfo.C:
15422         * FontLoader.C:
15423         * LColor.C:
15424         * LaTeXFeatures.C:
15425         * Painter.C:
15426         * gettext.C:
15427         * lyx_gui_misc.C:
15428         * lyxserver.C:
15429         * vspace.C: removed // -*- C++ -*- as first line.
15430
15431         * lyxfind.h:
15432         * version.h: added // -*- C++ -*- as first line.
15433
15434 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15437
15438         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15439         of string
15440
15441 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15444         of floats.
15445
15446 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * gettext.C: include LString.h even when --disable-nls is on.
15449
15450 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15451
15452         * converter.h (Get): changed argument type from int to
15453         FormatList::size_type to avoid unnecessary conversion.
15454
15455         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15456         before using it.
15457
15458 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * gettext.h: include LString.h even when --disable-nls is on.
15461
15462 2001-06-07  Juergen Vigna  <jug@sad.it>
15463
15464         * text.C (BreakAgain): subst spaces with tabs.
15465
15466         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15467         (resizeInsetsLyXText): set force on resizeLyXText.
15468
15469 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15470
15471         * gettext.h (gettext_init):
15472         (locale_init): use a real definition instead of a macro
15473
15474 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15475
15476         * Bufferview_pimpl.C:
15477         * LColor.h:
15478         * LColor.C: further lcolor tidies
15479
15480 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * BufferView_pimpl.C (updateScrollbar): simplify.
15483
15484         * BufferView2.C: don't include insets/insetinfo.h, change
15485         prototype for insertInset and call the Pimpl version. let
15486         updateInset call Pimpl version.
15487
15488         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15489         gotoInset to BufferView::Pimpl
15490
15491 2001-06-01  Juergen Vigna  <jug@sad.it>
15492
15493         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15494         inside a LockingInset (is the update needed at all?).
15495
15496 2001-05-31  Juergen Vigna  <jug@sad.it>
15497
15498         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15499         here not the old one otherwise how should we compare it afterwards
15500         if it's the same!
15501
15502 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * lyxfont.C:
15505         * tabular.C:
15506         * tabular-old.C:
15507         * FontInfo.C: bring C functions into global namespace when
15508         necessary
15509
15510 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511
15512         * LString.h: make sure config.h has been loaded before LString.h.
15513
15514         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15515         (one for each char read by EatLine!).
15516
15517         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15518         variables.
15519
15520 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15523         to the same as the par we break from
15524
15525 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15528
15529         * MenuBackend.C (expand): also create menu entries for wide
15530         versions of the floats.
15531
15532         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15533
15534         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15535
15536         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15537         frontends/Makefile.am
15538
15539         * text2.C: adjust
15540         * text.C: adjust
15541
15542
15543         * tabular.C (getTokenValue): add std::
15544
15545         * tabular-old.C (getTokenValue): add std::
15546         (getTokenValue): ditto
15547         (getTokenValue): ditto
15548
15549         * screen.C (ToggleSelection): adjust
15550
15551         * lyxtext.h: put selection cursors inside a Selection struct.
15552
15553         * lyxfunc.C (moveCursorUpdate): adjust
15554
15555         * lyxfont.C (latexWriteStartChanges): add std::
15556
15557         * lyxfind.C: adjust
15558
15559         * font.h: delete with(char const *, LyXFont const &)
15560
15561         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15562
15563         * FontInfo.C (getFontname): add std::
15564
15565         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15566         (workAreaButtonPress): adjust
15567         (tripleClick): adjust
15568         (update): adjust
15569         (moveCursorUpdate): adjust
15570         (Dispatch): adjust
15571
15572         * BufferView2.C (gotoInset): adjust
15573
15574 2001-05-30  Juergen Vigna  <jug@sad.it>
15575
15576         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15577         to check pspell I add this as default as I now have new pspell
15578         libraries and they seem to use this.
15579
15580 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15581
15582         * text2.C (CutSelection): make the cursor valid before the call to
15583         ClearSelection.
15584
15585 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15588         relied on 0 terminated strings and other horrors. Bug found due to
15589         the new assert in lyxstring!
15590
15591         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15592         KP_ keys.
15593
15594 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15595
15596         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15597         to latinkeys.bind.
15598
15599         * lyxfunc.C (processKeySym): change method of getting to the
15600         self-insert char.
15601
15602         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15603         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15604         * BufferView_pimpl.[Ch]: here as private methods.
15605
15606 2001-05-28  Juergen Vigna  <jug@sad.it>
15607
15608         * text.C (SetHeightOfRow): added the update() call again as it is
15609         needed to initialize inset dimensions!
15610
15611 2001-05-16  Juergen Vigna  <jug@sad.it>
15612
15613         * text2.C (SetCharFont): Add new function with BufferView * and
15614         bool toggleall parameters for setting insets internal fonts.
15615         (SetFont): Freeze the undo as we may change fonts in Insets and
15616         all this change should be inside only one Undo!
15617
15618         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15619         setting font's in insets as for them we have the SetFont function!
15620
15621 2001-05-15  Juergen Vigna  <jug@sad.it>
15622
15623         * text2.C (ClearSelection): to be sure we REALLY don't have any
15624         selection anymore!
15625
15626         * tabular.C (TeXCellPreamble): fixed the left border problem for
15627         multicolumn cells.
15628
15629 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15630
15631         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15632         dependancy file
15633
15634 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15637         LFUN_BREAKPARAGRAPH.
15638
15639         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15640         help test to "internal only", similar for LFUN_INSERT_URL
15641
15642         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15643         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15644         auto_region_delete and deadkeys.
15645
15646 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15647
15648         * LColor.h:
15649         * LColor.C: remove some dead entries, tidy a little
15650
15651 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15652
15653         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15654         commented code.
15655         (Dispatch): implement LFUN_ESCAPE
15656
15657         * commandtags.h: add LFUN_ESCAPE
15658
15659         * LyXAction.C (init): add entry for LFUN_ESCAPE
15660
15661         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15662         Remove commented code.
15663         (insertNote): moved here
15664         (open_new_inset): moved here
15665
15666         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15667         BufferView_pimpl
15668
15669 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * kbmap.C (findbinding): clean it up and make it work correctly.
15672
15673         * lyx_main.C (init): do not pass argc and argv as parameters
15674
15675 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15676
15677         * buffer.C: fix path for OS/2 & Win32
15678
15679         * lyx_gui.C:
15680         * lyx_main:
15681         * lyx_main.C: Added os:: class.
15682
15683         * os2_defines.h: update
15684
15685 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15688         better by trying again with reduced state.
15689
15690 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15691
15692         * lyxrc.C (read): print error about invalid key sequence only when
15693         debugging (because not all latinX keysyms are known to some X
15694         servers)
15695
15696         * kbsequence.C (getiso): add a few std:: qualifiers
15697         (getiso): comment out extra return statement.
15698
15699 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15700
15701         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15702         handling.
15703         (Dispatch): enhance the accent inset a bit. (not perfect)
15704
15705 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15708
15709 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * bufferlist.C (emergencyWrite): fix assert() call
15712
15713 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15714
15715         * text.C (InsertChar): Added trivial patch to only send the "you
15716         can not do multiple spaces this way" message once during a
15717         session.
15718
15719 2001-05-08  Baruch Even  <baruch@lyx.org>
15720
15721         * Makefile.am: Changed order of libraries to get LyX to link properly
15722         with the gnome frontend.
15723
15724 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * LaTeXFeatures.h: add a std:: qualifier
15727
15728 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15729
15730         * paragraph.C (String): use stringstream
15731
15732 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15733
15734         * paragraph.C (writeFile): remove footflag arg
15735
15736         * buffer.C (makeLaTeXFile): use stringstream
15737         (latexParagraphs): remove footnot gurba
15738
15739         * LaTeXFeatures.C (getPackages): use stringstream
15740         (getMacros): likewise
15741         (getTClassPreamble): likewise
15742         (getFloatDefinitions): new method
15743
15744         * paragraph.C (writeFile): reindent
15745         (Erase): reindent
15746
15747         * WorkArea.h: revert the xpos + etc changes.
15748
15749         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15750
15751         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15752
15753         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15754         (pasteSelection): likewise
15755         * text2.C (CreateUndo): likewise
15756
15757 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15758
15759         * minibuffer.C (peek_event): temporarily reduce the functionality
15760         of the minibuffer (to allow args on lfuns)
15761
15762         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15763         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15764
15765         * buffer.C (readInset): add compability reading of old float
15766         lists, add reading of new style float list.
15767         (readInset): avoid reevaluation of inscmd.getCmdName()
15768         (getLists): reindent
15769
15770         * MenuBackend.C (MenuItem): implement parsing of
15771         md_floatlistinsert and md_floatinsert.
15772         (expand::LastFiles): move initalizaton of iterators out of loop,
15773         avoid reevaluation.
15774         (expand::Documents): introduce typdedef vector<string> Strings,
15775         and use it.
15776         (expand::ExportFormats): introduce typedef vector<Format const *>
15777         Formats, and use it.
15778         (expand): implement FloatListInsert and FloatInsert.
15779
15780         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15781         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15782         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15783
15784         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15785         handling.
15786         (Dispatch::LFUN_FLOAT_LIST): implement
15787
15788 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15789
15790         * LaTeX.C (run): Fix problem with --export code.
15791
15792 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         * BufferView.[Ch] (workarea): removed.
15795         (getClipboard) new method; wrapper for workarea()->getClipboard()
15796
15797         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15798         bug.
15799
15800         * WorkArea.h (width, height, xpos, ypos): These methods all
15801         returned the dimensions of the work_area sub-area of WorkArea,
15802         resulting in a position error if the WorkArea were resized. Now
15803         return the dimensions of the entire WorkArea.
15804
15805         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15806
15807 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * LaTeX.C (deplog): correct the syntax of regex reg1
15810
15811 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * undo.C: remove !NEW_INSETS cruft
15814
15815 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15816
15817         * text2.C: remove !NEW_INSETS cruft
15818
15819         * text.C: remove !NEW_INSETS cruft
15820
15821         * tabular.C: remove !NEW_INSETS cruft
15822
15823         * spellchecker.C: remove !NEW_INSETS cruft
15824
15825         * lyxtext.h: remove !NEW_INSETS cruft
15826
15827         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15828
15829         * lyxfunc.C: remove !NEW_INSETS cruft
15830
15831         * lyxfind.C: remove !NEW_INSETS cruft
15832
15833         * lyx_cb.C: remove !NEW_INSETS cruft
15834
15835         * figureForm.C: remove  !NEW_INSETS cruft
15836
15837         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15838
15839         * buffer.[Ch]: remove !NEW_INSETS cruft
15840
15841         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15842
15843         * CutAndPaste.C: remove !NEW_INSETS cruft
15844
15845         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15846
15847         * BufferView2.C: remove !NEW_INSETS cruft
15848
15849         * BufferView.h: remove !NEW_INSETS cruft
15850
15851 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * Lsstream.h: include LString.h before the sstream headers to
15854         fix problem with gcc 2.95.3 and lyxstring
15855
15856 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15857
15858         * lyx_main.C: add using directives when needed for C functions
15859         declared in std:: namespace.
15860
15861 2001-04-27  Juergen Vigna  <jug@sad.it>
15862
15863         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15864         (SetHeightOfRow): comment out the update call should not be needed!
15865
15866 2001-04-13  Juergen Vigna  <jug@sad.it>
15867
15868         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15869         (LyXTabular): tried to minimize operator= operations (and realized
15870         hopfully Lars wish).
15871
15872 2001-04-27  Juergen Vigna  <jug@sad.it>
15873
15874         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15875
15876 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15879
15880         * buffer.C (readInset): hack to make listof algorithm work
15881
15882         * BufferView_pimpl.C: hack to make listof algorithm work
15883
15884 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * LyXAction.C: removed all !NEW_INSETS cruft
15887         (init): moved lfun_item in method
15888
15889         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15890
15891 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15892
15893         * BufferView2.C (theLockingInset): white space.
15894
15895 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * minibuffer.C: include <iostream>
15898
15899         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15900
15901         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15902
15903         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15904
15905         * text.[Ch] (TransposeChars): new method
15906
15907 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * call message directly through LyXView instead of through LyXFunc
15910         * BufferView2.C: adjust
15911         * BufferView_pimpl.C: adjust
15912         * FontLoader.C: adjust
15913         * buffer.C: adjust
15914         * bufferview_funcs.C: adjust
15915         * converter.C: adjust
15916         * figureForm.C: adjust
15917         * importer.C: adjust
15918         * lyx_cb.C: adjust
15919         * lyx_gui_misc.C: adjust
15920         * lyxfunc.C: adjust
15921         * lyxvc.C: adjust
15922         * text2.C: adjust
15923         + more files in subdirs
15924
15925         * lyxparagraph.h (size): move up int file
15926         (GetLayout): ditto
15927
15928         * adjust all uses of Assert to lyx::Assert.
15929
15930         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15931         lyxfunctional in namespace lyx
15932         * layout.C (hasLayout): ditto
15933         (GetLayout): ditto
15934         (GetLayout): ditto
15935         (delete_layout): ditto
15936         (NumberOfClass): ditto
15937         * converter.C (GetFormat): ditto
15938         (GetNumber): ditto
15939         (Add): ditto
15940         (Delete): ditto
15941         (SetViewer): ditto
15942         * bufferlist.C (getFileNames): ditto
15943         (emergencyWriteAll): ditto
15944         (exists): ditto
15945         (getBuffer): ditto
15946         * MenuBackend.C (hasSubmenu): ditto
15947         (hasMenu): ditto
15948         (getMenu): ditto
15949         * BufferView_pimpl.C (getInsetByCode): ditto
15950
15951 2001-04-18  Juergen Vigna  <jug@sad.it>
15952
15953         * vspace.C (asLatexString): fixed the 100% problem.
15954
15955 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * lyxfunc.C (Dispatch):
15958         * minibuffer.C:
15959         * minibuffer.h: add a few std:: qualifiers
15960
15961 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15962
15963         * minibuffer.[Ch]: reimplement so that commands is initiated and
15964         run from lyxfunc, simplified som handling, and made the completion
15965         and history code for complete. wip.
15966
15967         * lyxfunc.C (processKeySym): call message
15968         (miniDispatch): new temporary method
15969         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15970         (LFUN_MESSAGE): implement
15971         (LFUN_MESSAGE_PUSH): implement
15972         (LFUN_MESSAGE_POP): implement
15973         (initMiniBuffer): the initial/defualt minibuffer message.
15974
15975         * lyxfont.[Ch]: inline some more getters
15976
15977         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15978
15979         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15980
15981         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15982         (AutoSave): use LFUN_MESSAGE
15983         (Reconfigure): ditto
15984
15985         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15986
15987         * figureForm.C: use LFUN_MESSAGE
15988
15989         * converter.C (runLaTeX): use LFUN_MESSAGE
15990
15991         * bufferview_funcs.C: use LFUN_MESSAGE
15992         (Melt): ditto
15993         (changeDepth): ditto
15994
15995         * bufferparams.h: use boost::
15996
15997         * bufferlist.h: inherit privately from noncopyable
15998
15999         * bufferlist.C (loadLyXFile): remove some commented code.
16000
16001         * buffer.C (runChktex): use LFUN_MESSAGE
16002
16003         * ShareContainer.h: inherit privately from noncopyable
16004
16005         * ParagraphParameters.[hC] (depth): inline it.
16006
16007         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16008         methods.
16009         (message): new method
16010         (messagePush): ditto
16011         (messagePop): ditto
16012         (show): init minibuffer
16013         (showState): direct call
16014
16015         * LaTeX.[Ch]: inherit privately from noncopyable
16016         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16017         instead of WriteStatus.
16018
16019         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16020
16021         * BufferView_pimpl.C (buffer): don't init minibuffer
16022         (workAreaButtonPress): use LFUN_MESSAGE
16023         (workAreaButtonRelease): ditto
16024         (savePosition): ditto
16025         (restorePosition): ditto
16026         (MenuInsertLyXFile): ditto
16027         (workAreaExpose): don't init minibuffer
16028         (update): remove commented code, simplify
16029
16030         * BufferView2.C (openStuff): use LFUN_MESSAGE
16031         (toggleFloat): ditto
16032         (menuUndo): ditto
16033         (menuRedo): ditto
16034         (copyEnvironment): ditto
16035         (pasteEnvironment): ditto
16036         (copy): ditto
16037         (cut): ditto
16038         (paste): ditto
16039         (gotoInset): ditto
16040         (updateInset): remove some commented code
16041
16042         * lastfiles.h: inherit privately from noncopyable
16043         * layout.h: ditto
16044         * lyx_gui.h: ditto
16045         * lyx_main.h: ditto
16046         * lyxlex.h: ditto
16047         * lyxlex_pimpl.h: ditto
16048
16049         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16050         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16051         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16052
16053         * LyXAction.h: inherit privately from noncopyable, add methods
16054         func_begin, func_end, returning iterators to the func map.
16055
16056         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16057         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16058         (func_begin): new method
16059         (func_end): new method
16060
16061         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16062         and not)
16063         (copySelection): ditto
16064         (pasteSelection): ditto
16065
16066         * BufferView.C: whitespace change
16067         * BufferView.h: inherit privately from noncopyable
16068
16069 2001-04-16  Allan Rae  <rae@lyx.org>
16070
16071         * tabular-old.C (l_getline):
16072         * spellchecker.C (sc_check_word):
16073         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16074         an unrecognised preprocessor directive.  So ensure they're wrapped.
16075
16076 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16077
16078         * src/exporter.C (Export): Give an error message when path to file
16079         contains spaces.
16080
16081 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * LaTeX.C (deplog): Always check that foundfile exists.
16084
16085 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * lyx_main.h:
16088         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16089
16090 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16091
16092         * tabular.[Ch] (getLabelList): implement new method
16093
16094         * minibuffer.h: comment ouf setTiimer
16095
16096         * minibuffer.C (ExecutingCB): constify res
16097         (peek_event): constify s
16098         (Set): constify ntext
16099         (Init): constify nicename
16100
16101         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16102
16103         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16104         (savePosition): use two params to Minibuffer::Set
16105         (restorePosition): ditto
16106
16107 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * lyx_main.C: include language.h
16110
16111         * Makefile.am (lyx_main.o): add language.h
16112
16113 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * exporter.C:
16116         * paragraph.C:
16117         * screen.C:
16118         * tabular.C:
16119         * CutAndPaste.C: include gettext.h
16120
16121         * lyxfont.h: remove old hack with ON and OFF.
16122
16123         * lyxparagraph.h:
16124         * lyxfont.h: do not include language.h...
16125
16126         * BufferView2.C:
16127         * LaTeXFeatures.C:
16128         * Painter.C:
16129         * bufferview_funcs.C:
16130         * font.C:
16131         * lyxfont.C:
16132         * text.C:
16133         * text2.C:
16134         * trans_mgr.C:
16135         * paragraph.C: ... but do it here instead
16136
16137 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16138
16139         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16140
16141         * tabular.C: small reformat
16142
16143         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16144         NEW_INSETS version
16145         (GetChar): ditto
16146         (BreakParagraph): ditto
16147         (SetOnlyLayout): ditto
16148         (SetLayout): ditto
16149
16150         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16151         with one arg less.
16152
16153         * lastfiles.C: removed most using decl, add std:: where needed
16154
16155         * buffer.C: ws changes
16156
16157         * MenuBackend.C (class compare_format): put into anon namespace
16158         (expand): constify label, names, action, action2
16159         (expand):
16160
16161         * text.C (SingleWidth): constify font
16162         (IsBoundary): constify rtl2
16163         (GetVisibleRow): constify ww
16164
16165         * LaTeX.C (deplog): constify logfile
16166
16167         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16168         start_x, end_x
16169         (workAreaExpose): constify widthChange, heightChange
16170
16171         * lyxrow.C (par): moved
16172         (height): moved
16173         (next): moved
16174         * lyxrow.h: as inlines here
16175
16176         * lyxfont.h (shape): moved from lyxfont.C
16177         (emph): moved from lyxfont.C
16178
16179         * lyxfont.C (LyXFont): use initialization list for all
16180         constructors
16181         (shape): move to lyxfont.h as inline
16182         (emph): move to lyxfont.h as inline
16183
16184
16185 2001-04-04  Juergen Vigna  <jug@sad.it>
16186
16187         * vspace.C: had to include stdio.h for use of sscanf
16188
16189 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16190
16191         * BufferView.h:
16192         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16193         independent of xforms.
16194
16195 2001-04-02  Juergen Vigna  <jug@sad.it>
16196
16197         * spellchecker.C: fixed namespace placing!
16198
16199 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16200
16201         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16202         the LyXParagraph * is 0.
16203
16204 2001-03-29  Juergen Vigna  <jug@sad.it>
16205
16206         * vspace.C: added support for %, c%, p%, l%.
16207         (stringFromUnit): added helper function.
16208         (asLatexString): changed to give right results for the %-values.
16209
16210         * buffer.C: convert the widthp in a width%.
16211
16212 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16213
16214         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16215         figureForm.[Ch].
16216
16217         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16218         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16219
16220         * lyx_cb.[Ch]: see above.
16221
16222         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16223         form1.[Ch].
16224
16225         * form1.[Ch]:
16226         * lyx.[Ch]: replaced by figure_form.[Ch].
16227
16228         * lyx_gui.C:
16229         * lyx_gui_misc.C:
16230         * lyxfunc.C: changed headers associated with above changes.
16231
16232 2001-03-27  Juergen Vigna  <jug@sad.it>
16233
16234         * BufferView_pimpl.C: set the temporary cursor right!
16235
16236 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16237
16238         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16239
16240 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16241
16242         * LString.h: removed "using std::getline"!
16243
16244         * BufferView_pimpl.C (Dispatch): changes due to changes in
16245         InsetInclude::Params.
16246
16247         * buffer.C (tag_name): removed redundant break statements as they were
16248         producing lots of warnings with my compiler.
16249
16250 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * LString.h: add "using std::getline" when using the real <string>.
16253
16254 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16255
16256         * buffer.C: removed bitset usage.
16257         PAR_TAG moved to an anonymous name space.
16258         (tag_name): new funtion, also in the anonymous namespace.
16259         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16260         (makeDocBookFile): clean code. Completed transition from string arrays
16261         to string vectors.
16262         (SimpleDocBookOnePar): code clean.
16263
16264 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16265
16266         * tabular.C: add some comments.
16267
16268 2001-03-22  Juergen Vigna  <jug@sad.it>
16269
16270         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16271         compatibility read a bit and fixed bug with minipage in different
16272         depth.
16273
16274 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16275
16276         * buffer.C (pop_tag): removed.
16277         (push_tag): removed.
16278         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16279         array replaced with vector. Added support for CDATA sections.
16280         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16281         at any nest level.
16282         (makeDocBookFile): XML conformant declaration of CDATA section,
16283         fixed bug related to <emphasis> in the first paragraph char.
16284         (sgmlOpenTag): exclude empty tags.
16285         (sgmlCloseTag): ditto.
16286
16287         * buffer.h (pop_tag): removed.
16288         (push_tag): removed.
16289
16290 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16291
16292         * language.h (Languages): added size_type and size().
16293
16294 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16295
16296         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16297         response on compability reading of minipages. One probliem is that
16298         the old usage of minipages was «flertydig»
16299
16300         * several files here and in subdirs: don't use static at file
16301         scope use anon namespaces instead.
16302
16303 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16304
16305         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16306         LaTeX output. This is necessary for Literate document
16307         processing.
16308
16309 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16310
16311         * buffer.C: insert hfill when needed.
16312
16313         * tabular.C (l_getline): use string::erase, small whitespace change.
16314
16315         * BufferView_pimpl.C: try the anon namespace.
16316         * WorkArea.C: ditto
16317
16318 2001-03-16  Juergen Vigna  <jug@sad.it>
16319
16320         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16321         otherwise it won't open options-dialogs.
16322
16323         * buffer.C: honor pextraWidth(p) on converting minipages.
16324
16325         * tabular.C (l_getline): changed the functions to strip trailing \r.
16326
16327 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16328
16329         * BufferView_pimpl.C:
16330         * minibuffer..C: added "using SigC::slot" declaration.
16331
16332 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16333
16334         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16335
16336         * text2.C: ditto
16337
16338         * text.C: ditto
16339
16340         * paragraph.C: ditto
16341
16342         * lyxtext.h: NO_PEXTRA
16343
16344         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16345
16346         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16347         * ParameterStruct.h: ditto
16348         * ParagraphParameters.h: ditto
16349         * lyxparagraph.h: ditto
16350
16351 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16352
16353         * buffer.C: add compability for minipage alignment.
16354         (latexParagraphs): remove unwanted pextra check.
16355
16356         * several files: remove CXX_WORKING_NAMESPACES
16357
16358         * buffer.C (pop_tag): tie is in namespace boost
16359
16360         * BufferView.h: noncopyable is in namespace boost
16361         * lyxlex.h: ditto
16362         * lyx_main.h: ditto
16363         * lyx_gui.h: ditto
16364         * layout.h: ditto
16365         * lastfiles.h: ditto
16366         * bufferlist.h: ditto
16367         * ShareContainer.h: ditto
16368         * LyXView.h: ditto
16369         * LyXAction.h: ditto
16370         * LaTeX.h: ditto
16371
16372 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16373
16374         * Merging changes from BRANCH_MVC back into HEAD.
16375
16376         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16377
16378 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16379
16380         * BufferView_pimpl.C: change from intl.C
16381
16382         * combox.h:
16383         * combox.C:
16384         * Makefile.am: move combox.*
16385
16386         * form1.h:
16387         * form1.C:
16388         * lyx_gui.C:
16389         * intl.h:
16390         * intl.C: remove dialog (covered by prefs)
16391
16392 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16393
16394         * lyxfunc.C (Dispatch): removed redundant break statement.
16395
16396 2001-03-14  Juergen Vigna  <jug@sad.it>
16397
16398         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16399
16400 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16401
16402         * buffer.C: add hack to fix compability reading of minipages.
16403
16404 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16405
16406         * buffer.C (getLists): Cleanup.
16407
16408 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16409
16410         * lyxfont.C (update): don't honor toggleall on font size.
16411
16412 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16413
16414         * bmtable.c:
16415         * bmtable.h:
16416         * Makefile.am: moved to frontends/xforms/
16417
16418         * lyx_gui_misc.C:
16419         * lyxfunc.C:
16420         * BufferView_pimpl.C: changes for moved mathpanel
16421
16422 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16423
16424         * gettext.h: fix gettext_init() in --disable-nls
16425
16426 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16429
16430 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16431
16432         * lyx.C:
16433         * lyx.h: strip external form
16434
16435 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16436
16437         * BufferView_pimpl.C: add comment, destroySplash()
16438
16439 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16440
16441         * BufferView_pimpl.C:
16442         * LyXAction.C:
16443         * buffer.C:
16444         * commandtags.h:
16445         * lyxfunc.C: use re-worked insetinclude
16446
16447 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16448
16449         * buffer.C: add using std::stringstream.
16450
16451         * lyx_cb.C: readd using std::ios.
16452
16453         * buffer.C: add using std::map.
16454
16455         * BufferView_pimpl.C: add using std::vector.
16456
16457         * ShareContainer.h: add std:: to swap.
16458
16459         * buffer.h: add some typedefs
16460         * buffer.C (getLists): use them
16461         (getLists): renamed from getTocList.
16462         add a counter for the different float types and use it in the
16463         generated string.
16464         (getLists): use the same counter for the NEW_INSETS and the "non"
16465         NEW_INSETS
16466
16467         * lyx_cb.h: remove unused items, includes, using etc.
16468
16469         * ShareContainer.h: remove some commented code, add more comments
16470         and "documentation".
16471
16472 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16473
16474         * buffer.C (getTocList): make the list also when NEW_INSETS is
16475         defined.
16476
16477         * buffer.h: remove TocType
16478
16479         * buffer.C (getTocList): change to return a map<string,
16480         vector<TocItem> >, implement for dynamic number of list.
16481
16482         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16483         * text2.C (PasteSelection): adjust
16484         * CutAndPaste.C (pasteSelection): adjust
16485
16486         * FloatList.C (FloatList): update from the new_insets branch.
16487         * Floating.[Ch]: ditto
16488         * LaTeXFeatures.C: ditto
16489         * buffer.C: ditto
16490         * lyxlex_pimpl.C: ditto
16491
16492         * paragraph.C (Last): remove when NEW_INSETS is defined.
16493
16494         * other file: changes because of the above.
16495
16496 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16497
16498         * lyxparagraph.h: rename next to next_, previous to previous_,
16499         make them private for NEW_INSETS. Rename Next() to next(),
16500         Previous() to previous().
16501
16502         * other files: changes because of the above.
16503
16504 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * BufferView.h:
16507         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16508         problem.
16509
16510 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16511
16512         * main.C (main): pass lyx_localedir to gettext_init().
16513
16514         * gettext.h: remove locale_init and gettext_init macros
16515
16516         * gettext.C (locale_init): new function
16517         (gettext_init): new function
16518
16519         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16520         setlocale().
16521
16522 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16523
16524         * Moved credits to frontends:
16525         * credits.[Ch]: removed
16526         * credits_form.[Ch]: removed
16527         * lyx_gui_misc.C: remove credits stuff
16528         * Makefile.am:
16529
16530 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16531
16532         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16533
16534         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16535         unneeded destructor.
16536
16537         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16538         a standalone pointer again.
16539
16540         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16541
16542 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16543
16544         * Makefile.am:
16545         * filedlg.h:
16546         * filedlg.C:
16547         * LyXAction.C:
16548         * ToolbarDefaults.C:
16549         * bufferlist.C:
16550         * commandtags.h:
16551         * form1.C:
16552         * form1.h:
16553         * lyx_cb.C:
16554         * lyx_cb.h:
16555         * lyxfunc.h:
16556         * lyxfunc.C:
16557         * BufferView_pimpl.C: use new file dialog in GUII
16558
16559         * lyx_cb.h:
16560         * lyx_cb.C: remove LayoutsCB to Toolbar
16561
16562 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16563
16564         * ShareContainer.h (get): add std:: qualifier
16565
16566 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16567
16568         * ShareContainer.h: define a proper ShareContainer::value_type
16569         type (and use typename to please compaq cxx)
16570
16571 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16572
16573         * lyxparagraph.h: move serveral local vars to
16574         ParameterStruct/ParagraphParameters., use ShareContainer in
16575         FontTable., make vars in FontTable private and add getter and
16576         setter.
16577
16578         * paragraph.C: changes because of the above.
16579
16580         * lyxfont.h: remove copy constructor and copy assignment. (the
16581         default ones is ok), move number inside FontBits. move inlines to
16582         lyxfont.C
16583
16584         * lyxfont.C: add number to initializaton of statics, move several
16585         inlines here. constify several local vars. some whitespace
16586         cleanup. Dont hide outerscope variables.
16587
16588         * Spacing.h: add two new constructors to match the set methods.
16589
16590         * ShareContainer.h: new file, will perhaps be moved to support
16591
16592         * ParameterStruct.h: new file
16593
16594         * ParagraphParameters.h: new file
16595
16596         * ParagraphParameters.C: new file
16597
16598         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16599         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16600
16601         * BufferView_pimpl.C: ParagraphParameter changes.
16602         * buffer.C: Likewise.
16603         * bufferview_funcs.C: Likewise.
16604         * text.C: Likewise.
16605         * text2.C: Likewise.
16606
16607 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * lyxfind.C (LyXReplace): do not redefine default argument in
16610         implementation.
16611         (IsStringInText): ditto
16612         (SearchForward): ditto
16613         (SearchBackward): ditto
16614
16615 2001-03-06  Juergen Vigna  <jug@sad.it>
16616
16617         * lyxfind.C (IsStringInText): put parentes around expressions.
16618
16619 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16620
16621         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16622
16623 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16624
16625         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16626
16627         * stl_string_fwd.h: add comment
16628
16629         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16630
16631         * tabular.h:
16632         * tabular.C: remove unused DocBook methods
16633
16634         * intl.C:
16635         * language.C:
16636         * paragraph.C:
16637         * buffer.C:
16638         killed DO_USE_DEFAULT_LANGUAGE
16639
16640 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16641
16642         * lyx_gui.C: do not include language.h.
16643
16644         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16645         arguments in function implementation.
16646
16647 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16648
16649         * BufferView_pimpl.C: add <ctime>
16650
16651 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16652
16653         * BufferView_pimpl.C: add using std::find_if
16654
16655 2001-02-27  José Matos  <jamatos@fep.up.pt>
16656
16657         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16658         by OnlyPath.
16659
16660 2001-02-11  José Matos  <jamatos@fep.up.pt>
16661
16662         * buffer.C (makeDocBookFile): command styles now have a parameter as
16663         "title" by default.
16664
16665 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16666
16667         * layout_forms.[Ch]: removed
16668         * lyx_cb.[Ch]: out character
16669         * lyx_gui.C: out character
16670         * lyx_gui_misc.C: out character
16671         * bufferview_funcs.C: : out character,
16672         added toggleall as parameter in ToggleAndShow
16673
16674 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16675
16676         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16677
16678         * text2.C (SetCurrentFont): Disable number property at boundary.
16679
16680 2001-02-26  Juergen Vigna  <jug@sad.it>
16681
16682         * lyxfunc.C (getStatus): added a string argument override function so
16683         that this is correctly called from LyXFunc::Dispatch if it contains a
16684         do_not_use_argument which is used!
16685         (Dispatch): added check for "custom" export and call appropriate func.
16686
16687 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16688
16689         * lyxrc.C: Add language_command_local, language_use_babel and
16690         language_global_options.
16691
16692         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16693
16694         * buffer.C (makeLaTeXFile): Use language_use_babel and
16695         language_global_options.
16696
16697 2001-02-23  Juergen Vigna  <jug@sad.it>
16698
16699         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16700         which works with LyXText and putted it inside BufferView. Here now we
16701         only call for that part the BufferView::Dispatch() function.
16702
16703         * BufferView.C (Dispatch): added.
16704
16705         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16706         functions which needs to use a LyXText over from LyXFunc.
16707         (MenuInsertLyXFile): added
16708         (getInsetByCode): added
16709         (moveCursorUpdate): added
16710         (static TEXT): added
16711
16712 2001-02-22  Juergen Vigna  <jug@sad.it>
16713
16714         * BufferView_pimpl.C (update): call a status update to see if LyXText
16715         needs it.
16716
16717 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16718
16719         * vc-backend.C (revert): implement for CVS
16720         (getLog): implement for CVS
16721
16722 2001-02-20  Juergen Vigna  <jug@sad.it>
16723
16724         * text2.C (ClearSelection): added BufferView param for inset_owner call
16725
16726         * lyxfunc.C (TEXT): added this function and use it instead of
16727         directly owner->view()-text of getLyXText().
16728
16729 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16730
16731         * src/layout_forms.C: out preamble
16732         * src/layout_forms.h: out preamble
16733         * src/lyx_cb.C: out preamble
16734         * src/lyx_cb.h: out preamble
16735         * src/lyx_gui.C: out preamble
16736         * src/lyx_gui_misc.C: out preamble
16737         * src/lyxfunc.C: connect with guii preamble
16738
16739 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16740
16741         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16742
16743 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16744
16745         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16746         whether to run bibtex.
16747
16748 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16749
16750         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16751
16752 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16753
16754         * Makefile.am (lyx_SOURCES): removed bibforms.h
16755
16756         * vspace.h: doxygen
16757
16758         * text.C (GetVisibleRow): make several local vars const
16759
16760         * tabular.C: small cleanup.
16761
16762         * lyxserver.C (callback): use compare instead of strncmp
16763
16764         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16765         inlines to after class or to paragraph.C
16766
16767         * lyxfont.h: remove friend operator!=
16768
16769         * converter.h: move friend bool operator< to non friend and after
16770         class def.
16771
16772         * combox.h: small cleanup
16773
16774         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16775         to inlines after class def.
16776
16777         * buffer.C (pop_tag): use string operations instead of strcmp
16778
16779         * bmtable.c: doxygen, small cleanup
16780
16781         * LaTeX.h: remove friend operator==
16782
16783 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16784
16785         * screen.C:
16786         * lyxrc.[Ch]:
16787         * lyxfunc.C:
16788         * lyxfont.[Ch]:
16789         * lyx_cb.C:
16790         * intl.[Ch]:
16791         * commandtags.h:
16792         * buffer.C:
16793         * WorkArea.[Ch]:
16794         * LyXAction.C:
16795         * BufferView_pimpl.C:
16796         * BufferView.[Ch]: remove cruft
16797
16798 2001-02-14  Juergen Vigna  <jug@sad.it>
16799
16800         * lyxfunc.C: removed #if 0 unused code
16801
16802         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16803
16804         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16805
16806         * text2.C (SetSelection): added a BufferView * parameter
16807
16808 2001-02-13  Juergen Vigna  <jug@sad.it>
16809
16810         * lyxfunc.C (Dispatch): fixed protected blank problem.
16811         * BufferView2.C (protectedBlank): added LyxText * parameter.
16812
16813         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16814         (AppendColumn): same as above for column_info.
16815
16816         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16817         (moveCursorUpdate): use a LyXText param for support of InsetText.
16818
16819         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16820         (tripleClick): ditto
16821
16822         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16823
16824         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16825
16826         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16827
16828         * text2.C (SetSelection): set correct update status if inset_owner
16829         (ToggleFree): ditto
16830
16831 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16832
16833         * tabular.C: remove some commented code.
16834
16835 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16836
16837         * BufferView_pimpl.C: call hideSplash()
16838
16839         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16840
16841         * include_form.h:
16842         * bibforms.h: remove
16843
16844         * lyxfunc.C:
16845         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16846           add LFUN_CHILD_CREATE
16847
16848         * counters.h: fix tiny typo
16849
16850         * lyx_cb.C:
16851         * lyx.h:
16852         * lyx_gui.C:
16853         * lyx.C: move splash to frontends/xforms/
16854
16855         * lyx_gui_misc.C: move Include and Bibform to frontends
16856
16857         * lyxvc.h: clarify comment
16858
16859         * vspace.C: tiny housekeeping
16860
16861 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16862
16863         * text.C (PrepareToPrint): RTL Fix.
16864
16865         * paragraph.C (GetUChar): New method.
16866         (String):  Use GetUChar.
16867
16868         * buffer.C (asciiParagraph): Use GetUChar.
16869
16870 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16871
16872         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16873
16874 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16875
16876         * buffer.h:
16877         * buffer.C: rename to getLogName(), handle
16878           build log / latex log nicely
16879
16880 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16881
16882         * MenuBackend.C:
16883         * MenuBackend.h: remove support for reference menuitem type.
16884
16885 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16886
16887         * BufferView_pimpl.C: housekeeping
16888         * BufferView_pimpl.h:
16889         * LyXView.h:
16890         * Makefile.am:
16891         * Timeout.C:
16892         * Timeout.h:
16893         * minibuffer.h: move Timeout GUI-I
16894
16895 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16896
16897         * lyxrc.C (read): Update converters data-structures.
16898
16899 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16900
16901         * LaTeX.h (operator!=): add operator != for Aux_Info
16902
16903 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16904
16905         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16906
16907         * LaTeXLog.C: deleted, useful code moved to Buffer
16908
16909         * buffer.h:
16910         * buffer.C: new function getLatexLogName()
16911
16912         * lyx_gui_misc.C:
16913         * lyx_gui.C:
16914         * lyxvc.C:
16915         * lyxvc.h:
16916         * lyxfunc.C: use frontends for LaTeX and VC logs
16917
16918 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16919
16920         * LaTeX.h: yet another std:: that Allan forgot.
16921
16922         * Variables.C (set): renamed from isset(), because this clashes
16923         with some HP-UX macros (grr).
16924
16925 2001-02-06  Allan Rae  <rae@lyx.org>
16926
16927         * LaTeX.h: Another bug fix.  Missing std:: this time.
16928
16929 2001-02-04  Allan Rae  <rae@lyx.org>
16930
16931         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16932         floats problem. I've left it commented out because it's not quite
16933         correct.  It should also test that the current object is a table or
16934         figure inset.  But I haven't gotten around to figuring out how to do
16935         that.  I *think* it'll be something like: "table" == inset.type()
16936
16937         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16938         bool.
16939
16940 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16941
16942         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16943         all the citation/databases/styles in the auxilary file.
16944         (run): Rerun latex if there was a babel language error.
16945
16946 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16947
16948         * text.C (Backspace): Preserve the font when changing newline char
16949         with a space.
16950         (BreakParagraph): If the cursor is before a space, delete the space.
16951
16952         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16953
16954 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16955
16956         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16957         new argument (code).
16958         (ChangeCitationsIfUnique): New method.
16959
16960         * paragraph.C (GetPositionOfInset): Handle bibkey.
16961
16962 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * BufferView_pimpl.h: change type of Position::par_pos to
16965         LyXParagraph::size_type.
16966
16967 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16968
16969         * BufferView_pimpl.C (savePosition, restorePosition): Write
16970         messages to minibuffer.
16971
16972 2001-01-28  José Matos  <jamatos@fep.up.pt>
16973
16974         * buffer.C (makeDocBookFile): adds support for document language.
16975         A silly restriction on the name of LatexCommand types where removed.
16976         Added support for CDATA sections, allows to chars unescaped, used
16977         among others in code, to avoid escape < and >.
16978
16979 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16980
16981         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16982         saved positions instrad of a stack. Furthermore, a position is
16983         stored using paragraph id/paragraph position.
16984
16985         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16986         Remove LFUN_REF_BACK.
16987
16988 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16989
16990         * converter.C (dvipdfm_options): New method.
16991
16992 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16993
16994         * vspace.C (isValidLength): Fix for empty input string.
16995
16996 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16997
16998         * LyXAction.C (init): change description of LFUN_FIGURE to
16999         "Insert Graphics"
17000
17001 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17002
17003         * LaTeX.C: add using directive
17004
17005 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * MenuBackend.C (expand): Fix the sorting of the formats.
17008
17009 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17010
17011         * lyx_main.C: tiny error message fix
17012
17013 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17014
17015         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17016         calling fl_initialize(). This fixes the problem with ',' as
17017         decimal separator in text files.
17018
17019 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17020
17021         * trans.C (process): Fix the keymap bug.
17022
17023 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17024
17025         * LaTeX.C (scanAuxFiles): New method. Provides support for
17026         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17027         (scanLogFile) Scan for "run BibTeX" messages.
17028
17029         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17030         OT1 font encoding. Also, load the aecompl package if the ae
17031         package is loaded.
17032
17033         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17034
17035 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17036
17037         * texrow.C (increasePos): turn two error messages into debug
17038         messages.
17039
17040 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17041
17042         * LaTeX.C (scanAux): Handle the \@input macro.
17043         (runBibTeX): Use scanAux().
17044
17045         * language.C (latex_options_): New field.
17046
17047         * LaTeXFeatures.C (getMacros): Add language macros.
17048
17049         * buffer.C (makeLaTeXFile): Small fix.
17050
17051 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17054
17055         * text2.C: add a using directive.
17056
17057 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17058
17059         * BufferView2.C:
17060         * lyx_gui_misc.h:
17061         * lyxfr1.C:
17062         * lyxfunc.C: kill LyXBell.
17063
17064 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17065
17066         * text.C (IsBoundary): Remove the error message
17067
17068         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17069
17070         * lyxrc.C (setDefaults): Correct initialization value for
17071         font_norm_type.
17072
17073 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17074
17075         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17076         gotoError().
17077
17078         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17079         and GotoNextNote().
17080
17081         * src/LyXAction.C: Added reference-next.
17082
17083         * text.C (InsertChar): Use contains instead of strchr.
17084
17085         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17086
17087 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17088
17089         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17090         alignment commands (when needed).
17091
17092         * text.C (InsertChar): Add ':' to number separator chars.