]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Squash a breakage on Windows and move a couple of functions out of line.
[lyx.git] / src / ChangeLog
1 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
2
3         * lyx_main.C (init): Compile fix.
4
5         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
6
7 2005-01-20  Angus Leeming  <leeming@lyx.org>
8
9         * mover.h: change commentary to reflect the changed meaning of
10         the $$s placeholder.
11
12 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * output_linuxdoc.C (linuxdocParagraphs): silence warning
15
16         * lyxfind.C (MatchString::operator()): remove bogus semicolon
17
18 2005-01-20  Angus Leeming  <leeming@lyx.org>
19
20         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
21         printing diagnostic data by not dereferecing an iterator past the
22         end.
23
24 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
25
26         * buffer.C (readHeader): use "&&" rather than "and".
27
28         * lyxserver.h (inPipeName, outPipeName): make these const.
29
30 2005-01-19  Angus Leeming  <leeming@lyx.org>
31
32         * lyx_main.C (error_handler, init): protect SIGHUP with
33         #ifdef SIGHUP guards.
34
35 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
38
39 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * text.C (setHeightOfRow): add a margin at the top and bottom of
42         the document (bug 1761)
43
44 2005-01-17  Angus Leeming  <leeming@lyx.org>
45
46         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
47         with "python ". Workaround for a brain-dead Windows.
48
49 2005-01-16  Angus Leeming  <leeming@lyx.org>
50
51         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
52         for MacOSX and Windows to use prependEnvPath.
53         Strip out the hard-coded block to add elements to the PATH for
54         MacOSX and replace it with a call to prependEnvPath using the
55         contents of LyXRC::path_prefix.
56         (queryUserLyXDir): strip out the code to run reconfigure, instead
57         returning a boolean indicating the necessity to do so.
58         (reconfigureUserLyXDir): contains the code to reconfigure the
59         user support directory. Is now called after the various LyXRC data
60         files have been read.
61
62         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
63
64 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
65
66         * converter.[Ch] (convert): take a new parameter try_default. Use
67         a default converter (imagemagick) if try_default is true.
68
69 2005-01-13  Angus Leeming  <leeming@lyx.org>
70
71         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
72         os::cygwin_path_fix.
73         (write): output LyXRC::cygwin_path_fix as necessary.
74
75 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
76
77         * lyxrc.h:
78         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
79
80 2005-01-12  Angus Leeming  <leeming@lyx.org>
81
82         * lyx_main.C (init): set the PATH variable to include the
83         directory containing the LyX binary when running on Mac or Windows.
84
85 2005-01-12  Angus Leeming  <leeming@lyx.org>
86
87         * lyx_main.C (init): remove cruft that purports to set the locale
88         dir. It doesn't and is not needed anyway.
89
90 2005-01-10  Angus Leeming  <leeming@lyx.org>
91
92         * Makefile.am: remove the lyx_main.C special casing.
93
94         * BufferView_pimpl.C:
95         * bufferlist.C:
96         * exporter.C:
97         * lyx_cb.C:
98         * lyx_main.C:
99         * lyxfunc.C:
100         * messages.C: use support/package.h to provide the paths to the
101         various directories used by LyX.
102
103 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
106         layout if pasting into an empty paragraph)
107
108 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
109
110         * tex-accent.C: add <string>
111
112 2005-01-06  José Matos  <jamatos@lyx.org>
113
114         * ParagraphParameters.C (write): put every parameter in its own line.
115         * paragraph.C (write): reduce number of consecutive empty lines exported.
116         * buffer.C (LYX_FORMAT): increase file format to 239.
117
118 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
119
120         * everywhere: change support/tostr.h -> support/convert.h
121
122         * tabular.C: make all write_attributes templates, tostr -> convert
123
124         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
125         (emptyTag): and -> &&, and fix type for ret from getChar
126         (getFirstWord): fix type for ret from getChar
127         (onlyText): and -> &&
128         (simpleDocBookOnePar): and not -> && !, fix type for ret from
129         getChar
130
131         * toc.C (goTo, action):
132         * text3.C (dispatch):
133         * text.C (currentState):
134         * tex-accent.C (DoAccent):
135         * sgml.C:
136         * lyxrc.C:
137         * lyxfunc.C (menuNew):
138         * lyxfinc.C (replace):
139         * counters.C (laberItem):
140         * bufferview_funcs.C (font2string):
141         * bufferparams.C (writeFile):
142         * buffer.C (readFile):
143         * Spacing.C (set):
144         * MenuBackend.C: tostr -> convert
145
146         * LaTeX.C (runMessage): fix format
147         (scanAuxFiles): tostr -> convert
148
149         * BufferView_pimpl.C (savePosition): fix format
150         (restorePosition): ditto
151         (dispatch): ditto
152
153 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * Spacing.[Ch]: New method getValueAsString().
156
157         * Spacing.[Ch]:
158         * bufferparams.C:
159         * ParagraphParameters.C:
160         * lyxlayout.C:
161         * text.C:
162         * text3.C: store/read spacing value as string.
163
164         * rowpainter.C: change float value (spacing_val) to double.
165
166         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
167         broken custom document spacing).
168
169 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
172         namespace, also more use of temp references and const
173
174         * cursor.[Ch] (getStatus): move to lyxfunc.C
175
176         * bufferparams.C: reformat slightly
177
178         * bufferview_funcs.C (font2string): constify arg
179
180         * changes.C:
181         * converter.C:
182         * counters.C:
183         * bufferlist.C:
184         * buffer_funcs.C: (many funcs): constify arg on function
185         definitions, also make more local vars const, also add ASSERTS on
186         pointer args.
187
188         * buffer.C (LYX_FORMAT): put const in correct place
189         (many funcs): constify arg on function definitions, also make
190         more local vars const
191
192         * aspell_local.h: remove "struct" from typdef setup
193
194         * aspell.C (check): make word_ok const
195         (nextMiss): simplify slightly
196         (error): ditto
197
198 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
199
200         * lyxrc.[Ch]: store all float values as strings.
201         use int (not float) for lyxrc.dpi.
202
203 2005-01-04  Angus Leeming  <leeming@lyx.org>
204
205         * lyx_cb.C (Reconfigure):
206         * lyx_main.C (queryUserLyXDir):
207         to run the <system_lyxdir>/configure correctly on Windows, prefix
208         the path to the script with "sh " when generating the string that
209         is passed to system().
210
211 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
214
215 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * lyxlength.C (asLatexString): get rid of setprecision
218
219 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * text2.C (setLayout): remove unused variable endpit.
222         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
223
224         * paragraph.C (onlyText): remove unused variable style.
225
226         * cursor.C (bruteFind): remove unused variables beg and end.
227
228         * Makefile.am (dist_noinset_DATA): not needed anymore
229
230         * cheaders/*: remove.
231
232 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * text3.C: fix LFUN_MATH_MODE.
235
236 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * buffer_funcs.C (countWords): new function. Counts words between
239         two iterators.
240
241         * BufferView_pimpl.C (getStatus, dispatch): handle
242         LFUN_WORDS_COUNT.
243
244         * LyXAction.C (init):
245         * lfuns.h: add LFUN_WORDS_COUNT.
246
247 2004-12-19  Angus Leeming  <leeming@lyx.org>
248
249         * buffer.C (save): s/slashify_path/internal_path/.
250
251 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * lyxfind.C (findChange): do not search for end of pars, because
254         the change tracker cannot handle this (fixes bug 1719).
255
256 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * paragraph.[Ch] (autoBreakRows): remove
259
260         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
261
262         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
263         avoid using the paragraph one
264
265         * text2.C (LyXText, insertStringAsLines): adjust
266
267 2004-12-16  Angus Leeming  <leeming@lyx.org>
268
269         * bufferlist.C:
270         * lyx_main.C:
271         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
272
273 2004-12-14  Angus Leeming  <leeming@lyx.org>
274
275         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
276
277         * bufferlist.C (emergencyWrite):
278         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
279         GetEnvPath("HOME").
280
281 2004-12-14  Angus Leeming  <leeming@lyx.org>
282
283         * main.C: (main): no longer pass pointers to os::init.
284
285 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * undo.C (textUndoOrRedo): simplify logic, fix a crash
288         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
289
290 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
291
292         * lyxfunc.C:
293         * text3.C: remove selection_possible global flag
294
295 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
296
297         * text2.C (getSelectionSpan): remove
298         (changeDepth, changeDepthAllowed): adjust
299
300 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
301
302         * Makefile.am (BOOST_LIBS): use boost variables
303
304 2004-12-03  José Matos  <jamatos@lyx.org>
305
306         * buffer.C: format up to 238.
307
308 2004-12-03  José Matos  <jamatos@lyx.org>
309
310         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
311
312 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * cursor.C (goUpDown): remove call to idxUpDown2
315
316 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * tabular.[Ch]: use size_t-like types for cell, row and column
319         indices
320
321 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * lyxfunc.C (getStatus): do not lose previous information when
324         calling BufferView::getStatus; do not set a default "Command
325         disabled" message at the beginning, but just before returning.
326
327 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * cursor.h (getStatus): add better comment from src/cursor.C
330
331 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * text3.C (getStatus): return false when the lfun is not handled
334
335 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * broken_headers.h: remove
338
339         * Makefile.am (lyx_SOURCES): remove broken_headers.h
340
341 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
344         offset_ref accessors
345
346         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
347         top_y_, merge fitcursor with update
348         (updateScrollbar, scrollDocView, fitCursor, center, update): new
349         coord scheme
350         (metrics): introduce
351         (workAreaDispatch): adapt to new coord scheme
352         (redoCurrentBuffer): remove
353
354         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
355
356         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
357         CurStatus enum.
358
359         * coordcache.[Ch]: add paragraph cache and helpers
360
361         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
362         adjust everywhere
363
364         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
365         (targetX, setTargetX): introduce
366
367         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
368         baseline -> ascent, as the rest of lyx
369
370         * lyxtext.h: remove redoParagraphs, updateParPositions,
371         fullRebreak, redoParagraphInternal. move dist to anon namespace in
372         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
373         have ascent/descent (ascent is ascent of first par)
374
375         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
376         step of BufferView
377
378         * paragraph.[Ch]: unify dimension handling with the rest of lyx
379
380         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
381
382         * pariterator.C: fix infinite loop introduced in par->pit renaming
383
384         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
385         in insets and LyXText, draw two off-screen paragraphs using
386         NullPainter, and adapt to new coord scheme
387
388         * text.C:
389         * text2.C:
390         * text3.C: adapt lfun handlers to the new coord scheme, which
391         means: there's only guaranteed coord information for onscreen pars
392         plus one above and one below. This implies that one can do search
393         from y coordinates in the range [-1,workHeight]
394
395 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
396
397         * rename a lot of InsetOld to InsetBase
398
399 2004-11-25  Angus Leeming  <leeming@lyx.org>
400
401         * BufferView_pimpl.C:
402         * lyx_cb.C:
403         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
404
405 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
408         call BufferView::getStatus if LCursor::getStatus did nothing
409         (setStatusMessage, getStatusMessage): removed.
410
411         * FuncStatus.C (message): new methods. Used to provide an error
412         message indicating why a command is disabled.
413         (clear, |=, FuncStatus): update for message.
414
415 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
416
417         * lyxfunc.C (dispatch): always call sendDispatchMessage
418
419 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * BufferView.C:
422         * BufferView_pimpl.C:
423         * CutAndPaste.C:
424         * FontIterator.C:
425         * buffer.C:
426         * cursor.C:
427         * cursor_slice.[Ch]:
428         * dociterator.[Ch]:
429         * lyxfind.C:
430         * paragraph_funcs.C:
431         * pariterator.C:
432         * rowpainter.C:
433         * text.C:
434         * text2.C:
435         * text3.C:
436         * undo.C: par->pit renaming
437
438 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
439
440         * tabular.C (cellstruct): use initialization, store a shared_ptr
441         to insettext instead of the insettext directly, adjust to fit.
442         (operator=):  new function
443         (swap): new function
444         (rowstruct): use initialization
445         (columnstruct): use initialization
446         (ltType): use initialization
447
448
449         * lyxlength.h (swap): new function
450
451         * LColor.[Ch] (operator=): use the common semantics
452
453 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * lyxfind.C (findNextChange): update the bufferview after setting
456         the selection.
457
458 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
461         number of InsetOptArgs has already been inserted.
462
463         * output_latex.C (latexOptArgInsets): new method. This outputs all
464         the optarg insets, up to the limit defined in the layout file.
465         (optArgInset): removed
466         (TeXOnePar): call latexOptArgInsets; correctly update texrow
467
468 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * paragraph.C (isLetter): remove special spellchecker-related
471         code; return true also for digits
472         (isWord, isKomma): remove
473
474         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
475         * lyxfind.C (MatchString()): use isLetter instead of isWord
476
477 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
478
479         * pariterator.h (operatir=): comment out un-implemented member
480         function.
481
482         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
483         static cast.
484
485 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
486
487         * lyxfont.h: include LColor.h to satisfy concept checks.
488
489 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
490
491         * pariterator.h: add typdefs for value_type, difference_type,
492         pointer and reference to satisfy concept checks. Also add default
493         constructor for same reason.
494
495         * pariterator.C (operator++): add post-increment operator to
496         satisfy concept checks.
497
498         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
499         checks.
500
501         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
502
503         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
504         checks. Also rename base_type to BaseType to follow naming
505         standard better.
506
507         * FloatList.h: include Floating.h to satisfy concept checks.
508
509 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * lyxfunc.C (getStatus): when the origin of the request is menu or
512         toolbar, and the LyXView does not have focus, do as if there was
513         no buffer (bug 1720)
514
515         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
516         FuncRequest to individual entries of LFUN_SEQUENCE
517
518 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * output_latex.C (TeXOnePar): override runparams.moving_arg
521         according to the needprotect value of the current paragraph (bug
522         1739)
523
524         * paragraph.C (simpleTeXOnePar): no need to override
525         runparams.moving_args here
526
527 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
528
529         * vspace.C: fix off-by-one-error, related to fix #1682
530
531 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
532
533         * lengthcommon.C: a more general fix for bug 1682
534
535 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * text.C (backspace): fix crash
538
539 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
540
541         * format.[Ch] (getFormatFromFile): new method
542         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
543
544 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
547
548 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * lyxfunc.C (dispatch): remove the verbose argument
551         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
552         instead
553
554         * kbmap.C (defkey): set the origin of func to KEYBOARD
555
556         * MenuBackend.C (MenuItem):
557         * ToolbarBackend.C (add): set the origin of func to UI
558
559         * funcrequest.[Ch]: add origin member, which indicates which part
560         of LyX requests an action
561
562 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
563
564         * converter.C (move): don't lie in the error message
565         * converter.h (isReachable, move): document
566
567 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
568
569         * buffer.C: remove unused using lyx::support::atoi
570         * paragraph_funcs.C: ditto
571
572 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
573
574         * bufferlist.C (exists): use bind and equal_to instead of
575         compare_memfun
576         (getBuffer): ditto
577         * lyxtextclasslist.C (NumberOfClass): ditto
578
579         * cursor.C (insert): use for_each instead of explicit for loop
580
581         * bufferlist.C (getFileNames): use std::transform and
582         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
583
584         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
585         for loop
586
587         * buffer.C (changeLanguage): use for_each instead of explicit for
588         loop
589         (hasParWithID): implement using getParFromID
590
591         * LaTeXFeatures.C: ws change only
592
593         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
594         to cleanup a bit.
595
596         * BufferView_pimpl.C (trackChanges): use for_each instead of
597         expilicit for loop
598
599 2004-11-04  André Pönitz  <poenitz@gmx.net>
600
601         * undo.h:
602         * undo.C (textUndoOrRedo): fix crash when creating undo information.
603
604         * dociterator.C (asDocIterator): use hard assert again.
605
606 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * lyxlength.C (asLatexString): rewrite so that it does not use
609         snprintf anymore
610
611 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * text3.C (specialChar, dispatch): make sure cursor moves to the
614         right after inserting an inset
615
616 2004-11-02  José Matos  <jamatos@lyx.org>
617
618         * output_docbook.C (docbook):
619         * paragraph.C (getID):
620         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
621         garantee that the output is always legal.
622
623         * tabular.C (docbook):
624         * outputprams.[Ch]: remove mixed contents.
625
626 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * text2.C (setCounter): prevent endless loop
629
630 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
631
632         * exporter.C (copyFile): use the mover instead of support::copy()
633         * exporter.C (Export): pass format and latex name to copyFile()
634         * exporter.h (addExternalFile): document
635         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
636
637 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
640
641 2004-10-30  José Matos  <jamatos@lyx.org>
642
643         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
644         text and no inset or font change. This allows to use CDATA
645         sections just for the whole paragraph.
646
647 2004-10-30  José Matos  <jamatos@lyx.org>
648
649         * paragraph.C (getFirstWord): remove unused variable.
650
651 2004-10-30  José Matos  <jamatos@lyx.org>
652
653         * paragraph.C (getFirstWord): the content should always be escaped
654         there.
655         (simpleDocBookOnePar):
656         * output_docbook.C (makeEnvironment): replace reference to CDATA
657         to style pass_thru.
658
659 2004-10-30  José Matos  <jamatos@lyx.org>
660
661         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
662
663 2004-10-30  José Matos  <jamatos@lyx.org>
664
665         * output_docbook.C (makeParagraphs):
666         * paragraph.[Ch] (emptyTag): for docbook and company, if the
667         standard paragraph has only a given type of content drop the wrapper.
668
669 2004-10-29  José Matos  <jamatos@lyx.org>
670
671         * output_docbook.C (makeEnvironment):
672         * sgml.C (openTag):
673         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
674
675 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
676
677         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
678         (cleanID): sanitize any id.
679
680 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
681
682         * buffer.C, lyxlex_pimpl.C:
683         * lyxlex_pimpl.C (setFile):
684         s/getExtFromContents/getFormatFromContents/
685
686 2004-10-28  José Matos  <jamatos@lyx.org>
687
688         * output_docbook.C (makeEnvironment): move id to broadest possible
689         scope.
690
691         * sgml.C (openTag): apply substitution of <> for all attributes.
692
693 2004-10-28  José Matos  <jamatos@lyx.org>
694
695         * buffer.C (makeLinuxDocFile, makeDocBookFile):
696         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
697         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
698
699         * sgml.[Ch]: new version for open and closeTag for paragraph and
700         for strings. Now they handle the ids of paragraphs.
701
702 2004-10-26  Angus Leeming  <leeming@lyx.org>
703
704         * Makefile.am: add mover.[Ch].
705
706         * converter.C (convert, move): use the new Movers to move external
707         files to the temp directory.
708
709         * lyx_main.C (init): ensure that the global system_movers data
710         is initialised.
711
712         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
713         preferences file.
714
715         * mover.[Ch]: new files, defining a Mover as a utility to move an
716         external file between directories and, if necessary, manipulate this
717         file using a helper script.
718
719 2004-10-25  José Matos  <jamatos@lyx.org>
720
721         * output_docbook.C (makeCommand): merge two if's that tested the
722         same condition.
723
724 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * sgml.C (escapeString): fix warning in a better way
727
728 2004-10-25  José Matos  <jamatos@lyx.org>
729
730         * sgml.C (escapeString): import the require boosts header file for
731         tie, and avoid a signed unsigned comparison.
732
733 2004-10-25  José Matos  <jamatos@lyx.org>
734
735         * sgml.h: add #include <string>
736
737 2004-10-25  José Matos  <jamatos@lyx.org>
738
739         * sgml.[Ch] (escapeString): new function to escape all the string.
740
741 2004-10-24  José Matos  <jamatos@lyx.org>
742
743         * paragraph.[Ch] (getFirstWord): new function to get the first
744         word. Useful for description.
745         (simpleDocBookOnePar): remove depth argument, add another that
746         says where to start the paragraph.
747
748         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
749         use the new functions to fix cleanly the support for descriptions.
750
751 2004-10-24  José Matos  <jamatos@lyx.org>
752
753         * buffer.C (makeLinuxDocFile, makeDocBookFile):
754         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
755         * output_linuxdoc.C (linuxdocParagraphs):
756         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
757         add buffer as argument.
758
759 2004-10-24  José Matos  <jamatos@lyx.org>
760
761         * output_docbook.C (makeEnvironment, searchEnvironment): place
762         CDATA inside paragraphs and fix scope for listitems.
763
764 2004-10-24  José Matos  <jamatos@lyx.org>
765
766         * output_docbook.C: remove using statement for stack.
767
768 2004-10-23  José Matos  <jamatos@lyx.org>
769
770         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
771         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
772         docbook. The new scheme is recursive and makes use of iterators, the
773         same as latex export works.
774         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
775         directly with the paragraph contents. This code was moved up to
776         output_docbook.C (docbookParagraphs).
777         * sgml.C (openTag, closeTag): removed unneeded newlines.
778         (closeEnvTags) removed.
779
780 2004-10-23  André Pönitz  <poenitz@gmx.net>
781
782         * undo.C (textUndoOrRedo):
783         * dociterator.C (asDocIterator): work around crash
784
785         * cursor.C (getStatus): replace ASSERT by more verbose error message
786           and manual correction of the problem. Should increase stability
787           while providing more sensible information.
788
789 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
792
793         * bufferlist.C (previous, next): new methods
794
795         * lfuns.h:
796         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
797
798 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
799
800         * buffer.C (makeDocBookFile): add dsssl stylesheet control
801         entities to preamble.
802
803 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
804
805         * messages.C (Pimpl): strip off translation context information
806
807 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
810         the cursor is correct (bug 1694)
811
812 2004-10-13  José Matos  <jamatos@lyx.org>
813
814         * output_docbook.C (docbookParagraphs): fix closing tags in the
815         end of the document.
816
817 2004-10-09  José Matos  <jamatos@lyx.org>
818
819         * buffer.C: format up to 237.
820         * bufferparams.C (write): use tostr to convert booleans to strings.
821
822 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
823
824         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
825
826 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
827
828         * LaTeX.C: implement use of babel language in xindy.
829
830 2004-10-05  José Matos  <jamatos@lyx.org>
831
832         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
833         Add new translators to help reading and writing the lyx file.
834
835 2004-10-05  José Matos  <jamatos@lyx.org>
836
837         * ParagraphParameters.C (read):
838         * text.C (readParToken): replace nexToken by more appropriate lex
839         methods.
840
841 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
842
843         * LaTeX.C (runMakeIndex):
844         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
845         (usually 'makeindex') configurable.
846
847         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
848         with a variable rather than with a number.
849
850 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * output_latex.C (TeXOnePar): make sure font setting is the first
853         thing that gets output (and the last at the end). Should fix bug
854         1404.
855
856 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
857
858         * pch.h: use proper signal include
859
860         * LaTeX.h: Use preferred calling of Boost.Signal
861         * buffer.h: ditto
862
863 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
864
865         * pch.h: dont include <boost/function/function0.hpp>
866
867         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
868
869         * paragraph_pimpl.h: remove usage of ShareContainer
870
871         * paragraph_pimpl.C: remove initialization of ShareContainer.
872
873 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         Fix bug #1666
876
877         * BufferView.C (putSelectionAt): change the semantics when
878         backwards == true: now, this just swaps cursor and anchor wrt the
879         forward case
880
881         * BufferView.h (putSelectionAt): add some documentation
882
883         * lyxfind.C (findBackwards): rewrite using while(). In particular,
884         make sure backwardChar is done at least once (to avoid getting
885         stuck)
886         (findNextChange): use putSelectionAt in the forward direction
887         (operator()): use Paragraph::isWord
888
889 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * Spacing.C (set): c_str fix
892
893 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * lyx_cb.C (Reconfigure): quote the name of configure script in
896         case it contains spaces
897
898 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
899
900         * client: new dir
901
902         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
903         (BOOST_LIBS): use top_buildir when looking for the file
904
905 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
906
907         * pch.h: do not use include boost/format.hpp, multiple symbols
908                 will result (gcc bug)
909
910
911 2004-08-23  José Matos  <jamatos@lyx.org>
912
913         * bufferparams.C (readToken): fix reading of the author field.
914
915 2004-08-20  José Matos  <jamatos@lyx.org>
916
917         * lyxrc.C: remove support/translator.h inclusion since it is not used.
918
919 2004-08-20  José Matos  <jamatos@lyx.org>
920
921         * lyxlex.[Ch] (findToken): remove function.
922
923         * ParagraphParameters.C (findToken):
924         * bufferparams.C (findToken): replace call for previous function
925         with local copy. This local function has one more argument, the
926         read string argument.
927
928 2004-08-16  José Matos  <jamatos@lyx.org>
929
930         * ParagraphParameters.C (write):
931         * Spacing.C (writeFile):
932         * bufferparams.C (writeLaTeX):
933         * lyx_cb.C (Reconfigure):
934         * paragraph.C (write):
935         * tabular.C (write): remove unnecessary space at end of line.
936
937
938 2004-08-16  José Matos  <jamatos@lyx.org>
939
940         * text.C (readParagraph): remove debug message.
941
942 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
945         crash
946
947         * output_plaintext.C (asciiParagraph): set depth correctly
948
949         * outputparams.h: add member depth
950
951         * paragraph_funcs.C (ownerPar): remove.
952
953         * text2.C (setCounter): remove first_pit; comment out some
954         non-working code that uses ownerPar
955
956         * BufferView.C (getParentLanguage): remove. Not used anymore, and
957         uses ownerPar
958
959 2004-08-16  José Matos  <jamatos@lyx.org>
960
961         * text.C (readParToken, readParagraph, read): report all unknown tokens.
962         For the same level of importance use the same chanel to report problems.
963         (read): add code to deal with \begin_body and \end_body.
964
965
966 2004-08-15  José Matos  <jamatos@lyx.org>
967
968         * lyxlex.C (getString): fix comment, buffer::readBody is now
969         buffer:readDocument.
970
971         * tex-strings.C (string_papersize): Default -> default,
972         Custom -> custom, for consistency with other options.
973
974 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
975
976         * pch.h: new file
977
978         * Makefile.am: support pch
979
980 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
981
982         * text.C (readParToken): remove the static LyXFont variable and
983         pass it as a parameter instead. This fixes a nasty bug where an
984         inset will be inserted with a bad font in some situations
985         (readParagraph): adapt
986
987         * text2.C (setCounter): reduce number of calls to pars_[pit]
988
989         * text.C (singleWidth): add an assert, fix a test
990
991         * rowpainter.C (paintText): reduce number of calls to singleWidth
992
993         * paragraph.C (isHfill):
994         (isNewline): ws only
995
996 2004-08-14  André Pönitz  <poenitz@gmx.net>
997
998         * text.C:
999         * text2.C:
1000         * rowpainter.C:
1001         * lyxtext.h (several functions): use a Paragraph & argument
1002         instead of par_type
1003
1004 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1007
1008         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1009
1010         * text.C (singleWidth): remove useless test
1011
1012 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * tabular.h: remove bogus comments
1015
1016         * tabular.C (getDescentOfRow):
1017         (isPartOfMultiColumn): add assertions
1018
1019         * lyxlength.C (inPixels): remove #warning
1020
1021 2004-08-14  André Pönitz  <poenitz@gmx.net>
1022
1023         * paragraph.h: inline getChar()
1024
1025         * BufferView.h: remove unused declarations
1026
1027 2004-08-14  José Matos  <jamatos@lyx.org>
1028
1029         * Buffer.[Ch] (readDocument): new name for old readBody.
1030         * Buffer.C: new file format, new keywords: \begin_document,
1031         \begin_header, \begin_body, \end_body.
1032
1033         * bufferparams.C (readToken): replace all calls to lex.nextToken
1034         by lex.next(). Do the same to eatLine except where really needed.
1035
1036         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1037         line when writing to the lyx file.
1038
1039         * output_plaintext.C (asciiParagraph): fix Bibliography style
1040         handling.
1041
1042         * text.C (read): fix end of file handling.
1043
1044 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * MenuBackend.C (Menu::operator[]): new method to access
1047         individual menu items
1048         (Menu::hasFunc): new method. search for an item that corresponds
1049         to a given func
1050         (MenuBackend::specialMenu): new method
1051         (MenuBackend::expand): if a special menu has been set, skip
1052         entries whose func() appears in this menu
1053
1054 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1055
1056         * text3.C: use Debug::DEBUG a bit more
1057
1058         * text.C (leftMargin): try to simplify a tiny bit change var x to
1059         l_margin. Dont output the wide margins always.
1060         (rightMargin): no margin in inner texts
1061
1062         * rowpainter.h (nestMargin): new func
1063         (changebarMargin): new func
1064         (rightMargin): new func
1065
1066         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1067         now functions.
1068         (paintLast): ditto
1069
1070         * factory.C (createInset): modify setDrawFrame
1071
1072         * cursor.C: use Debug::DEBUG a bit more
1073
1074 2004-08-14  André Pönitz  <poenitz@gmx.net>
1075
1076         * coordcache.[Ch]:
1077         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1078         cache for all insets in (at least partially) visible (top-level)
1079         paragraphs.
1080
1081         * BufferView_pimpl.C: reset external coord cache before every update.
1082         This means the coord cache only contains valid entries.
1083
1084 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1085
1086         bug 1096
1087         * BufferView_pimpl.C (getInsetByCode): move function out of class
1088         and change in to a template in anon namespace. Also fix to do what
1089         suits us better.
1090
1091 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1092
1093         bug 1305
1094         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1095         of char
1096         (breakParagraph): rename par to par_offset and use a local
1097         reference. Add code to keep the language over a rebreak.
1098         (breakParagraphConservative): rename par to par_offset, use a
1099         local reference
1100         (mergeParagraph): ditto
1101         (outerHook): ditto
1102         (isFirstInSequence): ditto
1103         (outerFont): rename pit to par_offset
1104
1105         * paragraph.C: ws change
1106         * paragraph.h: ditto
1107         * text3.C: ditto
1108         * text.C: ditto
1109
1110 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1113         treatment for ']'
1114
1115         * paragraph.C (simpleTeXOnePar): when we have a \item with
1116         optional argument, enclose the argument with curly brackets (in
1117         case it contains a closing square bracket)
1118
1119         * text2.C (editXY):
1120         * text2.C (editXY):
1121         * text3.C (checkInsetHit): constify
1122
1123 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1126         documents (bug 1629)
1127
1128 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1129
1130         Fix toggling of collapsable insets with the mouse (bug 1558)
1131
1132         * lyxfunc.C (dispatch): adapt to LCursor changes
1133
1134         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1135         make sure that dispatch is not invoked twice
1136
1137         * cursor.C (needsUpdate): new method
1138         (dispatch): return void
1139         (result): new method, to access the DispatchResult of the cursor.
1140
1141 2004-08-13  José Matos  <jamatos@lyx.org>
1142
1143         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1144
1145 2004-08-13  André Pönitz  <poenitz@gmx.net>
1146
1147         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1148
1149         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1150           multiple cells
1151
1152 2004-08-12  André Pönitz  <poenitz@gmx.net>
1153
1154         * text3.C: take out the 'cursor right' form insertInset and only
1155         do it in those places when it is really needed. Fixes crash on
1156         C-m...
1157
1158 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1161
1162         * BufferView_pimpl.C (setBuffer): initialize the current font of
1163         the underlying LyXText
1164
1165 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * kbsequence.C (print): use UI native formatting for menu
1168         shortcuts
1169
1170         * text.C (insertChar): call Paragraph::insertChar with a font
1171         argument (cosmetic)
1172
1173         * paragraph.C (insertInset, insertChar): the version that takes a
1174         LyXFont argument is now a wrapper around the other one (the
1175         opposite used to be true).
1176
1177         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1178         argument. Font setting is done in Paragraph now.
1179
1180 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         * outputparams.h: add new members intitle and lang.
1183
1184         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1185         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1186
1187 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1188
1189         * text3.C (dispatch): remove special handling of button 4 and 5,
1190         it is now taken care of in the frontend code.
1191
1192 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1193
1194         * Spacing.h: add <string> (STLPort compile fix)
1195
1196 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1197
1198         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1199
1200 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1201
1202         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1203         to bool.
1204
1205         * converter.C (showMessage): inherit from unary_function, make
1206         operator() const.
1207
1208         * buffer.C (writeFile): initialize retval
1209
1210         * InsetList.h: rename private variable list to list_
1211         * InsetList.[Ch]: adjust accordingly.
1212
1213 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1214
1215         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1216         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1217         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1218         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1219         * ParagraphParameters.C, LaTeXFeatures.C: replace
1220         "support/std_sstream.h" with <sstream>
1221
1222 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1223
1224         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1225         * lyxsocket.C (LyXServerSocket): ditto
1226         (serverCallback): ditto
1227
1228 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1229
1230         * LaTeXFeatures.C: check release date when loading jurabib.
1231
1232 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1233
1234         * lyxserver.C (startPipe): call register_socket_callback
1235         (endPipe): call unregister_socket_callback
1236
1237 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1238
1239         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1240         (LyXServerSocket): register the callback
1241         (LyXServerSocket): unregister the callback
1242         (fd): delete function
1243         (serverCallback): improve error checking and setup the callbacks.
1244         (dataCallback): change arg to fd.
1245         (writeln): new func (copied fro the client socket) used for server
1246         write to client.
1247         (LyXDataSocket): simplify
1248         (~LyXDataSocket): close ann unregiser callback
1249         (server): delete function
1250         (fd): delete function
1251         (readln): small changes, improve some std::string usage
1252         (writeln): constify a bit
1253
1254 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1255
1256         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1257         Qt frontend
1258
1259 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1262         after it has been populated
1263
1264 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1265
1266         * text2.C (insertInset): move cursor when inserting inset.
1267
1268 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * kbmap.C (findbindings): a couple of new methods. returns a
1271         container of kb_sequence objects. The real work is done by the
1272         private recursive version
1273         (printbindings): uses findbindings to print out a bracketed list
1274         of bindings (renamed from findbinding).
1275
1276         * MenuBackend.C (binding): use kb_keymap::findbindings
1277
1278         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1279
1280 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1283
1284 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1285
1286         * paragraph.C (isWord): return true on insets that report
1287         isLetter().
1288
1289         * text.C (getWord): use Paragraph::isWord to decide what is in a
1290         word and what is not; fix bug 1609.
1291
1292 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1293
1294         * tex-strings.C: add "none" to string_paperpackages[], fixes
1295         off-by-one-error in the paperpackage selection.
1296
1297         * lyxlex.[Ch]:
1298         * tex-strings.[Ch]: char const * string[n]
1299         -> char const * const string[]
1300
1301 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302
1303         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1304         command, return early.
1305
1306 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1307
1308         * debug.h: add DEBUG to enum and fix size of ANY.
1309
1310         * debug.C: add support for Debug::DEBUG
1311         (showTags): cast errorTags.level to unsigned int
1312
1313         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1314         (redoCurrentBuffer): ditto
1315         (updateScrollbar): ditto
1316         * cursor.C (dispatch): ditto
1317         * text2.C (setLayout): ditto
1318         (setFont): ditto
1319         (updateCounters): ditto
1320         (editXY): ditto
1321         (deleteEmptyParagraphMechanism): ditto
1322
1323 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1324
1325         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1326         annotations to cleanup the Makefile slightly.
1327
1328 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * lyxrc.C: do not set user_email to a default value but use empty
1331         instead. The entry used to be translated, which does not work
1332         since at the point where lyxrc is constructed there is no
1333         translation service available
1334
1335         * messages.C (getLocaleDir): remove and use directly
1336         lyx_localedir() instead
1337
1338 2004-06-02  Angus Leeming  <leeming@lyx.org>
1339
1340         Fix crash caused by dereferencing null pointer 'exportdata' in
1341         OutputParams by creating a new ExportData variable on the heap,
1342         storing it in a boost::shared_ptr.
1343         The crash was triggered when generating an Instant Preview
1344         of an external inset.
1345
1346         * Makefile.am: add outputparams.C
1347
1348         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1349         (c-tor): allocate memory to it.
1350
1351         * exporter.C (c-tor): associated changes.
1352
1353 2004-06-01  Angus Leeming  <leeming@lyx.org>
1354
1355         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1356         contains data before calling isInset(0). (Bug 1513.)
1357
1358 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1359
1360         * exporter.C (checkOverwrite): new method
1361         * exporter.C (copyFile): new method
1362         * exporter.C (Export): copy referenced files to the document dir
1363         * exporter.[Ch]: new class ExportedFile
1364         * exporter.[Ch]: new class ExportData. Contains currently the
1365         names of referenced external files
1366         * outputparams.h: add exportdata member.
1367
1368 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1371         version.C-tmp
1372
1373 2004-05-19  Angus Leeming  <leeming@lyx.org>
1374
1375         * LaTeXFeatures.C:
1376         * ToolbarBackend.C:
1377         * bufferparams.C:
1378         * lyxfunc.C: small changes due to the introduction of namespace
1379         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1380
1381 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * text3.C (dispatch): supress update when only moving the cursor
1384         * cursor.C (selHandle): remove commented code
1385
1386 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1387
1388         * paragraph.C (startTeXParParams): correct column count
1389         * CutAndPaste.C (pasteSelection): remove const_cast
1390         * output_docbook.C (docbookParagraphs): remove const_cast
1391         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1392         const_cast and return ParagraphList::const_iterator
1393         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1394         * output_plaintext.C (writeFileAscii): remove const_cast
1395         * paragraph.[Ch] (simpleTeXOnePar): make const
1396         * paragraph_funcs.C (outerPar): use const iterators
1397         * paragraph_pimpl.C (validate): use const iterators
1398         * text.C (setHeightOfRow): use const iterators
1399
1400 2004-05-17  Angus Leeming  <leeming@lyx.org>
1401
1402         * lfuns.h:
1403         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1404
1405         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1406         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1407         if the citation engine has changed.
1408
1409 2004-05-14  José Matos  <jamatos@lyx.org>
1410
1411         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1412         if the textclass does not provide it. Have it different for sgml and
1413         xml.
1414         support the language of document.
1415         * output_docbook.C (docbookParagraphs):
1416         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1417         first anchor as the id of the paragraph, remove special case code.
1418         * sgml.C (escapeChar): escape only < & >.
1419
1420 2004-05-14  Angus Leeming  <leeming@lyx.org>
1421
1422         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1423         dependencies on src/frontends/controllers/biblio.h. Define a
1424         CiteEngine_enum wrapper class to enable the enum to be forward
1425         declared.
1426
1427 2004-05-12  Angus Leeming  <leeming@lyx.org>
1428
1429         * buffer.C: up LYX_FORMAT to 234.
1430         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1431         use_numerical_citations with a single biblio::CiteEngine cite_engine
1432         variable.
1433         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1434
1435 2004-05-13  José Matos  <jamatos@lyx.org>
1436
1437         * converter.h:
1438         * converter.C (Converter, readFlags): add xml member.
1439         * outputparams.h: add XML flavor.
1440         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1441
1442 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * lyxfunc.C (dispatch):
1445         (getStatus): fix handling of LFUN_SEQUENCE
1446
1447 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * debug.C (showLevel): do not forget the end-of-line marker
1450
1451 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * kbmap.C (read): do not stop parsing a bind file when an error
1454         occurs (bug 1575)
1455
1456 2004-04-29  Angus Leeming  <leeming@lyx.org>
1457
1458         * cursor.C:
1459         * factory.C:
1460         * pariterator.C:
1461         * text2.C: wrap a bunch of #warning statements
1462         inside #ifdef WITH_WARNINGS blocks.
1463
1464 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1465
1466         * buffer.C: increment format to 233.
1467
1468 2004-04-28  Angus Leeming  <leeming@lyx.org>
1469
1470         * BufferView_pimpl.C:
1471         * lyxfunc.C:
1472         * text3.C:
1473         s/updateToolbar()/updateToolbars()/
1474         s/Toolbar.h/Toolbars.h/
1475
1476 2004-04-28  Angus Leeming  <leeming@lyx.org>
1477
1478         * BufferView.[Ch] (c-tor):
1479         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1480         No longer passes these data to the WorkArea generator.
1481
1482 2004-04-28  Angus Leeming  <leeming@lyx.org>
1483
1484         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1485
1486 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1487
1488         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1489
1490 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1491
1492         * output_latex.C (TeXEnvironment): make sure that there is a line
1493         break before \end{foo} for the last paragraph of a document
1494         (TeXOnePar): if the paragraph is at the end of the document (or
1495         inset) and the language has to be reset, then make sure that the
1496         line break is _before_ the language command, not after (fixes bug
1497         1225); also make sure that the language reset command is the first
1498         thing after the paragraph (to ensure proper nesting of
1499         environments and thus fix bug 1404)
1500
1501 2004-04-21  John Levon  <levon@movementarian.org>
1502
1503         * ToolbarBackend.h:
1504         * ToolbarBackend.C: make "name" be a programmatic name
1505         and a gui_name field.
1506
1507         * lyxfunc.C: display the minibuffer on M-x
1508
1509 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1512         (bug 1526)
1513
1514 2004-04-19  Angus Leeming  <leeming@lyx.org>
1515
1516         * BufferView_pimpl.C (setBuffer): changed preview interface.
1517
1518         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1519         possible values.
1520
1521 2004-04-19  John Levon  <levon@movementarian.org>
1522
1523         * BufferView_pimpl.C:
1524         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1525
1526 2004-04-05  Angus Leeming  <leeming@lyx.org>
1527
1528         * text.C (redoParagraphs): add call to updateCounters(), thereby
1529         fixing the missing "Figure #:" label from the caption of a
1530         figure float.
1531
1532 2004-04-13  Angus Leeming  <leeming@lyx.org>
1533
1534         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1535         cursor is clicked out of an inset.
1536
1537 2004-04-13  Angus Leeming  <leeming@lyx.org>
1538
1539         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1540         than an InsetOld one.
1541
1542 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1543
1544         * format.[Ch]: add editor to Format
1545         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1546         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1547
1548 2004-04-08  André Pönitz  <poenitz@gmx.net>
1549
1550         * metricsinfo.h: remove PainterInfo::width member
1551
1552 2004-04-08  Angus Leeming  <leeming@lyx.org>
1553
1554         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1555         "\providecommand" rather than "\newcommand", thereby preventing
1556         clashes with packages that define "\boldsymbol" themselves.
1557         Eg, beamer.
1558
1559 2004-04-08  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1562         thereby squashing an unnecessary warning.
1563
1564 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1565
1566         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1567         setBuffer()
1568
1569 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * BufferView.C (setCursor): call redoParagraph (some insets could
1572         have been opened)
1573         (putSelectionAt): remove the 'double update' trick
1574
1575         * BufferView_pimpl.C (fitCursor): call refreshPar
1576         (workAreaDispatch): remove an uneeded update call
1577         (dispatch): remove some manual update calls
1578
1579         * cursor.[Ch]: remove cached_y_, updatePos
1580         (selHandle): set noUpdate when appropriate
1581
1582         * lyxfunc.C (dispatch): track if we need an update
1583
1584         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1585
1586         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1587         (paintSelection): cheap optimization, do not call cursorX when not
1588         needed
1589         (paintPars): change signature
1590         (refreshPar): add
1591         (paintText): adjust
1592         (paintTextInset): adjust
1593
1594         * text.C: adjust
1595
1596 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * lengthcommon.C: compilation fix: remove explicit array size from
1599         unit_name[] and friends
1600
1601 2004-04-05  Angus Leeming  <leeming@lyx.org>
1602
1603         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1604
1605         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1606         present only for the preferences dialog.
1607         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1608
1609 2004-04-05  Angus Leeming  <leeming@lyx.org>
1610
1611         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1612         to enable the frontends to export changes to lyxrc correctly.
1613
1614         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1615
1616 2004-04-07  André Pönitz  <poenitz@gmx.net>
1617
1618         * cursor.[Ch] (selClear, adjust): remove math
1619
1620         * cursor_slice.C: more agressive assert
1621
1622         * lyxfunc.C:
1623         * BufferView_pimpl.C: rework mouse event dispatch
1624
1625         * dociterator.C:
1626         * paragraph.C:
1627         * text2.C:
1628         * text3.C: adjust
1629
1630 2004-04-05  André Pönitz  <poenitz@gmx.net>
1631
1632         * cursor.[Ch] (valign, halign...): remove unneeded functions
1633
1634 2004-04-05  Angus Leeming  <leeming@lyx.org>
1635
1636         * lyxlength.[Ch] (unit_name et al.): const-correct.
1637
1638 2004-04-05  Angus Leeming  <leeming@lyx.org>
1639
1640         * BufferView_pimpl.C:
1641         * buffer.C:
1642         * counters.C:
1643         * cursor.C:
1644         * lyxfunc.C
1645         * paragraph.C:
1646         * pariterator.C:
1647         * text.C:
1648         * text2.C:
1649         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1650
1651 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1652
1653         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1654
1655 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1658         * BufferView_pimpl.[Ch] (getStatus)
1659         * BufferView.[Ch] (getStatus): add
1660         * lyxfunc.C (getStatus): move lfuns handled in
1661         BufferView::dispatch to te function above
1662         * Cursor.C (setSelection): set selection() = true
1663
1664 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1665
1666         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1667
1668 2004-03-31  Angus Leeming  <leeming@lyx.org>
1669
1670         * lyxfunc.C (dispatch): Fall through to the generic
1671         Dialogs::show("preamble").
1672
1673 2004-03-31  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyxfunc.C (dispatch): Fall through to the generic
1676         Dialogs::show("spellchecker").
1677
1678 2004-03-31  Angus Leeming  <leeming@lyx.org>
1679
1680         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1681         preferences dialog.
1682
1683 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * BufferView.C
1686         * cursor.[Ch]
1687         * dociterator.[Ch]:
1688         * insetiterator.[Ch]:
1689         * lyxfind.C:
1690         * lyxfunc.C:
1691         * pariterator.[Ch]:
1692         * text2.C:
1693         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1694
1695 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1698         insets where we are putting the cursor.
1699
1700 2004-03-31  Angus Leeming  <leeming@lyx.org>
1701
1702         * lfuns.h:
1703         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1704
1705         * lyxrc.[Ch] (read, write): overloaded member functions taking
1706         a std::[io]stream arguments.
1707
1708         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1709
1710 2004-03-31  Angus Leeming  <leeming@lyx.org>
1711
1712         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1713         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1714
1715         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1716         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1717
1718 2004-03-31  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1721         the LFUN_ALL_INSETS_TOGGLE code.
1722
1723 2004-03-30  Angus Leeming  <leeming@lyx.org>
1724
1725         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1726         has died. Fall through to the generic Dialogs::show("document").
1727
1728 2004-03-30  Angus Leeming  <leeming@lyx.org>
1729
1730         * lfuns.h:
1731         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1732         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1733
1734         * lyxfunc.C (getStatus, dispatch): define the actions for these
1735         lfuns. Little more than a cut and pste job from ControlDocument.C
1736
1737         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1738
1739 2004-03-30  Angus Leeming  <leeming@lyx.org>
1740
1741         * lfuns.h:
1742         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1743         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1744
1745         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1746         open/closed state of ollapsable insets. Usage:
1747
1748         all-inset-toggle <state> <name>, where
1749         <state> == "open" || "closed" || "toggle" and
1750         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1751
1752         * lyxtext.h, text2.C (toggleInset): removed.
1753
1754         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1755         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1756         now passes LFUN_INSET_TOGGLE to the found inset.
1757
1758         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1759         is now invoked as "all-insets-toggle toggle branch".
1760
1761 2004-03-30  Angus Leeming  <leeming@lyx.org>
1762
1763         * dociterator.C:
1764         * insetiterator.C:
1765         * pariterator.[Ch]: added/corrected header blurb.
1766
1767 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1768
1769         * dociterator.[Ch]: add an inset_ member
1770         (backwardPos): implemented
1771         (backwardPos, forwardPos): use inset_ when the stack is empty.
1772         (doc_iterator_begin, doc_iterator_end): implemented
1773         * pariterator.[Ch]: adjust, add begin, end
1774         * insetiterator.[Ch]: adjust, add begin, end
1775         * cursor.C:
1776         * document.C:
1777         * BufferView.C:
1778         * BufferView_pimpl.C:
1779         * CutAndPaste.C: adjust
1780
1781 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1782
1783         * buffer.C: increment file format to 232.
1784         * LaTeXFeatures.C: add bibtopic package.
1785         * bufferparams.[Ch]: param \use_bibtopic.
1786
1787         * lyxrc.[Ch]: add lyxrc bibtex_command
1788         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1789
1790         * buffer.C: increment file format to 231.
1791
1792 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * dociterator.C: implement forwardPar
1795         * iterators.[Ch]: remove, replaced by
1796         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1797         * BufferView.C:
1798         * BufferView_pimpl.C:
1799         * CutAndPaste.C:
1800         * buffer.C:
1801         * bufferview_funcs.C:
1802         * cursor.C:
1803         * lyxfind.C
1804         * lyxfunc.C
1805         * paragraph_funcs.C
1806         * toc.C:
1807         * Makefile.am: adjust
1808
1809 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1810
1811         * CutAndPaste.C (pasteSelection): fix 2 crashes
1812         (eraseSelection): fix a crash
1813         * paragraph_funcs.C: remove a warning
1814
1815 2004-03-28  Angus Leeming  <leeming@lyx.org>
1816
1817         * lfuns.h:
1818         * LyXAction.C (init): new LFUN_PRINT.
1819
1820         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1821
1822 2004-03-27  Angus Leeming  <leeming@lyx.org>
1823
1824         * lfuns.h:
1825         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1826
1827         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1828
1829 2004-03-27  Angus Leeming  <leeming@lyx.org>
1830
1831         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1832         insetlist always contains non-null pointers to insets.
1833
1834 2004-03-26  Angus Leeming  <leeming@lyx.org>
1835
1836         * src/BufferView_pimpl.C:
1837         * src/CutAndPaste.C:
1838         * src/buffer.C:
1839         * src/iterators.C:
1840         * src/output_plaintext.C:
1841         * src/outputparams.h:
1842         * src/paragraph_funcs.C:
1843         * src/rowpainter.C:
1844         * src/text.C:
1845         * src/text2.C:
1846         * src/frontends/controllers/ControlErrorList.C:
1847         * src/frontends/gtk/FileDialogPrivate.C:
1848         * src/frontends/gtk/GPainter.C:
1849         * src/frontends/gtk/GToolbar.C:
1850         * src/frontends/qt2/QRef.C:
1851         * src/mathed/math_scriptinset.C: squash compiler warnings.
1852
1853 2004-03-26  Angus Leeming  <leeming@lyx.org>
1854
1855         * ispell.C (LaunchIspell::start):
1856         * lyx_cb.C (AutoSaveBuffer::start):
1857         invoke run(DontWait) rather than runNonBlocking().
1858
1859 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1860
1861         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1862
1863 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * kbsequence.C (print): adjust
1866
1867         * kbmap.C (printKeySym): rename and change signature
1868         (printKey): use LyXKeySym::print()
1869
1870 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1871
1872         * undo.C: add using std::advance to compile for stlport
1873
1874 2004-03-24  Angus Leeming  <leeming@lyx.org>
1875
1876         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1877         it leads to a crash when no buffer is present.
1878
1879 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880             Martin Vermeer  <martin.vermeer@hut.fi>
1881
1882         * lyxfunc.C (dispatch):
1883         * bufferparams.C (readToken): use the new LColor::setColor
1884
1885         * LColor.[Ch] (setColor): new version that takes two strings as
1886         argument and creates a new color entry if necessary
1887
1888 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1889
1890         * buffer.C (makeLaTeXFile): if the main latex file that is
1891         processed is usually a subdocument of some master, then pretend
1892         for a while that it is actually the master
1893
1894 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1895
1896         * buffer.C (getLabelList):
1897         (getBibkeyList): use getMasterBuffer()
1898         (getMasterBuffer): new method. Returns the main document in the
1899         case where one is using included documents.
1900
1901 2004-03-25  André Pönitz  <poenitz@gmx.net>
1902
1903         * Makefile.am:
1904         * iterators.[Ch]:
1905         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1906
1907         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1908
1909         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1910         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1911
1912         * ParameterStruct.h: merge with ParagraphParameters
1913
1914         * lyxtext.h: remove LyXText::parOffset() and getPar()
1915
1916         * text3.C: Remove all 'manual' update calls. We do now one per user
1917         interaction which is completely sufficient.
1918
1919         * Bidi.C:
1920         * BufferView.[Ch]:
1921         * BufferView_pimpl.C:
1922         * FontIterator.[Ch]:
1923         * MenuBackend.C:
1924         * ParagraphParameters.[Ch]:
1925         * buffer.C:
1926         * buffer.h:
1927         * bufferlist.C:
1928         * cursor.[Ch]:
1929         * cursor_slice.[Ch]:
1930         * dociterator.[Ch]:
1931         * errorlist.[Ch]:
1932         * factory.C:
1933         * lfuns.h:
1934         * lyxfind.C:
1935         * lyxfunc.C:
1936         * output_docbook.[Ch]:
1937         * output_latex.[Ch]:
1938         * output_linuxdoc.[Ch]:
1939         * output_plaintext.[Ch]:
1940         * paragraph.[Ch]:
1941         * paragraph_funcs.[Ch]:
1942         * paragraph_pimpl.[Ch]:
1943         * rowpainter.C:
1944         * tabular.[Ch]:
1945         * text.C:
1946         * text2.C:
1947         * toc.C:
1948         * undo.[Ch]: adjust
1949
1950         * frontends/controllers/ControlDocument.C:
1951         * frontends/controllers/ControlErrorList.C:
1952         * frontends/controllers/ControlSpellchecker.C:
1953         * insets/inset.C:
1954         * insets/inset.h:
1955         * insets/insetbase.h:
1956         * insets/insetbibitem.C:
1957         * insets/insetbox.C:
1958         * insets/insetbranch.C:
1959         * insets/insetcaption.C:
1960         * insets/insetcharstyle.C:
1961         * insets/insetcharstyle.h:
1962         * insets/insetcollapsable.C:
1963         * insets/insetcollapsable.h:
1964         * insets/insetert.C:
1965         * insets/insetfloat.C:
1966         * insets/insetfoot.C:
1967         * insets/insetmarginal.C:
1968         * insets/insetnote.C:
1969         * insets/insetoptarg.C:
1970         * insets/insettabular.C:
1971         * insets/insettext.C:
1972         * insets/insettext.h:
1973         * insets/insetwrap.C:
1974         * mathed/math_mboxinset.C:
1975         * mathed/math_nestinset.C:
1976         * mathed/math_scriptinset.C:
1977         * mathed/math_scriptinset.h:
1978         * support/types.h:
1979
1980 2004-03-24  Angus Leeming  <leeming@lyx.org>
1981
1982         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1983         deal with any child processes that have finished but are waiting to
1984         communicate this fact to the rest of LyX.
1985
1986 2004-03-24  Angus Leeming  <leeming@lyx.org>
1987
1988         64-bit compile fixes.
1989
1990         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1991         (c-tor): pass lyx::pos_types rather than ints.
1992
1993         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1994         lyx::pos_type.
1995
1996         * text.C (Delete): compile fix.
1997         (getPar): ensure that function declaration is the same as that in
1998         the header file.
1999
2000 2004-03-23  Angus Leeming  <leeming@lyx.org>
2001
2002         * ispell.C (LaunchIspell):
2003         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2004         a boost::shred_ptr rather than a std::auto_ptr.
2005
2006 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2009         handle LFUN_FILE_INSERT_*
2010
2011         * lyxrc.C (setDefaults, getDescription, output, read):
2012         * lyxrc.h: remove ps_command
2013
2014 2004-03-22  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2017         Ensure that error_handler is processed once only and that all data
2018         is saved before attempting to output any warning messages.
2019
2020         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2021
2022 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2025
2026 2004-03-19  André Pönitz  <poenitz@gmx.net>
2027
2028         * cursor.[Ch] (reset): take main text inset as argument
2029
2030         * BufferView: adjust
2031         * BufferView_pimpl.C: adjust
2032
2033         * paragraph.[Ch]: fix completely broken operator=()
2034
2035 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * LColor.C (getFromLyXName): make sure that the color name is used
2038         as lowercase.
2039
2040 2004-03-17  Angus Leeming  <leeming@lyx.org>
2041
2042         * lfuns.h:
2043         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2044
2045         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2046         dialog and to kill a forked process.
2047
2048 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * text2.C (setCursorFromCoordinates): fix font problem
2051
2052 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2055         bogus "rebuild cursor" code
2056
2057 2004-03-11  André Pönitz  <poenitz@gmx.net>
2058
2059         * buffer.[Ch]: use InsetText instead of LyXText as container for
2060         the main lyx text.
2061
2062         * dociterator.[Ch]: drop the BufferView * member which is not needed
2063         anymore after the change to buffer.C
2064
2065         * paragraph_funcs.C:
2066         * text.C:
2067         * text2.C:
2068         * BufferView.[Ch]:
2069         * BufferView_pimpl.[Ch]:
2070         * cursor.[Ch]:
2071         * cursor_slice.[Ch]: adjust
2072
2073         * text3.C: fix bug in mathDispatch
2074
2075 2004-03-08  André Pönitz  <poenitz@gmx.net>
2076
2077         * undo.[Ch]: use 'StableDocumentIterator' as base for
2078         the Undo struct.
2079
2080 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2081
2082         * LaTeXFeatures.C:
2083         * bufferparams.[Ch]: add jurabib support and param.
2084
2085         * LaTeX.C: add FIXME/comment.
2086
2087 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2088
2089         * buffer.C: increment file format to 230.
2090
2091 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2092
2093         * cursor.C (dispatch): avoid infinite loops
2094
2095 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * rowpainter.C (paintSelection): fix x coordinates
2098
2099 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * text.C (rowBreakPoint): fix breaking before displayed insets
2102
2103 2004-03-01  André Pönitz  <poenitz@gmx.net>
2104
2105         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2106
2107         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2108
2109         * Makefile.am:
2110         * BufferView.C:
2111         * BufferView_pimpl.C:
2112         * buffer.C:
2113         * lyxfind.C:
2114         * lyxfunc.C:
2115         * text.C:
2116         * text2.C:
2117         * text3.C: adjust
2118
2119 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * lyxtext.h:
2122         * text.C:
2123         * text2.C:
2124         * rowpainter.C:
2125         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2126         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2127
2128 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * Bidi.[Ch] (computeTables): const correctness
2131         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2132         fill_hfill, fill_label_hfill and x from Row
2133         * lyxtext.h: prepareToPrint returns a RowMetrics
2134         * rowPainter.C: adjust
2135         * text.C (prepareToPrint): use width, not textWidth. adjust
2136         (redoParagraphInternal, cursorX): adjust
2137         * text2.C (getColumnNearX): adjust
2138         (init): put a default value to the top LyXText::width
2139
2140 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2141
2142         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2143
2144 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2145
2146         * lyxtext.h: add FontIterator class
2147
2148         * text.C (FontIterator, operator*, operator->, operator++): add
2149         (rowBreakPoint, setRowWidth): adjust (fixing a
2150         rebreaking bug)
2151
2152 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * BufferView_pimpl.C (workAreaDispatch): allow also
2155         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2156
2157 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * text.C (rowBreakPoint): fix a bug showing with very large insets
2160
2161 2004-02-25  André Pönitz  <poenitz@gmx.net>
2162
2163         * text3.C:
2164         * cursor.[Ch]: move some mathed specific code to mathed
2165
2166 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2167
2168         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2169         use_tempdir in preferences
2170         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2171         tempfile creation
2172         * lyx_main.C: ensure that tempdir is valid
2173         * lyxlex.h: correct typo
2174         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2175         * paragraph.[Ch] (isMultiLingual): make const
2176         * cursor.[Ch] (openable): make const
2177
2178 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2179
2180         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2181
2182 2004-02-20  André Pönitz  <poenitz@gmx.net>
2183
2184         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2185
2186         * cursor.[Ch]: prepare for localized getStatus()
2187
2188         * lyxtext.h:
2189         * tabular.C:
2190         * text.C:
2191         * text2.C:
2192         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2193
2194 2004-02-20  André Pönitz  <poenitz@gmx.net>
2195
2196         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2197
2198 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * text2.C (setCursorFromCoordinates): switch to absolute coords
2201         (cursorUp): adjust
2202         (cursorDown): adjust
2203         * text3.C (dispatch): adjust
2204
2205 2004-02-16  André Pönitz  <poenitz@gmx.net>
2206
2207         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2208           insets/ChangeLog)
2209
2210         * cursor_slice.[Ch]: remove unneeded acessor function
2211
2212         * lyxtext.h: rename rtl() to isRTL()
2213
2214         * rowpainter.C:
2215         * tabular.C:
2216         * text.C:
2217         * text2.C:
2218         * text3.C: adjust
2219
2220 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2221
2222         * rowpainter.C (paintSelection): coord fix
2223
2224 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2225
2226         * Spacing.C: compile fix
2227
2228 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2229
2230         * cursor.C (dispatch): restore current_ before returning
2231
2232 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2233
2234         * text2.C (cursorUp, cursorDown): fix coords
2235         (moveUp): fix crash
2236
2237 2004-02-12  André Pönitz  <poenitz@gmx.net>
2238
2239         * lyxtext.h:
2240         * text.C:
2241         * text2.C:
2242         * text3.C: add LCursor & parameter to most cursor movement functions
2243           remove usage of LyXText::cursorRow() and cursorPar()
2244
2245         * cursor.[Ch]: add textRow() needed members
2246
2247         * BufferView.C:
2248         * BufferView_pimpl.C:
2249         * paragraph.[Ch]:
2250         * BufferView.C:
2251         * BufferView_pimpl.C: adjust
2252
2253 2004-02-11  André Pönitz  <poenitz@gmx.net>
2254
2255         * lyxfunc.C:
2256         * BufferView.[Ch]:
2257         * BufferView_pimpl.C: shift undo/redo handling
2258
2259         * cursor.[Ch]: fix mathed crash
2260
2261         * lyxfind.C:
2262         * lyxtext.h: move selectionAsText to LCursor
2263
2264         * output_latex.C:
2265         * paragraph.C:
2266         * text.C:
2267         * text2.C:
2268         * text3.C: adjust
2269
2270         * rowpainter.C: fix excessive drawing
2271
2272 2004-02-06  André Pönitz  <poenitz@gmx.net>
2273
2274         * BufferView.[Ch]:
2275         * BufferView_pimpl.[Ch]:
2276         * text3.C: move some text specific LFUN handling
2277
2278 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * text3.C (checkInsetHit): adjust coords
2281         * text2.C (getColumnNearX): adjust coords
2282         (edit): adjust coords
2283         * text.C (getRowNearY): add two asserts
2284
2285 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2286
2287         * converter.C:
2288         * format.C: add using std::distance to compile on gcc 2.95/stlport
2289
2290 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2291
2292         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2293
2294 2004-02-04  André Pönitz  <poenitz@gmx.net>
2295
2296         * BufferView.[Ch] (insertInset):
2297         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2298
2299         * text2.C:
2300         * text3.C: adjust
2301
2302 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2305         on the default clause of the switch
2306         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2307         wasn't catched by LCursor::dispatch
2308
2309 2004-02-03  André Pönitz  <poenitz@gmx.net>
2310
2311         * BufferView.C:
2312         * cursor.[Ch]: some additional asserts
2313
2314         * undo.[Ch]: remove LyXText dependency in interface
2315
2316         * lyxfunc.C: adjust
2317
2318         * lyxtext.h (firstPar, lastPar): remove dead functions
2319
2320         * text.C:
2321         * text2.C:
2322         * text3.C:
2323         * paragraph.[Ch]: adjust
2324
2325 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * lyxfind.C (find): fix argument order in call to ::find
2328
2329 2004-02-02  André Pönitz  <poenitz@gmx.net>
2330
2331         * cursor.[Ch]: remove direct access to anchor
2332
2333         * text.C: remove findText() hack
2334
2335 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2336
2337         * iterators.[Ch] (lockPath): remove in favour of...
2338         * BufferView.[Ch] (setCursor): this addition
2339         * BufferView.C (putSelectionAt): adjust
2340         * undo.C (performUndoOrRedo): adjust
2341         * lyxfunc.C (dispatch): adjust
2342
2343 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * iterators.C (lockPath): add a missing slice
2346         * undo.C (performUndoOrRedo): remove redundant positioning code
2347
2348 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2349
2350         * vc-backend.C (scanMaster): ";" -> ';'
2351
2352 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2353
2354         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2355         std::binary_function
2356
2357         * lyxtextclass.C (compare_name): rename to...
2358         (LayoutNamesEqual): ...this
2359
2360         * lyxlex_pimpl.C (compare_tags): inherit from
2361         std::binary_function, put back into anon namespace
2362
2363         * lyxfind.C (MatchString): inherig from std::binary_function
2364         (findChange): use empty() istead of !size()
2365
2366         * format.C (FormatNamesEqual): new functor
2367         (getFormat): use it
2368         (getNumber): use it
2369         (add): use it
2370         (erase): use it
2371         (setViewer): use it
2372
2373         * converter.C (compare_Converter): rename to...
2374         (ConverterEqual): ...this, and fixup a bit.
2375         (getConverter): use it, and make function const
2376         (getNumber): use it, and make function const
2377         (add): use it
2378         (erase): use it:
2379
2380         * bufferlist.C: add using boost::bind
2381
2382         * MenuBackend.C (MenuNamesEqual): new functor
2383         (hasMenu): use it, and make function const
2384         (hasSubmenu): use nested bind to get rid of compare_memfun.
2385
2386 2004-01-30  André Pönitz  <poenitz@gmx.net>
2387
2388         * BufferView_pimpl.C:
2389         * cursor.C:
2390         * cursor.h:
2391         * cursor_slice.[Ch]:
2392         * lyxfunc.C:
2393         * lyxtext.h:
2394         * paragraph_funcs.C:
2395         * paragraph_funcs.h:
2396         * rowpainter.C:
2397         * text.C:
2398         * text2.C:
2399         * text3.C: move some of the edit(x,y) handling to the insets
2400         some coordinate changes.
2401
2402 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2403
2404         * text.C: add using statements for std::advance and std::distance
2405
2406         * paragraph.C: add using statement for std::distance
2407
2408         * lyxfind.C: add using statement for std::advance
2409
2410         * cursor.C (region): remove std:: from swap
2411         (openable): use nucleus in stead of operator->
2412
2413         * BufferView.C: add using statements for std::distance and std::swap
2414
2415 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2416
2417         * iterators.C: Remove the pimple, move the needed structures to
2418         the header file. Create accessor for the positions stack.
2419         (asPosIterator): remove function
2420
2421         * PosIterator.C (PosIterator): move constructors to top of file
2422         (PosIterator): reimplement the constructor taking a ParIterator in
2423         terms of setFrom.
2424         (setFrom): new function
2425         (operator!=): inline it
2426
2427 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2428
2429         * lyxfind.C (replaceAll): use std::advance
2430
2431         * iterators.h: inherit from std::iterator.
2432
2433         * PosIterator.C (advance, distance): remove
2434         * PosIterator.h: interit from std::iterator.
2435
2436 2004-01-26  André Pönitz  <poenitz@gmx.net>
2437
2438         * BufferView.[Ch]:
2439         * BufferView_pimpl.[Ch]:
2440         * InsetList.[Ch]:
2441         * PosIterator.[Ch]:
2442         * buffer.h:
2443         * bufferview_funcs.C:
2444         * cursor.[Ch]:
2445         * cursor_slice.h:
2446         * factory.[Ch]:
2447         * iterators.[Ch]:
2448         * lyxfind.C:
2449         * lyxfunc.C:
2450         * lyxtext.h:
2451         * output_docbook.C:
2452         * output_latex.C:
2453         * output_linuxdoc.C:
2454         * output_plaintext.C:
2455         * paragraph.[Ch]:
2456         * paragraph_funcs.[Ch]:
2457         * paragraph_pimpl.[Ch]:
2458         * rowpainter.C:
2459         * tabular.C:
2460         * tabular.h:
2461         * text.C:
2462         * text2.C:
2463         * text3.C: more IU:  dumps most of the rest of the mathcursor
2464     implementation into cursor.[Ch]; "globalize" a bit of it.
2465
2466 2004-01-25  Angus Leeming  <leeming@lyx.org>
2467
2468         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2469
2470 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2471
2472         * LaTeXFeatures.h: add nice_ and nice() const
2473         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2474
2475 2004-01-20  André Pönitz  <poenitz@gmx.net>
2476
2477         * BufferView.[Ch]:
2478         * BufferView_pimpl.C:
2479         * PosIterator.C:
2480         * bufferview_funcs.C:
2481         * cursor.[Ch]:
2482         * cursor_slice.[Ch]:
2483         * factory.C:
2484         * iterators.C:
2485         * lyx_cb.C:
2486         * lyxfind.C:
2487         * lyxfunc.C:
2488         * lyxtext.h:
2489         * rowpainter.C:
2490         * text.C:
2491         * text2.C:
2492         * text3.C:
2493         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2494           LCursor and mathcursor parts to LCursor and InsetBase.
2495
2496 2004-01-15  André Pönitz  <poenitz@gmx.net>
2497
2498         * cursor_slice.[Ch]: add a few covienience functions
2499
2500         * funcrequest.[Ch]: remove BufferView * member
2501
2502         * BufferView_pimpl.C:
2503         * cursor.C:
2504         * factory.[Ch]:
2505         * lyxfind.[Ch]:
2506         * lyxfunc.C:
2507         * lyxtext.h:
2508         * text3.C:
2509         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2510
2511 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2514         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2515
2516 2004-01-13  André Pönitz  <poenitz@gmx.net>
2517
2518         * textcursor.[Ch]:
2519         * lyxtext.h: hide cursor and selection anchor behind accessor function
2520
2521         * BufferView.C:
2522         * BufferView_pimpl.[Ch]:
2523         * PosIterator.C:
2524         * bufferview_funcs.C:
2525         * cursor.h:
2526         * lyxfind.C:
2527         * lyxfunc.C:
2528         * text.C:
2529         * text2.C:
2530         * text3.C:
2531         * undo.C: adjust
2532
2533         * cursor.h:
2534         * cursor_slice.[Ch]: some integer type changes for inset unification
2535
2536         * lyxcursor.[hC]: remove, it's CursorSlice now.
2537
2538         * Makefile.am:
2539         * BufferView_pimpl.[Ch]:
2540         * bufferview_funcs.C:
2541         * cursor_slice.C:
2542         * lyxtext.h:
2543         * text.C:
2544         * text2.C:
2545         * text3.C:
2546         * textcursor.[Ch]: adjust
2547
2548 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * text2.C (undoSpan): add and use
2551         * text.C (breakParagraph): use undoSpan (fix bug 578)
2552         * lyxtext.h: adjust
2553
2554 2004-01-08  Angus Leeming  <leeming@lyx.org>
2555
2556         * BufferView_pimpl.C (MenuInsertLyXFile):
2557         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2558         * lyxfunc.C (menuNew, open, doImport):
2559         FileFilterList change to the FileDialog open and save functions.
2560
2561 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2562
2563         * ShareContainer.h: make isEqual and isUnique adaptable
2564
2565         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2566
2567 2004-01-07  Angus Leeming  <leeming@lyx.org>
2568
2569         * LyXAction.C:
2570         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2571
2572         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2573
2574         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2575         functions replacing find, replace and replaceAll.
2576
2577         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2578         LFUN_WORDFIND(FORWARD|BACKWARD).
2579
2580 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * text.C (breakParagraph): remove an outdated #warning
2583
2584 2004-01-07  André Pönitz  <poenitz@gmx.net>
2585
2586         * lyxfind.C: somewhat clearer logic
2587
2588         * text.C: prevent crash in cursorX on unitialized row cache
2589
2590 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyxcursor.[Ch] (operator>): add
2593         * textcursor.C (selStart, selEnd): use std::min and std::max
2594
2595 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2596
2597         * Chktex.C: include boost/format.hpp
2598
2599 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2600
2601         * InsetList.C: replace functor MathcIt with adaptable functor
2602         InsetTablePosLess
2603         (insetIterator): modify accordingly
2604
2605         * BranchList.h: move the BranchNamesEqual functor here from...
2606         * BranchList.C: ... to here
2607
2608         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2609         SameName and match.
2610         (add): replace a finding loop with std::find_if.
2611
2612 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2613
2614         * output_docbook.C: moving LatexParam functionality into
2615         .layout files
2616
2617 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2618
2619         * buffer.C: increment format to 229.
2620
2621 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2622
2623         * LaTeXFeatures.C:
2624         * lyx_sty.[Ch]: remove minipageindent_def
2625
2626         * LyXAction.C:
2627         * factory.C:
2628         * lfuns.h:
2629         * lyxfunc.C:
2630         * text3.C: remove LFUN_INSET_MINIPAGE
2631
2632 2003-12-28  Angus Leeming  <leeming@lyx.org>
2633
2634         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2635
2636 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * text2.C (setParagraph): fix off-by-one crash
2639
2640 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * output_docbook.C: header stuff for AGU
2643
2644 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * text2.C (redoCursor): remove
2647         * text.C:
2648         * text3.C:
2649         * BufferView_pimpl.C: remove calls to redoCursor and
2650         setCursor(cursor.par(), cursor.pos()) all around
2651
2652 2003-12-15  Angus Leeming  <leeming@lyx.org>
2653
2654         * buffer.C: up the format to 228.
2655
2656 2003-12-15  André Pönitz  <poenitz@gmx.net>
2657
2658         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2659         slices
2660
2661         * Makefile.am:
2662
2663         * BufferView_pimpl.C:
2664         * cursor.[Ch]:
2665         * lyxcursor.[Ch]:
2666         * rowpainter.[Ch]:
2667         * lyxtext.h:
2668         * text.C:
2669         * text2.C:
2670         * text3.C: adjust
2671
2672 2003-12-15  Angus Leeming  <leeming@lyx.org>
2673
2674         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2675         than getFromGUIName to manipulate the color.
2676
2677 2003-12-14  Angus Leeming  <leeming@lyx.org>
2678
2679         * BranchList.[Ch]: minimize the API.
2680         (Branch::getBranch, getColor): now return a 'const &'.
2681         (Branch::setSelected) now returns a bool set to true if the
2682         selection status changes.
2683         (BranchList::clear, size, getColor, setColor, setSelected,
2684         allBranches, allSelected, separator): removed.
2685         (BranchList::find): new functions, returning the Branch with
2686         the given name.
2687         (BranchList::add, remove): return a bool indicating that
2688         the operation was successful.
2689
2690         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2691         new InsetBranch::isBranchSlected member function.
2692
2693         * LColor.[Ch]: mimimize the API.
2694         (fill): renamed as addColor and made private.
2695         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2696         versions of these functions taking a string arg have been removed.
2697
2698         * bufferparams.C (readToken):
2699         * lyxfunc.C (dispatch):
2700         * lyxrc.C (read): changes due to the altered BranchList and
2701         LColor APIs.
2702
2703         * factory.C (createInset, readInset): changes due to altered
2704         InsetBranch c-tor.
2705
2706 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2707
2708         * factory.C:
2709         * lyxfunc.C: remove insetminipage. "minipage-insert"
2710         now produces a frameless minipage box inset.
2711
2712 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * textcursor.[Ch] (selStart,selEnd): add new methods
2715         remove selection::start, end, use LyXCursor::operator<
2716         * lyxcursor.[Ch] (operator<): add
2717         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2718         * BufferView.[Ch] (unsetXSel): add
2719         * text2.C (clearSelection): use unsetXSel,adjust
2720         * text.C: adjust
2721         * text3.C: adjust
2722         * rowpainter.C: adjust
2723         * bufferview_funcs.C (put_selection_at): adjust
2724
2725 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * BufferView_pimpl.C: small coord. correction
2728
2729 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2732         dragging over the splash screen.
2733
2734 2003-12-11  Angus Leeming  <leeming@lyx.org>
2735
2736         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2737         as it is now handled in LyXText::dispatch.
2738
2739         * text3.C (doInsertInset): remove a level of nesting.
2740
2741 2003-12-11  Angus Leeming  <leeming@lyx.org>
2742
2743         * factory.C (createInset): changes due to the changed interface to
2744         InsetCommandMailer::string2params.
2745
2746 2003-12-10  Angus Leeming  <leeming@lyx.org>
2747
2748         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2749         'dialog-show-new-inset <inset name>'
2750
2751 2003-12-10  Angus Leeming  <leeming@lyx.org>
2752
2753         * buffer.C: up the format to 227.
2754
2755         * factory.C: the box inset is now identified simply by 'Box'.
2756
2757 2003-12-10  Angus Leeming  <leeming@lyx.org>
2758
2759         * buffer.C: up the format to 226.
2760
2761         * factory.C: the note inset is now identified simply by 'Note'.
2762
2763 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2764
2765         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2766         when a pit is enough. Standarize a couple of loops.
2767
2768 2003-12-05  Angus Leeming  <leeming@lyx.org>
2769
2770         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2771         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2772         data to the re-worked "log" dialog.
2773
2774 2003-12-03  André Pönitz  <poenitz@gmx.net>
2775
2776         * PosIterator.C:
2777         * iterators.C:
2778         * lyxtext.h:
2779         * output_latex.C:
2780         * paragraph_funcs.C:
2781         * text.C:
2782         * text2.C: use Inset::getText instead of Inset::getParagraph
2783
2784 2003-12-03  André Pönitz  <poenitz@gmx.net>
2785
2786         * buffer.[Ch]:
2787         * lyxtext.h:
2788         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2789         InsetText::read() as LyXText::read()
2790
2791 2003-12-02  Angus Leeming  <leeming@lyx.org>
2792
2793         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2794         type. Add a comment in the implementation that the function uses
2795         the stream's bad() function rather than fail() as the std::streams
2796         would do.
2797
2798 2003-12-02  André Pönitz  <poenitz@gmx.net>
2799
2800         * lyxlex.[Ch]: make interface more similar to std::stream
2801
2802         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2803
2804 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2805
2806         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2807
2808 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2809
2810         * vspace.[Ch]: remove VSpace::NONE
2811
2812 2003-12-01  André Pönitz  <poenitz@gmx.net>
2813
2814         * buffer.[Ch]:
2815         * lyxtext.h: move ParagraphList member to LyXText
2816         rename LyXText::ownerParagraphs to LyXText::paragraph
2817
2818         * CutAndPaste.C:
2819         * bufferview_funcs.C:
2820         * iterators.[Ch]:
2821         * lyx_cb.C:
2822         * paragraph.C:
2823         * rowpainter.C:
2824         * tabular.C:
2825         * text.C:
2826         * text2.C:
2827         * text3.C: adjust
2828
2829         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2830
2831         * undo.C: fix cursor positioning
2832
2833 2003-12-01  John Levon  <levon@movementarian.org>
2834
2835         * BufferView_pimpl.C: fix a crash on exit with
2836         a buffer open
2837
2838 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2839
2840         * BranchList.C: fix setSelected() method.
2841
2842 2003-11-28  André Pönitz  <poenitz@gmx.net>
2843
2844         * ParagraphParameters.[Ch]:
2845         * ParameterStruct.h: remove space above/below from Paragraph to
2846          InsetVSpace
2847
2848         * BufferView_pimpl.C:
2849         * factory.C:
2850         * lyxfunc.C:
2851         * lyxtext.h:
2852         * output_latex.C:
2853         * paragraph.C:
2854         * paragraph_funcs.C:
2855         * rowpainter.[Ch]:
2856         * text.C:
2857         * text2.C:
2858         * text3.C: adjust
2859
2860 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * factory.C: Syntax change for CharStyles
2863
2864 2003-11-28  André Pönitz  <poenitz@gmx.net>
2865
2866         * BufferView.[Ch]:
2867         * BufferView.[Ch]:
2868         * buffer.[Ch]:
2869         * buffer.[Ch]: move LyXText member
2870
2871 2003-11-28  André Pönitz  <poenitz@gmx.net>
2872
2873         * BufferView.[Ch]: make LyXText * text a private member
2874
2875         * BufferView_pimpl.C:
2876         * cursor.C:
2877         * iterators.C:
2878         * lyx_cb.C:
2879         * lyxfind.C:
2880         * lyxtext.h:
2881         * rowpainter.[Ch]:
2882         * text.C:
2883         * text2.C:
2884         * undo.C: adjust
2885
2886         * output_plaintext.C: cleanup
2887
2888 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2889
2890         * buffer.C:
2891         * lyxtextclass.[Ch]: parametrize SGML document header
2892
2893 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2894
2895         * converter.[Ch]:
2896         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2897         getFlavor().
2898
2899 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2900
2901         * text2.C (setFont): rework using PosIterator (no more recursive)
2902         (setCharFont): no more needed
2903         (setLayout): no more selection cursors fiddling (done by redoCursor)
2904         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2905         destroy remaining ones)
2906
2907 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2908
2909         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2910         * lyxtext.h: ditto
2911         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2912         selection cursors
2913         * lyxfunc.C: adjust
2914         * text3.C: adjust + re-allow multi par depth changes
2915         * textcursor.C: simplify a bit
2916
2917 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2918
2919         * src/buffer.C:
2920         * src/lyxlayout.C:
2921         * src/lyxlayout.h:
2922         * src/lyxtext.h:
2923         * src/output_docbook.C:
2924         * src/output_latex.C:
2925         * src/paragraph.C:
2926         * src/paragraph.h:
2927         * src/sgml.C:
2928         * src/sgml.h:
2929         * src/text2.C: Introducing a number of tags parametrizing various
2930         XML formats that we may want to support
2931
2932 2003-11-25  André Pönitz  <poenitz@gmx.net>
2933
2934         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2935
2936         * lyxtext.h (leftMargin/rightMargin): simplify interface
2937
2938         * rowpainter.C:
2939         * text.C:
2940         * text2.C:
2941         * text3.C: adjust
2942
2943 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2944
2945         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2946         master file to any child files. Fixes bug 546.
2947
2948 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2949
2950         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2951
2952 2003-11-24  André Pönitz  <poenitz@gmx.net>
2953
2954         * rowpainter.C: simplification
2955
2956         * text2.C (updateCounters): remove call to redoParagraph on
2957         changed labels as this is far too expensive.
2958
2959 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * converter.C (convert): fix a crash: this function gets
2962         called with buffer == 0 from importer code.
2963
2964 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2965
2966         * text3.C (cursorPrevious): make sure that we do not compare
2967         iterators form different containers.
2968         (cursorNext): ditto
2969
2970         * rowpainter.C (paintSelection): make sure that we do not compare
2971         iterators from different containers.
2972
2973         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2974         iterators from different ParagraphList containers.
2975         [NEXT] ditto
2976
2977         * text2.C (LyXText): change order of initialization slightly
2978         (operator=): new function. copy all variables except cache_par_
2979         (moveUp): make sure that we do not compare iterators from
2980         different ParagraphList constainers.
2981         (moveDown): ditto
2982
2983         * text.C (firstPar): new function
2984         (lastPar): new function
2985         (endPar): new function
2986
2987         * lyxtext.h: move things around and group public functions, public
2988         variables, private functions, private variables
2989
2990 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2991
2992         * factory.C: change call to InsetERT constructor to avoid
2993         additional invocation of method status
2994         * text2.C (toggleInset): remove redundant update() call
2995         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2996         instead of a Bufferview pointer
2997
2998 2003-11-21  André Pönitz  <poenitz@gmx.net>
2999
3000         * rowpainter.C: simplification
3001
3002 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * text3.C (dispatch): make possible to extend a word/row selection
3005         with the mouse
3006
3007 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * lyxtext.h: x0_,y0_ -> xo_,yo_
3010         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3011         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3012         * rowpainter.C (paintRows): paint full paragraphs
3013
3014 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3017         screen coordinates)
3018
3019 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3020
3021         * lyxtext.h: add x0_, y0_
3022         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3023         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3024
3025 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3026
3027         * text2.C (setCursorIntern): move the x_target update here *
3028         * text3.C: change some bv() to true/false in calls to
3029         cursorUp/Down/Right/Left
3030         * cursor.C: use helper function.
3031
3032 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3035         * paragraph_funcs.[Ch]: correct comment
3036         * rowpainter.C: do not paint selections away from bv->cursor()
3037         Fix a long standing selection painting bug.
3038         * text3.C: generalize mouse-selection code to LyXTexts other that
3039         top one
3040         * textcursor.C: do not use y coords if we can use par offsets
3041
3042 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3045         cursor position after e.g. inset insert)
3046
3047 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3048
3049         * lyxfind.C (replace): adjust to locking removal + some
3050         code simplification
3051
3052 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3055         of the path
3056
3057 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3058
3059         * lyxlayout.[Ch]:
3060         * output_docbook.C: XML sanitation: new layout
3061         parameters InnerTag and CommandDepth
3062
3063 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3064
3065         * BufferView_pimpl.C:
3066         * factory.C:
3067         * text3.C: Fix the insertion and modification of button-style
3068         insets
3069
3070 2003-11-13  André Pönitz  <poenitz@gmx.net>
3071
3072         * InsetList.[Ch]: remove deleteLyXText
3073
3074         * paragraph.[Ch]: cache beginOfBody position
3075
3076         * Bidi.C:
3077         * text.C:
3078         * text2.C:
3079         * text3.C: remove superfluous update() calls
3080
3081         * vspace.C: cleanup
3082
3083 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3084
3085         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3086         * BufferView.C (fitLockedInsetCursor): remove
3087         * cursor.[Ch] (getDim): add
3088         * text.C (getRowNearY): add faster version
3089         * text3.C: remove some update calls
3090
3091 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3092
3093         * LaTeXFeatures.C:
3094         * LyXAction.C:
3095         * MenuBackend.C:
3096         * MenuBackend.h:
3097         * dispatchresult.h:
3098         * factory.C:
3099         * lfuns.h:
3100         * lyxfunc.C:
3101         * lyxtextclass.C:
3102         * lyxtextclass.h:
3103         * text3.C: The Character Style /XML short element patch.
3104
3105 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3106
3107         * text3.C:
3108         * factory.C: Small step to solving 'unable to insert some insets'
3109         problem
3110
3111 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * cursor.[Ch] (updatePos): new function for updating the y
3114         position of the tip inset
3115         * bufferview_funcs.C (put_selection_at):
3116         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3117
3118 2003-11-11  André Pönitz  <poenitz@gmx.net>
3119
3120         * text.C: remove big comment on invalid Paragraph pointers as it is
3121         not valid anymore
3122
3123 2003-11-11  André Pönitz  <poenitz@gmx.net>
3124
3125         * text_funcs.[Ch]: merge with ...
3126
3127         * text.C: ... this
3128
3129         * lyxtext.h:
3130         * text2.C:
3131         * text3.C: adjust
3132
3133         * Makefile.am: remove text_funcs.[Ch]
3134
3135 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * cursor.C (getPos): return absolute cached y coord
3138
3139         * BufferView_pimpl.C (fitCursor): new simplistic code
3140         (workAreaDispatch): add a fitCursor call
3141
3142 2003-11-10  André Pönitz  <poenitz@gmx.net>
3143
3144         * BufferView.[Ch]:
3145         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3146
3147 2003-11-10  André Pönitz  <poenitz@gmx.net>
3148
3149         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3150         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3151         indicate that the cursor needs to leave an inset
3152
3153         * lyxtext.h: remove inset locking
3154
3155         * cursor.[Ch]: re-implement functionality provided by inset locking
3156
3157         * BufferView.[Ch]:
3158         * BufferView_pimpl.[Ch]:
3159         * LyXAction.C:
3160         * bufferview_funcs.[Ch]:
3161         * factory.C:
3162         * funcrequest.[Ch]:
3163         * iterators.C:
3164         * lyx_cb.C:
3165         * lyxfind.C:
3166         * lyxfunc.C:
3167         * text.C:
3168         * text2.C:
3169         * text3.C:
3170         * undo.C: adjust
3171
3172 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * PosIterator.[Ch]: replace the stack with a vector, add inset
3175         accesor
3176         * iterators.[C]: adjust
3177
3178 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3179
3180         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3181         replaced
3182         * paragraph_funcs.C (readParToken): put the correct id in the
3183         error item, not the id of the top paragraph
3184
3185 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3188         * bufferview_funcs.C (put_selection_at): use the above
3189
3190 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3193
3194 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3195
3196         * output_linuxdoc.h:
3197         * output_plaintext.h:
3198         * output.h:
3199         * output_docbook.h: add #include statements
3200
3201 2003-11-05  José Matos  <jamatos@lyx.org>
3202
3203         * output_docbook.[Ch]:
3204         * output_latex.[Ch]:
3205         * output_linuxdoc.[Ch]:
3206         * output_plaintext.[Ch]: New files for output formats.
3207         * output.[Ch]: New file for helper functions.
3208
3209         * buffer.[Ch]:
3210         * paragraph_funcs.[Ch]: output functions moved to new files.
3211
3212         * outputparams.h: rename of latexrunparams.h
3213
3214         * LaTeX.[Ch]:
3215         * buffer.[Ch]:
3216         * bufferlist.[Ch]:
3217         * converter.[Ch]:
3218         * exporter.C:
3219         * paragraph.[Ch]:
3220         * paragraph_funcs.[Ch]:
3221         * paragraph_pimpl.[Ch]:
3222         * tabular.[Ch]: rename ascii to plaintext
3223         and LatexRunParams to OutputParams.
3224
3225 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3226
3227         * iterators.[Ch] (text): require bv argument
3228         * undo.C (recordUndo):
3229         * lyxfunc.C (dispatch):
3230         * bufferview_funcs.C (put_selection_at): adjust
3231
3232 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3233
3234         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3235
3236 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3239         nestings
3240
3241 2003-11-04  André Pönitz  <poenitz@gmx.net>
3242
3243         * cursor.[Ch]: restructure
3244
3245         * BufferView.[Ch]:
3246         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3247
3248         * iterators.[Ch] (asCursor): remove
3249
3250         * lfuns.h: remove LFUN_INSET_EDIT
3251
3252         * lyxfunc.C:
3253         * tabular.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3257
3258 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3259
3260         * lyxfind.[Ch]: complete overhaul
3261         * BufferView_pimpl.C:
3262         * lyxfunc.C: adjust
3263         * paragraph.[Ch] (insert): add
3264
3265 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * BufferView.[Ch]:
3268         * lyxtext.h:
3269         * text.C: remove dead spellcheck code
3270
3271 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * dispatchresult.h: add a val setter
3274
3275         * cursor.C (dispatch): use a tempvar for data_[i]
3276
3277 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * PosIterator.[Ch]: compile fix
3280
3281 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * text.C (cursorPar): deactivate the cursor cache
3284
3285 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3286
3287         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3288
3289 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text3.C (dispatch): adjust for new DisptchResult semantics.
3292
3293         * lyxfunc.C (dispatch): handle update when return from
3294         Cursor::dispatch, adjust for new DispatchResult semantics.
3295
3296         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3297         DispatchResult(true) mean to not update. Add class functions for
3298         setting dispatched and update, as well as reading.
3299
3300         * cursor.C (dispatch): don't handle update here
3301
3302 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3305         * trans_mgr.C: adjust
3306
3307         * paragraph_funcs.C (readParToken): exception safety
3308
3309         * lyxvc.h: store the vcs pointer in a scoped_ptr
3310         * lyxvc.C: adjust
3311
3312         * lyxsocket.C (serverCallback): exception safety
3313
3314         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3315
3316         * ispell.C (clone): make it return a auto_ptr
3317
3318         * factory.C (createInset): exception safety
3319         (readInset): exception safety
3320
3321         * bufferlist.C (newBuffer): exception safety
3322
3323         * Thesaurus.C (Thesaurus): use initialization for aik_
3324
3325         * MenuBackend.C (expandToc): exception safety.
3326
3327 2003-11-03  André Pönitz  <poenitz@gmx.net>
3328
3329         * buffer.C:
3330         * buffer.h:
3331         * bufferview_funcs.C: remove getInsetFromId()
3332
3333         * lyxcursor.[Ch]:
3334         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3335
3336         * lyxfunc.C:
3337         * text2.C:
3338         * text3.C: adjust
3339
3340 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * PosIterator.C (distance, advance): new
3343         * bufferview_funcs.[Ch] (put_selection_at): new
3344         * iterators.[Ch] (lockPath): new
3345
3346 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * iterators.[Ch] (asPosIterator): added
3349         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3350         * PosIterator.[Ch]: added
3351
3352 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * text3.C:
3355         * lyxfunc.C:
3356         * cursor.C (dispatch):
3357         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3358
3359         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3360         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3361         contructor, add a class function dispatched. Remove operator>=
3362
3363 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3364
3365         * debug.C: only use the default constructor for debugstream
3366         (lyxerr) here.
3367
3368         * main.C (main): include debug.h and setup the lyxerr streambuf
3369         here.
3370
3371 2003-10-31  José Matos  <jamatos@lyx.org>
3372
3373         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3374
3375         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3376         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3377         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3378         * paragraph_pimpl.C (simpleTeXSpecialC):
3379         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3380         add LatexRunParams argument.
3381
3382         * exporter.C (Export): change call accordingly.
3383
3384         * latexrunparams.h: add new member to take care of the other backends.
3385 2003-10-30  José Matos  <jamatos@lyx.org>
3386
3387         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3388         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3389         factorise code for paragraph output.
3390         * buffer.[Ch]:
3391         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3392         move functions.
3393
3394 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * text3.C (dispatch):
3397         * lyxfunc.C (dispatch):
3398         * cursor.C (dispatch):
3399         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3400
3401         * dispatchresult.h: make the dispatch_result_t ctor explicit
3402
3403 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3404
3405         * sgml.[Ch]:
3406         * buffer.C: small refactoring of docbook stuff
3407
3408 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3409
3410         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3411         meaning.
3412
3413 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3416         operator dispatch_result_t, and operators for == != and >=
3417
3418         * cursor.C (dispatch): adjust for operator dispatch_result_t
3419         removal. comment out call to update
3420
3421         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3422
3423 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * text3.C:
3426         * text2.C:
3427         * text.C:
3428         * lyxtext.h:
3429         * lyxfunc.C:
3430         * cursor.C:
3431         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3432         (dispatch):
3433
3434         * dispatchresult.h: new file, DispatchResult broken out of
3435         insets/insetbase.h
3436
3437         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3438
3439 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3440
3441         * text.C (rowBreakPoint): put a hack inside #if 0
3442
3443 2003-10-28  André Pönitz  <poenitz@gmx.net>
3444
3445         * lyxtext.h:
3446         * metricsinfo.C:
3447         * paragraph_funcs.C:
3448         * rowpainter.C:
3449         * text.C:
3450         * text2.C: general cleanup (lots of small stuff)
3451
3452 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3453
3454         * text2.C (cursorEnd): simple fix to the "end key goes to one
3455         before the end on last row" bug
3456
3457 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * text.C (backspace): fix the "zombie characters"
3460
3461 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3462
3463         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3464
3465 2003-10-27  André Pönitz  <poenitz@gmx.net>
3466
3467         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3468
3469         * factory.C: handle new InsetPagebreak, InsetLine
3470
3471         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3472         and move handling into new InsetPagebreak, InsetLine
3473
3474         * BufferView_pimpl.C:
3475         * LyXAction.C:
3476         * ParagraphParameters.C:
3477         * ParameterStruct.h:
3478         * lyxfunc.C:
3479         * lyxtext.h:
3480         * paragraph.C:
3481         * paragraph.h:
3482         * paragraph_funcs.C:
3483         * paragraph_pimpl.C:
3484         * rowpainter.C:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: adjust
3488
3489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * text.C:
3492         * lyxrow_funcs.[Ch]:
3493         * Bidi.C:
3494         * paragraph.C:
3495         * lyxtext.h:
3496         * rowpainter.C:
3497         * text2.C:
3498         * text3.C: remove lastPos uses in favour of Row::endpos
3499
3500 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * undo.C (performUndoOrRedo): fix two crashes by setting a
3503         cursor by hand and reordering some calls. Use bv->lockInset instead
3504         of inset->edit because the latter loses cursor information
3505
3506 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3507
3508         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3509         by Martin
3510         (rowBreakPoint): fix width. change point to point + 1.
3511         Add a missing check.
3512
3513 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3514
3515         * MenuBackend.C:
3516         * lyxfunc.C: fix (at least partly) the problems
3517         with the Nav menu and headers inside branch insets
3518         reported by Kayvan
3519
3520 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3521
3522         * paragraph.C (getChar): add strong asserts
3523
3524         * lyxrow_funcs.C (lastPos): remove hideous hack
3525
3526         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3527         (fill): adjust to that (avoid an infinite loop)
3528
3529 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3530
3531         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3532
3533 2003-10-23  André Pönitz  <poenitz@gmx.net>
3534
3535         * RowList_fwd.h: change list<> to vector<> to gain speed
3536         after suggestion from Alfredo
3537
3538 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyxtext.h: move the bidi stuff from here...
3541         * text.C: and here
3542         * text2.C: and here
3543         * Bidi.[Ch]: ... to here
3544
3545 2003-10-23  André Pönitz  <poenitz@gmx.net>
3546
3547         * lyxtext.h:
3548         * text.C (isLastRow, isFirstRow): new functions
3549
3550         * paragraph.h: new width cache member
3551
3552         * rowpainter.C: replace RowList::iterator with Row & where possible
3553
3554         * lyxfunc.C: replace several view()->text with a single call
3555
3556         * toc.C: fix 'unused' warning
3557
3558 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3561         when woring with stream::pos_type
3562         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3563
3564 2003-10-22  André Pönitz  <poenitz@gmx.net>
3565
3566         * lyxtext.h:
3567         * text.C: use Row & instead of RowList::iterator
3568
3569         * lyxrow.h: rename end() to endpos()
3570
3571         * rowpainter.C:
3572         * text.C:
3573         * text2.C: adjust
3574
3575 2003-10-22  Angus Leeming  <leeming@lyx.org>
3576
3577         * buffer.[Ch] (fully_loaded): new member function, returning true
3578         only when the file has been loaded fully.
3579         Used to prevent the premature generation of previews and by the
3580         citation inset to prevent computation of the natbib-style label.
3581
3582         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3583         templates are all set up.
3584
3585         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3586
3587 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3588
3589         * text.C: fixed an "oops" in the "is a bit silly"
3590         bug fix
3591
3592 2003-10-21  André Pönitz  <poenitz@gmx.net>
3593
3594         * FuncStatus.[Ch]: small stuff, whitespace
3595
3596         * lyxfont.[Ch]: operator<<() for debug reasons
3597
3598         * lyxfunc.C:
3599         * lyxrow_funcs.C:
3600         * lyxtext.h: whitespace, spelling
3601
3602         * paragraph.C: naming of variables
3603
3604         * text.C:
3605         * text2.C: small stuff
3606
3607
3608 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3609
3610         * text.C: (1) finish off the inset display() work;
3611         (2) fix the "is a bit silly" bug (accessing char
3612         past end of par).
3613
3614 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3615
3616         * text.C: re-introduce display() for insets, fixing the
3617         various bugs (stretch of line above, math inset
3618         positioning, ...)
3619
3620 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3621
3622         * text.C (rightMargin): remove spurious semicolon
3623
3624         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3625         1415)
3626
3627 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * text3.C: fix one crash due to wrong cursor def
3630
3631 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * vc-backend.C (scanMaster): make the regex static
3634
3635         * LaTeX.C (scanAuxFile): make the regexs static
3636
3637         * text3.C (doInsertInset, dispatch, dispatch):
3638         * text2.C (cursorUp, cursorDown):
3639         * text.C (selectNextWordToSpellcheck):
3640         * BufferView_pimpl.C (dispatch):
3641         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3642
3643 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3644
3645         * lyxsocket.C: include <cerrno>
3646
3647 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxfunc.C (dispatch): remove textcache stuff
3650
3651         * bufferlist.C (release): remove textcache stuff
3652         (closeAll): ditto
3653
3654         * TextCache.C: delete file
3655         * TextCache.h: delete file
3656
3657         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3658
3659         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3660         delete of the bv_->text.
3661         (resizeCurrentBuffer): remove texcache stuff
3662         (workAreaResize): ditto
3663
3664 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3665
3666         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3667         action.
3668
3669 2003-10-16  André Pönitz  <poenitz@gmx.net>
3670
3671         * lyxrow.[Ch]:
3672         * paragraph.h:
3673         * rowpainter.C:
3674         * text.C:
3675         * text2.C:
3676         * text3.C: speed up by storing y positions per paragraph plus per-row
3677         offset instead of having a 'full' y position in the row.
3678
3679 2003-10-15  André Pönitz  <poenitz@gmx.net>
3680
3681         * iterators.[Ch]:
3682         * iterators.[Ch]:
3683         * undo.[Ch]: make undo aware of inner insets
3684
3685 2003-10-14  Angus Leeming  <leeming@lyx.org>
3686
3687         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3688         static member functions LyX::ref() and LyX::cref.
3689         (lastfiles): new accessor functions for the new lastfiles_ member var.
3690         (addLyXView, views_): add a new LyXView to the list of views_.
3691         (updateInset): loop over all LyXViews to call their own updateInset
3692         member function, returning a pointer to the Buffer owning the inset.
3693
3694         * BufferView_pimpl.C (loadLyXFile):
3695         * MenuBackend.C (expandLastfiles):
3696         * bufferlist.C (MenuWrite, QuitLyX):
3697         lastfiles is no longer a global variable.
3698         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3699
3700         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3701         static function. Access through LyX::cref().emergencyCleanup().
3702
3703 2003-10-14  André Pönitz  <poenitz@gmx.net>
3704
3705         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3706
3707         * undo.[Ch]: restoring part of 'undo in insets'
3708
3709         * Makefile.am:
3710         * undo_funcs.[Ch]: merge with undo.[Ch]
3711
3712         * tabular.C: small cleansing stuff
3713
3714 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3715
3716         * paragraph_funcs.C (readParToken): report unknown insets as error
3717         boxes. Use the outer paragraph as location (also for unknown
3718         tokens).
3719
3720         * factory.C (readInset): do not abort on reading an unknown inset.
3721         Eat it and return 0.
3722
3723 2003-10-13  Angus Leeming  <leeming@lyx.org>
3724
3725         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3726
3727         * lyxrc.C: displayTranslator is now a function,
3728         declared in GraphicsTypes.h.
3729
3730 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3731
3732         * format.C: new placeholder $$a to pass the socket address.
3733
3734         * bufferlist.[Ch]: new function getBufferFromTmp.
3735
3736         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3737           files in the temporary dir.
3738
3739 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3740
3741         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3742
3743         * Makefile.am: add lyxsocket.[Ch].
3744
3745         * lyx_main.C (error_handler): handle SIGPIPE.
3746
3747 2003-10-13  André Pönitz  <poenitz@gmx.net>
3748
3749         * BufferView_pimpl.C:
3750         * lyxtext.h:
3751         * text.C:
3752         * text2.C:
3753         * text3.C:
3754         * undo_funcs.[Ch]: use paroffset_type instead of
3755           ParagraphList::iterators to prevent multiple conversion
3756           (and get a more robust interface)
3757
3758 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3761         * lyxtext.h: ditto
3762         * text3.C (dispatch): ditto
3763
3764 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3767         move the onlyfile, use onlyfile instead of foundfile in a couple
3768         of places.
3769
3770         * DepTable.C (update): flush the error stream a bit more
3771
3772 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * lyxserver.C (callback): adjust
3775
3776         * lyxfunc.C (getStatus): add a missing brace in commented code
3777         (ensureBufferClean): reindent
3778         (dispatch): delete version taking a string
3779
3780 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * LaTeX.C (deplog): move found file handlig from here...
3783         (handleFoundFile): .. to new function here.
3784         (deplog): make sure to discover several files mentioned on the
3785         same log line.
3786
3787 2003-10-10  André Pönitz  <poenitz@gmx.net>
3788
3789         * lyxfunc.C:
3790         * lyxtext.h:
3791         * tabular.C:
3792         * text.C:
3793         * text2.C:
3794         * text3.C: fix some of the tabular crashes
3795
3796 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3797
3798         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3799
3800         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3801
3802 2003-10-09  André Pönitz  <poenitz@gmx.net>
3803
3804         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3805
3806         * BufferView.C:
3807         * BufferView_pimpl.C:
3808         * bufferview_funcs.C:
3809         * lyx_cb.C:
3810         * lyxcursor.C:
3811         * lyxfind.C:
3812         * lyxfunc.C:
3813         * lyxtext.h:
3814         * text.C:
3815         * text2.C:
3816         * text3.C:
3817         * text_funcs.[Ch]:
3818         * textcursor.[Ch]:
3819         * undo_funcs.C: adjust
3820
3821 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * text2.C (incrementItemDepth): new function, use a backtracking
3824         algorithm to discover the correct item depth.
3825         (resetEnumCounterIfNeeded): new function, use a backtracking
3826         algorithm to discover if counter reset is needed.
3827         (setCounter): use them. Simplify a bit. Add different labels for
3828         different item depths for itemize.
3829
3830         * paragraph.C (Paragraph): remove initialization of enumdepth
3831         (operator=): ditto
3832
3833         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3834         enumerate and itemize. Change the type of itemdepth to signed char.
3835
3836 2003-10-08  André Pönitz  <poenitz@gmx.net>
3837
3838         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3839           thing assignable.
3840         * text.C:
3841         * text2.C: adjust
3842
3843         * tabular.[Ch]: fix crash after 'row-insert'
3844
3845 2003-10-08  Angus Leeming  <leeming@lyx.org>
3846
3847         Fix doxygen warnings.
3848
3849         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3850         Remove CutAndPaste:: prefix from header file declaration.
3851
3852         * LColor.h (fill): remove LColor:: prefix from declaration.
3853
3854         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3855         use lyx::depth_type rather than Paragraph::depth_type so that
3856         header file and .C file match.
3857
3858         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3859
3860         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3861         * aspell.C: \file aspell_local.C -> \file aspell.C
3862         * gettext.C: \file gettext.C -> \file src/gettext.C
3863         * gettext.h: \file gettext.h -> \file src/gettext.h
3864         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3865         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3866         * text.C: \file text.C -> \file src/text.C
3867
3868         * toc.C: move comment so that doxygen is not confused.
3869
3870 2003-10-07  Angus Leeming  <leeming@lyx.org>
3871
3872         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3873
3874 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3875
3876         * aspell.C:
3877         * aspell_local.h: add forgotten std::string's.
3878
3879 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3880
3881         * LaTeXFeatures.C:
3882         * LyXAction.C:
3883         * factory.C:
3884         * lfuns.h:
3885         * lyxfunc.C:
3886         * text3.C: The Box patch. Fancybox support, minipage, parbox
3887
3888 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3889
3890         * CutAndPaste.h:
3891         * DepTable.h:
3892         * FloatList.h:
3893         * LaTeXFeatures.h:
3894         * ParagraphParameters.h:
3895         * TextCache.h:
3896         * Thesaurus.h:
3897         * bufferlist.h:
3898         * exporter.h:
3899         * importer.h:
3900         * lastfiles.h:
3901         * lyxfind.h:
3902         * lyxfont.h:
3903         * lyxlex.h:
3904         * lyxtextclasslist.h:
3905         * messages.h:
3906         * paragraph.h:
3907         * paragraph_pimpl.C:
3908         * textcursor.h: add <string> and other small fixes to make Lars'
3909         std::string patch compile with STLport.
3910
3911 2003-10-06  Angus Leeming  <leeming@lyx.org>
3912
3913         * LColor.h: Add missing #include <string>.
3914
3915 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * All most all file in all subdirs: Make <string> be the prefered
3918         way of getting to std::string, add using declarations.
3919
3920 2003-10-06  André Pönitz  <poenitz@gmx.net>
3921
3922         * metricsinfo.C: initialize LyXFont before changing attribute.
3923         (fixes the 'math in \emph is upright' bug)
3924
3925 2003-10-06  André Pönitz  <poenitz@gmx.net>
3926
3927         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3928
3929 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3930
3931         * graph.C:
3932         * paragraph_pimpl.C: Small fixes to build using STLport
3933
3934 2003-10-02  André Pönitz  <poenitz@gmx.net>
3935
3936         * lyxfunc.C:
3937         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3938
3939 2003-10-01  André Pönitz  <poenitz@gmx.net>
3940
3941         * factory.C: assert early
3942
3943 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * lyx_main.C: remove the global debug object
3946
3947         * debug.h: adjust for new debugstream
3948
3949         * debug.C: adjust for new debugstream and keep the global debug
3950         object here.
3951
3952 2003-09-22  Angus Leeming  <leeming@lyx.org>
3953
3954         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3955         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3956         an incomplete class LyXFont.
3957
3958 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3959
3960         * factory.C: bug fix in branches
3961
3962 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * lyxfunc.C (processKeySym): adjust
3965         (dispatch): adjust
3966         (dispatch): change arg name from ev to func, adjust
3967         (sendDispatchMessage): ditto
3968
3969         * lyx_main.C (defaultKeyBindings): adjust keybindings
3970         (deadKeyBindings): ditto
3971
3972         * kbsequence.C (addkey): return a FuncRequest
3973
3974         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3975
3976         * kbmap.C (bind): take a FuncRequest as arg, adjust
3977         (read): adjust
3978         (lookup): adjust
3979         (defkey): change to take a FuncRequest as arg, adjust
3980         (findbinding): take a FuncRequest as arg, adjust.
3981
3982         * funcrequest.h (operator=): added
3983
3984         * funcrequest.C (FuncRequest): default kb_action changed from
3985         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3986
3987         * buffer.C (dispatch): simplify
3988         (dispatch): adjust to take a FuncRequest as arg, adjust
3989
3990         * boost.C (assertion_failed): change assertion message slightly
3991
3992         * ToolbarBackend.C (read): simplify
3993
3994         * MenuBackend.C (binding): adjust call to findbinding, add a
3995         message if no binding is found.
3996         (read): simplify
3997         (expandToc): correct by adding a empty FuncRequest
3998
3999         * LyXAction.C: include <boost/assert.hpp>
4000         (isPseudoAction): delete function
4001         (LookupFunc): change name to...
4002         (lookupFunc): this. change return type to FuncRequest.
4003         (getActionName): take kb_action as arg, simplify
4004         (funcHasFlag): add an assert, simplify.
4005
4006 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * toc.C (action): return a FuncRequest, simplify
4009
4010         * lyxfunc.C (processKeySym): adjust
4011         (getStatus): delete version that takes an int.
4012         (getStatus): adjust
4013         (dispatch): delete version that takes action as int
4014         (dispatch): adjust
4015         (sendDispatchMessage): simplify and adjust
4016
4017         * funcrequest.C (getArg): take unsigned int as arg
4018
4019         * ToolbarBackend.C (read): adjust
4020         (add): delete version that takes func as a string.
4021         (getIton): take a FuncRequest as arg
4022
4023         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4024         action.
4025
4026         * MenuBackend.C (MenuItem): add a new construct that only takes a
4027         Kind, simplify the constructor use for submenus.
4028         (add): adjust
4029         (expandLastfiles): adjust
4030         (expandDocuments): adjust
4031         (expandFormats): adjust
4032         (expandFloatListInsert): adjust
4033         (expandFloatInsert): adjust
4034         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4035
4036         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4037         Remove class variables lyx_pseudo_map and lyx_arg_map
4038
4039         * LyXAction.C (searchActionArg): delete function
4040         (getPseudoAction): delete function
4041         (retrieveActionArg): delete function
4042         (LookupFunc): make it return kb_action, simplify.
4043         (getActionName): simplify
4044
4045         * factory.C (createInset): fix new bug
4046
4047 2003-09-19  Angus Leeming  <leeming@lyx.org>
4048
4049         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4050         masterFilename_ parameter in the include inset.
4051
4052         * factory.C (createInset): changes due to the changes to InsetInclude.
4053
4054 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4055
4056         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4057
4058 2003-09-18  Angus Leeming  <leeming@lyx.org>
4059
4060         * buffer.C:
4061         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4062         Inset::fillWithBibKeys.
4063         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4064
4065 2003-09-18  Angus Leeming  <leeming@lyx.org>
4066
4067         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4068         variables.
4069         (ctor): pass and store a 'Buffer const &'
4070         (buffer): new member function.
4071
4072         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4073         '*this' to the LaTeXFeatures ctor.
4074
4075 2003-09-18  Angus Leeming  <leeming@lyx.org>
4076
4077         * LColor.h:
4078         * lyxfont.C:
4079         * lyxfont.h:
4080         * lyxtext.h:
4081         * text.C: rename EnumLColor as LColor_color.
4082
4083 2003-09-18  Angus Leeming  <leeming@lyx.org>
4084
4085         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4086         remove #include "insets/insetbase.h" from cursor.h.
4087
4088 2003-09-18  Angus Leeming  <leeming@lyx.org>
4089
4090         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4091         InsetOld_code to remove #include "inset.h".
4092
4093         * iterators.C: add #include "insets/inset.h"
4094
4095 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4096
4097         * BufferView.C: remove more locking stuff that apparently doesn't
4098         do anything sensible.
4099
4100 2003-09-16  André Pönitz  <poenitz@gmx.net>
4101
4102         * paragraph.[Ch]:
4103         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4104           performance boost.
4105
4106 2003-09-16  Angus Leeming  <leeming@lyx.org>
4107
4108         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4109
4110         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4111         arg/return type.
4112
4113         * paragraph.h: remove #include "lyxfont.h". Forward declare
4114         LyXFont_size.
4115
4116 2003-09-16  Angus Leeming  <leeming@lyx.org>
4117
4118         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4119         of support/textutils.h.
4120         (isWord): move the contents of support/textutils.h's IsWordChar here.
4121
4122         * buffer.C:
4123         * lyxfind.C:
4124         * rowpainter.C:
4125         * text.C:
4126         * text2.C: add #include "paragraph.h".
4127
4128         * rowpainter.C:
4129         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4130
4131 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * main.C:
4134         * lyx_main.C:
4135         * lyx_cb.C:
4136         * buffer.C:
4137         * LaTeX.C: use namespace alias for lyx::support::os
4138
4139 2003-09-16  Angus Leeming  <leeming@lyx.org>
4140
4141         * bufferparams.C:
4142         * bufferview_funcs.C:
4143         * factory.C:
4144         * lyxfunc.C:
4145         * paragraph_pimpl.C:
4146         * rowpainter.C:
4147         * text.C: add #include "LColor.h".
4148
4149 2003-09-16  Angus Leeming  <leeming@lyx.org>
4150
4151         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4152         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4153         return LyXFont &.
4154         Store the FontBits::color variable as an int rather than as an
4155         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4156         file.
4157
4158         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4159         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4160         string calls together.
4161
4162         * lyxrc.C: add #include "LColor.h".
4163
4164 2003-09-15  Angus Leeming  <leeming@lyx.org>
4165
4166         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4167         a cow_ptr.
4168
4169 2003-09-15  Angus Leeming  <leeming@lyx.org>
4170
4171         * LColor.h: add an EnumLColor wrapper for LColor::color.
4172
4173         * lyxfont.[Ch] (color, setColor, realColor):
4174         * lyxtext.h, text.C (backgroundColor):
4175         pass EnumLColor args to/from the functions, rather than LColor::color
4176         ones.
4177
4178         * lyxfont.h:
4179         * lyxtext.h: forward declare EnumLColor.
4180
4181         * lyx_main.C: add #include "LColor.h".
4182
4183 2003-09-15  Angus Leeming  <leeming@lyx.org>
4184
4185         * .cvsignore: add lyx-gtk.
4186
4187 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * Chktex.C
4190         * LaTeX.C
4191         * LaTeXFeatures.C
4192         * ParagraphParameters.C
4193         * Spacing.C
4194         * buffer.C
4195         * bufferparams.C
4196         * bufferview_funcs.C
4197         * chset.C
4198         * counters.C
4199         * funcrequest.C
4200         * lyxfont.C
4201         * lyxgluelength.C
4202         * lyxlength.C
4203         * paragraph.C
4204         * paragraph_funcs.C
4205         * text3.C
4206         * vc-backend.C: remove usage of STRCONV
4207
4208 2003-09-15  Angus Leeming  <leeming@lyx.org>
4209
4210         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4211         explicitly define the color passed to the painter.
4212
4213 2003-09-15  Angus Leeming  <leeming@lyx.org>
4214
4215         * bufferparams.C (BufferParams): reorder member initializers to avoid
4216         compiler warning.
4217
4218 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4221         * text.C (updateRowPositions): remove an unusual nop
4222
4223 2003-09-12  André Pönitz  <poenitz@gmx.net>
4224
4225         * BufferView_pimpl.C:
4226         * Bullet.C:
4227         * layout.h:
4228         * lyxfunc.C:
4229         * lyxlayout.[Ch]:
4230         * lyxtextclass.C:
4231         * rowpainter.C:
4232         * text.C:
4233         * text2.C:
4234         * Counters.[Ch]: finish the 'automatic counters' job
4235
4236 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4237
4238         * aspell.C: include <boost/assert.cpp> (compile fix)
4239
4240 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4241
4242         * boost.C (assertion_failed): use lyx::support::abort instead of
4243         assert.
4244
4245 2003-09-10  Angus Leeming  <leeming@lyx.org>
4246
4247         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4248         with their _fwd progeny.
4249
4250 2003-09-09  Angus Leeming  <leeming@lyx.org>
4251
4252         134 files throughtout the source tree: replace 'using namespace abc;'
4253         directives with the appropriate 'using abc::xyz;' declarations.
4254
4255 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4256
4257         * boost.C (emergencyCleanup): moved here from LAssert.c
4258         (assertion_failed): new function, called by BOOST_ASSERT
4259
4260         * several files: change Assert to BOOST_ASSERT
4261
4262 2003-09-09  Angus Leeming  <leeming@lyx.org>
4263
4264         * buffer.[Ch]: Add an Impl class and move Buffer's member
4265         variables into it. As a result move several header files out of
4266         buffer.h.
4267
4268         Add header files to lots of .C files all over the tree as a result.
4269
4270 2003-09-09  Angus Leeming  <leeming@lyx.org>
4271
4272         * buffer.[Ch]: make Buffer's member variables private. Add
4273         accessor functions.
4274
4275         Lots of changes all over the tree as a result.
4276
4277 2003-09-08  Angus Leeming  <leeming@lyx.org>
4278
4279         * graph.C: #include <config.h>.
4280
4281 2003-09-08  Angus Leeming  <leeming@lyx.org>
4282
4283         * BranchList.C:
4284         * BufferView.C:
4285         * BufferView_pimpl.C:
4286         * CutAndPaste.C:
4287         * DepTable.C:
4288         * LaTeX.C:
4289         * LaTeXFeatures.C:
4290         * LyXAction.C:
4291         * MenuBackend.C:
4292         * TextCache.C:
4293         * aspell.C:
4294         * buffer.C:
4295         * bufferlist.C:
4296         * changes.C:
4297         * chset.C:
4298         * converter.C:
4299         * counters.C:
4300         * debug.C:
4301         * graph.C:
4302         * ispell.C:
4303         * lyx_cb.C:
4304         * lyxfind.C:
4305         * lyxfunc.C:
4306         * lyxlex_pimpl.C:
4307         * lyxrc.C:
4308         * lyxrow.C:
4309         * paragraph.C:
4310         * rowpainter.C:
4311         * texrow.C:
4312         * text.C:
4313         * text2.C:
4314         * toc.C: remove redundant using directives.
4315
4316 2003-09-07  Angus Leeming  <leeming@lyx.org>
4317
4318         * LaTeXFeatures.h: remove #include "support/types.h".
4319         * ToolbarBackend.h: remove #include <algorithm>.
4320         * changes.h: remove #include <ctime>.
4321         * debug.h: remove #include <iosfwd>.
4322         * graph.h: remove #include "support/std_string.h".
4323         * lyx_main.h: remove #include <csignal>.
4324         * lyxlex_pimpl.h: remove #include <fstream>.
4325         * sgml.h: remove #include <algorithm>, <utility>.
4326         * toc.h: remove #include "support/std_ostream.h".
4327         Add #include <iosfwd>.
4328
4329 2003-09-07  Angus Leeming  <leeming@lyx.org>
4330
4331         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4332
4333         * converter.h: forward declare LatexRunParams.
4334         * encoding.h: remove #include "lyxrc.h".
4335         * lyxtext.h: remove #include "LColor.h".
4336         * lyxtextclass.h: remove #include "support/types.h".
4337         * trans.h: remove #include "tex-accent.h".
4338         * trans_mgr.h: remove #include "tex-accent.h".
4339         * insets/inset.h: remove #include "support/types.h", <vector>.
4340         * insets/insetcollapsable.h: remove #include "LColor.h".
4341         * insets/insetinclude.h: remove #include "dimension.h".
4342         * insets/insetlatexaccent.h: remove #include "dimension.h".
4343         * insets/insetoptarg.h:: remove #include "insettext.h".
4344         * insets/insettext.h: remove #include "dimension.h",
4345         <boost/shared_ptr.hpp>
4346
4347         * insets/renderers.h: add #include "dimension.h".
4348         * insets/updatableinset.h: add #include "support/types.h".
4349
4350         * many .C files: Associated changes.
4351
4352 2003-09-06  Angus Leeming  <leeming@lyx.org>
4353
4354         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4355         one, inside testInvariant.
4356
4357         * PrinterParams.C: new file.
4358         * PrinterParams.[Ch]: move the function bodies out of line.
4359
4360 2003-09-06  Angus Leeming  <leeming@lyx.org>
4361
4362         * ParagraphParameters.h: forward declare ParameterStruct rather than
4363         including its header file.
4364         (depth): moved out-of-line.
4365
4366 2003-09-06  Angus Leeming  <leeming@lyx.org>
4367
4368         * BufferView_pimpl.h:
4369         * kbmap.h:
4370         * kbsequence.h:
4371         * lyxfunc.h: forward declare LyXKeySym rather than
4372         #include "frontends/LyXKeySym.h".
4373
4374         * BufferView_pimpl.C:
4375         * kbmap.C:
4376         * kbsequence.C:
4377         * lyxfunc.C: associated changes.
4378
4379 2003-09-06  Angus Leeming  <leeming@lyx.org>
4380
4381         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4382         As a result, can remove the #include "insets/inset.h" from BufferView.h
4383
4384 2003-09-06  Angus Leeming  <leeming@lyx.org>
4385
4386         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4387         As a result, can remove the #include "insets/inset.h" from BufferView.h
4388
4389 2003-09-06  Angus Leeming  <leeming@lyx.org>
4390
4391         * buffer_funcs.C:
4392         * buffer.h:
4393         * bufferlist.C:
4394         * BufferView.C:
4395         * bufferview_funcs.C:
4396         * BufferView_pimpl.C:
4397         * CutAndPaste.C:
4398         * lyx_cb.C:
4399         * lyxfunc.C:
4400         * paragraph.h:
4401         * ParagraphParameters.C:
4402         * tabular.C:
4403         * text3.C:
4404         * toc.C:
4405         * undo_funcs.C:
4406         * frontends/controllers/ControlDocument.C:
4407         * insets/insetcaption.C: rearrange the #includes into some sort of
4408         coherent order.
4409
4410         * buffer.h: remove #includes ErrorList.h, undo.h
4411
4412 2003-09-06  Angus Leeming  <leeming@lyx.org>
4413
4414         * support/types.h: add a 'depth_type' typedef, used to store the
4415         nesting depth of a paragraph.
4416
4417         * paragraph.h:
4418         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4419         defining explicitly.
4420
4421         * buffer.h:
4422         * paragraph_funcs.h:
4423         * ParagraphParameters.h:
4424         * sgml.h: use lyx::depth_type rather than Paragraph or
4425         ParameterStruct's depth_type.
4426
4427         * buffer.h
4428         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4429
4430         * BufferView.C:
4431         * BufferView_pimpl.C:
4432         * CutAndPaste.C:
4433         * ParagraphParameters.C:
4434         * buffer_funcs.C:
4435         * bufferlist.C:
4436         * bufferview_funcs.C:
4437         * lyx_cb.C:
4438         * lyxfunc.C:
4439         * tabular.C:
4440         * text3.C:
4441         * toc.C:
4442         * undo_funcs.C:
4443         * frontends/LyXView.C:
4444         * frontends/controllers/ControlDocument.C:
4445         * frontends/controllers/ControlErrorList.C:
4446         * insets/insetbibitem.C:
4447         * insets/insetbranch.C:
4448         * insets/insetcaption.C:
4449         * insets/insetcollapsable.C:
4450         * insets/insetenv.C:
4451         * insets/insetert.C:
4452         * insets/insetfloat.C:
4453         * insets/insetfoot.C:
4454         * insets/insetfootlike.C:
4455         * insets/insetnewline.C:
4456         * insets/insetquotes.C:
4457         * insets/insettabular.C:
4458         * insets/insettext.C:
4459         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4460
4461         * frontends/controllers/ControlChanges.C: #include "changes.h".
4462
4463 2003-09-06  Angus Leeming  <leeming@lyx.org>
4464
4465         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4466         than #including paragraph.h.
4467
4468         * ParagraphList.h:
4469         * RowList.h: deleted. Superfluous.
4470
4471         * CutAndPaste.h:
4472         * iterators.h:
4473         * lyxcursor.h:
4474         * lyxtext.h:
4475         * text_funcs.h:
4476         * undo.h:
4477         * undo_funcs.h:
4478         * insets/inset.h:
4479         * insets/insettext.h: use ParagraphList_fwd.h rather than
4480         ParagraphList.h.
4481
4482         * paragraph.h: don't forward declare ParagraphList.
4483
4484         * buffer.h:
4485         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4486         rather than ParagraphList.h. paragraph.h is still needed for the
4487         Paragraph::depth_type parameters.
4488
4489         * textcursor.h: enable it to compile stand-alone in light of the
4490         above changes.
4491
4492         * bufferview_funcs.C:
4493         * iterators.C:
4494         * lyxfunc.C:
4495         * lyxrow_funcs.C:
4496         * paragraph.C:
4497         * rowpainter.C:
4498         * text.C:
4499         * text2.C:
4500         * text3.C:
4501         * text_funcs.C:
4502         * textcursor.C:
4503         * undo.C:
4504         * frontends/controllers/ControlParagraph.C:
4505         * frontends/controllers/ControlTabular.C:
4506         * insets/insetmarginal.C:
4507         * insets/insetminipage.C:
4508         * insets/insetnote.C:
4509         * insets/insetoptarg.C: add header files needed to compile again.
4510
4511 2003-09-06  Angus Leeming  <leeming@lyx.org>
4512
4513         * RowList_fwd.h: new file, forward-declaring Row rather than
4514         #including lyxrow.h.
4515
4516         * lyxrow_funcs.h:
4517         * lyxtext.h:
4518         * paragraph.h:
4519         * insets/insettext.h: use it instead of RowList.h
4520
4521         * bufferview_funcs.C:
4522         * lyxfunc.C:
4523         * lyxrow_funcs.C:
4524         * paragraph.C:
4525         * rowpainter.C:
4526         * text.C:
4527         * text2.C:
4528         * text3.C: #include "RowList.h".
4529
4530 2003-09-05  Angus Leeming  <leeming@lyx.org>
4531
4532         * factory.C (createInset):
4533         * vspace.C (c-tor): replace sscanf call with an istringstream.
4534         * ispell.C: re-add missing HP/UX headers.
4535         * lyxserver.C: re-add missing  os2 headers.
4536
4537 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4538
4539         * BranchList.C:
4540         * graph.C:
4541         * ispell.C:
4542         * lastfiles.C:
4543         * lyx_cb.C:
4544         * lyxserver.C:
4545         * texrow.C:
4546         * text3.C: re-add missing system headers, needed for 2.95.2.
4547
4548 2003-09-05  Angus Leeming  <leeming@lyx.org>
4549
4550         Changes most place everywhere due to the removal of using directives
4551         from support/std_sstream.h.
4552
4553 2003-09-05  Angus Leeming  <leeming@lyx.org>
4554
4555         Replace LString.h with support/std_string.h,
4556         Lsstream.h with support/std_sstream.h,
4557         support/LIstream.h with support/std_istream.h,
4558         support/LOstream.h with support/std_ostream.h.
4559
4560         Changes resulting throughout the tree.
4561
4562 2003-09-05  Angus Leeming  <leeming@lyx.org>
4563
4564         * sgml.h: ensure that the header file can be compiled stand-alone.
4565         * *.C: strip out redundant #includes. (320 in total.)
4566
4567 2003-09-04  Angus Leeming  <leeming@lyx.org>
4568
4569         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4570         here (from getPackages).
4571
4572         * debug.[Ch]: add a new EXTERNAL tag.
4573
4574 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4575
4576         * text2.C (cursorEnd): simplify
4577         (setCursor): adjust
4578         (getColumnNearX): adjust
4579
4580         * text.C (computeBidiTables): adjust
4581         (fill): adjust
4582
4583         * rowpainter.C (paintChars): adjust
4584         (paintSelection): adjust
4585         (paintChangeBar): adjust
4586         (paintText): adjust
4587
4588         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4589         lastPos instead.
4590         (numberOfSeparators): adjust
4591
4592 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4593
4594         * LyXAction.C:
4595         * box.[Ch]:
4596         * lfuns.h:
4597         * lyxfunc.C:
4598         * text3.C: Restricts the mouse click functionality
4599         of insets like bibtex, include, toc and floatlist to the visible
4600         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4601         up the dialogs. Cursor has to be in front of the inset (i.e.
4602         start of row) for this to function.
4603
4604 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4605
4606         * bufferview_funcs.C (currentState): output row information
4607
4608 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4609
4610         * bufferview_funcs.C (currentState): output paragraph position
4611
4612 2003-09-04  Angus Leeming  <leeming@lyx.org>
4613
4614         * FloatList.h: move out #include "Floating.h".
4615         * LaTeX.h: move out #include "DepTable.h".
4616         * LyXAction.h: move out #include "funcrequest.h".
4617         * buffer.h: move out #include "author.h", "iterators.h".
4618         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4619         * lyx_main.h: move out #include "errorlist.h".
4620         * lyxfunc.h: move out #include "FuncStatus.h".
4621         * lyxtext: move out #include "lyxcursor.h".
4622         * paragraph_pimpl.h: move out #include "counters.h".
4623
4624 2003-09-03  Angus Leeming  <leeming@lyx.org>
4625
4626         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4627         preamble_snippets list, enabling us to add snippets to the preamble
4628         only if the snippet was not there already.
4629
4630 2003-09-04  Angus Leeming  <leeming@lyx.org>
4631
4632         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4633
4634 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4637         update
4638
4639 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4640
4641         * BranchList.C: point fix, earlier forgotten
4642
4643 2003-09-02  Angus Leeming  <leeming@lyx.org>
4644
4645         * box.C (contains): renamed from 'contained' after a fantastic
4646         amount of hot air.
4647
4648 2003-09-02  John Levon  <levon@movementarian.org>
4649
4650         * BufferView.C:
4651         * lyxcursor.h:
4652         * lyxcursor.C:
4653         * lyxfunc.C:
4654         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4655
4656 2003-09-02  John Levon  <levon@movementarian.org>
4657
4658         * text2.C: simplification of cursorEnd(), including partial
4659         fix for bug 1376
4660
4661 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * buffer.C (readFile): add a space
4664
4665 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4668
4669 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * buffer.C (readFile): new function, take a filename and a
4672         ParagraphList::iterator
4673         (readFile): adjust
4674         (readFile): adjust, make it private. don't use setStream, make
4675         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4676         always contain the filename.
4677
4678         * BufferView.C (insertLyXFile): simplify and make it work for
4679         gzipped files.
4680
4681 2003-08-30  John Levon  <levon@movementarian.org>
4682
4683         * Makefile.am: fix dist (from Kayvan)
4684
4685 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * most files: change to use const Buffer refs
4688
4689 2003-08-27  André Pönitz  <poenitz@gmx.net>
4690
4691         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4692         on top of ownerPar().
4693
4694 2003-08-27  John Levon  <levon@movementarian.org>
4695
4696         * funcrequest.C: properly initialise POD members
4697
4698 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * lyxtext.h (top_y): move top_y from here
4701         * text.C:
4702         * text2.C:
4703         * text3.C:
4704         * BufferView.[Ch]:
4705         * BufferView_pimpl.[Ch]: to here
4706         * frontends/screen.C:
4707         * insets/insettabular.C:
4708         * insets/insettext.C: adjust
4709         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4710
4711 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * BufferView.[Ch]:
4714         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4715
4716 2003-08-26  André Pönitz  <poenitz@gmx.net>
4717
4718         * paragraph_func.[Ch] (outerPar): new function
4719
4720         * paragraph.C:
4721         * paragraph_funcs.C:
4722         * paragraph_funcs.h:
4723         * paragraph_pimpl.C:
4724         * text2.C: remove Inset::par_owner
4725
4726 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4727
4728         * lyxrow_funcs.C:
4729         * lyxtext.h:
4730         * text.C:
4731         * text2.C: eliminates the needFullRow/display() stuff
4732         altogether, putting the logic in metrics/draw in the insets.
4733
4734 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4735
4736         * text2.C (redoParagraphInternal, redoParagraphs):
4737         * text.C (redoParagraph): add a call to updateRowPositions at the
4738         end of each 'metrics-like' call. Remove all others.
4739         (getRow): remove the 'y-computing' version.
4740         (getRowNearY): do not compute nor return the real y. Solve the
4741         'y < 0' problem and simplify.
4742
4743 2003-08-22  Angus Leeming  <leeming@lyx.org>
4744
4745         * *.[Ch]: clean-up of licence and author blurbs.
4746         Also move config.h out of a few .h files and into a few .C files.
4747
4748 2003-08-22  André Pönitz  <poenitz@gmx.net>
4749
4750         * lyxrow.[Ch]: add x_ and *fill_ members
4751
4752         * lyxtext.h:
4753         * text.C:
4754         * rowpainter.C:
4755         * text2.C: adjust/remove prepareToPrint() calls
4756
4757 2003-08-22  André Pönitz  <poenitz@gmx.net>
4758
4759         * lyxrow.[Ch]: add  end_ member
4760
4761         * lyxrow_funcs.C: use LyXRow::end_
4762
4763         * lyxtext.h (singleWidth): add LyXFont parameter
4764
4765         * rowpainter.C:
4766         * text2.C: adjust LyXText::singleWidth() calls
4767
4768         * text.C (redoParagraph): simplify row breaking logic
4769
4770
4771 2003-08-19  André Pönitz  <poenitz@gmx.net>
4772
4773         * funcrequest.C: initialize button_ member
4774
4775         * text3.C:
4776         * rowpainter.[Ch]: interface consolidation
4777
4778 2003-08-18  André Pönitz  <poenitz@gmx.net>
4779
4780         * BufferView.C:
4781         * BufferView_pimpl.C:
4782         * lyxfind.C:
4783         * paragraph_funcs.C:
4784         * rowpainter.C:
4785         * text3.C: remove LyXScreen::draw() and fitCursor calls
4786
4787         * BranchList.h: remove spurious semicolons
4788
4789         * MenuBackend.C: fix branchlist related crash
4790
4791 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4792
4793         * BranchList.[Ch]:
4794         * InsetList.[Ch]:
4795         * LColor.[Ch]:
4796         * LyXAction.C:
4797         * Makefile.am:
4798         * MenuBackend.[Ch]:
4799         * bufferparams.[Ch]:
4800         * factory.C:
4801         * lfuns.h:
4802         * lyxfunc.C:
4803         * text3.C: implements the 'branch inset'
4804         idea. This allows the output of various versions of a document
4805         from a single source version, selectively outputing or suppressing
4806         output of parts of the text.
4807         This implementation contains a 'branch list editor' in a separate
4808         tab of the document settings dialog. Branches are user definable
4809         and have a "display colour" to distinguish them on-screen.
4810
4811         ColorHandler was somewhat cleaned up.
4812         (1) make possible a dynamically growing LColor list by allowing
4813         the graphic context cache to grow along (vector);
4814         (2) eliminate an IMHO unnecessary step in colour allocation.
4815
4816 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4817
4818         * BufferView_pimpl.C: compile fix
4819
4820 2003-08-15  André Pönitz  <poenitz@gmx.net>
4821
4822         * rowpainter.C: remove extra metrics calls
4823
4824         * lyxtext.h: merge the two constructors into a single one,
4825           pass reference to owner's par list
4826
4827         * BufferView_pimpl.C:
4828         * text.C:
4829         * text2.C: adjust
4830
4831 2003-08-15  André Pönitz  <poenitz@gmx.net>
4832
4833         * lyxrow_funcs.[Ch]:
4834         * lyxtext.h:
4835         * paragraph.h:
4836         * paragraph_funcs.C:
4837         * rowpainter.C:
4838         * text.C:
4839         * text2.C:
4840         * text3.C:
4841         * text_funcs.C: split LyXText::rowlist_ into individual
4842         Paragraph::rows_ chunks
4843
4844         * BufferView.[Ch]:
4845         * BufferView_pimpl.[Ch]:
4846         * lyxfind.C:
4847         * lyxtext.h:
4848         * text3.C: remove toggleSelection()
4849
4850 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4851
4852         * bufferlist.C: beautify two alerts (shorter text of buttons)
4853         * buffer.C: Remove redundant ' ' from message
4854         * tabular.h:
4855         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4856         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4857         rename VALIGN_CENTER to VALIGN_MIDDLE
4858
4859 2003-08-11  André Pönitz  <poenitz@gmx.net>
4860
4861         * lyxtext.h (getPar):
4862         * text.C: new function
4863
4864 2003-08-11  André Pönitz  <poenitz@gmx.net>
4865
4866         * Makefile.am:
4867         * tracer.[Ch]: remove unneeded files
4868
4869         * InsetList.[Ch]: remove resizeInsetsLyXText()
4870
4871         * lyxtext.h:
4872         * text.C:
4873         * text2.C:
4874         * text3.C: merge insertParagraphs() and appendParagraph()
4875         remove breakAgain(), update()
4876
4877         * BufferView_pimpl.[Ch]:
4878         * bufferview_funcs.[Ch]:
4879         * lyxfunc.C:
4880         * paragraph.[Ch]:
4881         * rowpainter.C:
4882         * tabular.C: adjust after text & InsetList changes.
4883
4884 2003-08-08  André Pönitz  <poenitz@gmx.net>
4885
4886         * text.C (insertChar, backspace): replace rowlist fiddling
4887         with rebreak of full par
4888
4889         * lyxtext.h:
4890         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4891         checkParagraph, updateInset): removed
4892
4893 2003-08-07  André Pönitz  <poenitz@gmx.net>
4894
4895         * paragraph.C:
4896         * text3.C: merge some LFUN handlers, remove dead code
4897
4898 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4899
4900         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4901
4902 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text2.C (DEPM): fix part of bug 1255 and 1256
4905
4906 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4907
4908         * BufferView_pimpl.C (workAreaDispatch): change to use
4909         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4910         that are no mouse related.
4911
4912 2003-08-05  André Pönitz  <poenitz@gmx.net>
4913
4914         * BufferView.[Ch]:
4915         * BufferView_pimpl.[Ch]:
4916         * bufferview_funcs.C:
4917         * text2.C:
4918         * text3.C: rip out "deep update"
4919
4920         * textcursor.[Ch] (last_sel_cursor): remove unused member
4921
4922 2003-08-04  André Pönitz  <poenitz@gmx.net>
4923
4924         * BufferView.[Ch]:
4925         * BufferView_pimpl.[Ch]:
4926         * ParagraphParameters.C:
4927         * bufferview_funcs.C:
4928         * lyx_cb.C:
4929         * lyxfind.C:
4930         * lyxfunc.C:
4931         * text.C:
4932         * text2.C:
4933         * text3.C: replace "complicated" BufferView::update(...) calls with
4934         simpler ones.
4935
4936         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4937
4938 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4939
4940         * Makefile.am (lyx_SOURCES): add paper.h
4941
4942 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4943
4944         * Makefile.am: move things around so that both lyx-qt and
4945         lyx-xforms can be built (according to --with-frontend). Then lyx
4946         is a symbolic link to lyx-[firstfrontend]
4947
4948 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4949
4950         * Always use std::endl with lyxerr
4951
4952 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4953
4954         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4955
4956 2003-08-01  André Pönitz  <poenitz@gmx.net>
4957
4958         * BufferView.[Ch]:
4959         * BufferView_pimpl.[Ch]:
4960         * lyxfunc.C:
4961         * text3.C: merge BufferView::repaint() and BufferView::update()
4962
4963 2003-08-01  José Matos  <jamatos@lyx.org>
4964
4965         * buffer.[Ch]: file_format is no longer a buffer data element.
4966
4967 2003-08-01  André Pönitz  <poenitz@gmx.net>
4968
4969         * BufferView.C:
4970         * lyxtext.h:
4971         * text.C:
4972         * text2.C: make redoParagraph more independent of current cursor
4973
4974         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4975         * text.C:
4976         * text2.C: remove unneeded members
4977
4978 2003-07-30  André Pönitz  <poenitz@gmx.net>
4979
4980         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4981
4982         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4983           create a single function...
4984
4985         * paragraph_funcs.C (moveItem): ... here.
4986
4987         * text.C:
4988           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4989
4990 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4991
4992         * LColor.[Ch]: Add comment and greyedout logical colors.
4993
4994 2003-07-30  André Pönitz  <poenitz@gmx.net>
4995
4996         * tabular.C: don't use Assert too heavily. This crashes where it
4997           shouldn't
4998
4999 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5002         is disabled (bug 1232)
5003
5004 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * factory.C: limited 'arg' scope
5007
5008 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5009
5010         * factory.C: fixed Note submenu issues
5011
5012 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5013
5014         * factory.C: submenu for Note/Comment/Greyedout
5015
5016 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * lyx_main.C (LyX):
5019         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5020
5021 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * LaTeXFeatures.C:
5024         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5025         greyedout. Patch provided by Jürgen Spitzmüller.
5026
5027 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5028
5029         * kbmap.C (read): fix error message when reading bind files
5030
5031 2003-07-29  Angus Leeming  <leeming@lyx.org>
5032
5033         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5034         certainly does not do what it purports to do. I am doing it, and
5035         us, a favour by killing it.
5036
5037 2003-07-28  José Matos  <jamatos@lyx.org>
5038
5039         * buffer.C (readBody, do_writeFile):
5040         * paragraph.C(readParagraph): \end_document replaces \the_end.
5041
5042 2003-07-29  André Pönitz  <poenitz@gmx.net>
5043
5044         * BufferView.[Ch]:
5045         * BufferView_pimpl.[Ch]:
5046         * lyxfunc.C:
5047         * text2.C:
5048         * text3.C:
5049         * textcursor.[Ch]: remove toggleToggle & Co
5050
5051 2003-07-28  José Matos  <jamatos@fep.up.pt>
5052
5053         * buffer.C (readParagraph):
5054         * params_func (readParToken, readParagraph):
5055         * paragraph.C (write): \layout -> \begin_layout.
5056
5057 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * lyxlex_pimpl.C (setFile): clean up slightly.
5060
5061         * bufferparams.h: add compressed var
5062
5063         * buffer_funcs.C (readFile): adjust for LyXLex change
5064         (newFile): ditto + simplify
5065
5066         * buffer.C (writeFile): handle writing of compressed files
5067
5068         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5069         Check if the file is compressed and set a bufferparm if so.
5070
5071         * Makefile.am (lyx_LDADD): remove explicit -lz
5072
5073 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5074
5075         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5076         makeDocBookFile): put the real LyX version in the first line of
5077         the file
5078
5079         * version.h:
5080         * version.C.in: remove lyx_docversion
5081
5082         * tabular.C (write_attribute): add a template-based version to
5083         write enums properly
5084
5085 2003-07-28  André Pönitz  <poenitz@gmx.net>
5086
5087         * lyxtext.h:
5088         * text.C:
5089         * text2.C:
5090         * text3.C: use doubles again for x-coordinates. They are needed.
5091
5092 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * messages.C (getLocaleDir): use lyx_localedir()
5095
5096         * lyxlex_pimpl.C (setFile): compress stuff
5097
5098         * buffer.C (writeFile): add some compression stuff
5099         (do_writeFile): new func, dont call expliti close... will this
5100         breake anything?
5101
5102         * Makefile.am (lyx_LDADD): add -lz
5103
5104 2003-07-28  José Matos  <jamatos@fep.up.pt>
5105
5106         * buffer.C: increment file format.
5107         * paragraph_funcs (readParagraph, readParToken):
5108         * paragraph.C (readParagraph): add \end_layout.
5109
5110 2003-07-27  Angus Leeming  <leeming@lyx.org>
5111
5112         * Makefile.am: remove special casing for configure-time setting of
5113         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5114
5115         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5116         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5117
5118 2003-07-26  André Pönitz  <poenitz@gmx.net>
5119
5120         * paragraph_func.[Ch]:
5121         * paragraph.C (realizeFont): inline it whereever it is used
5122
5123         * rowpainter.C:
5124         * text.C:
5125         * text2.C:
5126         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5127
5128
5129 2003-07-26  André Pönitz  <poenitz@gmx.net>
5130
5131         *       lyxtext.h:
5132         * text.C:
5133         * text2.C: get rid of LyXText::need_break_row
5134
5135 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * toc.[Ch]: put namespace toc inside namespace lyx
5138
5139         * MenuBackend.C (expandToc2): adjust for lyx::toc
5140         (expandToc): ditto
5141
5142         * lyxfunc.C (dispatch): adjust for lyx::find
5143
5144         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5145         lyx::find instead. Reorganize a bit.
5146         (LyXReplace): rename to replace
5147         (LyXFind): rename to find
5148
5149         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5150         (dispatch): ditto
5151
5152 2003-07-26  André Pönitz  <poenitz@gmx.net>
5153
5154         * text.C (setHeightOfRow): restrict scope of temporary variable
5155
5156         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5157           code (never has been used?)
5158
5159 2003-07-27  Asger Alstrup  <alstrup@local>
5160
5161         * text.C (fill): Optimise algorithm to exploit that we can reuse
5162         the LyXFont for many characters.
5163         (setHeightOfRow): Same thing.
5164         (rowBreakPoint): Same thing.
5165
5166 2003-07-26  Asger Alstrup  <alstrup@local>
5167
5168         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5169
5170         * text.C (singleWidth): Spurious font copying in hot-spot
5171         singleWidth avoided. Reorder tests for arabic for efficiency.
5172
5173         * text.C (fill): handle empty paragraphs better.
5174
5175 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5176
5177         * ispell.C:
5178         * encoding.h: add includes
5179
5180         * lyxrc.C: remove reading of bind files
5181
5182         * lyx_main.C (init): setup bindings and menus only if we have a
5183         gui.
5184
5185         * kbmap.C (read): new method. Do the actual reading of bind
5186         files.
5187
5188         * converter.C (dvipdfm_options):
5189         * bufferparams.C:
5190         * lyxrc.C (read):
5191         (output): adapt PAPER_* enums.
5192
5193         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5194
5195         * bufferparams.h: remove paper-related enums from there
5196
5197         * paper.h: New file. A trivial header file to hold paper-related
5198         enums. It should later expand to contain many paper-related
5199         horrors access.
5200
5201         * lyxrc.C: declare extern displayTranslator
5202
5203 2003-07-27  José Matos  <jamatos@fep.up.pt>
5204
5205         * tabular.[Ch] (linuxdoc): add support for tables and figures
5206         (linuxdoc).
5207
5208 2003-07-27  José Matos  <jamatos@fep.up.pt>
5209
5210         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5211         consistency in both functions.
5212         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5213
5214 2003-07-26  Asger Alstrup  <alstrup@local>
5215
5216         * rowpainter.C (paintRows): Change algorithm to work directly on
5217         the insets rather than asking every character in the document
5218         whether its an inset.
5219
5220 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5221
5222         * buffer.C (openFileWrite): factorize some code
5223
5224 2003-07-26  Angus Leeming  <leeming@lyx.org>
5225
5226         * lyx_cb.C:
5227         * lyx_main.[Ch]: replace occurances of system_tempdir with
5228         os::getTmpDir().
5229
5230 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * rename Inset to InsetOld
5233
5234 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5235
5236         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5237         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5238         which I think is a bit clearer. EDIT is gone, since it was
5239         premature optimisation, and broken for mathed anyway.
5240         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5241         with cursor positioning in insets as well (math insets still do not
5242         work, but that's a different story anyway.) It mysteriously
5243         crashes sometimes with undo in the first paragraph, but I'm fairly
5244         confident that this is a compiler bug.
5245
5246 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * paragraph.C (Paragraph): adjust for new clone return type
5249         (operator==): ditto
5250         (copyIntoMinibuffer): ditto
5251
5252 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5253
5254         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5255         by not having a special case, and always doing a full rebreak of
5256         the document after undo.
5257
5258 2003-07-23  Angus Leeming  <leeming@lyx.org>
5259
5260         * factory.C (createInset): InsetExternal::setParams now takes a
5261         Buffer const * arg.
5262
5263 2003-07-23  Angus Leeming  <leeming@lyx.org>
5264
5265         * factory.C (createInset): changed interface to the external and
5266         graphics mailers' string2params functions.
5267
5268 2003-07-23  Angus Leeming  <leeming@lyx.org>
5269
5270         * factory.C (createInset): pass a
5271         Buffer const * parameter to InsetExternalMailer's string2params.
5272
5273 2003-07-22  John Levon  <levon@movementarian.org>
5274
5275         * Thesaurus.h: include the right aiksaurus header
5276
5277 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5278
5279         * MenuBackend.C (expand): check menu shortcuts unconditionally
5280
5281 2003-07-21  Angus Leeming  <leeming@lyx.org>
5282
5283         * factory.C (createInset): pass a
5284         buffer_path parameter to InsetGraphicsMailer's string2params.
5285
5286 2003-07-21  Angus Leeming  <leeming@lyx.org>
5287
5288         * BufferView_pimpl.C (buffer):
5289         * buffer.C (d-tor):
5290         * lyx_main.C (LyX):
5291         * lyxfunc.C (dispatch):
5292         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5293         rather than the grfx shortcut.
5294
5295 2003-07-21  André Pönitz  <poenitz@gmx.net>
5296
5297         * rowpainter.C: remove unused variables
5298
5299         * tabular_funcs.C:
5300         * tabular_funcs.h: move to tabular.C
5301         * Makefile.am: adjust
5302
5303         * tabular.[Ch]: basic optical cleaning
5304
5305         * author.h: pass references, not values
5306
5307 2003-07-18  André Pönitz  <poenitz@gmx.net>
5308
5309         * lyxtext.h:
5310         * metricsinfo.C:
5311         * metricsinfo.h:
5312         * rowpainter.C:
5313         * text.C:
5314         * text2.C:
5315         * text3.C: two-phase drawing for InsetText and InsetTabular
5316         some float -> int changes.
5317
5318 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * lyx_main.C: fix the fix
5321
5322 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * lyx_main.C: fix a crash in batch mode if no files specified
5325         * converter.C: ws
5326
5327 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * format.[Ch] (papersize): moved to BufferParams
5330         * converter.[Ch] (dvips_options): moved to BufferParams
5331         (dvipdfm_options): moved to anon namespace
5332         * bufferparams.[Ch]: added above functions.
5333
5334 2003-07-17  André Pönitz  <poenitz@gmx.net>
5335
5336         * lyxtext.h:
5337         * rowpainter.C:
5338         * text2.C: don't call inset->update() anymore
5339
5340         * metricsinfo.[Ch]: add convenience constructor
5341
5342 2003-07-16  André Pönitz  <poenitz@gmx.net>
5343
5344         * lyxcursor.[Ch]:
5345         * lyxfunc.[Ch]:
5346         * text.C:
5347         * text2.C: replace the LyXCursor::irow_ member with
5348          on-demand computation of the value
5349
5350 2003-07-16  John Levon  <levon@movementarian.org>
5351
5352         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5353
5354 2003-07-15  André Pönitz  <poenitz@gmx.net>
5355
5356         * text.C:
5357         * text2.C: remove no more needed refresh_row
5358
5359 2003-07-15  André Pönitz  <poenitz@gmx.net>
5360
5361         * lyxtext.h:
5362         * rowpainter.C:
5363         * text2.C:
5364         * text3.C: refresh_status tristate -> need_update bool
5365
5366 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * lyxtext.h (init): remove reinit argument (act as if always true)
5369         * text2.C: adjust to that
5370
5371 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5372
5373         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5374         * text3.C: use it to delete selections in some cases
5375         (bugs 441, 673, 702, 954).
5376
5377 2003-07-14  André Pönitz  <poenitz@gmx.net>
5378
5379         * rowpainter.[Ch]: reduce interface
5380
5381 2003-07-14  André Pönitz  <poenitz@gmx.net>
5382
5383         * BufferView_pimpl.C:
5384         * text2.C: adjust after removing unused BufferView * argument
5385
5386 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * text2.C (init): fix a crash fired on resize
5389
5390 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * buffer.[Ch]: added new closing signal
5393         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5394         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5395         BufferView::Pimpl via the closing the signal
5396
5397 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5398
5399         * buffer.[Ch]: take out all bv-related from buffer
5400         * BufferView.C:
5401         * BufferView_pimpl.[Ch]: connect to new signals
5402         * CutAndPaste.C: removed useless asserts
5403         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5404         * lyxvc.[Ch]:
5405         * vc-backend.[Ch]:
5406         * lyxfunc.C: moved view-related funciontality from vc here
5407         * paragraph.C: removed outdated comments
5408         * text.C: ws
5409
5410 2003-07-10  André Pönitz  <poenitz@gmx.net>
5411
5412         * BufferView_pimpl.C:
5413         * tabular.h:
5414         * tabular_funcs.C:
5415         * text.C:
5416         * text2.C: remove InsetText::InnerCache, clean up consequences
5417
5418 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5419
5420         * ispell.C: fix two typos in error messages
5421
5422 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5423
5424         * Extend Note inset to other forms of annotation like Comment
5425         and Greyedout. Right button click gives dialog.
5426
5427         Files modified or added (+):
5428
5429         * insetnote.[Ch]
5430         * FormNote.[Ch]      +
5431         * ControlNote.[Ch]   +
5432         * form_note.fd       +
5433         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5434         frontends/controllers
5435         * xforms/Dialogs.C
5436         * factory.C
5437
5438 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5439
5440         * aspell.C: add missing namespace lyx::support
5441
5442 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5443
5444         * BufferView.[Ch] (newFile): Add
5445         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5446         * LaTeX.[Ch] (message): added this signal and use it
5447         * buffer.[Ch] (busy, message): added these signals and use them
5448         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5449         * converter.C:
5450         * exporter.C:
5451         * format.C:
5452         * importer.C: use buffer signals instead of direct bv calling
5453         * lyx_cb.[Ch] (ShowMessage): removed
5454         * lyx_main.C:
5455         * lyxfunc.C:
5456         * paragraph_funcs.C:
5457         * text2.C: use buffer signals
5458
5459 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * introduce namespace lyx::graphics
5462
5463 2003-07-02  André Pönitz  <poenitz@gmx.net>
5464
5465         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5466
5467 2003-07-01  André Pönitz  <poenitz@gmx.net>
5468
5469         * text.C:
5470         * text2.C:
5471         * text3.C:
5472         * text_funcs.[Ch]:
5473         * textcursor.h:
5474         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5475           text*.C to text_func.C
5476
5477 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * introduce namespace lyx::support
5480
5481 2003-06-30  André Pönitz  <poenitz@gmx.net>
5482
5483         * Chktex.C:
5484         * funcrequest.C:
5485         * lyxtext.h:
5486         * text.C: re-enable --with-included-string
5487
5488 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * textcursor.C: add <config.h>
5491
5492         * text.C (getWord): remove const from word_location arg
5493
5494         * lyxvc.C (getLogFile): fix const type order
5495
5496         * lyxtext.h: remove const from word_location arg, add arg name
5497
5498         * lyxlayout.h: currect type on labeltype.
5499
5500         * importer.C: correct \file
5501
5502         * converter.C (intToFormat): use std:: on ret val, ws changes
5503
5504         * bufferlist.h: correct \file
5505
5506         * buffer.C (makeLinuxDocFile): fix const type order
5507         (makeDocBookFile): ditto
5508         (fillWithBibKeys): use std:: on stdlib args.
5509
5510         * CutAndPaste.C: fix authors.
5511         (availableSelections): use std:: on return vector
5512
5513 2003-06-27  André Pönitz  <poenitz@gmx.net>
5514
5515         * BufferView_pimpl.C:
5516         * bufferview_funcs.C:
5517         * lyxcursor.C:
5518         * lyxcursor.h:
5519         * lyxfunc.C:
5520         * lyxtext.h:
5521         * rowpainter.C:
5522         * text.C:
5523         * text2.C:
5524         * text3.C: remove LyXCursor::row_ member
5525
5526         * lyxtext.h:
5527         * text.C: rename fullRebreak() to partialRebreak() and implement
5528           a fullRebreak() that really bereks fully
5529
5530         * textcursor.h: new struct for cursor-related data
5531
5532 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5533
5534         * lyx_main.C (LyX): get full path of document loaded on the
5535         command line
5536
5537 2003-06-26  André Pönitz  <poenitz@gmx.net>
5538
5539         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5540           remove unused/broken operator>,<,>=.
5541
5542         *       text.C: remove only use of broken operator<= in an Assert().
5543
5544 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5545
5546         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5547         moved errorlist_.clear to showErrorList
5548
5549 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5550
5551         * converter.C (scanLog, runLaTeX):
5552         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5553         move the bv->showErrorList call to the callers
5554         * lyxfunc.C: i.e. here...
5555         * text2.C: and here
5556         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5557         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5558         namespace, the second to...
5559         * buffer_funcs (BufferFormat, parseErrors): added
5560         * errorlist.C (ErrorList(TeXErrors const &)): removed
5561
5562 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5563
5564         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5565
5566 2003-06-24  "Garst R. Reese" <reese@isn.net>
5567
5568         * debug.C: fix typo
5569
5570 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5571
5572         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5573
5574         * version.C.in: change docversion to 1.4
5575
5576 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * buffer.C: fix a bug just introduced
5579
5580 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * buffer.[Ch]: added the parseError signal and use it, removed
5583         sgmlError
5584         * BufferView.[Ch] (addError): moved to ...
5585         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5586         to the Buffer::parseError signal to catch (guess what) parse errors
5587         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5588
5589 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5590
5591         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5592         ability to create a buffer and to return an existing one from
5593         the list. Moved these functions to...
5594         * buffer_funcs.[Ch]: added
5595         * BufferView.[Ch] (loadLyXFile): added
5596         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5597         job removed from bufferlist::loadLyXFile.
5598         * buffer.C (setReadOnly): make it work without view
5599         (i.e added an if (users))
5600
5601 2003-06-19  Angus Leeming  <leeming@lyx.org>
5602
5603         * lfuns.h:
5604         * LyXAction.C (init):
5605         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5606         with LFUN_DIALOG_SHOW <name> <data>.
5607
5608 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5609
5610         * CutAndPaste.C (availableSelections): small compilation fix for
5611         ancient (gcc 2.9x) compilers
5612
5613 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * text3.C (cursorNext): add tmp var
5616
5617         * text2.C (updateCounters): for function calling out of for clause
5618         (replaceSelectionWithString): ditto
5619         (insertStringAsParagraphs): ditto
5620         (getColumnNearX): add tmp var
5621         (setCursorFromCoordinates): add tmp var
5622         (cursorDownParagraph): add tmp var
5623         (deleteEmptyParagraphMechanism): add tmp var
5624
5625         * text.C (insertChar): add tmp var
5626
5627         * rowpainter.C (paintDepthBar): add tmp var
5628
5629         * CutAndPaste.C (availableSelections): potentially check all
5630         paragraphs in a cut to fill the shown strings.
5631
5632 2003-06-18  André Pönitz  <poenitz@gmx.net>
5633
5634         * kbmap.[Ch]: use vector<> instead of list<>
5635
5636 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5637
5638         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5639         pasteSelection with index
5640
5641         * text2.C (pasteSelection): modify, call pasteSelection with index
5642
5643         * paragraph.C (asString): reimplement version with no interval to
5644         call the one with interval.
5645
5646         * lyxtext.h: add index arg to pasteSelection
5647
5648         * MenuBackend.C (MenuItem): handle PasteRecent
5649         (Menu::read::Menutags): add md_pasterecent
5650         (read): handle it
5651         (expandPasteRecent): new function
5652         (expand): use it
5653
5654         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5655
5656         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5657         the limited stack
5658         (availableSelections): new function
5659
5660 2003-06-17  Angus Leeming  <leeming@lyx.org>
5661
5662         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5663
5664 2003-06-17  Angus Leeming  <leeming@lyx.org>
5665
5666         * lfuns.h:
5667         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5668
5669         * lyxfunc.C (dispatch): invoke it.
5670
5671 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5672
5673         * iterators.C (operator++, ParPosition): reintroduce some
5674         const_cast for the benefit of older compilers.
5675
5676 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5677
5678         * text3.C (dispatch): do not modify clipboard when doing
5679         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5680         LFUN_DELETE_SKIP on a selection selection
5681
5682 2003-06-16  André Pönitz  <poenitz@gmx.net>
5683
5684         * BufferView.C:
5685         * buffer.C:
5686         * buffer.h:
5687         * paragraph.C:
5688         * tabular.[Ch]: IU of clone() and getLabelList();
5689
5690 2003-06-13  André Pönitz  <poenitz@gmx.net>
5691
5692         * tabular.h: compactification
5693
5694 2003-06-12  André Pönitz  <poenitz@gmx.net>
5695
5696         * tabular.C:
5697         * tabular.h:
5698         * tabular_funcs.h: some renaming plus whitespace
5699
5700 2003-06-12  André Pönitz  <poenitz@gmx.net>
5701
5702         * BufferView.C:
5703         * BufferView_pimpl.C:
5704         * CutAndPaste.C:
5705         * buffer.C:
5706         * iterators.[Ch]:
5707         * lyxfunc.C:
5708         * text.C:
5709         * toc.C: Return a Paragraph & for ParIterator::operator*()
5710
5711 2003-06-11  John Levon  <levon@movementarian.org>
5712
5713         * lyx_main.C:
5714         * ToolbarBackend.h:
5715         * ToolbarBackend.C: add "Toolbars" section and
5716         put the flags there
5717
5718 2003-06-10  Angus Leeming  <leeming@lyx.org>
5719
5720         * lfuns.h:
5721         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5722
5723         * lyxfunc.C (dispatch): invoke it.
5724
5725 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * main.C: protect <ios> with HAVE_IOS
5728         (main): protect sync_with_stdio with HAVE_IOS
5729
5730 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5731
5732         * text2.C (cutSelection): adjust
5733         (pasteSelection): adjust
5734
5735         * messages.C: handle get of empty string
5736
5737         * main.C (main): use sync_with_stdio(false)
5738
5739         * lyxfunc.C (dispatch): adjust
5740
5741         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5742         (WriteAs): remove unneeded BufferView arg.
5743
5744         * bufferparams.h: use correct types on papersize, papersize2 and
5745         paperpackage.
5746
5747         * bufferparams.C (readToken): adjust for type
5748         (writeLaTeX): add missing cases to switch.
5749
5750         * bufferlist.C (quitWriteBuffer): adjust
5751         (close): adjust
5752
5753         * buffer.C (asciiParagraph): remove some commented code.
5754
5755         * CutAndPaste.C: remove current_view extern variable.
5756         (cutSelection): add BufferParams arg.
5757         (eraseSelection): add BufferParams arg.
5758         (pasteSelection): add Buffer const & arg
5759
5760 2003-06-07  John Levon  <levon@movementarian.org>
5761
5762         * buffer.C:
5763         * paragraph_funcs.C:
5764         * paragraph_pimpl.C:
5765         * text.C:
5766         * text2.C:
5767         * paragraph.h:
5768         * paragraph.C: allow InsetERT to freely space lines,
5769         and some consolidation of code
5770
5771 2003-06-06  José Matos  <jamatos@fep.up.pt>
5772
5773         * buffer.C (makeDocBookFile): fix bug #821
5774
5775 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5776
5777         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5778
5779 2003-06-04  Angus Leeming  <leeming@lyx.org>
5780
5781         * buffer.C: bump format to 224.
5782
5783 2003-06-05  André Pönitz  <poenitz@gmx.net>
5784
5785         * text2.C (redoParagraphs): remove two const_cast<>
5786
5787 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5788
5789         * ParagraphList.h: remove last remnants of NO_STD_LIST
5790
5791 2003-06-03  Angus Leeming  <leeming@lyx.org>
5792
5793         * factory.C (createInset): small change to the way InsetExternal's params
5794         are set.
5795
5796 2003-06-04  André Pönitz  <poenitz@gmx.net>
5797
5798         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5799
5800         * paragraph_pimpl.h:
5801         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5802
5803         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5804
5805         * undo_funcs.C: make some simple cases of undo work again
5806
5807 2003-06-03  John Levon  <levon@movementarian.org>
5808
5809         * ispell.C: HPUX doesn't have sys/select.h
5810         (from Albert Chin)
5811
5812 2003-06-03  John Levon  <levon@movementarian.org>
5813
5814         * CutAndPaste.C: update tabular and include inset
5815         buffer references
5816
5817         * buffer.h:
5818         * paragraph.h:
5819         * paragraph.C: remove owningBuffer(), don't pass Buffer
5820         to clone()
5821
5822         * factory.C: insetGraphicsParams changed
5823
5824 2003-06-02  John Levon  <levon@movementarian.org>
5825
5826         * LyXAction.C:
5827         * factory.C:
5828         * lfuns.h:
5829         * lyxfunc.C:
5830         * text3.C: remove insetparent
5831
5832 2003-06-02  John Levon  <levon@movementarian.org>
5833
5834         * buffer.h:
5835         * buffer.C: fix inset_iterator.end(), move out of line
5836         (bug 1149)
5837
5838 2003-06-01  John Levon  <levon@movementarian.org>
5839
5840         * text3.C: use a proper cut/paste when doing inset
5841         insert (from Jürgen Spitzmüller)
5842
5843 2003-06-01  John Levon  <levon@movementarian.org>
5844
5845         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5846
5847 2003-05-30  André Pönitz  <poenitz@gmx.net>
5848
5849         * rowpainter.C: unify second drawing phase
5850
5851 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * trans_mgr.C: remove one case of current_view
5854
5855         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5856
5857         * paragraph_funcs.h: remove paragraph.h include
5858
5859         * paragraph.h: delete NO_STD_LIST stuff
5860
5861         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5862
5863         * buffer.h: remove paragraph.h include
5864
5865         * ParagraphList.C: delete file
5866
5867         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5868
5869         * toc.C (getTocList): adjust
5870
5871         * paragraph_pimpl.C (validate): adjust
5872
5873         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5874
5875         * paragraph.C (Paragraph): adjust
5876         (getPositionOfInset): use const_iterator, adjust
5877         (bibitem): use const_iterator, adjust
5878         (setInsetOwner): adjust
5879
5880         * iterators.C (operator++): adjust
5881
5882         * InsetList.[Ch]: Replace selfmade iterator with standard
5883         vector::iterator also introduce const_iterator. Remove getPos,
5884         getInset and setInset from InsetTable. Adjust accordingly.
5885
5886         * BufferView.C (lockInset): adjust
5887         (ChangeInsets): adjust
5888
5889         * tabular.[Ch]: delete commented same_id functions
5890
5891 2003-05-28  John Levon  <levon@movementarian.org>
5892
5893         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5894
5895 2003-05-28  André Pönitz  <poenitz@gmx.net>
5896
5897         * metricsinfo.[Ch]: remove 'fullredraw' member
5898
5899 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5900
5901         * lyxtextclass.C (operator): remove caching.
5902
5903 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * text3.C: adjust
5906
5907         * text2.C (cursorBottom): adjust
5908         (setCounter): use ParagraphList::find, adjust
5909
5910         * text.C (workWidth): use ParagraphList::find, adjust
5911
5912         * lyxcursor.C (LyXCursor): adjust
5913
5914         * buffer.C (inset_iterator): adjust
5915
5916         * ParagraphList.h: make iterator(value_type) private, make
5917         ParagraphList a friend of iterator.
5918
5919         * ParagraphList.C (find): new function
5920
5921         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5922
5923 2003-05-27  André Pönitz  <poenitz@gmx.net>
5924
5925         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5926
5927 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5928
5929         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5930
5931 2003-05-26  John Levon  <levon@movementarian.org>
5932
5933         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5934
5935 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * remove same_id from function signatures, adjust.
5938
5939 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5942
5943         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5944
5945         * paragraph.C (Paragraph): get rid of same_ids parameter
5946
5947         * ParagraphList.C (insert): adjust
5948         (push_back): adjust
5949
5950 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * paragraph_funcs.C (breakParagraph): adjust
5953         (breakParagraphConservative): adjust
5954
5955         * buffer.C (readParagraph): adjust
5956
5957         * ParagraphList.C (insert): take a reference instead of a pointer
5958         (insert): adjust
5959
5960         * paragraph.[Ch] (id): new function
5961
5962         * bufferlist.C (newFile): adjust
5963
5964         * ParagraphList.C (ParagraphList): adjust
5965         (assign): adjust
5966         (push_back): take a reference instead of a pointer.
5967
5968         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5969
5970         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5971         instead.
5972
5973         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5974         set else use old code.
5975
5976         * ParagraphList.C: remove all NO_NEXT code and only compile this
5977         code of NO_STD_LIST is set.
5978
5979 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * BufferView_pimpl.C:
5982         * TextCache.C:
5983         * TextCache.h:
5984         * bufferlist.C:
5985         * errorlist.h:
5986         * format.C:
5987         * format.h:
5988         * graph.C:
5989         * lyxfunc.C:
5990         * lyxrc.C:
5991         * graphics/GraphicsConverter.C:
5992         * graphics/PreviewLoader.C: header adjustment
5993
5994 2003-05-23  Angus Leeming  <leeming@lyx.org>
5995
5996         * LaTeXFeatures.[Ch] (useBabel): new method.
5997         * bufferparams.C (writeLaTeX): use it.
5998
5999 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * ParagraphList.h (set): remove unused function.
6002
6003 2003-05-23  André Pönitz  <poenitz@gmx.net>
6004
6005         * BufferView.C:
6006         * BufferView_pimpl.C:
6007         * buffer.C:
6008         * buffer.h:
6009         * lyxfunc.C:
6010         * undo_funcs.C: setUndo reworked
6011
6012         * iterators.[Ch]: add access to topmost ParagraphList
6013
6014         * lyxtext.[Ch] (workWidth): add a const
6015
6016 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6017
6018         * texrow.[Ch] (increasePos): remove function
6019         * exporter.C (export): removed unused var and outdated comment
6020
6021 2003-05-23  Angus Leeming  <leeming@lyx.org>
6022
6023         * latexrunparams.h: rename fragile as moving_arg.
6024         * paragraph.C (simpleTeXOnePar): ditto.
6025         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6026
6027 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6030         (createUndo): ditto
6031         (textUndoOrRedo): comment out a currently unused var.
6032
6033         * paragraph.h (NO_NEXT): enable NO_NEXT
6034
6035         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6036
6037         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6038
6039         * exporter.C (Export): adjust for removeAutoInsets removal.
6040
6041         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6042
6043         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6044
6045         * BufferView.[Ch] (removeAutoInsets): delete function
6046
6047 2003-05-22  Angus Leeming  <leeming@lyx.org>
6048
6049         * latexrunparams.h: add a free_spacing variable.
6050
6051         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6052         to pass moving_arg, as the data is stored in runparams.fragile.
6053
6054         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6055         to Inset::latexOptional or to simpleTeXOnePar.
6056
6057         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6058         free_spacing arg to Inset::latexOptional.
6059
6060         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6061         free_spacing arg.
6062
6063 2003-05-22  Angus Leeming  <leeming@lyx.org>
6064
6065         * latexrunparams.h: add fragile and use_babel variables.
6066
6067         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6068         * buffer.C (makeLaTeXFile): store this returned value in
6069         runparams.use_babel, thus passing it to the inset::latex methods.
6070
6071         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6072         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6073
6074         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6075         longer has a fragile arg, as it is stored in runparams.fragile.
6076
6077         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6078         moving_arg parameter as the data is stored in runparams.fragile.
6079
6080         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6081         a fragile parameter as the data is stored in runparams.fragile.
6082
6083 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6086
6087 2003-05-22  Angus Leeming  <leeming@lyx.org>
6088
6089         * latexrunparams.h: add a 'bool nice' which defaults to false.
6090
6091         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6092         now encapsulated within runparams.
6093
6094         * bufferlist.C (updateIncludedTeXfiles):
6095         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6096
6097 2003-05-22  Angus Leeming  <leeming@lyx.org>
6098
6099         * latexrunparams.h: new file containing struct LatexRunParams.
6100         * Makefile.am: add new file.
6101
6102         * LaTeX.[Ch] (c-tor, run):
6103         * buffer.[Ch] (makeLaTeXFile):
6104         * bufferlist.[Ch] (updateIncludedTeXfiles):
6105         * converter.C (convert, scanLog):
6106         * converter.[Ch] (runLaTeX):
6107         * exporter.C (Export):
6108         * paragraph.[Ch] (simpleTeXOnePar):
6109         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6110         * paragraph_funcs.[Ch] (latexParagraphs):
6111         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6112         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6113         pass around a LatexRunParams parameter.
6114
6115 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * paragraph.[Ch]: remove unused constructor
6118
6119         * ParagraphList.C (erase): new function, taking two iterators
6120
6121 2003-05-22  André Pönitz  <poenitz@gmx.net>
6122
6123         * undo_funcs.C: remove duplicated code
6124
6125         * iterator.[Ch]: operator=
6126
6127 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * tabular.C (SetMultiColumn): ws changes
6130
6131         * rowpainter.C (paintFirst): get rid of a ->previous
6132
6133         * lyx_cb.C (getPossibleLabel): parlist simplification
6134
6135         * BufferView.C (ChangeInsets): simplify slightly.
6136
6137 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6138
6139         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6140         * lfuns.h: new LFUN_SPACE
6141         * lyxfunc.C: protected space has a new lfun
6142         * paragraph_funcs.C: read new space insets
6143         * text3.C:
6144         * factory.C: handle new space insets
6145
6146 2003-05-22  André Pönitz  <poenitz@gmx.net>
6147
6148         * BufferView.C:
6149         * BufferView_pimpl.C:
6150         * buffer.[Ch]:
6151         * lyxfunc.C:
6152         * undo_funcs.C: return a ParIterator from getParFromID.
6153
6154         * iterators.[Ch]: add two const's
6155
6156 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * toc.C (getTocList): adjust
6159
6160         * iterators.[Ch]: rework for parlist
6161
6162         * buffer.C (par_iterator_begin): adjust
6163         (par_iterator_end): adjust
6164
6165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6166
6167         * BufferView.C (removeAutoInsets): adjust
6168         (ChangeInsets): adjust
6169
6170 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * text.C (top_y): fix bug 1110
6173
6174 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * errorlist.[Ch]: added
6177         * buffer.C:
6178         * BufferView.[Ch]:
6179         * BufferView_pimpl.C:
6180         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6181         instead
6182
6183 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * Makefile.am: ensure that lyx is relinked upon changes to the
6186         various "convenience" libs.
6187
6188 2003-05-20  Angus Leeming  <leeming@lyx.org>
6189
6190         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6191         files are compiled in alphabetical order again.
6192
6193         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6194
6195 2003-05-19  Angus Leeming  <leeming@lyx.org>
6196
6197         * gettext.[Ch]: remove "char const * _(char const *)".
6198
6199 2003-05-19  André Pönitz  <poenitz@gmx.net>
6200
6201         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6202
6203         * Makefile.am:
6204         * BufferView.C:
6205         * DepTable.h:
6206         * LaTeXFeatures.C:
6207         * buffer.C:
6208         * lyxfont.C:
6209         * lyxlex.h:
6210         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6211
6212 2003-05-19  André Pönitz  <poenitz@gmx.net>
6213
6214         * buffer.C:
6215         * lyxlayout.[Ch]:
6216         * lyxtextclass.[Ch]:
6217         * paragraph.C:
6218         * paragraph_funcs.[Ch]:
6219         * text2.C:
6220         * text3.C: more insetenv work
6221
6222 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6223
6224         * ParagraphParameters.C (params2string): small bug fixed
6225
6226 2003-05-16  André Pönitz  <poenitz@gmx.net>
6227
6228         * debug.C:
6229         * bufferview_funcs.C: patch from Kornel Benko to prevent
6230           crash when _(...) is called twice in a statement
6231
6232 2003-05-16  André Pönitz  <poenitz@gmx.net>
6233
6234         * BufferView.C:
6235         * lyxfunc.C:
6236         * text.C:
6237         * text2.C:
6238         * text3.C:
6239         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6240
6241 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6242
6243         * lyx_main.C (init): remove spurious static_cast
6244
6245 2003-05-14  André Pönitz  <poenitz@gmx.net>
6246
6247         * BufferView.C: fix format string
6248
6249 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * BufferView.[Ch] (insertErrors): removed
6252         * BufferView.[Ch] (showErrorList): added
6253         * buffer.C (runChkTeX):
6254         * converter.C (scanLog): call showErrorList instead of inserterrors
6255
6256 2003-05-13  André Pönitz  <poenitz@gmx.net>
6257
6258         * BufferView_pimpl.C:
6259         * buffer.C:
6260         * bufferview_func.C:
6261         * MenuBackend.C:
6262         * lyxfunc.C:
6263         * lyxrc.C:
6264         * tex-accent.C:
6265         * text3.C:
6266         * toc.C:
6267         * tabular_funcs.h: tostr() from its own header
6268
6269         * ParagraphParameters.C:
6270         * ToolbarBackend.C:
6271         * bufferparams.C:
6272         * format.C:
6273         * lyxlex_pimpl.C:
6274         * text3.C: STRCONV()
6275
6276 2003-05-12  André Pönitz  <poenitz@gmx.net>
6277
6278         * BufferView.C:
6279         * BufferView_pimpl.C:
6280         * CutAndPaste.C:
6281         * LaTeX.C:
6282         * LaTeXFeatures.C:
6283         * ParagraphParameters.C:
6284         * buffer.C:
6285         * bufferlist.C:
6286         * bufferparams.C:
6287         * bufferview_funcs.C:
6288         * converter.C:
6289         * counters.C:
6290         * debug.C:
6291         * exporter.C:
6292         * format.C:
6293         * importer.C:
6294         * lyx_cb.C:
6295         * lyx_main.C:
6296         * lyxfont.C:
6297         * lyxfunc.C:
6298         * lyxvc.C:
6299         * paragraph.C:
6300         * paragraph_funcs.C:
6301         * tabular.C:
6302         * tabular_funcs.C:
6303         * text2.C:
6304         * text3.C:  boost::format -> bformat  all over the place
6305
6306
6307 2003-05-09  André Pönitz  <poenitz@gmx.net>
6308
6309         * LColor.[Ch]: Pimpl the #include <map> away
6310
6311 2003-05-09  John Levon  <levon@movementarian.org>
6312
6313         * bufferlist.C: never remove emergency saves
6314
6315 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * Makefile.am: better lib building
6318
6319 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6322         instead.
6323         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6324         (simpleTeXSpecialChars): adjust
6325         (simpleTeXSpecialChars): adjust
6326         * paragraph.C (simpleTeXOnePar): adjust
6327         * buffer.C (makeLaTeXFile): adjust
6328
6329         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6330
6331         * text2.C (changeDepth): parlist cleanup
6332         (getColumnNearX): ditto
6333
6334         * rowpainter.C (getLabelFont): parlist cleanup
6335
6336         * bufferlist.C (newFile): parlist cleanup
6337
6338         * CutAndPaste.C (eraseSelection): parlist cleanup
6339
6340         * BufferView_pimpl.C (trackChanges): parlist cleanup
6341         (dispatch): ditto
6342
6343         * BufferView.C (lockInset): parlist cleanup.
6344         (ChangeInsets): ditto
6345
6346 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * CutAndPaste.h: Update file header.
6349
6350         * CutAndPaste.C: Update file header.
6351         Store the parts cut out of the Document in a limited_stack.
6352         (copySelection): adjust
6353         (pasteSelection): new function, takes the index in the limited stack.
6354         (nrOfParagraphs): adjust
6355         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6356         simplify error inset insertion.
6357         (checkPastePossible): adjust
6358
6359 2003-05-06  John Levon  <levon@movementarian.org>
6360
6361         * text2.C: don't cast wrap inset to float
6362
6363 2003-05-05  André Pönitz  <poenitz@gmx.net>
6364
6365         * iterator.C:
6366         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6367
6368         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6369           few naked Paragraph *.
6370
6371 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6372
6373         * bufferparams.C: Output warning if a document with missing
6374         TeX document class is loaded
6375         * exporter.C: Disable TeX exports if the document class is missing
6376         * lyxtextclass.C:
6377         * lyxtextclass.h:
6378         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6379         isTeXClassAvailable()
6380
6381 2003-05-03  John Levon  <levon@movementarian.org>
6382
6383         * BufferView.h:
6384         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6385         explicit cursor show/hide
6386
6387         * BufferView_pimpl.h:
6388         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6389         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6390
6391         * lyxfunc.C: hide cursor before dispatching.
6392
6393         * lyx_cb.C:
6394         * lyxfind.C:
6395         * text.C:
6396         * text3.C: remove explicit cursor hides
6397
6398 2003-05-02  André Pönitz  <poenitz@gmx.net>
6399
6400         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6401
6402         * undo_funcs.C:
6403         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6404           linked lists
6405
6406         * text2.C: tiny whitespace
6407
6408 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * undo_funcs.C: almost only ws changes.
6411
6412         * ParagraphList.C (splice): just return if pl is empty.
6413
6414 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * ParagraphList.C (splice): new function.
6417
6418         * CutAndPaste.C (pasteSelection): use it
6419
6420 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * CutAndPaste.C (pasteSelection): remove the last next and
6423         previous from this file.
6424
6425 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * CutAndPaste.C (pasteSelection): more clean up, user proper
6428         ParagraphList functions for pasteing.
6429
6430         * ParagraphList.C (insert): new function, three arg insert
6431
6432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * ParagraphList.C (insert): new function, three arg insert
6435
6436         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6437         not on paragraphs.
6438
6439 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6442
6443 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6446
6447 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6450         (copySelection): clean up a bit.
6451         (pasteSelection): use make_pair
6452
6453         * ParagraphList.C (ParagraphList): implement copy constructor
6454         (operator=): implement, base on copy constructor.
6455         (assign): new func
6456
6457         * paragraph.C (erase): return a bool
6458
6459         * paragraph_pimpl.C (erasePos): remove function, move contents...
6460         (erase): ... here. Return a bool.
6461         (erase): call erase instead of erasePos.
6462
6463 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * ParagraphList.h: define PitPosPair
6466         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6467         ParagraphList, fix a bug on pasting multiple pars
6468         * text2.C: change interface to C&P
6469
6470 2003-04-30  André Pönitz  <poenitz@gmx.net>
6471
6472         * undo_func.C: revert part of yesterday's patch 2
6473
6474 2003-04-30  John Levon  <levon@movementarian.org>
6475
6476         * LColor.C: s/tabular/table/
6477
6478 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * text3.C (dispatch): do not convert iterator -> pointer
6481         * undo_funcs.C (setCursorParUndo): ditto
6482         * text_funcs.C (transposeChars): ditto
6483
6484         * text2.C (setLayout): ws changes only
6485
6486         * text.C (breakParagraph): do not convert iterator -> pointer
6487         (insertChar): ditto
6488         (acceptChange): ditto
6489         (rejectChange): ditto
6490         (changeCase): ditto
6491         (Delete): ditto
6492         (backspace): ditto
6493
6494         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6495         pointer
6496
6497 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * text3.C (gotoInset): YABG (yet another bad getChar)
6500
6501 2003-04-29  André Pönitz  <poenitz@gmx.net>
6502
6503         * paragraph.h: make operator= private unimplemented as long as
6504           it is unusable
6505
6506         * ParagraphList.C: whitespace
6507
6508         * paragraph.[Ch]:
6509         * paragraph_pimpl.[Ch]:
6510         * paragraph_funcs.C:
6511         * CutAndPaste.C:
6512         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6513
6514         * text2.C:
6515           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6516
6517 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6518
6519         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6520         * paragraph.[Ch] (erase):
6521         * paragraph_pimpl.[Ch] (erase): change return type and value
6522         * text2.C (cutSelection): some rework
6523
6524 2003-04-28  John Levon  <levon@movementarian.org>
6525
6526         * bufferlist.C: changes for unsaved changes dialog
6527
6528 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6529
6530         * bufferlist.C (newFile): set language (messages_) for new
6531         documents also.
6532
6533         * buffer.C (readFile): ws changes only.
6534
6535 2003-04-28  André Pönitz  <poenitz@gmx.net>
6536
6537         * undo_funcs.C:
6538         * lyxfunc.C:
6539         * buffer.[Ch]:
6540         * BufferView_pimpl.C:
6541         * BufferView.C: getParFromID related ParagraphList::iterator changes
6542
6543 2003-04-28  André Pönitz  <poenitz@gmx.net>
6544
6545         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6546           Changes
6547
6548 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * messages.C: remove one more localedir class variable.
6551
6552 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * messages.C (getLocaleDir): singleton generation function
6555         (Pimpl): use it.
6556         (Messages): add a default constructor.
6557
6558         * main.C (main): do not setup localedir here, do not call
6559         gettext_init.
6560
6561         * gettext.C (_): use it.
6562         (gettext_init): delete funciton
6563
6564 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * gettext.C (getLyXMessages): new singleton generating function.
6567
6568         * buffer.C (updateDocLang): adjust
6569
6570         * Makefile.am (messages.o): add target
6571         (main.o): remove target
6572
6573 2003-04-27  John Levon  <levon@movementarian.org>
6574
6575         * bufferlist.C:
6576         * lyx_cb.C:
6577         * lyxfunc.C:
6578         * lyxvc.C: specify cancel button in Alert::prompt
6579
6580 2003-04-26  John Levon  <levon@movementarian.org>
6581
6582         * text3.C:
6583         * lyxfunc.C:
6584         * lfuns.h:
6585         * LyXAction.C: add LFUN_INSET_SETTINGS
6586
6587         * lyxfunc.C: don't enable tabular-feature when there's
6588         just any locking inset
6589
6590 2003-04-26  John Levon  <levon@movementarian.org>
6591
6592         * bufferlist.C: re-add Cancel to buffer close question
6593
6594         * lyxfunc.C: fix import UI a bit
6595
6596 2003-04-25  John Levon  <levon@movementarian.org>
6597
6598         * gettext.C: remove the broken asserts for now
6599
6600 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * messages.C: make case where setlocale cannot comply work better.
6603
6604         * buffer.C (updateDocLang): new function
6605         (changeLanguage): use it
6606         (readFile): use it
6607
6608         * text2.C (setCounter): use B_ a bit.
6609
6610         * lyxlayout.C (Read): be sure to trim the label strings.
6611
6612         * messages.C (Messages): fix typo in comment
6613
6614         * buffer.C (readFile): set message_ after file is loaded.
6615         (makeDocBookFile): remove double return
6616         (changeLanguage): reset message_ upon language change.
6617         (B_): new func, use this to get translated buffer strings.
6618
6619         * main.C: add myself and Jean Marc as authors.
6620
6621 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * messages.[hC]: pimplify Messages, and three different pimpls to be
6624         used in different circumstances.
6625
6626         * gettext.[Ch]: change for use with new message code.
6627
6628 2003-04-24 André Pönitz <poenitz@gmx.net>
6629
6630         * factory.C: support for eqref
6631
6632 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * messages.[Ch]: add missing char
6635
6636         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6637
6638         * messages.[Ch]: New files
6639
6640 2003-04-18  John Levon  <levon@movementarian.org>
6641
6642         * BufferView.h:
6643         * BufferView.C:
6644         * BufferView_pimpl.C:
6645         * lfuns.h:
6646         * LyXAction.C:
6647         * lyxtext.h:
6648         * text2.C: remove layout-copy/paste (bug 778)
6649
6650 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6653
6654 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6657         if they succeed. Act accordingly.
6658
6659 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * text2.C (setCharFont): adjust
6662         (setCounter): adjust
6663         (insertStringAsLines): adjust
6664
6665         * text.C (leftMargin): adjust
6666         (setHeightOfRow): adjust
6667
6668         * rowpainter.C (paintFirst): adjust
6669         (paintLast): adjust
6670
6671         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6672         (outerHook): ditto
6673         (isFirstInSequence): ditto
6674         (getEndLabel): ditto
6675         (outerFont): adjust
6676
6677         * paragraph.C (getParLanguage): comment out some hard stuff.
6678
6679         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6680         (sgmlError): ditto
6681         (simpleDocBookOnePar): ditto
6682         (makeDocBookFile): use ParagraphList::iterator
6683
6684         * CutAndPaste.C (pasteSelection): adjust
6685
6686 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * text2.C (getFont): adjust
6689         (getLayoutFont): adjust
6690         (getLabelFont): adjust
6691
6692         * paragraph_funcs.C (TeXOnePar): adjust
6693
6694         * buffer.C (simpleLinuxDocOnePar): adjust
6695         (simpleDocBookOnePar): adjust
6696
6697         * CutAndPaste.C (pasteSelection): adjust
6698
6699         * BufferView.C (getEncoding): adjust
6700
6701         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6702
6703 2003-04-16  John Levon  <levon@movementarian.org>
6704
6705         * lyxfind.C: use parlist stuff for search/changes
6706
6707 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6710
6711         * text2.C (deleteEmptyParagraphMechanism): adjust
6712
6713         * text2.[Ch] (ownerParagraph): delete func (both of them
6714
6715 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6718
6719 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * ParagraphList.C: prepare for NO_NEXT
6722
6723 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * text2.C (getFont): adjust
6726         (getLayoutFont): adjust
6727         (getLabelFont): adjust
6728
6729         * paragraph.C (getFont): adjust
6730         (getLabelFont): adjust
6731         (getLayoutFont): adjust
6732
6733         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6734
6735 2003-04-15  John Levon  <levon@movementarian.org>
6736
6737         From Angus Leeming
6738
6739         * lyx_main.C: handle Include in .ui files
6740
6741 2003-04-15  John Levon  <levon@movementarian.org>
6742
6743         * MenuBackend.C: make the doc files length shorter
6744
6745         * ToolbarBackend.h:
6746         * ToolbarBackend.C: handle toolbar placement flags,
6747         Minibuffer
6748
6749 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6752         adjust
6753
6754         * paragraph_funcs.C (TeXOnePar): adjust
6755
6756         * paragraph.C (getLabelFont): add outerfont arg, adjust
6757         (getLayoutFont): ditto
6758         (simpleTeXOnePar): adjust
6759
6760         * paragraph_pimpl.C (realizeFont): delete func
6761
6762 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6763
6764         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6765         row argument, constify cur argument.
6766
6767 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * text2.C (getFont): adjust
6770         (getLayoutFont): adjust
6771         (getLabelFont): adjust
6772
6773         * paragraph_funcs.C (TeXOnePar): adjust
6774         (outerFont): new func...
6775         (realizeFont): ...moved out from here, changed this to facilitate
6776         transition
6777
6778         * paragraph.C (getFont): take outerfont as arg, adjust
6779         (simpleTeXOnePar): add outerfont arg, adjust
6780
6781         * buffer.C (simpleLinuxDocOnePar): adjust
6782         (simpleDocBookOnePar): adjust
6783
6784         * CutAndPaste.C (pasteSelection): adjust
6785
6786         * BufferView.C (getEncoding): adjust
6787
6788 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * text2.C (setCharFont): adjust
6791         (setCounter): adjust
6792
6793         * text.C (leftMargin): adjust
6794         (setHeightOfRow): adjust
6795
6796         * rowpainter.C (paintFirst): adjust
6797         (paintLast): adjust
6798
6799         * paragraph_pimpl.C (realizeFont): adjust
6800
6801         * paragraph.C (isFirstInSequence): move from here...
6802         * paragraph_funcs.C (isFirstInSequence): ...to here
6803
6804         * paragraph.C (outerHook): move from here...
6805         * paragraph_funcs.C (outerHook): ...to here
6806
6807         * paragraph.C (depthHook): move from here...
6808         * paragraph_funcs.C (depthHook): ...to here
6809
6810         * paragraph.C (getEndLabel): move from here...
6811         * paragraph_funcs.C (getEndLabel): ...to here
6812
6813         * text2.C (realizeFont): move from here...
6814         * paragraph_funcs.C (realizeFont): ...to here
6815
6816 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6819
6820 2003-04-14  Angus Leeming  <leeming@lyx.org>
6821
6822         * LColor.[Ch]: scrap LColor mathcursor.
6823
6824 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * lyxlex.[Ch] (text): delete function
6827         * trans.C (Load): adjust
6828         * paragraph_funcs.C (readParToken): adjust
6829
6830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6833         vector<char> instead of a char[].
6834
6835         * lyxlex_pimpl.C (getString): adjust
6836         (next): adjust
6837         (lex): use getString
6838         (eatLine): adjust
6839         (nextToken): adjust
6840
6841         * lyxlex.C (text): use pimpl_->getString()
6842         (getBool): ditto
6843         (findToken): ditto
6844
6845 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6848         (makeFontEntriesLayoutSpecific): temp var for par.size()
6849         (setLayout): temp var for ownerParagraphs().end()
6850         (fullRebreak): temp var for rows().end()
6851         (selectionAsString): temp var for boost::next(startpit), realize
6852         that the while really is a regular for loop.
6853         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6854         setCursor in one place.
6855         (setParagraph): temp vr for ownerParagraphs().end()
6856         (updateCounters): make the while loop a for loop
6857         (cutSelection): temp var for ownerParagraphs().end()
6858         (updateInset): make the do {} while() a regular for loop
6859         (getCursorX): use temp vars
6860         (setCurrentFont): use temp vars
6861         (getColumnNearX): use temp vars
6862
6863 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * text.C (transformChar): use temp var for getChar
6866         (computeBidiTables): use temp var for row->par()
6867         (fill): move temp vars for row->par() and pit->layout() earlier in
6868         the function.
6869         (labelFill): use temp var for row->par()
6870         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6871         asc and desc, realize that pit never changes and that firstpit is
6872         just a duplicate and not needed. Exchange rit->par() with pit in a
6873         lot of places.
6874         (breakAgain): use a temp var for boost::next(rit)
6875         (breakAgainOneRow): ditto
6876         (breakParagraph): use a temp var for rows().begin()
6877         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6878         (cursorRightOneWord): use temp var for cursor.par() and
6879         cursor.pos(), remove usage of tmpcursor.
6880         (cursorLeftOneWord): use temp var for cursor.par() and
6881         cursor.pos() only set cur at end of function.
6882
6883 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * text.C, text2.C: exchange all usage of Paragraph::next with
6886         boost::next(ParagraphList::iterator)
6887
6888         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6889
6890         * text2.C (cursorTop): simplify implementation
6891         (cursorBottom): ditto
6892         (setParagraph): use ParagraphList::iterator
6893         (setCurrentFont): adjust
6894         (getColumnNearX): adjust
6895         (cursorRight): adjust
6896         (cursorLeft): remove usage of Paragraph::previous
6897         (cursorUpParagraph): ditto
6898         (deleteEmptyParagraphMechanism): slight cleanup
6899
6900         * text.C (isBoundary): take a Paragraph const & instead of a
6901         pointer as arg.
6902         (addressBreakPoint): ditto
6903         (leftMargin): remove usage of Paragraph::previous.
6904         (setHeightOfRow): ditto
6905         (cursorLeftOneWord): ditto
6906         (selectNextWordToSpellcheck): ditto
6907         (Delete): ditto
6908         (backspace): ditto
6909         (breakParagraph): remove one usage of Paragraph::next
6910         (redoParagraph): ditto
6911         (acceptChange): ditto
6912         (insertChar): adjust
6913         (rowBreakPoint): adjust
6914
6915         * bufferview_funcs.C (toggleAndShow): adjust
6916
6917 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6918
6919         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6920         methods to access it.
6921         * lyxtext.h:
6922         * text.C: Added updateRowPositions to compute all row positions.
6923         Make top_y and getRowNearY() to use the cached y position
6924
6925 2003-04-11  John Levon  <levon@movementarian.org>
6926
6927         * text.C (rowBreakPoint): reintroduce the labelEnd
6928         checks, code copied from the row fill stuff. Deep voodoo.
6929
6930         * text.C (fill): add a comment and debugging for the
6931         next poor soul.
6932
6933 2003-04-11  John Levon  <levon@movementarian.org>
6934
6935         * text.C: make sure fullrow insets get wrapped to the next line,
6936         even when they're in a manual label
6937
6938 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * text2.C (insertParagraph): make it take ParagraphList::iterator
6941         as arg.
6942         (setLayout): make it return ParagraphList::iterator
6943         (redoParagraphs): ditto
6944         (setCounter): ditto
6945         (checkParagraph): ditto
6946
6947         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6948
6949         * text2.C: adjust several funcs.
6950         (realizeFont): take a ParagraphList::iterator as arg.
6951         (getLayoutFont): ditto
6952         (getLabelFont): ditto
6953         (setCharFont): ditto
6954
6955         * text.C: adjust several funcs.
6956
6957 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6958
6959         * text.C (selectNextWordToSpellcheck): don't accidentally
6960         skip insets
6961
6962 2003-04-10  John Levon  <levon@movementarian.org>
6963
6964         * ToolbarBackend.C (getIcon): special handling for
6965         LFUN_MATH_DELIM
6966
6967 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * text2.C (cursorRight): a getChar assert fixed
6970
6971 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * text2.C (getFont): change to take a ParagraphList::iterator
6974         instead of Paragraph*
6975         Adjust several functions.
6976
6977         * text.C (transformChar): change to take a ParagraphList::iterator
6978         instead of Paragraph*
6979         (singleWidth): ditto
6980         Adjust several functions.
6981
6982         * rowpainter.C: adjust several functions
6983         * rowpainter.h:store a ParagraphList::iterator and not a
6984         Paragraph&.
6985
6986
6987 2003-04-09  John Levon  <levon@movementarian.org>
6988
6989         * lyxfunc.C:
6990         * lfuns.h:
6991         * LyXAction.h:
6992         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6993         and the "help" bits as well
6994
6995 2003-04-09  John Levon  <levon@movementarian.org>
6996
6997         * ToolbarBackend.h:
6998         * ToolbarBackend.C: allow multiple toolbars
6999
7000 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * undo_funcs.C (setCursorParUndo): adjust
7003
7004         * text_funcs.C (transposeChars): adjust
7005
7006         * text3.C (gotoNextInset): adjust
7007         (dispatch): adjust
7008
7009         * text2.C (setLayout): adjust
7010         (changeDepth): adjust
7011         (setFont): adjust
7012         (redoParagraphs): adjust
7013         (selectionAsString): adjust
7014         (setParagraph): adjust
7015         (insertInset): adjust
7016         (cutSelection): adjust
7017         (copySelection): adjust
7018         (pasteSelection): adjust
7019         (insertStringAsLines): adjust
7020         (updateInset): adjust
7021         (setCursor): change to take a ParagraphList::iterator parameter
7022         (setCursorIntern): change to take a ParagraphList::iterator parameter
7023         (setCurrentFont): adjust
7024         (cursorLeft): adjust
7025         (cursorRight): adjust
7026         (deleteEmptyParagraphMechanism): adjust
7027
7028         * text.C (breakParagraph): adjust
7029         (insertChar): adjust
7030         (acceptChange): adjust
7031         (rejectChange): adjust
7032         (selectNextWordToSpellcheck): adjust
7033         (changeCase): adjust
7034         (Delete): adjust
7035         (backspace): adjust
7036
7037         * lyxfind.C (SearchForward): adjust
7038         (SearchBackward): adjust
7039         (nextChange): adjust
7040
7041         * lyxcursor.C (par): adjust
7042
7043         * lyxcursor.h: store a ParagraphList::iterator instead of a
7044         Paragraph*
7045
7046         * lyx_cb.C (getPossibleLabel): adjust
7047
7048         * bufferview_funcs.C (toggleAndShow): adjust
7049
7050         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7051         (dispatch): adjust
7052
7053         * BufferView.C (removeAutoInsets): adjust
7054         (lockedInsetStoreUndo): adjust
7055
7056 2003-04-09  John Levon  <levon@movementarian.org>
7057
7058         * ToolbarBackend.C: try icon without argument
7059         if with argument fails
7060
7061 2003-04-08  John Levon  <levon@movementarian.org>
7062
7063         * ToolbarBackend.h:
7064         * ToolbarBackend.C: add getIcon(), handle tooltip,
7065         and change from "Icon" to "Item".
7066
7067 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7068
7069         * BufferView.C (lockInset): another bad getchar crunched
7070
7071 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7074         again)
7075
7076 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7077
7078         * lyxfind.C (searchForward, searchBackwards): bug 782
7079
7080 2003-04-07  John Levon  <levon@movementarian.org>
7081
7082         * paragraph.C: remove dead comment
7083
7084         * text.C: remove troublesome depth-fiddling code
7085         in leftMargin() and rightMargin() (bug 1017)
7086
7087         * text.C: fix breaking of rows in nested lists
7088         (bug 1004)
7089
7090         * text2.C (updateCounters): fix up depth values
7091         (bug 1013)
7092
7093 2003-04-07  John Levon  <levon@movementarian.org>
7094
7095         * BufferView_pimpl.C: clear message when doc finishes resizing,
7096         and after a mouse event
7097
7098         * lyxfunc.C: clear message after exiting inset
7099
7100 2003-04-07  John Levon  <levon@movementarian.org>
7101
7102         * bufferview_funcs.C: show math status not outside
7103         status in the statusbar
7104
7105 2003-04-07  John Levon  <levon@movementarian.org>
7106
7107         * lyxfunc.C: note status changed after a depth change
7108
7109 2003-04-04  Angus Leeming  <leeming@lyx.org>
7110
7111         * LaTeX.h: move AuxInfo operator==, != out of line.
7112         Remove LaTeX virtual destructor; nothing derives from it.
7113         Move operator()() out of public area and rename it startscript().
7114         Change protected for private.
7115
7116 2003-04-04  Angus Leeming  <leeming@lyx.org>
7117
7118         * lyxfunc.C:
7119         * text2.C: remove unneeded #includes.
7120
7121 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * text2.C (dEPM): fix the heigth of the next row
7124
7125 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7126
7127         * text.C: squashed an invalid getChar requester + some ws changes
7128
7129 2003-04-03  John Levon  <levon@movementarian.org>
7130
7131         * bufferview_funcs.h:
7132         * bufferview_funcs.C:
7133         * lyxfunc.C:
7134         * lyxtext.h:
7135         * text2.C: make getStatus work for the env depth lfuns
7136
7137 2003-04-03  John Levon  <levon@movementarian.org>
7138
7139         * bufferview_funcs.h:
7140         * bufferview_funcs.C:
7141         * lyxfunc.C:
7142         * lyxtext.h:
7143         * text2.C: parlistize decDepth(), by merging it with incDepth()
7144
7145 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * lyxrow.h: store a ParagraphList::iterator instead of a
7148         Paragraph* and adjust other class functions to suit.
7149
7150         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7151         above.
7152
7153 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * text2.C (setCursor): do not anchor to cursor row for the time being
7156
7157 2003-04-02  John Levon  <levon@movementarian.org>
7158
7159         * LyXAction.C:
7160         * lfuns.h:
7161         * lyx_main.C:
7162         * lyxtext.h:
7163         * text.C:
7164         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7165
7166 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * paragraph.h: make ParagraphList and ParagraphList::iterator
7169         friends of Paragraph.
7170
7171         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7172
7173         * ParagraphList.C: Use the private next_ and previous_ from
7174         Paragraph.
7175
7176 2003-04-01  John Levon  <levon@movementarian.org>
7177
7178         * ToolbarBackend.h:
7179         * ToolbarBackend.C:
7180         * Makefile.am: rename, remove defaults gunk
7181
7182         * MenuBackend.h:
7183         * MenuBackend.C: remove defaults gunk
7184
7185         * Languages.h:
7186         * Languages.C: remove defaults gunk
7187
7188         * lyx_main.h:
7189         * lyx_main.C: error out if files couldn't be found.
7190
7191 2003-04-02  John Levon  <levon@movementarian.org>
7192
7193         * text2.C: make incDepth() use parlist
7194
7195 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * undo_funcs.C (firstUndoParagraph): adjust
7198
7199         * text3.C (gotoInset): adjust
7200         (dispatch): adjust, and rewrite loop.
7201
7202         * text2.C (init): adjust, and rewrite loop.
7203         (redoParagraphs): adjust
7204         (updateInset): adjust, and rewrite loop.
7205         (deleteEmptyParagraphMechanism): adjust
7206
7207         * tabular.C (LyXTabular): adjust
7208         (SetMultiColumn): adjust
7209         (TeXRow): adjust
7210
7211         * lyxtext.[Ch] (ownerParagraph): delete function
7212         (ownerParagraphs): new function returns a ParagraphList.
7213
7214         * BufferView.C (removeAutoInsets): adjust
7215         (insertErrors): adjust
7216         (setCursorFromRow): adjust
7217
7218 2003-04-01  Angus Leeming  <leeming@lyx.org>
7219
7220         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7221         in the frontends.
7222
7223 2003-04-02  John Levon  <levon@movementarian.org>
7224
7225         * lyxtext.h:
7226         * text.C:
7227         * Makefile.am:
7228         * text_funcs.h:
7229         * text_funcs.C: make transposeChars a free function
7230
7231         * lyxrow_funcs.C: remove wrong comment
7232
7233 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * lyxtext.h: adjust
7236         * rowpainter.C: adjust
7237         * text.C: adjust
7238         * text2.C: adjust
7239         * text3.C: adjust
7240
7241         * lyxrow_funcs. [Ch]: new files
7242
7243         * lyxrow.[Ch]: remove next and previous pointers
7244         (next,previous): remove accessor functions
7245         (isParEnd): move to lyxrow_funcs
7246         (lastPos): move to lyxrow_funcs
7247         (nextRowIsAllInset): move to lyxrow_funcs
7248         (lastPrintablePos): move to lyxrow_funcs
7249         (numberOfSeparators): move to lyxrow_funcs
7250         (numberOfHfills): move to lyxrow_funcs
7251         (numberOfLabelHfills): move to lyxrow_funcs
7252         (hfillExpansion): move to lyxrow_funcs
7253
7254         * lyxfunc.C: adjust
7255
7256         * bufferview_funcs.C (toggleAndShow): adjust
7257
7258         * RowList.h: Remove class RowList from file leave just a
7259         std::list<Row>.
7260
7261         * RowList.C: delete file
7262
7263         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7264         and lyxrow_funcs.h
7265
7266 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * text3.C (cursorPrevious): adjust
7269         (cursorNext): adjust
7270         (dispatch): adjust
7271
7272         * text2.C (redoHeightOfParagraph): adjust
7273         (redoDrawingOfParagraph): adjust
7274         (setCursor): adjust
7275
7276         * text.C (breakParagraph): adjust
7277         (insertChar): adjust
7278         (backspace): adjust
7279
7280         * rowpainter.C (RowPainter): adjust
7281         (leftMargin): simplify and adjust
7282         (most rowpainter functions): adjust.
7283
7284         * rowpainter.h: store the row as RowList::iterator not as Row*
7285
7286         * lyxcursor.C (row): taka RowList::iterator as arg
7287         (irow): ditto
7288
7289         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7290         of Row*.
7291
7292 2003-04-01  Angus Leeming  <leeming@lyx.org>
7293
7294         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7295         stuff like bool Bool.
7296
7297 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7298
7299         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7300         rewrite a loop
7301
7302 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7305         RowList::iterator.
7306
7307         * lyxtext.h (rows): drop one version and leve a const variant that
7308         returns a RowList::iterator.
7309
7310 2003-03-31  Angus Leeming  <leeming@lyx.org>
7311
7312         * text.C (fill): ensure that the signature is the same as that in the
7313         header file.
7314
7315 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * text2.C (redoParagraphs): adjust
7318         (updateCounters): adjust
7319         (checkParagraph): adjust
7320         (getColumnNearX): adjust and reformat a bit.
7321
7322         * text.C (top_y): adjust
7323         (workWidth): adjust
7324         (leftMargin): adjust
7325         (prepareToPrint): adjust
7326         (getRow): adjust
7327         (getRowNearY): adjust
7328
7329         * lyxtext.h: make rowlist_ mutable.
7330
7331         * RowList.h: add const_iterator
7332         * RowList.C: adjust for RowList::const_iterator.
7333
7334         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7335         adjust.
7336
7337 2003-03-31  John Levon  <levon@movementarian.org>
7338
7339         * lyxrc.h:
7340         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7341
7342         * lyx_main.C: set default fonts from using lyx_gui funcs
7343
7344         * exporter.C: pdf_mode moved from lyxrc
7345
7346         * lyx_cb.C:
7347         * lyxfunc.C: changes from above
7348
7349 2003-03-31  John Levon  <levon@movementarian.org>
7350
7351         * lyx_main.C: fix to the last fix
7352
7353 2003-03-31  John Levon  <levon@movementarian.org>
7354
7355         * bufferlist.C: "Load original" -> "Load Original"
7356
7357         * converter.C:
7358         * exporter.C:
7359         * importer.C:
7360         * lyx_main.C:
7361         * format.C: more Alert cleanups
7362
7363 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * text2.C (removeParagraph): make it take a RowList::iterator as
7366         arg, adjust.
7367         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7368         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7369
7370         * text.C (anchor_row): make it take a RowList::iterator as arg,
7371         adjust.
7372         (computeBidiTables): make it take a const reference to Row instead
7373         of Row pointer, adjust.
7374         (leftMargin): make it take a RowList::iterator as arg, adjust.
7375         (rowBreakPoint): adjust
7376         (breakAgainOneRow): make it take a RowList::iterator as arg,
7377         adjust.
7378         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7379
7380         * bufferview_funcs.C (toggleAndShow): adjust
7381
7382 2003-03-30  John Levon  <levon@movementarian.org>
7383
7384         * Makefile.am:
7385         * BoostFormat.h:
7386         * boost-inst.C: moved to support
7387
7388         * several files: changes as a result
7389
7390 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * text2.C (LyXText): adjust.
7393         (init): adjust
7394         (removeRow): make it take a RowList::iterator as arg, adjust.
7395         (fullRebreak): adjust
7396         (deleteEmptyParagraphMechanism): adjust
7397         (clearPaint): adjust
7398         (postPaint): adjust
7399
7400         * text.C (top_y): adjust
7401         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7402         (breakAgain): make it take a RowList::iterator as arg, adjust.
7403         (breakParagraph): adjust
7404         (insertChar): adjust
7405         (backspace): adjust
7406
7407         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7408         need_break_row, and refresh_row.
7409
7410         * text3.C (dispatch): adjust
7411
7412         * text2.C (checkParagraph): adjust
7413         (setCursor): adjust
7414         (setCursorFromCoordinates): adjust
7415
7416         * text.C (top_y): adjust
7417         (workWidth): adjust
7418         (getRow): make it return a RowList::iterator, adjust
7419         (getRowNearY): make it return a RowList::iterator, adjust
7420
7421         * text2.C (init): adjust
7422         (insertRow): remove function
7423         (insertParagraph): adjust
7424         (redoParagraphs): adjust
7425         (fullRebreak): adjust
7426         (updateCounters): adjust
7427
7428         * text.C (top_y): rewrite to use RowList iterators.
7429         (top_y): adjust
7430         (setHeightOfRow): rewrite to sue RowList iterators.
7431         (appendParagraph): adjust
7432         (breakAgain): adjust
7433         (breakAgainOneRow): adjust
7434         (breakParagraph): adjust
7435         (getRow): adjust
7436         (getRowNearY): adjust, and remove commented code.
7437
7438         * lyxtext.h (firstRow): delete function
7439         (lastRow): delete function
7440         (rows): new function (const and non-const versions.)
7441         (insertRow): delete function
7442
7443         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7444
7445 2003-03-29  John Levon  <levon@movementarian.org>
7446
7447         * BufferView_pimpl.C: always update scrollbar top
7448         because pasting text when we're anchored could mean we
7449         miss an update altogether
7450
7451 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * text2.C (init): use rowlist_.end() and not 0.
7454         (insertRow): change to take a RowList::iterator as arg, adjust
7455         for this.
7456         (insertParagraph): change to take a RowList::iterator as arg,
7457         adjust for this.
7458         (redoParagraphs): remove some debug msgs.
7459
7460         * text.C (appendParagraph): change to take a RowList::iterator
7461         arg, adjust for this.
7462         (breakAgain): add an assert
7463         (breakAgainOneRow): ditto
7464
7465 2003-03-29  John Levon  <levon@movementarian.org>
7466
7467         * text2.C: do not clear selection after inc/decDepth
7468         (bug 550)
7469
7470 2003-03-29  John Levon  <levon@movementarian.org>
7471
7472         * BufferView.C:
7473         * buffer.C: fix broken strerrors according to Lars
7474
7475 2003-03-29  John Levon  <levon@movementarian.org>
7476
7477         * converters.C: more Alert cleanups
7478
7479 2003-03-29  John Levon  <levon@movementarian.org>
7480
7481         * bufferview_funcs.C: remove pointless Alert
7482
7483         * buffer.C: fix confusing error message when
7484         a template is chmoded 000
7485
7486 2003-03-29  John Levon  <levon@movementarian.org>
7487
7488         * BufferView.C:
7489         * BufferView.h:
7490         * BufferView_pimpl.C: Alert fixes
7491
7492         * Makefile.am:
7493         * tabular.C:
7494         * tabular-old.C: remove unused table compat reading
7495
7496 2003-03-29  John Levon  <levon@movementarian.org>
7497
7498         * BufferView.C:
7499         * buffer.C:
7500         * lyx_cb.h:
7501         * lyx_cb.C: more Alert cleanups
7502
7503         * lyxfunc.C: don't allow chktex if not latex document
7504
7505 2003-03-29  John Levon  <levon@movementarian.org>
7506
7507         * lyx_cb.C:
7508         * BufferView.C:
7509         * buffer.C: warnings pushed down from support/,
7510         kill err_alert
7511
7512 2003-03-29  John Levon  <levon@movementarian.org>
7513
7514         * lyxfunc.C: safety check for C-r (revert)
7515
7516 2003-03-29  John Levon  <levon@movementarian.org>
7517
7518         * bufferlist.h:
7519         * bufferlist.C: several UI fixes using Alert::prompt.
7520         Fix the pointless looping quit code. Fix stupid revert
7521         behaviour (bug 938)
7522
7523         * lyxvc.h:
7524         * lyxvc.C:
7525         * lyx_cb.C: use Alert::prompt
7526
7527         * lyx_main.C: remove a silly question
7528
7529         * lyxfunc.C: remove a couple of silly questions,
7530         use Alert::prompt
7531
7532 2003-03-28  John Levon  <levon@movementarian.org>
7533
7534         * text2.C: fix bug 974 (End on empty par)
7535
7536 2003-03-28  John Levon  <levon@movementarian.org>
7537
7538         * BufferView_pimpl.C:
7539         * LyXAction.C:
7540         * lfuns.h: remove do-nothing math greek lfuns
7541
7542 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * lyxgluelength.h (isValidGlueLength): add default arg on
7545         parameter 2. Remove default arg from friend in class.
7546
7547         * lyxlength.h (isValidLength): add default arg on parameter 2.
7548         Remove default arg from friend in class.
7549
7550         * text2.C (LyXText): adjust, initialize refresh_row.
7551         (init): adjust
7552         (removeRow): adjust
7553         (insertRow): adjust
7554         (insertParagraph): adjst
7555         (redoParagraphs): adjust
7556         (fullRebreak): adjust
7557         (updateCounters): adjust
7558         (deleteEmptyParagraphMechanism): first attempt at fixing a
7559         crashing bug.
7560
7561         * text.C (top_y): adjust
7562         (setHeightOfRow): adjust
7563         (getRow): adjust
7564         (getRowNearY): adjust
7565
7566         * lyxtext.h: include RowList.h
7567         (~LyXText): not needed anymore, deleted.
7568         (firstRow): modify for RowList
7569         (lastRow): new function
7570         Delete firstrow and lastrow class variables, add a Rowlist
7571         rowlist_ class variable.
7572
7573         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7574         paragraph is empty.
7575
7576         * RowList.C (insert): fix case where it == begin().
7577
7578 2003-03-26  Angus Leeming  <leeming@lyx.org>
7579
7580         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7581         the thesaurus dialog.
7582
7583 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7586
7587         * RowList.[Ch]: new files
7588
7589         * ParagraphList.C (erase): handle the case where it == begin
7590         correctly.
7591
7592 2003-03-25  John Levon  <levon@movementarian.org>
7593
7594         * Makefile.am:
7595         * aspell_local.h:
7596         * aspell.C: add new aspell support
7597
7598         * lyxrc.h:
7599         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7600         have it accessible.
7601
7602 2003-03-25  Angus Leeming  <leeming@lyx.org>
7603
7604         * lfuns.h:
7605         * LyXAction.C (init): new LFUN_INSET_INSERT.
7606
7607         * BufferView_pimpl.C (dispatch): split out part of the
7608         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7609
7610         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7611         LFUN_INSET_APPLY.
7612
7613 2003-03-25  Angus Leeming  <leeming@lyx.org>
7614
7615         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7616
7617 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7618
7619         * text2.C:
7620         * text3.C: remove useless row->height(0)
7621
7622 2003-03-25  John Levon  <levon@movementarian.org>
7623
7624         * lyxtext.h:
7625         * text2.C:
7626         * text3.C: rename the refreshing stuff to better names
7627
7628 2003-03-24  John Levon  <levon@movementarian.org>
7629
7630         * BufferView_pimpl.h:
7631         * BufferView_pimpl.C: update layout choice on a mouse
7632         press/release
7633
7634 2003-03-23  John Levon  <levon@movementarian.org>
7635
7636         * Makefile.am: fix commandtags.h reference
7637
7638 2003-03-22  John Levon  <levon@movementarian.org>
7639
7640         * BufferView_pimpl.C:
7641         * lyxtext.h:
7642         * rowpainter.C:
7643         * rowpainter.h:
7644         * text.C:
7645         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7646
7647 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7648
7649         * lyxtext.h:
7650         * text.C: take the rtl methods out of line
7651
7652 2003-03-21 André Pönitz <poenitz@gmx.net>
7653
7654         * metricsinfo.[Ch]: new files containing structures to be passed around
7655         during the two-phase-drawing...
7656
7657 2003-03-21 André Pönitz <poenitz@gmx.net>
7658
7659         * lyxtextclass.C: read 'environment' tag.
7660
7661 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7662
7663         * text2.C (removeRow): fix bug 964
7664
7665 2003-03-20  John Levon  <levon@movementarian.org>
7666
7667         * rowpainter.C:
7668         * text.C:
7669         * text2.C: paint cleanups. Inset::update() dropped font
7670         parameter
7671
7672 2003-03-19  John Levon  <levon@movementarian.org>
7673
7674         * lyxfunc.C: only fitcursor/markDirty if available()
7675
7676 2003-03-19  John Levon  <levon@movementarian.org>
7677
7678         * commandtags.h: rename to ...
7679
7680         * lfuns.h: ... this, and renumber / cleanup
7681
7682 2003-03-19  John Levon  <levon@movementarian.org>
7683
7684         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7685         fit the cursor after an lfun
7686
7687         * BufferView.h:
7688         * BufferView.C:
7689         * BufferView_pimpl.h:
7690         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7691
7692         * LyXAction.C: layout-character should have ReadOnly
7693
7694         * ParagraphParameters.C:
7695         * buffer.C:
7696         * bufferview_funcs.C:
7697         * lyx_cb.C:
7698         * lyxfind.C:
7699         * lyxtext.h:
7700         * text.C:
7701         * text2.C:
7702         * text3.C:
7703         * undo_funcs.C: changes from above
7704
7705 2003-03-18  John Levon  <levon@movementarian.org>
7706
7707         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7708         remove it from update()
7709
7710         * lyxfunc.C: update layout choice after an lfun
7711
7712         * text3.C: remove extra updateLayoutChoice()s
7713
7714 2003-03-18  John Levon  <levon@movementarian.org>
7715
7716         * text.C: top_y change means full repaint, fix
7717         a drawing bug with cursor movement
7718
7719 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7720
7721         * lyxtext.h:
7722         * text.C:
7723         * text2.C: anchor row on setCursor
7724
7725 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7726
7727         * lyxtext.h: remove almost all mutable keywords
7728         * text.C:
7729         * text2.C:
7730         * text3.C: remove const keywords accordingly
7731
7732 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7733
7734         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7735         anon namespace
7736         (TeXEnvironment): ditto
7737         (TeXOnePar): ditto
7738
7739 2003-03-17  John Levon  <levon@movementarian.org>
7740
7741         * text.C (rowBreakPoint): remove attempt to fix displayed
7742         math insets inside a manual label
7743
7744 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * lyxtext.h: remove BufferView* as first arg from almost all class
7747         functions.
7748         * other files: adjust.
7749
7750 2003-03-17  John Levon  <levon@movementarian.org>
7751
7752         * lyxtext.h:
7753         * undo_funcs.C:
7754         * text2.C: more paint cleanups
7755
7756         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7757
7758         * rowpainter.h:
7759         * rowpainter.C: remove "smart" background painting code
7760
7761 2003-03-16  John Levon  <levon@movementarian.org>
7762
7763         * lyxtext.h:
7764         * text.C:
7765         * text2.C:
7766         * text3.C: add helper functions for setting refresh_row/y
7767
7768 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7769
7770         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7771         newline inset which *can* get inserted in the pass_thru layouts.
7772         This is primarily for literate documents.
7773
7774 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7775
7776         * buffer.C: increment LYX_FORMAT to 223
7777
7778 2003-03-14 André Pönitz <poenitz@gmx.net>
7779
7780         * textclass.h: prepare for environment handling, ws changes
7781         * lyxlayout.C: read latexheader and latexfooter tags
7782
7783 2003-03-14  John Levon  <levon@movementarian.org>
7784
7785         * text2.C: rewrite ::status() a bit
7786
7787 2003-03-13  John Levon  <levon@movementarian.org>
7788
7789         * lyxtext.h: add some docs
7790
7791 2003-03-13  John Levon  <levon@movementarian.org>
7792
7793         * lyxtext.h:
7794         * text.C:
7795         * text2.C:
7796         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7797
7798 2003-03-13  John Levon  <levon@movementarian.org>
7799
7800         * text3.C: fix appendix redrawing
7801
7802 2003-03-13  John Levon  <levon@movementarian.org>
7803
7804         * text.C (setHeightOfRow):
7805         * rowpainter.h:
7806         * rowpainter.C: make appendix mark have the text
7807           "Appendix" so the user knows what it is
7808
7809         * LColor.h:
7810         * LColor.C: s/appendixline/appendix/ from above
7811
7812 2003-03-13  John Levon  <levon@movementarian.org>
7813
7814         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7815
7816         * text.C: fix a getChar(pos) bug properly
7817
7818 2003-03-13  Angus Leeming  <leeming@lyx.org>
7819
7820         * commandtags.h:
7821         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7822         Probably only temporary. Let's see how things pan out.
7823
7824         * BufferView.C (unlockInset):
7825         * BufferView_pimpl.C (fitCursor):
7826         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7827
7828         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7829         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7830
7831         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7832         new functions that convert ParagraphParameters to and from a string.
7833
7834         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7835         BufferView::Pimpl's dispatch.
7836         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7837
7838 2003-03-13 André Pönitz <poenitz@gmx.net>
7839
7840         * lyxfunc.C:
7841         * text3.C:
7842         * factory.C: make it aware of InsetEnv
7843
7844 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * text2.C (setCursor): never ask for one past last
7847         (setCursor): add some debugging messages.
7848
7849         * text.C (singleWidth): never ask for one past last
7850         (singleWidth): ditto
7851         (leftMargin): ditto
7852         (rightMargin): ditto
7853         (rowBreakPoint): ditto
7854         (setHeightOfRow): ditto
7855         (prepareToPrint): ditto
7856
7857         * rowpainter.C (paintBackground): never ask for one past last
7858         (paintText): never ask for one past last
7859
7860         * paragraph_pimpl.C (getChar): make the assert stricter, never
7861         allow the one past last pos to be taken
7862
7863         * paragraph.C (getChar): ws changes only
7864
7865         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7866         (numberOfSeparators): ditto
7867         (numberOfHfills): ditto
7868
7869 2003-03-12  John Levon  <levon@movementarian.org>
7870
7871         * author.h:
7872         * author.C:
7873         * bufferparams.h:
7874         * bufferparams.C:
7875         * paragraph_funcs.C: fix per-buffer authorlists
7876
7877 2003-03-12  John Levon  <levon@movementarian.org>
7878
7879         * text.C: fix newline in right address
7880
7881 2003-03-12  Angus Leeming  <leeming@lyx.org>
7882
7883         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7884         duplicate those in LyXFunc::dispatch.
7885
7886         * commandtags.h:
7887         * LyXAction.C:
7888         * ToolbarDefaults.C:
7889         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7890         Add LFUN_FONTFREE_UPDATE.
7891
7892         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7893         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7894
7895         * bufferview_func.[Ch]: several new functions to facilliate
7896         transfer of data to and from the character dialog.
7897
7898 2003-03-12  John Levon  <levon@movementarian.org>
7899
7900         * buffer.C:
7901         * paragraph.h:
7902         * paragraph.C:
7903         * paragraph_funcs.C:
7904         * paragraph_pimpl.C:
7905         * sgml.C:
7906         * tabular.C:
7907         * text.C:
7908         * text3.C: remove META_NEWLINE in favour of an inset
7909
7910         * rowpainter.h:
7911         * rowpainter.C: remove paintNewline (done by inset)
7912
7913 2003-03-12  John Levon  <levon@movementarian.org>
7914
7915         * paragraph_pimpl.C: complain about bad getChar()s
7916         for a while at least
7917
7918 2003-03-12  John Levon  <levon@movementarian.org>
7919
7920         * buffer.h:
7921         * buffer.C: move paragraph read into a separate function,
7922         a little renaming to reflect that.
7923
7924         * bufferparams.h:
7925         * bufferparams.C: remove the author_ids map, not necessary now
7926
7927         * factory.h:
7928         * factory.C: moved Buffer::readInset to here
7929
7930         * paragraph_funcs.h:
7931         * paragraph_funcs.C: readParagraph free function moved from
7932         buffer.C
7933
7934         * tabular.C: name change
7935
7936 2003-03-12  John Levon  <levon@movementarian.org>
7937
7938         * buffer.C:
7939         * ParagraphParameters.C: move par params input to
7940         a read() method
7941
7942         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7943         behave like a normal read from the stream wrt reading
7944         a line vs. a \\token
7945
7946 2003-03-12  John Levon  <levon@movementarian.org>
7947
7948         * paragraph.C:
7949         * ParagraphParameters.h:
7950         * ParagraphParameters.C: move output code to a
7951         ::write() method
7952
7953 2003-03-12  John Levon  <levon@movementarian.org>
7954
7955         * BufferView.C (insertLyXFile):
7956         * buffer.h:
7957         * buffer.C:
7958         * tabular.C: use a parlist iterator for creating the
7959           document.
7960
7961 2003-03-12  John Levon  <levon@movementarian.org>
7962
7963         * buffer.C: make current_change static local not
7964           static file-scope
7965
7966 2003-03-12  John Levon  <levon@movementarian.org>
7967
7968         * buffer.C: fix insertStringAsLines for change tracking
7969
7970 2003-03-12  John Levon  <levon@movementarian.org>
7971
7972         * BufferView.C:
7973         * tabular.C:
7974         * buffer.h:
7975         * buffer.C:
7976         * bufferparams.h:
7977         * bufferparams.C: move author list into params. Rename some
7978           functions. Move the header reading into a separate token
7979           loop. Move the header token reading into BufferParams.
7980
7981 2003-03-12  John Levon  <levon@movementarian.org>
7982
7983         * changes.C: put debug inside lyxerr.debugging() checks
7984
7985 2003-03-11 André Pönitz <poenitz@gmx.net>
7986
7987         * factory.C: make it aware of InsetHFill
7988
7989 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7990
7991         * buffer.C (latexParagraphs): move function from here...
7992         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7993         args.
7994
7995 2003-03-10  Angus Leeming  <leeming@lyx.org>
7996
7997         * LyXAction.C (init): fix bug in poplating array with multiple entries
7998         with the same LFUN (spotted by JMarc).
7999
8000 2003-03-10  John Levon  <levon@movementarian.org>
8001
8002         * text.C:
8003         * text2.C: move getColumnNearX() near its
8004         only call site
8005
8006 2003-03-10  John Levon  <levon@movementarian.org>
8007
8008         * text.C: fix break before a minipage
8009
8010 2003-03-10  John Levon  <levon@movementarian.org>
8011
8012         * text.C: fix the last commit
8013
8014 2003-03-09  John Levon  <levon@movementarian.org>
8015
8016         * lyxtext.h:
8017         * text.C:
8018         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8019         bug 365 (don't break before insets unless needed). Don't
8020         return a value > last under any circumstances.
8021
8022 2003-03-09  Angus Leeming  <leeming@lyx.org>
8023
8024         * BufferView_pimpl.C (trackChanges, dispatch): call
8025         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8026
8027 2003-03-09  Angus Leeming  <leeming@lyx.org>
8028
8029         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8030         than Dialogs::showAboutlyx().
8031
8032 2003-03-09  Angus Leeming  <leeming@lyx.org>
8033
8034         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8035         than Dialogs::showTabularCreate().
8036
8037 2003-03-09  John Levon  <levon@movementarian.org>
8038
8039         * lyxtext.h:
8040         * text.C:
8041         * text2.C: 3rd arg to nextBreakPoint was always the same.
8042           Use references.
8043
8044 2003-03-08  John Levon  <levon@movementarian.org>
8045
8046         * lyxrow.C:
8047         * paragraph.C:
8048         * paragraph.h:
8049         * rowpainter.C:
8050         * text.C:
8051         * text2.C: Remove the "main" bit from the "main body"
8052           notion.
8053
8054 2003-03-08  John Levon  <levon@movementarian.org>
8055
8056         * text.C (leftMargin): The left margin of an empty
8057         manual label paragraph should not include the label width
8058         string length.
8059
8060         * text.C (prepareToPrint): don't attempt to measure hfills
8061         for empty manual label paragraphs - the answer should be 0
8062
8063 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8064
8065         * CutAndPaste.C: remove commented code and reindent.
8066
8067 2003-03-08  John Levon  <levon@movementarian.org>
8068
8069         * lyxfunc.h:
8070         * lyxfunc.C: move reloadBuffer()
8071
8072         * BufferView.h:
8073         * BufferView.C: to here
8074
8075         * lyxvc.C: add comment
8076
8077         * vc-backend.h:
8078         * vc-backend.C: call bv->reload() to avoid
8079           getStatus() check on MENURELOAD
8080
8081 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8082
8083         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8084         to an old format .dep file.
8085
8086 2003-03-07  Angus Leeming  <leeming@lyx.org>
8087
8088         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8089         when the LFUN_MOUSE_RELEASE should have been handled by
8090         inset->localDispatch.
8091
8092 2003-03-07  Angus Leeming  <leeming@lyx.org>
8093
8094         * BufferView_pimpl.C (dispatch):
8095         * LyXAction.C (init):
8096         * ToolbarDefaults.C (init):
8097         * commandtags.h:
8098         * lyxfunc.C (getStatus):
8099         remove LFUN_INSET_GRAPHICS.
8100
8101         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8102
8103 2003-03-07  Angus Leeming  <leeming@lyx.org>
8104
8105         * commandtags.h:
8106         * LyXAction.C (init):
8107         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8108
8109         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8110
8111         * commandtags.h:
8112         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8113
8114         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8115         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8116
8117 2003-03-07  Angus Leeming  <leeming@lyx.org>
8118
8119         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8120         remove "ert".
8121
8122 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * ParagraphList.C (front): new function
8125         (back): implement
8126
8127 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8128
8129         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8130         and top_row_offset_. removed var first_y.
8131         * text.C (top_y):
8132         * text2.C (LyXText, removeRow):
8133         * text3.C:
8134         * BufferView_pimpl.C:
8135         use these methods instead of using first_y
8136
8137 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * text2.C (pasteSelection): adjust for checkPastePossible
8140
8141         * CutAndPaste.C: remove Paragraph * buf and replace with
8142         ParagraphList paragraphs.
8143         (DeleteBuffer): delete
8144         (cutSelection): change the tc type to textclass_type
8145         (copySelection): change the tc type to textclass_type
8146         (copySelection): adjust for ParagraphList
8147         (pasteSelection): change the tc type to textclass_type
8148         (pasteSelection): adjust for Paragraphlist
8149         (nrOfParagraphs): simplify for ParagraphList
8150         (checkPastePossible): simplify for ParagraphList
8151         (checkPastePossible): remove unused arg
8152
8153         * ParagraphList.C (insert): handle the case where there are no
8154         paragraphs yet.
8155
8156         * CutAndPaste.h: make CutAndPaste a namespace.
8157
8158         * text3.C (dispatch): adjust
8159
8160         * text.C (breakParagraph): add a ParagraphList as arg
8161
8162         * paragraph_funcs.C (breakParagraph): change to take a
8163         BufferParams and a ParagraphList as args.
8164         (breakParagraphConservative): ditto
8165         (mergeParagraph): ditto
8166         (TeXDeeper): add a ParagraphList arg
8167         (TeXEnvironment): ditto
8168         (TeXOnePar): ditto
8169
8170         * buffer.C (readLyXformat2): adjust
8171         (insertStringAsLines): adjust
8172         (latexParagraphs): adjust
8173
8174         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8175         (cutSelection): adjust
8176         (pasteSelection): adjust
8177
8178         * BufferView_pimpl.C (insertInset): adjust
8179
8180 2003-03-05  Angus Leeming  <leeming@lyx.org>
8181
8182         * commandtags.h:
8183         * LyXAction.C (init):
8184         * BufferView_pimpl.C (dispatch):
8185         * lyxfunc.C (getStatus):
8186         remove LFUN_CHILD_INSERT.
8187
8188         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8189
8190 2003-03-05  Angus Leeming  <leeming@lyx.org>
8191
8192         * commandtags.h:
8193         * LyXAction.C (init):
8194         * src/factory.C (createInset):
8195         * lyxfunc.C (getStatus):
8196         * text3.C (dispatch):
8197         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8198
8199         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8200
8201 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * ParagraphList.C (insert): handle insert right before end()
8204         (erase): fix cases where it can be first or last paragraph.
8205
8206 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8209         Paragraph::next and Paragraph::previous
8210         (TeXOnePar): ditto
8211
8212         * text.C (breakParagraph): adjust
8213
8214         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8215         BufferParams& as arg.
8216         (breakParagraph): use ParagraphList::insert
8217         (breakParagraphConservative): take a Buffer* instead of a
8218         BufferParams& as arg.
8219         (breakParagraphConservative): use ParagraphList::insert.
8220
8221         * buffer.C (insertStringAsLines): un-const it
8222         (insertStringAsLines): adjust
8223
8224         * ParagraphList.C (insert): new function
8225
8226         * CutAndPaste.C (pasteSelection): adjust
8227
8228         * text.C (backspace): adjust
8229
8230         * tabular.C (SetMultiColumn): adjust
8231
8232         * CutAndPaste.C (cutSelection): adjust
8233         (pasteSelection): adjust
8234
8235         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8236         Buffer const * as arg
8237
8238         * ParagraphList.C (erase): new function
8239         * paragraph_funcs.C (mergeParagraph): use it
8240         (mergeParagraph): make it take a Buffer* instead of a
8241         BufferParams* as arg
8242
8243         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8244         as arg
8245         (breakParagraphConservative): ditto
8246
8247         * paragraph.h: remove the breakParagraph friend
8248
8249         * paragraph.C (eraseIntern): new function
8250         (setChange): new function
8251
8252         * paragraph_funcs.C (mergeParagraph): make it take a
8253         ParagraphList::iterator instead of a Paragraph *, adjust
8254         accordingly.
8255
8256         * paragraph.h: move an #endif so that the change tracking stuff
8257         also works in the NO_NEXT case.
8258
8259 2003-03-04  Angus Leeming  <leeming@lyx.org>
8260
8261         * commandtags.h:
8262         * LyXAction.C: new LFUN_INSET_MODIFY.
8263
8264         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8265         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8266
8267 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * several files: ws changes only
8270
8271         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8272         (TeXEnvironment): ditto
8273         (TeXDeeper): ditto
8274
8275         * buffer.C (makeLaTeXFile): adjust
8276         (latexParagraphs): make it take ParagraphList::iterator as args
8277
8278 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * buffer.C (latexParagraphs): adjust
8281
8282         * paragraph.C (TeXOnePar): move function...
8283         (optArgInset): move function...
8284         (TeXEnvironment): move function...
8285         * paragraph_pimpl.C (TeXDeeper): move function...
8286         * paragraph_funcs.C: ...here
8287
8288         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8289
8290 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8291
8292         * buffer.C (readInset): remove compability code for old Figure and
8293         InsetInfo insets
8294
8295 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * buffer.C: ws changes
8298         (readInset):
8299
8300         * BufferView_pimpl.C: ditto
8301         * author.C: ditto
8302         * buffer.h: ditto
8303         * bufferlist.h: ditto
8304         * changes.h: ditto
8305         * lyxfunc.C: ditto
8306
8307 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8308
8309         * converter.[Ch]: split into itself +
8310         * graph.[Ch]
8311         * format.[Ch]
8312         * Makefile.am: += graph.[Ch] + format.[Ch]
8313         * MenuBackend.C
8314         * buffer.C
8315         * exporter.C
8316         * importer.C
8317         * lyx_main.C
8318         * lyxfunc.C
8319         * lyxrc.C: added #include "format.h"
8320
8321 2003-02-27  Angus Leeming  <leeming@lyx.org>
8322
8323         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8324           a label.
8325
8326         * factory.C (createInset): add "label" to the factory.
8327
8328         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8329           string and do no more.
8330
8331 2003-02-27  Angus Leeming  <leeming@lyx.org>
8332
8333         * commandtags.h:
8334         * LyXAction.C (init):
8335         * factory.C (createInset):
8336         * BufferView_pimpl.C (dispatch):
8337           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8338
8339         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8340
8341         * lyxfunc.C (dispatch):
8342         * text3.C (dispatch): pass name to params2string.
8343
8344 2003-02-26  Angus Leeming  <leeming@lyx.org>
8345
8346         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8347           blocks together.
8348           Rearrange the ~includes. Strip out the unnecessary ones.
8349
8350         * factory.C (createInset): reformat.
8351           create new insets for the various LFUN_XYZ_APPLY lfuns.
8352
8353 2003-02-26  John Levon  <levon@movementarian.org>
8354
8355         * lyxrow.h:
8356         * lyxrow.C: add isParStart,isParEnd helpers
8357
8358         * paragraph.h: make isInserted/DeletedText take refs
8359
8360         * paragraph_funcs.h:
8361         * paragraph_funcs.C: remove #if 0'd code
8362
8363         * lyxtext.h:
8364         * text3.C:
8365         * text2.C:
8366         * text.C: use lyxrow helpers above.
8367           Move draw and paint routines to RowPainter.
8368           Make several methods use refs not pointers.
8369           Make backgroundColor() const.
8370           Add markChangeInDraw(), isInInset().
8371           Merge changeRegionCase into changeCase.
8372           Make workWidth() shouldn't-happen code into an Assert.
8373
8374         * rowpainter.h:
8375         * rowpainter.C: new class for painting a row.
8376
8377         * vspace.h:
8378         * vspace.C: make inPixels take a ref
8379
8380 2003-02-26  Angus Leeming  <leeming@lyx.org>
8381
8382         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8383         LFUN_REF_APPLY.
8384
8385 2003-02-25  John Levon  <levon@movementarian.org>
8386
8387         * ispell.C: give the forked command a more accurate name
8388
8389 2003-02-22  John Levon  <levon@movementarian.org>
8390
8391         * toc.h:
8392         * toc.C: make TocItem store an id not a Paragraph *
8393           (bug #913)
8394
8395 2003-02-21  Angus Leeming  <leeming@lyx.org>
8396
8397         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8398           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8399           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8400           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8401           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8402           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8403
8404         * BufferView_pimpl.C (dispatch):
8405         * LyXAction.C (init):
8406         * factory.C (createInset):
8407         * lyxfunc.C (getStatus, dispatch):
8408         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8409
8410 2003-02-21  Angus Leeming  <leeming@lyx.org>
8411
8412         * BufferView_pimpl.C (MenuInsertLyXFile):
8413         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8414         * lyxfunc.C (menuNew, open, doImport):
8415           no longer pass a LyXView & to fileDlg.
8416
8417 2003-02-21  Angus Leeming  <leeming@lyx.org>
8418
8419         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8420         * LyXAction.C: change, BIBKEY to BIBITEM.
8421         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8422         Change InsetBibKey to InsetBibitem.
8423         Change BIBKEY_CODE to BIBITEM_CODE.
8424         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8425         * factory.C: replace insetbib.h with insetbibitem.h.
8426         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8427         * paragraph.C: replace insetbib.h with insetbibitem.h.
8428         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8429         Change bibkey() to bibitem().
8430         * text.C: remove insetbib.h.
8431         * text2.C: replace insetbib.h with insetbibitem.h.
8432         change bibkey() to bibitem().
8433         * text3.C: remove insetbib.h.
8434         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8435
8436 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8437
8438         * lyxrc.C (output): enclose user email in quotes (in case there are
8439         several words)
8440
8441 2003-02-18  John Levon  <levon@movementarian.org>
8442
8443         * buffer.h: add std::
8444
8445 2003-02-17  John Levon  <levon@movementarian.org>
8446
8447         * SpellBase.h:
8448         * ispell.h:
8449         * ispell.C:
8450         * pspell.h:
8451         * pspell.C: reworking. Especially in ispell, a large
8452           number of clean ups and bug fixes.
8453
8454         * lyxfunc.C: fix revert to behave sensibly
8455
8456 2003-02-17 André Pönitz <poenitz@gmx.net>
8457
8458         * LyXAction.C:
8459         * commandtags.h: new LFUN_INSERT_BIBKEY
8460
8461         * layout.h:
8462         * lyxlayout.C:
8463         * buffer.C:
8464         * factory.C:
8465         * text.C:
8466         * text2.C:
8467         * text3.C:
8468         * paragraph.[Ch]:
8469         * paragraph_func.C: remove special bibkey handling
8470
8471 2003-02-17  John Levon  <levon@movementarian.org>
8472
8473         * text.C (Delete): fix case where delete at the end of
8474           the very first paragraph would not merge the pars
8475
8476 2003-02-17  John Levon  <levon@movementarian.org>
8477
8478         * lyxrow.C: fix lastPrintablePos()
8479
8480 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * bufferparams.C (writeLaTeX): add a std:here
8483
8484         * buffer.C: and remove a using directive there
8485
8486 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8487
8488         * buffer.C (makeLaTeXFile): move the code that generates the
8489           preamble...
8490
8491         * bufferparams.C (writeLaTeX): ... in this new method
8492
8493         * LaTeXFeatures.C (getEncodingSet): make const
8494           (getLanguages): make const
8495
8496         * MenuBackend.C (binding): returns the binding associated to this
8497           action
8498           (add): sets the status of each item by calling getStatus. Adds
8499           some intelligence.
8500           (read): add support for OptSubMenu
8501           (expand): remove extra separator at the end of expanded menu
8502
8503 2003-02-15  John Levon  <levon@movementarian.org>
8504
8505         * BufferView.C:
8506         * BufferView_pimpl.C:
8507         * bufferlist.h:
8508         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8509           inset code that had no actual effect. Remove unneeded status
8510           code.
8511
8512 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8515           in preamble
8516
8517 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8518
8519         * text.C (drawLengthMarker): also draw an arrow marker for
8520           symbolic lengths (medskip...)
8521
8522 2003-02-14  John Levon  <levon@movementarian.org>
8523
8524         * tabular.h:
8525         * tabular.C: better method names
8526
8527 2003-02-14  John Levon  <levon@movementarian.org>
8528
8529         * BufferView_pimpl.C:
8530         * bufferlist.C:
8531         * buffer.C:
8532         * converter.C:
8533         * lyx_cb.C:
8534         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8535           it's a more accurate name. Remove some pointless uses.
8536
8537 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8538
8539         * text2.C (LyXText): change order of initilizers to shut off
8540           warnings
8541
8542 2003-02-14  John Levon  <levon@movementarian.org>
8543
8544         * buffer.C: use ParIterator for getParFromID()
8545
8546         * paragraph.h:
8547         * paragraph.C:
8548         * paragraph_pimpl.h:
8549         * paragraph_pimpl.C: remove unused getParFromID()
8550
8551 2003-02-14  John Levon  <levon@movementarian.org>
8552
8553         * buffer.C: remove some very old #if 0'd parse code
8554
8555 2003-02-13  John Levon  <levon@movementarian.org>
8556
8557         * text.h:
8558         * text.C:
8559         * text2.C: move hfillExpansion(), numberOfSeparators(),
8560           rowLast(), rowLastPrintable(), numberofHfills(),
8561           numberOfLabelHfills() ...
8562
8563         * lyxrow.h:
8564         * lyxrow.C: ... to member functions here.
8565
8566         * paragraph.h:
8567         * paragraph.C:
8568         * lyxtext.h:
8569         * text.C: remove LyXText::beginningOfMainBody(), and call
8570           p->beginningOfMainBody() directly. Move the check for
8571           LABEL_MANUAL into the latter.
8572
8573         * text.h:
8574         * text.C:
8575         * text2.C:
8576         * vspace.C:
8577         * BufferView.h:
8578         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8579
8580         * text.h:
8581         * text.C:
8582         * text2.C:
8583         * text3.C:
8584         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8585           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8586
8587 2003-02-13  John Levon  <levon@movementarian.org>
8588
8589         * CutAndPaste.C: remove debug
8590
8591 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8592
8593         * paragraph.C (asString): remove two unused variables
8594
8595         * lyxtextclass.C (readTitleType):
8596           (Read):
8597           (LyXTextClass): handle new members titletype_ and titlename_
8598
8599         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8600
8601 2003-02-09  John Levon  <levon@movementarian.org>
8602
8603         * buffer.h:
8604         * buffer.C: replace hand-coded list with a map for the dep clean
8605
8606 2003-02-08  John Levon  <levon@movementarian.org>
8607
8608         * LaTeX.C: consolidate code into showRunMessage() helper
8609
8610 2003-02-08  John Levon  <levon@movementarian.org>
8611
8612         * lyxfind.C:
8613         * lyxtext.h:
8614         * text2.C:
8615         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8616           and pass the size in explicitly
8617
8618         * BufferView_pimpl.h:
8619         * BufferView_pimpl.C:
8620         * BufferView.h:
8621         * BufferView.C: add getCurrentChange()
8622
8623         * BufferView_pimpl.h:
8624         * BufferView_pimpl.C: handle change lfuns
8625
8626         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8627           for changes. Mark pasted paragraphs as new.
8628
8629         * support/lyxtime.h:
8630         * support/lyxtime.C:
8631         * DepTable.C: abstract time_t as lyx::time_type
8632
8633         * LColor.h:
8634         * LColor.C: add colours for new text, deleted text, changebars
8635
8636         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8637           package use "usenames" option.
8638
8639         * commandtags.h:
8640         * lyxfunc.C:
8641         * LyXAction.C: add change lfuns
8642
8643         * Makefile.am:
8644         * author.h:
8645         * author.C: author handling
8646
8647         * buffer.h:
8648         * buffer.C: add a per-buffer author list, with first entry as
8649           current author. Handle new .lyx tokens for change tracking. Output
8650           author list to .lyx file. Output dvipost stuff to .tex preamble.
8651           Bump lyx format to 222.
8652
8653         * bufferlist.h:
8654         * bufferlist.C: add setCurrentAuthor() to reset current author details
8655           in all buffers.
8656
8657         * bufferparams.h:
8658         * bufferparams.C: add param for tracking
8659
8660         * bufferview_funcs.C: output change info in minibuffer
8661
8662         * Makefile.am:
8663         * changes.h:
8664         * changes.C: add change-tracking structure
8665
8666         * debug.h:
8667         * debug.C: add CHANGES debug flag
8668
8669         * lyxfind.h:
8670         * lyxfind.C: add code for finding the next change piece
8671
8672         * lyxrc.h:
8673         * lyxrc.C: add user_name and user_email
8674
8675         * lyxrow.h:
8676         * lyxrow.C: add a metric for the top of the text line
8677
8678         * lyxtext.h:
8679         * text.C: implement accept/rejectChange()
8680
8681         * lyxtext.h:
8682         * text.C: paint changebars. Paint new/deleted text in the chosen
8683         colours. Strike through deleted text.
8684
8685         * paragraph.h:
8686         * paragraph.C:
8687         * paragraph_pimpl.h:
8688         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8689           in the current change to the insert functions. Rework erase to
8690           mark text as deleted, adding an eraseIntern() and a range-based
8691           erase(). Implement per-paragraph change lookup and
8692           accept/reject.
8693
8694         * paragraph_funcs.C: Fixup paste for change tracking.
8695
8696         * tabular.C: mark added row/columns as new.
8697
8698         * text.C: fix rowLast() to never return -1. Don't allow
8699           spellchecking of deleted text. Track transpose changes. Don't
8700           allow paragraph break or merge where appropriate.
8701
8702         * text2.C: leave cursor at end of selection after a cut.
8703
8704 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * text.C (getLengthMarkerHeight):
8707         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8708         visible on screen too.
8709
8710 2003-02-07  John Levon  <levon@movementarian.org>
8711
8712         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8713
8714 2003-02-05  Angus Leeming  <leeming@lyx.org>
8715
8716         * lyxserver.C (read_ready): revert my patch of 11 September last year
8717         as it sends PC cpu through the roof. Presumably this means that
8718         the lyxserver will no longer run on an Alpha...
8719
8720 2003-01-30  Angus Leeming  <leeming@lyx.org>
8721
8722         * factory.C (createInset): create an InsetCommandParam of type "index"
8723         and use it to 'do the right thing'.
8724
8725         * text2.C (getStringToIndex): ensure that cursor position is always
8726         reset to the reset_cursor position.
8727
8728 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8729
8730         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8731         disabled.
8732
8733 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8734
8735         * bufferview.C:
8736         * lyxcb.C:
8737         * lyxfunc.C: Output messages with identical spelling, punctuation,
8738         and spaces
8739
8740 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8741
8742         * MenuBackend.C (expandFormats): List only viewable export formats
8743         in "View" menu
8744
8745         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8746         message
8747
8748         * lyxfunc.C (getStatus): Make sure that formats other than
8749         "fax" can also be disabled
8750
8751 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8752
8753         * text3.C (dispatch): put the lfuns that insert insets in 3
8754         groups, and call doInsertInset with appropriate arguments.
8755         (doInsertInset): new function, that creates an inset and inserts
8756         it according to some boolean parameters.
8757
8758 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * buffer.C (readFile): remember to pass on 'par' when calling
8761         readFile recursively.
8762
8763 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8764
8765         * MenuBackend.C (expandFormats): add "..." to import formats.
8766
8767 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8768
8769         * paragraph.C (asString): Remove XForms RTL hacks.
8770
8771 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8772         * buffer.C: fix typo
8773
8774 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * Makefile.am (LIBS): delete var
8777         (lyx_LDADD): add @LIBS@ here instead.
8778
8779 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8780
8781         * Clarify the meaning of "wheel mouse jump"
8782
8783 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8784
8785         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8786         tabular in a float
8787
8788 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * importer.C (Loaders): do not preallocate 3 elements in the
8791         vector, since one ends up with 6 elements otherwise
8792
8793 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8794
8795         * DepTable.C (write): write the file name as last element of the
8796         .dep file (because it may contain spaces)
8797         (read): read info in the right order
8798
8799 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8800
8801         * paragraph_pimpl.C (simpleTeXBlanks):
8802         (simpleTeXSpecialChars):
8803         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8804
8805         * tabular.C (latex): add some missing case statements. Reindent.
8806
8807         * MenuBackend.C (expandToc): remove unused variable.
8808
8809 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8810
8811         * LColor.C:
8812         * LaTeX.C:
8813         * LyXAction.C:
8814         * MenuBackend.C:
8815         * buffer.C:
8816         * exporter.C:
8817         * lyxfunc.C:
8818         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8819         and the like.
8820
8821 2003-01-05  John Levon  <levon@movementarian.org>
8822
8823         * BufferView.h:
8824         * BufferView.C: add getEncoding()
8825
8826         * kbsequence.h:
8827         * kbsequence.C: do not store last keypress
8828
8829         * lyxfunc.h:
8830         * lyxfunc.C: store last keypress here instead. Pass encoding
8831           to getISOEncoded()
8832
8833 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8834
8835         * lyx_main.C (init): remove annoying error message when following
8836         symbolic links (bug #780)
8837
8838 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8839
8840         * text.C (insertChar):
8841         * lyxrc.C (getDescription): remove extra spaces
8842
8843 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8844
8845         * lyxrc.C (getDescription): remove extra spaces
8846
8847 2002-12-20  John Levon  <levon@movementarian.org>
8848
8849         * text3.C: hack fix for page up/down across tall rows
8850
8851 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8852
8853         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8854         not been invoked
8855
8856 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8857
8858         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8859         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8860         thesaurus is not compiled in
8861
8862 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8863
8864         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8865
8866 2002-12-16  Angus Leeming  <leeming@lyx.org>
8867
8868         * lyxrc.[Ch]:
8869         * lyx_main.C (init): remove override_x_deadkeys stuff.
8870
8871 2002-12-12  John Levon  <levon@movementarian.org>
8872
8873         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8874           insert. Only remove shift modifier under strict
8875           circumstances.
8876
8877 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8878
8879         * MenuBackend.C (expandToc): fix crash.
8880
8881 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * MenuBackend.C (expandToc): gettext on float names.
8884
8885 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8886
8887         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8888         implement bool empty() [bug 490]
8889
8890 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8893
8894 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8895
8896         * several files: ws changes
8897
8898 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8899
8900         * text2.C (setCounter): clean up a bit, use boost.format.
8901         (updateCounters): initialize par upon declaration.
8902
8903         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8904         if the layout exists. We do not just store the layout any more.
8905         (SwitchLayoutsBetweenClasses): use boost.format
8906
8907 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8908
8909         * converter.C (convert): if from and to files are the same, use a
8910         temporary files as intermediary
8911
8912 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8913
8914         * commandtags.h:
8915         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8916
8917 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8920
8921 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8922
8923         * tabular.C (asciiPrintCell): use string(size, char) instead of
8924         explicit loop.
8925
8926         * sgml.C (openTag): fix order of arguments to string constructor
8927         (closeTag): ditto
8928
8929         * lyxfunc.C (dispatch): use boost.format
8930
8931         * lots of files: change "c" -> 'c'
8932
8933 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8934
8935         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8936
8937 2002-11-25  Angus Leeming  <leeming@lyx.org>
8938
8939         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8940
8941         * lyx_main.C (init): compile fix.
8942
8943 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * lyx_cb.C (start): boost.formatify
8946         do not include <iostream>
8947
8948         * lengthcommon.C: ws only
8949
8950         * boost-inst.C,BoostFormat.h: add more explict instantations
8951
8952 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8953
8954         * lots of files: handle USE_BOOST_FORMAT
8955
8956 2002-11-21  John Levon  <levon@movementarian.org>
8957
8958         * pspell.C: fix compile
8959
8960 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8961
8962         * lyxfunc.C (dispatch): use boost::format
8963         (open): ditto
8964         (doImport): ditto
8965
8966         * lyxfont.C (stateText): use boost::format
8967
8968         * lyx_main.C (LyX): use boost::format
8969         (init): ditto
8970         (queryUserLyXDir): ditto
8971         (readRcFile): ditto
8972         (parse_dbg): ditto
8973         (typedef boost::function): use the recommened syntax.
8974
8975         * importer.C (Import): use boost::format
8976
8977         * debug.C (showLevel): use boost::format
8978
8979         * converter.C (view): use boost::format
8980         (convert): ditto
8981         (move): ditto
8982         (scanLog): ditto
8983
8984         * bufferview_funcs.C (currentState): use boost::format
8985
8986         * bufferlist.C (emergencyWrite): use boost::format
8987
8988         * buffer.C (readLyXformat2): use boost::format
8989         (parseSingleLyXformat2Token): ditto
8990
8991         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8992
8993         * LaTeX.C (run): use boost::format
8994
8995         * Chktex.C (scanLogFile): use boost::format
8996
8997         * BufferView_pimpl.C (savePosition): use boost::format
8998         (restorePosition): ditto
8999         (MenuInsertLyXFile): ditto
9000
9001         * BoostFormat.h: help file for explicit instation.
9002
9003 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * tabular.C (latex): Support for block alignment in fixed width
9006         columns.
9007
9008 2002-11-17  John Levon  <levon@movementarian.org>
9009
9010         * BufferView_pimpl.C:
9011         * lyx_cb.C:
9012         * lyxfunc.C: split filedialog into open/save
9013
9014 2002-11-08  Juergen Vigna  <jug@sad.it>
9015
9016         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9017         by my last patch (hopefully).
9018
9019 2002-11-08  John Levon  <levon@movementarian.org>
9020
9021         * iterators.h:
9022         * iterators.C:
9023         * buffer.h:
9024         * buffer.C:
9025         * paragraph.h:
9026         * paragraph.C:
9027         * toc.h:
9028         * toc.C: ParConstIterator, and use it (from Lars)
9029
9030 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9031
9032         * lyxtextclass.[Ch]: revise and add doxygen comments
9033
9034 2002-11-07  John Levon  <levon@movementarian.org>
9035
9036         * text.C: fix progress value for spellchecker
9037
9038         * toc.C: fix navigate menu for insetwrap inside minipage
9039
9040         * paragraph_funcs.C: added FIXME for suspect code
9041
9042 2002-11-07  John Levon  <levon@movementarian.org>
9043
9044         * BufferView_pimpl.C: fix redrawing of insets
9045           on buffer switch
9046
9047 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9048
9049         * text2.C (updateCounters): fix bug 668
9050
9051 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9052
9053         * text3.C (dispatch): Do not make the buffer dirty when moving the
9054         cursor.
9055
9056 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9057
9058         * vc-backend.C: STRCONV
9059         (scanMaster): ditto
9060
9061         * text2.C (setCounter): STRCONV
9062
9063         * paragraph.C (asString): STRCONV
9064
9065         * lyxlength.C (asString): STRCONV
9066         (asLatexString): ditto
9067
9068         * lyxgluelength.C (asString): STRCONV
9069         (asLatexString): ditto
9070
9071         * lyxfunc.C (dispatch): STRCONV
9072         (open): ditto
9073
9074         * lyxfont.C (stateText): STRCONV
9075
9076         * importer.C (Import): STRCONV
9077
9078         * counters.C (labelItem): STRCONV
9079         (numberLabel): ditto
9080         (numberLabel): remove unused ostringstream o
9081
9082         * chset.C: STRCONV
9083         (loadFile): ditto
9084
9085         * bufferview_funcs.C (currentState): STRCONV
9086
9087         * buffer.C (readFile): STRCONV
9088         (asciiParagraph): ditto
9089         (makeLaTeXFile): ditto
9090
9091         * Spacing.C (writeEnvirBegin): STRCONV
9092
9093         * LaTeXFeatures.C (getLanguages): STRCONV
9094         (getPackages): ditto
9095         (getMacros): ditto
9096         (getBabelOptions): ditto
9097         (getTClassPreamble): ditto
9098         (getLyXSGMLEntities): ditto
9099         (getIncludedFiles): ditto
9100
9101         * LaTeX.C: STRCONV
9102         (run): ditto
9103         (scanAuxFile): ditto
9104         (deplog): ditto
9105
9106         * LString.h: add the STRCONV macros
9107
9108         * BufferView_pimpl.C (savePosition): STRCONV
9109         (restorePosition): ditto
9110         (MenuInsertLyXFile): ditto
9111
9112         * vc-backend.C (scanMaster): change from submatch[...] to
9113         submatch.str(...)
9114
9115         * funcrequest.C: include config.h
9116
9117         * factory.C: include config.h
9118
9119         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9120
9121         * box.C: include config.h
9122
9123         * LaTeX.C (scanAuxFile): change from submatch[...] to
9124         submatch.str(...)
9125         (deplog): ditto
9126
9127 2002-10-25  Angus Leeming  <leeming@lyx.org>
9128
9129         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9130
9131         * ispell.[Ch] (setError): new method.
9132         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9133         Use setError() insetead of goto END.
9134
9135         * lyx_cb.C (AutoSave): move out child process into new class
9136         AutoSaveBuffer.
9137
9138 2002-10-30  John Levon  <levon@movementarian.org>
9139
9140         * text3.C: make start appendix undoable
9141
9142 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * lyxlength.C (inPixels): Fix returned value.
9145
9146         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9147         environment.
9148
9149 2002-10-24  Angus Leeming  <leeming@lyx.org>
9150
9151         * lyxgluelength.h: no need to forward declare BufferParams
9152         or BufferView, so don't.
9153
9154 2002-10-21  John Levon  <levon@movementarian.org>
9155
9156         * BufferView.C: menuUndo ->undo, redo
9157
9158         * BufferView.h: document, remove dead, make some methods private
9159
9160         * paragraph_funcs.h:
9161         * paragraph_funcs.C:
9162         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9163
9164         * buffer.h:
9165         * buffer.C:
9166         * sgml.h:
9167         * sgml.C: move sgml open/close tag into sgml.C
9168
9169         * bufferview_funcs.h: unused prototype
9170
9171         * lyxfunc.h:
9172         * lyxfunc.C: remove unused
9173
9174         * lyxtext.h:
9175         * text.C: remove unused
9176
9177 2002-10-21  John Levon  <levon@movementarian.org>
9178
9179         * BufferView.h:
9180         * BufferView.C:
9181         * BufferView_pimpl.h:
9182         * BufferView_pimpl.C: fix mouse wheel handling based on
9183           patch from Darren Freeman
9184
9185 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9186
9187         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9188
9189 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9190
9191         * lyxlength.C (inPixels): Fix hanfling of negative length.
9192         Fix LyXLength::MU case.
9193
9194 2002-10-16  John Levon  <levon@movementarian.org>
9195
9196         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9197
9198 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * converter.C (view): add support for $$i (file name) and $$p
9201         (file path) for the viewer command. If $$i is not specified, then
9202         it is appended to the command (for compatibility with old syntax)
9203
9204 2002-10-14  Juergen Vigna  <jug@sad.it>
9205
9206         * undo_funcs.C (textHandleUndo): alter the order in which the
9207         new undopar is added to the LyXText, as we have to set first
9208         the right prev/next and then add it as otherwise the rebuild of
9209         LyXText is not correct. Also reset the cursor to the right paragraph,
9210         with this IMO we could remove the hack in "redoParagraphs()".
9211
9212 2002-10-09  Angus Leeming  <leeming@lyx.org>
9213
9214         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9215         to turn off an optimisation if a new inset is to be inserted.
9216
9217 2002-10-11 André Pönitz <poenitz@gmx.net>
9218
9219         * lyxtext.h: make some functions public to allow access
9220         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9221
9222 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9223
9224         * text3.C (dispatch): when changing layout, avoid an infinite loop
9225         [bug #652]
9226
9227 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9228
9229         * lyxrc.C (read): treat a viewer or converter command of "none" as
9230         if it were empty.
9231
9232         * MenuBackend.C (expandFormats): for an update, also allow the
9233         formats that are not viewable
9234
9235         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9236         script if it is newer than the lyxrc.defaults in user directory
9237
9238 2002-10-07 André Pönitz <poenitz@gmx.net>
9239
9240         * text.C: Vitaly Lipatov's small i18n fix
9241
9242 2002-09-25  Angus Leeming  <leeming@lyx.org>
9243
9244         * ispell.h: doxygen fix.
9245
9246 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * buffer.h (readFile): Add a new argument to the method, to allow
9249         reading of old-format templates.
9250
9251 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9252
9253         * toc.C (getTocList): Get TOC from InsetWrap.
9254
9255 2002-09-16  John Levon  <levon@movementarian.org>
9256
9257         * lyxfunc.C: check tabular for cut/copy too
9258
9259 2002-09-12  John Levon  <levon@movementarian.org>
9260
9261         * LyXAction.C: tidy
9262
9263         * factory.h:
9264         * factory.C: add header
9265
9266         * paragraph_funcs.h:
9267         * paragraph_funcs.C: cleanup
9268
9269 2002-09-11  John Levon  <levon@movementarian.org>
9270
9271         * PrinterParams.h: odd/even default to true
9272
9273 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9274
9275         * PrinterParams.h: update printer parameters for new xforms dialog
9276
9277 2002-09-11  Angus Leeming  <leeming@lyx.org>
9278
9279         * lyxserver.C (read_ready): re-write to make it more transparent
9280         and to make it work in coherent fashion under Tru64 Unix.
9281
9282 2002-09-11  André Pönitz <poenitz@gmx.net>
9283
9284         * commandtags.h:
9285         * LyXAction.C:
9286         * text3.C: implement LFUN_WORDSEL
9287
9288 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9289
9290         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9291         make floatlist_ a boost::shared_ptr<FloatList>
9292
9293         * lyxtextclass.C: include FloatList.h
9294         (LyXTextClass): initialize floatlist_
9295         (TextClassTags): add TC_NOFLOAT
9296         (Read): match "nofloat" to TC_NOFLOAT and use it.
9297         (readFloat): modify call to floatlist_
9298         (floats): ditto
9299         (floats): ditto
9300
9301         * FloatList.[Ch] (FloatList): remove commented out float
9302         initialization.
9303         (erase): new function
9304
9305 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9306
9307         * MenuBackend.C (expandToc): fix crash when there is no document
9308         open
9309
9310 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9311
9312         * many files: Add insetwrap.
9313
9314 2002-09-09  John Levon  <levon@movementarian.org>
9315
9316         * text2.C: remove confusing and awkward depth wraparound
9317
9318 2002-09-09  John Levon  <levon@movementarian.org>
9319
9320         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9321
9322         * buffer.h:
9323         * buffer.C: remove getIncludeonlyList()
9324
9325         * paragraph.C:
9326         * lyxfunc.C: remove headers
9327
9328 2002-09-09  Juergen Vigna  <jug@sad.it>
9329
9330         * text.C (getColumnNearX): fix form Michael this is most
9331         probably a cut&paste bug.
9332
9333 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9336
9337         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9338         references, ws changes.
9339
9340         * text2.C (init): update counters after init
9341         (insertParagraph): no need to set counter on idividual paragraphs.
9342         (setCounter): access the counters object in the textclass object
9343         on in the buffer object.
9344         (updateCounters): ditto
9345
9346         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9347         shared_ptr<Counters> to avoid loading counters.h in all
9348         compilation units.
9349         (LyXTextClass): initialize ctrs_
9350         (TextClassTags): add TC_COUNTER, and ...
9351         (Read): use it here.
9352         (CounterTags): new tags
9353         (readCounter): new function
9354         (counters): new funtion
9355         (defaultLayoutName): return a const reference
9356
9357         * counters.C (Counters): remove contructor
9358         (newCounter): remove a couple of unneeded statements.
9359         (newCounter): simplify a bit.
9360         (numberLabel): some small formatting changes.
9361
9362         * buffer.[Ch]: remove all traces of counters, move the Counters
9363         object to the LyXTextClass.
9364
9365 2002-09-06  Alain Castera  <castera@in2p3.fr>
9366
9367         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9368         package to set the horizontal alignment on fixed width columns.
9369
9370         * lyx_sty.C:
9371         * lyx_sty.h: added tabularnewline macro def.
9372
9373         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9374
9375 2002-09-06  John Levon  <levon@movementarian.org>
9376
9377         * LyXAction.C: tooltips for sub/superscript
9378
9379         * MenuBackend.C: a bit more verbose
9380
9381         * lyxfunc.C: tiny clean
9382
9383         * undo_funcs.C: document undo_frozen
9384
9385 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9386
9387         * counters.C (Counters): add missing algorithm counter.
9388
9389         * text2.C (setCounter): lookup the counter with layouts latexname
9390         instead of by section number.
9391         (setCounter): use a hackish way to lookup the correct enum
9392         counter.
9393         a float name->type change
9394         reset enum couners with counter name directly instead of depth value.
9395
9396         * counters.C (Counters): remove the push_backs, change to use the
9397         float type not the float name.
9398         (labelItem): remove unused string, float name->type change
9399
9400         * counters.h: don't include vector, loose the enums and sects vectors
9401
9402 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9403
9404         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9405         (Read): add float->TC_FLOAT to textclassTags
9406         (Read): and handle it in the switch
9407         (readFloat): new function
9408
9409         * FloatList.C (FloatList): comment out the hardcoded float
9410         definitions.
9411
9412         * lyxlayout.h: ws change.
9413
9414 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9415
9416         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9417
9418 2002-09-03  Angus Leeming  <leeming@lyx.org>
9419
9420         * BufferView_pimpl.h: qualified name is not allowed in member
9421         declaration: WorkArea & Pimpl::workarea() const;
9422
9423         * factory.C: added using std::endl directive.
9424
9425         * text3.C: added using std::find and std::vector directives.
9426
9427 2002-08-29  André Pönitz <poenitz@gmx.net>
9428
9429         * lyxtext.h:
9430         * text2.C: remove unused member number_of_rows
9431
9432         * Makefile.am:
9433         * BufferView2.C: remove file, move contents to...
9434         * BufferView.C: ... here
9435
9436         * BufferView_pimpl.C:
9437         * factory.C: move more inset creation to factory
9438
9439         * vspace.C: avoid direct usage of LyXText, ws changes
9440
9441         * BufferView.[Ch]:
9442                 don't provide direct access to WorkArea, use two simple
9443                 acessors haveSelction() and workHeight() instead
9444
9445
9446 2002-08-29  John Levon  <levon@movementarian.org>
9447
9448         * BufferView_pimpl.C (dispatch): do not continue when
9449           no buffer
9450
9451 2002-08-28  André Pönitz <poenitz@gmx.net>
9452
9453         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9454
9455         * BufferView.h:
9456         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9457
9458 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9459
9460         * buffer.C: increment LYX_FORMAT to 221
9461
9462         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9463         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9464
9465         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9466
9467         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9468
9469 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9470
9471         * factory.C (createInset): use LyXTextClass::floats
9472
9473         * MenuBackend.C (expandFloatListInsert):
9474         (expandFloatInsert):
9475         (expandToc):
9476
9477         * text2.C (setCounter):
9478
9479         * LaTeXFeatures.C (useFloat):
9480         (getFloatDefinitions):
9481
9482         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9483
9484         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9485         floatlist_, with accessor floats().
9486
9487         * FloatList.h: remove global FloatList
9488
9489 2002-08-26  André Pönitz <poenitz@gmx.net>
9490
9491         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9492
9493         * BufferView.h:
9494         * BufferView2.C:
9495         * BufferView_pimpl.C:
9496         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9497
9498 2002-08-25  John Levon  <levon@movementarian.org>
9499
9500         * LyXAction.C: fix margin note description
9501
9502 2002-08-24  John Levon  <levon@movementarian.org>
9503
9504         * buffer.C:
9505         * bufferlist.C:
9506         * bufferview_funcs.C:
9507         * lyxfont.C:
9508         * undo_funcs.C: cleanups
9509
9510         * lyxfunc.C: disable CUT/COPY when no selection
9511
9512 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9513
9514         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9515         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9516
9517         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9518         Add backward compatibility to "mono", "gray" and "no".
9519
9520 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9523         (and file_format >= 200).
9524
9525 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9528
9529 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9532
9533 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9534
9535         * BufferView_pimpl.C:
9536         * LyXAction.C:
9537         * buffer.C:
9538         * commandtags.h:
9539         * lyxfunc.C:
9540         * paragraph.[Ch]:
9541         * text2.C:
9542         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9543         inset and code to make it  work with the paragraph code. The inset
9544         can be anywhere in the paragraph, but will only do the expected
9545         thing in LaTeX if the layout file contains the parameter line
9546                         OptionalArgs    1
9547         (or more generally, a nonzero value) for that layout.
9548
9549 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * paragraph.h: remove the declaration of undefined counters class
9552         function.
9553
9554 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9555
9556         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9557         Dr. Richard Hawkins.
9558
9559 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9560
9561         * paragraph_funcs.h: remove some unneeded includes
9562
9563         * text.C (backspace): pasteParagraph now in global scipe
9564
9565         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9566         (pasteSelection): ditto
9567
9568         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9569         * paragraph_funcs.C (pasteParagraph): ... here
9570
9571 2002-08-20  André Pönitz <poenitz@gmx.net>
9572
9573         * commandtags.h: new LFUNs for swapping/copying table row/colums
9574
9575         * LyXAction.C:
9576         * lyxfunc.C: support for new lfuns
9577
9578 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9579
9580         * tabular.C:
9581         * buffer.[Ch]: remove NO_COMPABILITY stuff
9582
9583 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9584
9585         * boost.C (throw_exception): new file, with helper function for
9586         boost compiled without exceptions.
9587
9588         * paragraph.h:
9589         * lyxlength.C:
9590         * buffer.C:
9591         * ParameterStruct.h:
9592         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9593
9594         * bufferlist.C (emergencyWriteAll): use boost bind
9595
9596         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9597
9598         * text.C: include paragraph_funcs.h
9599         (breakParagraph): breakParagraph is now in global scope
9600
9601         * paragraph_funcs.[Ch]: new files
9602
9603         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9604         global scope
9605
9606         * buffer.C: include paragraph_funcs.h
9607         (insertStringAsLines): breakParagraph is now in global scope
9608
9609         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9610         paragraph_funcs.C
9611
9612         * CutAndPaste.C: include paragraph_funcs.h
9613         (cutSelection): breakParagraphConservative is now in global scope
9614         (pasteSelection): ditto
9615
9616         * buffer.h: declare oprator== and operator!= for
9617         Buffer::inset_iterator
9618
9619         * bufferlist.C (emergencyWrite): don't use fmt(...)
9620
9621         * text3.C: add using std::endl
9622
9623         * BufferView.C (moveCursorUpdate): remove default arg
9624
9625 2002-08-20  André Pönitz <poenitz@gmx.net>
9626
9627         * buffer.[Ch]: move inline functions to .C
9628
9629         * BufferView2.C:
9630         * BufferView_pimpl.C:
9631         * text.C:
9632         * buffer.[Ch]: use improved inset_iterator
9633
9634         * buffer.C:
9635         * paragraph.[Ch]: write one paragraph at a time
9636
9637 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9638
9639         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9640         style if style is not specified.
9641
9642 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * text2.C (setCounter): when searching for right label for a
9645         caption, make sure to recurse to parent insets (so that a caption
9646         in a minipage in a figure float works) (bug #568)
9647
9648 2002-08-20  André Pönitz <poenitz@gmx.net>
9649
9650         * text3.C: new file for LyXText::dispatch() and helpers
9651
9652         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9653
9654         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9655
9656 2002-08-19  André Pönitz <poenitz@gmx.net>
9657
9658         * lyxtext.h:
9659         * text.C: new LyXText::dispatch()
9660
9661         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9662
9663 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9664
9665         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9666
9667         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9668         Hebrew text.
9669
9670 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9671
9672         * Makefile.am: use $(variables) instead of @substitutions@
9673
9674 2002-08-15  André Pönitz <poenitz@gmx.net>
9675
9676         * lyxfunc.C:
9677         * BufferView_pimpl.C: streamlining mathed <-> outer world
9678         interaction
9679
9680         * commandtags.h:
9681         * LyXAction.C: remove unused LFUN_MATH
9682
9683 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9684
9685         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9686
9687 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9688
9689         * paragraph.C (Paragraph): reformat a bit
9690         (cutIntoMinibuffer): use builtin InsetList function instad of
9691         doing it manually.
9692         (getInset): ditto
9693
9694         * buffer.C: include boost/bind.hpp, add using std::for_each
9695         (writeFileAscii): use ParagraphList iterators
9696         (validate): use for_each for validate traversal of paragraphs
9697         (getBibkeyList): use ParagraphList iterators
9698         (resizeInsets): use for_each to resizeInsetsLyXText for all
9699         paragraphs.
9700         (getParFromID): use ParagraphList iterators
9701
9702         * BufferView2.C (lockInset): use paragraph list and iterators
9703
9704 2002-08-14  John Levon  <levon@movementarian.org>
9705
9706         * lyxserver.C: remove spurious xforms include
9707
9708 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9711
9712 2002-08-13  André Pönitz <poenitz@gmx.net>
9713
9714         * LyXAction.[Ch]:
9715         * lyxfunc.C: further cleaning
9716
9717 2002-08-13  André Pönitz <poenitz@gmx.net>
9718
9719         * funcrequest.h: new constructor
9720
9721         * funcrequest.C: move stuff here from .h
9722
9723         * Makefile.am:
9724         * BufferView_pimpl.C:
9725         * LyXAction.C:
9726         * toc.C:
9727         * lyxfunc.C: subsequent changes
9728
9729         * lyxfunc.h: new view() member function
9730
9731         * lyxfunc.C: subsequent changes
9732
9733 2002-08-13  Angus Leeming  <leeming@lyx.org>
9734
9735         * BufferView2.C:
9736         * BufferView_pimpl.C:
9737         * buffer.C:
9738         * converter.C:
9739         * importer.C:
9740         * lyxfunc.C:
9741         * lyxvc.C:
9742         * toc.C:
9743         * vc-backend.C:
9744         changes due to the changed LyXView interface that now returns references
9745         to member variables not pointers.
9746
9747 2002-08-13  Angus Leeming  <leeming@lyx.org>
9748
9749         * WordLangTuple (word, lang_code): return references to strings,
9750         not strings.
9751
9752         * BufferView.h:
9753         * SpellBase.h:
9754         * lyxtext.h: forward-declare WordLangTuple.
9755
9756         * BufferView2.C:
9757         * ispell.C:
9758         * pspell.C:
9759         * text.C: #include "WordLangTuple.h".
9760
9761         * lyxtext.h:
9762         * text.C: (selectNextWordToSpellcheck): constify return type.
9763
9764 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9765
9766         * buffer.C:
9767         * buffer.h:
9768         * lyxtext.h:
9769         * paragraph.C:
9770         * paragraph_pimpl.h:
9771         * text.C:
9772         * text2.C:
9773         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9774         suggested by Angus.
9775         Made updateCounter always count from start of buffer, and removed
9776         second argument (par).
9777         Reverted floats number display to '#'. Perhaps I'll try again when the
9778         code base is sanitized a bit.
9779
9780 2002-08-12  Angus Leeming  <leeming@lyx.org>
9781
9782         * buffer.[Ch] (getLabelList): constify.
9783
9784 2002-08-07  André Pönitz <poenitz@gmx.net>
9785
9786         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9787
9788         * funcrequest.h: extension to keep mouse (x,y) position
9789
9790 2002-08-12  Juergen Vigna  <jug@sad.it>
9791
9792         * BufferView2.C (insertErrors): forbid undo when inserting error
9793         insets.
9794
9795         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9796
9797 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9798
9799         * ParagraphList.[Ch]: new files
9800
9801         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9802
9803         * BufferView2.C (lockInset): ParagraphList changes
9804         * toc.C: ditto
9805         * text2.C: ditto
9806         * bufferlist.C: ditto
9807         * buffer.h: ditto
9808         * buffer.C: ditto
9809
9810 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9813         unused class variable counter_,
9814
9815         * paragraph.[Ch] (getFirstCounter): delete unused function
9816
9817         * counters.C: include LAssert.h
9818         (reset): add a new function with no arg, change other version to
9819         not have def. arg and to not allow empty arg.
9820
9821         * text2.C (setCounter): remove empty arg from call to Counters::reset
9822
9823 2002-08-11  John Levon  <levon@movementarian.org>
9824
9825         * Makefile.am: add WordLangTuple.h
9826
9827 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9828
9829         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9830         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9831
9832         * insets/insettext.C: InsetList changes
9833
9834         * graphics/GraphicsSupport.C (operator()): InsetList changes
9835
9836         * toc.C (getTocList): InsetList changes
9837
9838         * paragraph_pimpl.[Ch]: InsetList changes
9839
9840         * paragraph.[Ch]: InsetList changes
9841
9842         * buffer.C (inset_iterator): InsetList changes
9843         (setParagraph): ditto
9844         * buffer.h (inset_iterator): ditto
9845         * iterators.C (operator++): ditto
9846         * iterators.h: ditto
9847
9848         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9849
9850         * InsetList.[Ch]: new files, most InsetList handling moved out of
9851         paragraph.C.
9852
9853         * BufferView2.C (removeAutoInsets): InsetList changes
9854         (lockInset): ditto
9855         (ChangeInsets): ditto
9856
9857 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9858
9859         * paragraph_pimpl.h (empty): new function
9860
9861         * paragraph.[Ch] (empty): new function
9862
9863         * other files: use the new Paragraph::empty function
9864
9865 2002-08-09  John Levon  <levon@movementarian.org>
9866
9867         * lyxtext.h: remove unused refresh_height
9868
9869 2002-08-09  John Levon  <levon@movementarian.org>
9870
9871         * Makefile.am:
9872         * sgml.h:
9873         * sgml.C:
9874         * buffer.C:
9875         * paragraph.h:
9876         * paragraph.C: move sgml char escaping out of paragraph
9877
9878         * paragraph.h:
9879         * paragraph.C: remove id setter
9880
9881         * buffer.C:
9882         * paragraph.C:
9883         * paragraph_pimpl.C: remove dead tex_code_break_column
9884
9885         * bufferview_funcs.C: small cleanup
9886
9887         * lyxfunc.C: remove dead proto
9888
9889         * lyxtext.h: make some stuff private. Remove some dead stuff.
9890
9891         * lyxgluelength.C: make as[LyX]String() readable
9892
9893 2002-08-08  John Levon  <levon@movementarian.org>
9894
9895         * LyXAction.h:
9896         * LyXAction.C:
9897         * MenuBackend.C:
9898         * ToolbarDefaults.C:
9899         * lyxfunc.C:
9900         * lyxrc.C:
9901         * toc.C: lyxaction cleanup
9902
9903 2002-08-08  John Levon  <levon@movementarian.org>
9904
9905         * BufferView2.C: small cleanup
9906
9907         * lyxfind.h:
9908         * lyxfind.C: move unnecessary header into the .C
9909
9910 2002-08-08  John Levon  <levon@movementarian.org>
9911
9912         * funcrequest.h: just tedious nonsense
9913
9914         * lyx_main.h:
9915         * lyx_main.C: cleanups
9916
9917         * buffer.C:
9918         * vspace.C: remove dead header lyx_main.h
9919
9920 2002-08-07  Angus Leeming  <leeming@lyx.org>
9921
9922         * Paragraph.[Ch]:
9923         * paragraph_pimpl.h:
9924         Forward declare class Counters in paragraph.h by moving the ctrs member
9925         variable into Paragraph::Pimpl.
9926         (counters): new method, returning a reference to pimpl_->ctrs.
9927
9928         * text2.C: ensuing changes.
9929
9930 2002-08-07  John Levon  <levon@movementarian.org>
9931
9932         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9933
9934         * BufferView_pimpl.C: announce X selection on double/triple
9935           click
9936
9937         * lyx_main.C: use correct bool in batch dispatch
9938
9939         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9940
9941 2002-08-07  André Pönitz <poenitz@gmx.net>
9942
9943         * funcrequest.h: new class to wrap a kb_action and its argument
9944
9945         * BufferView.[Ch]:
9946         * BufferView_pimpl[Ch]:
9947         * LaTeX.C:
9948         * LyXAction.[Ch]:
9949         * lyxfunc.[Ch]:
9950         * lyxrc.C: subsequent changes
9951
9952
9953 2002-08-07  John Levon  <levon@movementarian.org>
9954
9955         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9956           document options change.
9957
9958 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9959
9960         * counters.[Ch]
9961         * text2.C
9962         * paragraph.[Ch]
9963         * makefile.am: move counters functionality over from
9964         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9965
9966 2002-08-06  John Levon  <levon@movementarian.org>
9967
9968         * WordLangTuple.h: new file for word + language code tuple
9969
9970         * SpellBase.h:
9971         * pspell.h:
9972         * pspell.C:
9973         * ispell.h:
9974         * ispell.C:
9975         * lyxtext.h:
9976         * text.C:
9977         * text2.C:
9978         * BufferView.h:
9979         * BufferView2.C: use WordLangTuple
9980
9981         * layout.h:
9982         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9983
9984 2002-08-06  John Levon  <levon@movementarian.org>
9985
9986         * lyx_main.C: fix cmdline batch handling
9987
9988 2002-08-06  André Pönitz <poenitz@gmx.net>
9989
9990         * lyxrc.C: set default for show_banner to true
9991
9992 2002-08-06  John Levon  <levon@movementarian.org>
9993
9994         * pspell.C: fix a crash, and allow new aspell to work
9995
9996 2002-08-06  John Levon  <levon@movementarian.org>
9997
9998         * lyxfunc.C:
9999         * kbmap.C: small cleanup
10000
10001         * vspace.h:
10002         * vspace.C: add const
10003
10004 2002-08-05  John Levon  <levon@movementarian.org>
10005
10006         * LyXAction.C: back to tabular-insert
10007
10008 2002-08-04  John Levon  <levon@movementarian.org>
10009
10010         * BufferView.h:
10011         * BufferView.C: cosmetic change
10012
10013         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10014
10015         * bufferlist.C:
10016         * buffer.h:
10017         * buffer.C:
10018         * lyxcb.h:
10019         * lyxcb.C:
10020         * lyxserver.C:
10021         * lyxvc.C:
10022         * vc-backend.C:
10023         * BufferView2.C: purge all "Lyx" not "LyX" strings
10024
10025         * lyxcursor.h:
10026         * lyxcursor.C: attempt to add some documentation
10027
10028         * lyxfunc.C:
10029         * commandtags.h:
10030         * LyXAction.C:
10031         * ToolbarDefaults.C:
10032         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10033           merge with LFUN_TABULAR_INSERT
10034
10035         * Makefile.am:
10036         * SpellBase.h:
10037         * ispell.h:
10038         * ispell.C:
10039         * pspell.h:
10040         * pspell.C: split up i/pspell implementations into separate
10041           files, many cleanups
10042
10043         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10044
10045         * text2.C: some cleanup
10046
10047         * lyxfunc.C: don't check for isp_command == "none" any more, it
10048           didn't make any sense
10049
10050 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10051
10052         * counters.[Ch]
10053         * text2.C
10054         * paragraph.[Ch]
10055         * makefile.am: move counters functionality over
10056         from text2.C/paragraph.[Ch] to counters.[Ch], and
10057         make proper C++.
10058 2002-08-02  John Levon  <levon@movementarian.org>
10059
10060         * buffer.C: s/lyxconvert/lyx2lyx/
10061
10062 2002-08-02  Angus Leeming  <leeming@lyx.org>
10063
10064         * lyxlex.C: revert John's change as it breaks reading of the user
10065         preamble.
10066
10067 2002-08-02  Angus Leeming  <leeming@lyx.org>
10068
10069         * importer.C (Import):
10070         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10071         changes due to LyXView::view() now returning a boost::shared_ptr.
10072
10073 2002-08-02  John Levon  <levon@movementarian.org>
10074
10075         * lyxlex.C: small cleanup
10076
10077 2002-08-02  John Levon  <levon@movementarian.org>
10078
10079         * text2.C (status): small cleanup, no logic change
10080
10081 2002-08-01  John Levon  <levon@movementarian.org>
10082
10083         * buffer.h:
10084         * buffer.C (writeFile): don't output alerts, caller
10085           handles this
10086
10087         * bufferlist.C:
10088         * lyx_cb.C: from above
10089
10090         * lyxfunc.C: allow to open non-existent files
10091
10092 2002-07-31  John Levon  <levon@movementarian.org>
10093
10094         * lyxserver.C: don't let incidental errors get
10095           in the way (errno)
10096
10097 2002-07-30  John Levon  <levon@movementarian.org>
10098
10099         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10100
10101 2002-07-30  John Levon  <levon@movementarian.org>
10102
10103         * lyxserver.h:
10104         * lyxserver.C: remove I/O callback too
10105
10106 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10109         log.
10110
10111 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10112
10113         * many files: strip,frontStrip -> trim,ltrim,rtrim
10114
10115 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10116
10117         * PrinterParams.h: remove extern containsOnly, and include
10118         support/lstrings.h instead.
10119
10120         * LaTeX.C (scanAuxFile): modify because of strip changes
10121         (deplog): ditto
10122         * buffer.C (makeLaTeXFile): ditto
10123         * bufferparams.C (writeFile): ditt
10124         * lyxfont.C (stateText): ditto
10125         * lyxserver.C (read_ready): ditto
10126         * vc-backend.C (scanMaster): ditto
10127
10128         * BufferView_pimpl.h: ws changes
10129
10130         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10131
10132 2002-07-26  André Pönitz <poenitz@gmx.net>
10133
10134         * kb_sequence.C: remove unnedred usings
10135
10136 2002-07-26  Juergen Vigna  <jug@sad.it>
10137
10138         * lyxfind.C (LyXReplace): we have to check better if the returned
10139         text is not of theLockingInset()->getLockingInset().
10140
10141 2002-07-25  Juergen Vigna  <jug@sad.it>
10142
10143         * lyxfind.C (LyXReplace): don't replace if we don't get the
10144         right LyXText.
10145
10146         * undo_funcs.C (createUndo): remove debugging code.
10147
10148 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10149
10150         * buffer.C (parseSingleLyXformat2Token): Use default placement
10151         when reading old floats.
10152
10153         * FloatList.C (FloatList): Change the default placement of figure
10154         and tables to "tbp".
10155
10156 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * MenuBackend.C: using std::max
10159
10160 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * MenuBackend.C (expandToc):
10163         (expandToc2): code moved from xforms menu frontend. It is now
10164         generic and TOCs are transparent to menu frontends.
10165
10166 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * toc.C (getTocList): protect against buf=0
10169
10170         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10171         Menu as first parameter. Now, this calls itself recursively to
10172         expand a whole tree (this will be useful for TOC handling)
10173         (expandFloatInsert): remove 'wide' version of floats
10174
10175         * MenuBackend.h (submenuname): returns the name of the submenu.
10176         (submenu): returns the submenu itself, provided it has been
10177         created by MenuBackend::expand
10178
10179 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10182         insets which have noFontChange == true. (bug #172)
10183
10184 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10185
10186         * BufferView_pimpl.C: add connection objects and use them...
10187         (Pimpl): here.
10188
10189 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * MenuBackend.C (expandLastfiles):
10192         (expandDocuments):
10193         (expandFormats):
10194         (expandFloatListInsert):
10195         (expandFloatInsert):
10196         (expand): split expand in parts
10197
10198 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * lyx_gui.C: use lyx_gui::exit()
10201
10202 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * LyXAction.C: show the failing pseudo action
10205
10206 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * buffer.C (readFile): Run the lyxconvert script in order to read
10209         old files.
10210
10211 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * LyXAction.C:
10214         * commandtags.h:
10215         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10216
10217 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * LyXAction.C:
10220         * commandtags.h:
10221         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10222
10223 2002-07-22  Herbert Voss  <voss@lyx.org>
10224
10225         * lengthcommon.C:
10226         * lyxlength.[Ch]: add support for the vertical lengths
10227
10228 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * toc.[Ch]: std:: fixes
10231
10232 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10233
10234         * lyxrc.C: do not include lyx_main.h
10235
10236         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10237         for layouts
10238
10239         * lyxrc.C:
10240         * encoding.C:
10241         * bufferlist.C:
10242         * BufferView2.C: include "lyxlex.h"
10243
10244         * tabular.h:
10245         * bufferparams.h: do not #include "lyxlex.h"
10246
10247         * lyxtextclasslist.C (Add): remove method
10248         (classlist): renamed to classlist_
10249
10250         * paragraph_pimpl.C:
10251         * paragraph.C:
10252         * text2.C:
10253         * CutAndPaste.C:
10254         * bufferview_funcs.C:
10255         * bufferlist.C:
10256         * text.C:
10257         * LaTeXFeatures.C:
10258         * buffer.C:
10259         * toc.C (getTocList): use BufferParams::getLyXTextClass
10260
10261         * toc.C (getTocList): use InsetFloat::addToToc
10262
10263         * toc.[Ch]: new files, containing helper functions to handle table
10264         of contents
10265
10266         * lyxfunc.C (dispatch): no need to remove spaces around command
10267         given as a string
10268         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10269         first command of the sequence; it is not very clever, but I do not
10270         have a better idea, actually
10271
10272         * LyXAction.C (LookupFunc): make sure to remove space at the
10273         beginning and end of the command
10274
10275 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * MenuBackend.C (getMenubar): new method: return the menubar of
10278         this menu set
10279         (read): treat differently reading of menu and menubar (in
10280         particular, the menubar has no name now)
10281         (Menu::menubar): remove
10282
10283         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10284         saving is finished
10285
10286 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10287
10288         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10289         a bibitem inset in a RTL paragraph.
10290
10291 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * paragraph_pimpl.C: constify
10294
10295         * BufferView_pimpl.C:
10296         * LaTeX.C:
10297         * lyxfunc.C: fix dispatch in a nicer way
10298
10299 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * lyxfunc.C (dispatch):
10302         * BufferView_pimpl.C:
10303         * BufferView_pimpl.h:
10304         * BufferView.C:
10305         * BufferView.h: rename Dispatch() to dispatch()
10306
10307         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10308
10309         * lyxlayout.C (Read): honor DependsOn tag
10310
10311         * lyxlayout.[Ch] (depends_on): new method
10312
10313         * version.C.in: update lyx_docversion
10314
10315         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10316
10317         * paragraph.C (validate): remove from here...
10318         * paragraph_pimpl.C (validate): ... and move here
10319         (isTextAt): make it const
10320
10321         * buffer.C (getLists): ws cleanup
10322
10323 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10324
10325         * language.C (read): Use iso8859-1 encoding in latex_lang
10326         (this prevents LyX from crashing when using iso10646-1 encoding).
10327
10328 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * text2.C (toggleInset): if cursor is inside an inset, close the
10331         inset and leave cursor _after_ it
10332
10333 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * lyxfunc.C: move minibuffer completion handling out of here
10336
10337 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * BufferView_pimpl.C:
10340         * LaTeX.C: fix dispatch calls
10341
10342 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10343
10344         * text.C (drawChars): Fix Arabic text rendering.
10345
10346 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * LyXAction.C:
10349         * commandtags.h:
10350         * lyxfunc.C: remove message-push/pop
10351
10352         * lyxserver.C:
10353         * lyxfunc.h:
10354         * lyxfunc.C: rationalise some code by removing verboseDispatch
10355           in favour of a bool argument to dispatch()
10356
10357 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * lyx_main.C (init): make sure to read symlinks as absolute paths
10360
10361 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxfunc.h:
10364         * lyxfunc.C: no need for commandshortcut to be a member
10365
10366 2002-07-15  André Pönitz <poenitz@gmx.net>
10367
10368         * converter.C: add support for $$s (scripts from lib/scripts dir)
10369         * lyx_main.C: white space
10370
10371 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * bufferlist.C:
10374         * lyxrc.h:
10375         * lyxrc.C: remove second exit confirmation
10376
10377 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * BufferView.h:
10380         * BufferView.C:
10381         * BufferView2.C:
10382         * BufferView_pimpl.h:
10383         * BufferView_pimpl.C:
10384         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10385
10386 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * MenuBackend.C (expand): add numeric shortcuts to document menu
10389
10390         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10391
10392 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * lyxfont.C (setLyXFamily):
10395         (setLyXSeries):
10396         (setLyXShape):
10397         (setLyXSize):
10398         (setLyXMisc):
10399         (lyxRead):
10400         * debug.C (value):
10401         * buffer.C (asciiParagraph): use ascii_lowercase
10402
10403 2002-07-15  Mike Fabian  <mfabian@suse.de>
10404
10405         * lyxlex_pimpl.C (search_kw):
10406         * lyxlex.C (getLongString):
10407         * converter.h (operator<):
10408         * converter.C (operator<):
10409         * buffer.C (parseSingleLyXformat2Token):
10410         (asciiParagraph):
10411         * ToolbarDefaults.C (read):
10412         * MenuBackend.C (checkShortcuts):
10413         (read):
10414         * LColor.C (getFromGUIName):
10415         (getFromLyXName): use the compare_ascii_no_case instead of
10416         compare_no_case, because in turkish, 'i' is not the lowercase
10417         version of 'I', and thus turkish locale breaks parsing of tags.
10418
10419 2002-07-16  Angus Leeming  <leeming@lyx.org>
10420
10421         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10422         now takes a Buffer const & argument.
10423
10424 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView.C (resize): check there's a buffer to resize
10427
10428 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * lyxfunc.C: remove dead code
10431
10432         * lyxserver.h:
10433         * lyxserver.C: use lyx_guii::set_read_callback
10434
10435 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10438         an inset in a RTL paragraph.
10439
10440 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * lyxfunc.C: repaint after a font size update
10443
10444 2002-07-15  André Pönitz <poenitz@gmx.net>
10445
10446         * lyxlength.C: inBP should be able to return negative values
10447
10448 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * lyxfunc.C: use lyx_gui::update_fonts()
10451
10452 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * lyxfunc.C: use lyx_gui::update_color()
10455
10456 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * bufferlist.C:
10459         * lyxfunc.h:
10460         * lyxfunc.C:
10461         * lyxrc.h:
10462         * lyxrc.C: remove file->new asks for name option, and let
10463           buffer-new take an argument
10464
10465 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView_pimpl.C: remove unneeded extra repaint()
10468
10469 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * LyXAction.C: allow command-sequence with NoBuffer
10472
10473         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10474
10475 2002-07-10  Angus Leeming  <leeming@lyx.org>
10476
10477         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10478
10479 2002-07-09  Angus Leeming  <leeming@lyx.org>
10480
10481         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10482
10483 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * lengthcommon.h: whitespace
10486
10487         * lyxfunc.C: update scrollbar after goto paragraph
10488
10489         * lyxtext.h: factor out page break drawing, and fix it so
10490           page break/added space paints as selected nicely
10491
10492 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * BufferView_pimpl.C: add FIXMEs, clean up a little
10495
10496 2002-07-09  André Pönitz <poenitz@gmx.net>
10497
10498         * lyxfont.[Ch]: support for wasy symbols
10499
10500 2002-07-08  André Pönitz <poenitz@gmx.net>
10501
10502         * BufferView_pimpl.C: apply John's patch for #93.
10503
10504 2002-07-05  Angus Leeming  <leeming@lyx.org>
10505
10506         * BufferView_pimpl.C (buffer): generate previews if desired.
10507
10508         * LColor.h: add "preview" to the color enum.
10509
10510         * LColor.C (LColor): add a corresponding entry to the items array.
10511
10512         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10513         with this buffer.
10514
10515 2002-07-05  Angus Leeming  <leeming@lyx.org>
10516
10517         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10518         The body of the code is now in the method that is passed an ostream &
10519         rather than a file name.
10520         Pass an additional only_preamble parameter, useful for the forthcoming
10521         preview stuff.
10522
10523 2002-07-03  André Pönitz <poenitz@gmx.net>
10524
10525         * lyxfunc.C: simplify getStatus() a bit for math stuff
10526
10527 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10530
10531 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * text.C (changeRegionCase): do not change case of all the
10534         document when region ends at paragraph end (bug #461)
10535
10536 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10537
10538         * paragraph.C (startTeXParParams):
10539         (endTeXParParams): add \protect when necessary
10540
10541 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * BufferView_pimpl.C (workAreaExpose): remove warning
10544
10545 2002-06-27  Angus Leeming  <leeming@lyx.org>
10546
10547         * Makefile.am: add lyxlayout_ptr_fwd.h.
10548
10549 2002-06-26  André Pönitz <poenitz@gmx.net>
10550
10551         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10552
10553 2002-06-25  Angus Leeming  <leeming@lyx.org>
10554
10555         * lyxfunc.C (dispatch): Comment out the call to
10556         grfx::GCache::changeDisplay. The method no longer exists now that the
10557         pixmap generation part of the graphics loader has been moved into
10558         InsetGraphics.
10559
10560 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10561
10562         * text2.C: layout as layout
10563
10564         * text.C: layout as layout
10565
10566         * tabular.C (OldFormatRead): layout as layout
10567
10568         * paragraph_pimpl.C (TeXDeeper): layout as layout
10569         (realizeFont): layout as layout
10570
10571         * paragraph.C (writeFile): layout as layout
10572         (validate): layout as layout
10573         (getFont): layout as layout
10574         (getLabelFont): layout as layout
10575         (getLayoutFont): layout as layout
10576         (breakParagraph): layout as layout
10577         (stripLeadingSpaces): layout as layout
10578         (getEndLabel): layout as layout
10579         (getMaxDepthAfter): layout as layout
10580         (applyLayout): layout as layout
10581         (TeXOnePar): layout as layout
10582         (simpleTeXOnePar): layout as layout
10583         (TeXEnvironment): layout as layout
10584         (layout): layout as layout
10585         (layout): layout as layout
10586
10587         * lyxtextclass.C (compare_name): new functor to work with
10588         shared_ptr, layout as layout
10589         (Read): layout as layout
10590         (hasLayout): layout as layout
10591         (operator): layout as layout
10592         (delete_layout): layout as layout
10593         (defaultLayout): layout as layout
10594
10595         * lyxlayout_ptr_fwd.h: new file
10596
10597         * lyxlayout.C (Read): layout as layout
10598
10599         * lyx_cb.C (MenuInsertLabel): layout as layout
10600
10601         * bufferlist.C (newFile): layout as layout
10602
10603         * buffer.C (readLyXformat2): layout as layout
10604         (parseSingleLyXformat2Token): layout as layout
10605         (insertStringAsLines): layout as layout
10606         (asciiParagraph): layout as layout
10607         (latexParagraphs): layout as layout
10608         (makeLinuxDocFile): layout as layout
10609         (simpleLinuxDocOnePar): layout as layout
10610         (makeDocBookFile): layout as layout
10611         (simpleDocBookOnePar): layout as layout
10612         (getLists): layout as layout
10613
10614         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10615
10616         * CutAndPaste.C (cutSelection): layout as layout
10617         (pasteSelection): layout as layout
10618         (SwitchLayoutsBetweenClasses): layout as layout
10619
10620         * BufferView_pimpl.C (Dispatch): layout as layout
10621         (smartQuote): layout as layout
10622
10623         * BufferView2.C (unlockInset): layout as layout
10624
10625 2002-06-24  André Pönitz <poenitz@gmx.net>
10626
10627         * lyxfunc.C: fix #487
10628
10629 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * lyxrc.h:
10632         * lyxrc.C:
10633         * lyxfunc.C: remove display_shortcuts, show_banner
10634
10635 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * Buffer_pimpl.C: oops, update on resize
10638
10639 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * buffer.C:
10642         * converter.C:
10643         * exporter.C:
10644         * lyxfunc.C:
10645         * BufferView.h:
10646         * BufferView.C: use repaint()
10647
10648         * BufferView_pimpl.h:
10649         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10650           as it's a clearer description. Remove superfluous
10651           redraws.
10652
10653 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * text.C: fix bug 488. Not ideal, but getting
10656           getWord() to work properly for the insets that
10657           matter is more difficult ...
10658
10659 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView_pimpl.C:
10662         * LyXAction.C:
10663         * commandtags.h:
10664         * lyxfunc.C: remove the six million index lyxfuncs to just
10665           one, and DTRT (bug 458)
10666
10667 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * BufferView.h:
10670         * BufferView.C:
10671         * BufferView_pimpl.h:
10672         * BufferView_pimpl.C: clean up resize() stuff,
10673           and unnecessary updateScreen()s
10674
10675 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView.h:
10678         * BufferView.C:
10679         * BufferView_pimpl.h:
10680         * BufferView_pimpl.C:
10681         * lyxfind.h:
10682         * lyxfind.C:
10683         * minibuffer.C: remove focus management of workarea,
10684           not needed. Use screen's greyOut()
10685
10686 2002-06-17  Herbert Voss  <voss@lyx.org>
10687
10688         * converter.C: (convert) do not post a message, when converting
10689         fails, let the calling function decide what to do in this case
10690
10691 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * lyxfunc.C: tidy up a little
10694
10695 2002-06-16    <alstrup@diku.dk>
10696
10697         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10698         Got rid of FORMS_H_LOCATION include. Now we are
10699         GUII.
10700
10701 2002-06-15  LyX Development team  <lyx@rilke>
10702
10703         * buffer.[Ch] (sgmlOpenTag):
10704         (sgmlCloseTag): Added support for avoiding pernicious mixed
10705         content. Return number of lines written.
10706
10707         (makeLinuxDocFile):
10708         (makeDocBookFile): Fixed calls to sgml*Tag.
10709         Simple white space clean.
10710
10711         (simpleDocBookOnePar): Simple white space clean.
10712
10713         * tabular.[Ch] (docBook): Renamed to docbook and got another
10714         argument to related with the pernicious mixed content.
10715
10716         (docbookRow): Fixed calls for docbook inset method.
10717
10718 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10719
10720         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10721         so it's X11 independent.
10722
10723         * kb*.[Ch]: ditto.
10724
10725         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10726
10727 2002-06-15  Lyx Development team  <lyx@electronia>
10728
10729         * intl.h: Renamed getTrans to getTransManager.
10730
10731 2002-06-14  Angus Leeming  <leeming@lyx.org>
10732
10733         * Makefile.am: nuke forgotten stl_string_fwd.h.
10734
10735 2002-06-12  Angus Leeming  <leeming@lyx.org>
10736
10737         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10738
10739 2002-06-13  Angus Leeming  <leeming@lyx.org>
10740
10741         * LaTeX.C:
10742         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10743
10744 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10745
10746         * kbmap.C (getiso): add support for cyrillic and greek
10747
10748 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * BufferView.h:
10751         * BufferView.C:
10752         * BufferView_pimpl.h:
10753         * BufferView_pimpl.C: move bogus scrolling logic
10754           to xforms
10755
10756 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyxfunc.C:
10759         * BufferView_pimpl.C: view->resize() change
10760
10761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView_pimpl.C: topCursorVisible
10764           prototype change
10765
10766 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * Makefile.am:
10769         * lyx_gui.h:
10770         * lyx_gui.C: move to frontends/
10771
10772         * main.C:
10773         * lyx_main.h:
10774         * lyx_main.C: changes from above
10775
10776 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * intl.C:
10779         * intl.h:
10780         * kbmap.C:
10781         * kbsequence.C:
10782         * lyx_cb.C:
10783         * lyx_main.C: minor tidy
10784
10785 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * BufferView_pimpl.h:
10788         * BufferView_pimpl.C:
10789         * BufferView.h:
10790         * BufferView.C: make painter() const,
10791           remove dead code
10792
10793         * BufferView2.C: use screen() accessor
10794
10795         * lyx_main.h:
10796         * lyx_main.C: some minor cleanup
10797
10798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * BufferView_pimpl.h:
10801         * BufferView_pimpl.C: remove enter/leaveView,
10802           use workHeight()
10803
10804 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * BufferView.h:
10807         * BufferView.C:
10808         * BufferView2.C:
10809         * BufferView_pimpl.h:
10810         * BufferView_pimpl.C: only construct screen once,
10811           rename
10812
10813         * lyxrc.C: remove pointless comment
10814
10815 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10816
10817         * BufferView.h:
10818         * BufferView.C: remove active() and belowMouse()
10819
10820         * BufferView_pimpl.h:
10821         * BufferView_pimpl.C: use workarea() not workarea_,
10822           and make it use a scoped_ptr instead
10823
10824 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * lyx_gui.C: add debug message on BadWindow
10827
10828 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * sp_spell.C: fdopen is not part of the C++ standard.
10831
10832         * paragraph.C (InsetIterator): use >= instead of ==
10833
10834 2002-06-07  Angus Leeming  <leeming@lyx.org>
10835
10836         Fixes needed to compile with Compaq cxx 6.5.
10837         * BufferView_pimpl.C:
10838         * DepTable.C:
10839         * buffer.C:
10840         * converter.C:
10841         * encoding.C:
10842         * lyx_gui.C:
10843         * lyx_main.C:
10844         * lyxtextclasslist.C:
10845         * minibuffer.C:
10846         * sp_spell.C:
10847         * tabular_funcs.C:
10848         * vc-backend.C:
10849         all c-library variables have been moved into namespace std. Wrap
10850         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10851
10852         * lyxlength.C:
10853         * tabular-old.C:
10854         * tabular.C:
10855         Add a using std::abs declaration.
10856
10857         * kbmap.h (modifier_pair):
10858         * paragraph.h (InsetTable, InsetList):
10859         * lyxfont.h (FontBits):
10860         type definition made public.
10861
10862         * bufferlist.C (emergencyWriteAll): the compiler complains that
10863         there is more than one possible lyx::class_fun template to choose from.
10864         I re-named the void specialisation as lyx::void_class_fun.
10865
10866         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10867
10868         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10869         the compiler is is unable to find tostr in write_attribute.
10870
10871 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * buffer.C (sgmlError): hide #warning
10874
10875 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10876
10877         * xtl/*: get rid of xtl, which is not in use anyway
10878
10879         * LyXAction.C (init):
10880         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10881         were unimplemented xtl experimentation
10882
10883 2002-06-04  André Pönitz <poenitz@gmx.net>
10884
10885         * lyxfunc.C: disable array operation on simple formulae
10886
10887 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * converter.C: constify a bit
10890
10891 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * lyx_gui.C: check xforms version correctly
10894
10895 2002-04-30  Herbert Voss  <voss@lyx.org>
10896
10897         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10898         "keep" option
10899
10900 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10903           attempt to register it with a VCS)
10904
10905 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * lyx_main.C (init): honor variables LYX_DIR_13x and
10908         LYX_USERDIR_13x
10909
10910 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10911
10912         * buffer.h:
10913         * buffer.C:
10914         * lyx_main.C: fix a crash on bad command line,
10915           and give a useful exit status on error
10916
10917         * lyxfunc.C (doImport): allow -i lyx to work
10918
10919 2002-03-30  André Pönitz <poenitz@gmx.net>
10920
10921         * lyxfunc.C: mathed font changes
10922
10923 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * LaTeX.C:
10926         * importer.h:
10927         * importer.C:
10928         * lyx_sty.h:
10929         * lyx_sty.C:
10930         * lyxlex.C:
10931         * lyxrow.h:
10932         * lyxtext.h:
10933         * paragraph.h:
10934         * paragraph.C:
10935         * texrow.h:
10936         * texrow.C:
10937         * text.C:
10938         * trans_mgr.h: srcdocs, and some minor cleanups
10939
10940 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10941
10942         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10943         call getFont all the time)
10944
10945 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10946
10947         * switch from SigC signals to boost::signals
10948
10949 2002-05-29  André Pönitz <poenitz@gmx.net>
10950
10951         * paragraph_pimpl.C (getChar): don't call size() too often...
10952
10953 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * paragraph_pimpl.C (insertChar): do not try to update tables when
10956         appending (pos == size())
10957
10958         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10959         in order to reduce drastically the number of comparisons needed to
10960         parse a large document
10961
10962 2002-05-29  André Pönitz <poenitz@gmx.net>
10963
10964         * text.C:
10965         * text2.C:
10966         * lyxtextclass.C:
10967         * sp_pspell.h:
10968         * textclasslist.[Ch]:
10969         * sp_ispell.h: whitespace change
10970
10971 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10972
10973         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10974         lyxaction directly now.
10975
10976 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * trans.C:
10979         * lyxfont.C:
10980         * lyxvc.C: remove unused headers
10981
10982 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * Makefile.am:
10985         * buffer.h:
10986         * undostack.h:
10987         * undostack.C:
10988         * undo_funcs.h:
10989         * undo_funcs.C: some cleanups. Use shared_ptr
10990           and a template for the undo stacks.
10991
10992 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * BufferView_pimpl.h:
10995         * BufferView_pimpl.C:
10996         * kbmap.h:
10997         * kbmap.C:
10998         * kbsequence.h:
10999         * kbsequence.C:
11000         * lyxfunc.h:
11001         * lyxfunc.C:
11002         * text2.C: use key_state/mouse_state
11003
11004 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005
11006         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11007         and LSubstring
11008
11009         * chset.C: change include order
11010         (loadFile): use boost regex and get rid of LRegex and LSubstring
11011
11012         * Makefile.am (BOOST_LIBS): new variable
11013         (lyx_LDADD): use it
11014
11015         * LaTeX.C: change include order.
11016         (scanAuxFile): use boost regex and get rid of LRegex and
11017         LSubstring
11018         (deplog): ditto
11019
11020 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * ColorHandler.h:
11023         * ColorHandler.C:
11024         * FontInfo.h:
11025         * FontInfo.C: moved to frontends/xforms/
11026
11027         * FontLoader.h:
11028         * FontLoader.C: moved into frontends for GUIIzation
11029
11030         * Makefile.am:
11031         * lyx_gui.C:
11032         * lyxfont.C:
11033         * lyxfunc.C: changes from above
11034
11035 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * LColor.C: remove spurious X include
11038
11039         * BufferView_pimpl.C:
11040         * Makefile.am:
11041         * font.h:
11042         * font.C:
11043         * text.C:
11044         * text2.C: move font metrics to frontends/
11045
11046 2002-05-24  Juergen Vigna  <jug@sad.it>
11047
11048         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11049         setting the undo_cursor.
11050
11051         * ParagraphParameters.h: include local includes first.
11052
11053 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * BufferView_pimpl.C:
11056         * BufferView_pimpl.h:
11057         * Makefile.am:
11058         * WorkArea.h:
11059         * WorkArea.C:
11060         * screen.C: move WorkArea into frontends/
11061
11062         * lyxscreen.h:
11063         * screen.C:
11064         * text.C:
11065         * BufferView.C:
11066         * BufferView2.C: move LyXScreen into frontends/
11067
11068         * lyxlookup.h:
11069         * lyxlookup.C:
11070         * lyx_gui.C: move lyxlookup into frontends/xforms/
11071
11072 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * BufferView2.C:
11075         * BufferView_pimpl.C:
11076         * FontLoader.C:
11077         * LyXView.h:
11078         * LyXView.C:
11079         * Makefile.am:
11080         * WorkArea.C:
11081         * XFormsView.h:
11082         * XFormsView.C:
11083         * buffer.C:
11084         * bufferlist.C:
11085         * bufferview_funcs.C:
11086         * converter.C:
11087         * importer.C:
11088         * lyx_cb.C:
11089         * lyx_gui.C:
11090         * lyx_main.C:
11091         * lyx_find.C:
11092         * lyxfunc.C:
11093         * lyxvc.C:
11094         * minibuffer.C:
11095         * text.C:
11096         * text2.C:
11097         * trans.C:
11098         * vc-backend.C: move LyX/XFormsView into frontends/
11099
11100 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * Makefile.am:
11103         * PainterBase.C:
11104         * PainterBase.h:
11105         * Painter.C:
11106         * Painter.h:
11107         * WorkArea.C:
11108         * WorkArea.h:
11109         * screen.C:
11110         * tabular.C:
11111         * text.C:
11112         * text2.C: move Painter to frontends/
11113
11114 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * buffer.C: comment out some some code that depend upon lyx_format
11117         < 220
11118
11119         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11120         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11121
11122         * buffer.h (NO_COMPABILITY): turn off compability
11123
11124         * ColorHandler.C: include scoped_array.hpp
11125
11126         * font.C: Use more specific smart_ptr header.
11127         * Painter.C: ditto
11128         * gettext.C: ditto
11129         * ShareContainer.h: ditto
11130         * lyx_main.h: ditto
11131         * kbmap.h: ditto
11132         * FontInfo.h: ditto
11133         * BufferView_pimpl.h: ditto
11134         * ColorHandler.h: ditto
11135
11136         * kbmap.C (defkey): change call to shared_ptr::reset
11137
11138 2002-05-21  Juergen Vigna  <jug@sad.it>
11139
11140         * buffer.C (insertErtContents): fix to insert ert asis if it is
11141         non empty. Skip it completely if it contains only whitespaces.
11142
11143 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * BufferView_pimpl.C:
11146         * BufferView2.C: clear selection on paste (bug 393)
11147
11148 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11149
11150         * DepTable.C: include ctime
11151
11152 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11153
11154         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11155
11156 2002-05-14  Juergen Vigna  <jug@sad.it>
11157
11158         * text.C (breakParagraph): fixed function to honor the keepempty
11159         layout in the right maner and also to permit the right breaking
11160         algorithm on empty or non empyt keepempty paragraphs.
11161
11162         * paragraph.C (breakParagraph): we have to check also if the par
11163         is really empty (!size()) for isempty otherwise we do the wrong
11164         paragraph break.
11165
11166 2002-05-10  Juergen Vigna  <jug@sad.it>
11167
11168         * buffer.[Ch] : The following are only changes to the ert
11169         compatibility read reading old LaTeX layout and font stuff and
11170         convert it to ERTInsets.
11171
11172         * buffer.h: added isErtInset().
11173
11174         * buffer.C (struct ErtComp): add a fromlayout bool to check
11175         if we're inside a LaTeX layout.
11176         (isErtInset): new helper function.
11177         (insertErtContents): look for other ert insets before this one
11178         and insert the contents there, so that we don't have subsequent
11179         ERT insets with nothing between them. This way we create only one
11180         inset with multiple paragraphs. Also check if we don't insert only
11181         spaces ' ' as they are ignored anyway afterwards in the .tex file
11182         so if we have only spaces we will ignore this latex part in the
11183         new file.
11184         (parseSingleLyXformat2Token \\layout): better compatibility when
11185         reading layout-latex stuff.
11186         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11187         language tag.
11188         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11189         stuff after reading the inset only get the information back from
11190         the stack.
11191
11192 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11193
11194         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11195
11196         * LaTeXFeatures.C (getBabelOptions): New method.
11197
11198 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * BufferView_pimpl.C (Dispatch): work around missing argument for
11201         'layout'
11202
11203 2002-05-08  Juergen Vigna  <jug@sad.it>
11204
11205         * text.C (leftMargin): handle paragraph leftindent.
11206
11207         * paragraph.C (writeFile): write the new \\leftindent tag.
11208         (validate): handle leftindent code.
11209         (TeXEnvironment): handle paragraphleftindent code again.
11210
11211         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11212
11213         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11214         for paragrap_extra indent code and new token \\leftindent.
11215         (latexParagraphs): handle the leftindent as environment.
11216
11217         * ParameterStruct.h: added leftindent support.
11218
11219         * ParagraphParameters.C (leftIndent): added support functions for
11220         the paragraph left indent.
11221
11222         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11223         more appropriate.
11224
11225 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11228         inside insetERT.
11229
11230         * text.C (computeBidiTables): No bidi in insetERT.
11231
11232         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11233         in RTL documents.
11234
11235 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * version.C.in: pre 5
11238
11239 2002-05-02  José Matos  <jamatos@fep.up.pt>
11240         * buffer.C (makeDocBookFile): white space changes, add newline to
11241         command styles.
11242         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11243
11244         * tabular.C (docBook): fix typo.
11245
11246 2002-05-03  Juergen Vigna  <jug@sad.it>
11247
11248         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11249         change in LyXText as we can not be sure it was not freed.
11250         (drawOneRow): remove unused code.
11251
11252         * text.C (drawInset): redo the calculation of the need_break_row as
11253         it could have a row which was already freed.
11254         (draw): look at the return value of drawInset and return false if
11255         it also returned false.
11256         (paintRowText): look at the return value of draw and return false if
11257         it also returned false.
11258
11259         * lyxtext.h: added bool return type to drawInset() and draw() so that
11260         if we have a change in the row so that the rowbreak has to be redone
11261         we abort drawing as it will be called again.
11262
11263 2002-05-02  Juergen Vigna  <jug@sad.it>
11264
11265         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11266         a change in the maintext also if we're inside an inset.
11267         (Dispatch): set the cursor again after a break line and after the
11268         screen has been updated as it could be we're in a different row.
11269
11270         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11271         to set the cursor behind the pargraph with > size().
11272         (setCursor): check also for the same paragraph when checking where
11273         to put the cursor if we have a NFR inset.
11274
11275         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11276         parts of layout read further up as it still was in the wrong
11277         position.
11278
11279 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * screen.C (drawFromTo): change sine fullRebreak always return
11282         true.
11283
11284         * buffer.C (parseSingleLyXformat2Token): reindent some
11285
11286         * BufferView_pimpl.C (update): change since fullRebreak always
11287         return true.
11288         (Dispatch): git rid of the last hardcoded "Standard"s.
11289
11290 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11291
11292         * text2.[Ch] (fullRebreak): make it return void now that we always
11293         returned true.
11294
11295 2002-04-30  Juergen Vigna  <jug@sad.it>
11296
11297         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11298         ert compatibility check for "latex" layout.
11299
11300 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11301
11302         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11303         minipages: use col% instead of p%, and also use the current font.
11304         (makeLaTeXFile): Fix use babel condition.
11305         (parseSingleLyXformat2Token): Correct font when reading old floats.
11306
11307 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11310         inserting list of floats.
11311
11312 2002-04-25  Herbert Voss  <voss@lyx.org>
11313
11314         * MenuBackend.C (expand): don't add the graphics extensions to the
11315         export menu
11316
11317 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11320         non-existing layout, do not complain if it was the default layout
11321         of the original class (bug #342)
11322
11323 2002-04-24  Juergen Vigna  <jug@sad.it>
11324
11325         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11326         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11327
11328 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         * buffer.C (getBibkeyList): If using \bibliography, return the
11331         option field with the reference itself. Enables us to provide natbib
11332         support when using \bibliography.
11333
11334 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11335
11336         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11337
11338         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11339         natbib is provided by the LaTeX class.
11340
11341 2002-04-23  Juergen Vigna  <jug@sad.it>
11342
11343         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11344         Wakeup functions.
11345
11346         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11347
11348 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11351
11352         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11353         ensuremath around textordmasculine, textordfeminine and
11354         textdegree.
11355
11356 2002-04-19  Juergen Vigna  <jug@sad.it>
11357
11358         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11359         reinitializing the buffer otherwise row-dimensions may be wrong.
11360         (update): reset also the selection cursors if they do exits otherwise
11361         their x/y positions may be wrong.
11362
11363         * text2.C (cursorDown): don't enter the inset if we came from a row
11364         above and are one row over the inset.
11365
11366         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11367         really leaving an inset.
11368
11369 2002-04-18  Juergen Vigna  <jug@sad.it>
11370
11371         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11372         of the selected paragraph does not have the selected layout also if
11373         the last one had!
11374
11375         * text2.C (setLayout): fixed bug which did not change last selected
11376         paragraph.
11377
11378         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11379         changed the read and substituted \\end_float with \\end_inset!
11380
11381         * BufferView_pimpl.C (cursorPrevious):
11382         (cursorNext): fixed to make it work with rows heigher than the work
11383         area without moving the cursor only the draw of the row.
11384         (workAreaMotionNotify): fix jumping over high rows.
11385
11386 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11389         Ressler.
11390
11391 2002-04-16  Juergen Vigna  <jug@sad.it>
11392
11393         * text2.C (setCursor): set also the irow().
11394         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11395         (cursorUp):
11396         (cursorDown): support for locking an inset if the x_fix value goes
11397         inside it. That way I can transverse insets too with cursor up/down.
11398
11399         * lyxrow.h: added irow helper function same as other (i) functions.
11400
11401         * BufferView_pimpl.C (cursorPrevious):
11402         (cursorNext): fixed for insets!
11403
11404 2002-04-15  Juergen Vigna  <jug@sad.it>
11405
11406         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11407         position otherwise it is wrong in some cases.
11408
11409         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11410         inside the inset before the call.
11411
11412 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * buffer.[Ch] (getBibkeyList): make it const.
11415
11416 2002-04-12  Juergen Vigna  <jug@sad.it>
11417
11418         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11419
11420         * text2.C (getCursorX): new helper function
11421         (setCursor): compute also ix_
11422         (setCursorFromCoordinates): set also ix.
11423
11424         * lyxcursor.h: added ix_ and helper functions.
11425
11426         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11427
11428         * buffer.C (insertStringAsLines): dont break paragraph if the this
11429         paragraph is inside an inset which does not permit it!
11430
11431         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11432         also with no chars on this paragraph.
11433         (paintRowText): only paint stuff if it's inside the workarea!
11434
11435         * paragraph.C (breakParagraph): honor keepempty flag and break the
11436         paragraph always below not above.
11437
11438         * BufferView2.C (unlockInset): update the paragraph layout on inset
11439         unlock as we changed paragraph in such a case.
11440
11441         * lyxfind.C (LyXFind): clear the former selection if not found!
11442
11443         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11444         again called in insertChar().
11445
11446         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11447         an inset which uses the whole row!
11448         (rightMargin): ditto.
11449         (insertChar): force a rebreak if we inserted an inset!
11450
11451 2002-03-28  Herbert Voss  <voss@lyx.org>
11452
11453         * lyxlength.[Ch]: add inBP() to get the right PS-point
11454         units (BigPoint). With inPixels we have rounding errors
11455
11456 2002-04-11  Juergen Vigna  <jug@sad.it>
11457
11458         * text2.C (setCursorFromCoordinates): set iy to the right value.
11459         (setCursor): add check if row->previous exists!
11460
11461         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11462         an old float_type as this was the case in the old code!
11463
11464         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11465
11466         * BufferView2.C (showLockedInsetCursor): use iy
11467         (fitLockedInsetCursor): ditto
11468
11469         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11470         locked insets as there we have the right value now.
11471
11472         * lyxcursor.C: added iy_ variable and iy functions to set to the
11473         baseline of cursor-y of the locked inset.
11474
11475         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11476         (setCursor): fixed for insets which need a full row.
11477
11478         * text.C (rowLastPrintable): don't ignore the last space when before
11479         an inset which needs a full row.
11480         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11481         as last character of a row when before a inset which needs a full row.
11482
11483 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * version.C.in: update date
11486
11487         * text2.C (fullRebreak): try to always return true and see what
11488         happens...
11489
11490 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * MenuBackend.C (expand): use Floating::listName
11493
11494         * FloatList.C (FloatList): add listName argument to the built-in
11495         floats
11496
11497         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11498         text associated with the float.
11499
11500 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11501
11502         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11503
11504 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11505
11506         * ShareContainer.h: add a couple of missing typenames.
11507
11508 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11509
11510         * lyxrc.C (getDescription): use _() correctly rather than N_().
11511
11512 2002-03-28  Herbert Voss  <voss@lyx.org>
11513
11514         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11515         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11516
11517 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11520         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11521
11522 2002-03-29  Juergen Vigna  <jug@sad.it>
11523
11524         * lyxfunc.C (dispatch): add a missing fitCursor call.
11525
11526         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11527         it was scrolled by a cursor move, so return the bool status.
11528
11529         * BufferView.C (fitCursor): return the bool flag also to the outside
11530         world as this is needed.
11531
11532         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11533
11534         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11535         call the edit() as it is not needed (and wrong) IMO.
11536         (workAreaButtonPress): set the screen_first variable before evt.
11537         unlock the inset as this may change screen_first and then we have
11538         a wrong y position for the click!
11539
11540 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11541
11542         * MenuBackend.C (expand): another translation that I missed
11543
11544 2002-03-28  Juergen Vigna  <jug@sad.it>
11545
11546         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11547
11548         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11549
11550 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11553
11554         * MenuBackend.C (expand): fix export/view/update when there is no
11555         document open.
11556
11557 2002-03-27  Herbert Voss  <voss@lyx.org>
11558
11559         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11560         and text%
11561
11562 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * bufferview_funcs.C (currentState): only show paragraph number
11565         for is DEVEL_VERSION is set.
11566
11567         * lyxfunc.C (dispatch): put warning in INFO channel
11568
11569         * MenuBackend.C (expand): translate the name of floats
11570
11571         * FloatList.C (FloatList): mark the float names for translation
11572
11573         * converter.C (convert): use LibScriptSearch
11574
11575 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * MenuBackend.C (defaults): fix default menu (we might as well get
11578         rid of it...)
11579
11580 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11583         directory.
11584
11585 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * lyxvc.C: reorder includes.
11588
11589 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11592           properly
11593
11594 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * CutAndPaste.C: change layouts earlier on paste
11597           to avoid crashing when calling getFont()
11598
11599 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11600
11601         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11602         irritating #error.
11603
11604 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * WorkArea.C: remove 'Pending' debug message.
11607
11608         * most files: ws cleanup
11609
11610         * buffer.[Ch]: ws changes
11611
11612         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11613
11614 2002-03-21  Juergen Vigna  <jug@sad.it>
11615
11616         * tabular.C (SetMultiColumn): collapse also the contents of the
11617         cells and set the last border right. Added a Buffer const * param.
11618
11619 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11622         linking or not.
11623
11624 2002-03-19  Juergen Vigna  <jug@sad.it>
11625
11626         * text2.C (clearSelection): reset also xsel_cache.
11627
11628         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11629         where it needs to be called (John tells us to do so too :)
11630         (selectionLost): reset sel_cache.
11631
11632         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11633
11634 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * text2.C (setCursorIntern): put debuging code in INSETS channel
11637
11638 2002-03-19  André Pönitz <poenitz@gmx.net>
11639
11640         * lyxfunc.C: tiny whitespace change
11641
11642 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * ToolbarDefaults.C (init):
11645         * LyXAction.C (init):
11646         * commandtags.h:
11647         * BufferView_pimpl.C (Dispatch):
11648         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11649
11650 2002-03-19  Allan Rae  <rae@lyx.org>
11651
11652         * exporter.C (Export): removeAutoInsets before doing anything else.
11653         While I've just introduced a dependency on BufferView this really is
11654         the best place to clean the buffer otherwise you need to cleanup in
11655         a dozen places before calling export or cleanup in a dozen functions
11656         that export calls.
11657
11658         * converter.C (runLaTeX):
11659         (scanLog): Better handling of removeAutoInsets and screen updates.
11660
11661         * lyxfunc.C (dispatch): small whitespace changes
11662
11663 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * WorkArea.C (C_WorkAreaEvent): return a value.
11666         (event_cb): return 1 if we handled the event, 0 otherwise.
11667
11668         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11669
11670 2002-03-18  Juergen Vigna  <jug@sad.it>
11671
11672         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11673         (GetAdditionalWidth): ditto.
11674         (RightLine): ditto.
11675         (LeftLine): ditto.
11676
11677         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11678         inset if we're there actually (probably not used right now but this
11679         is the direction to go for unifying code).
11680         (paste): disable code to clear the selection.
11681
11682         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11683         inside an InsetText and move the check further up as it is in the
11684         wrong place.
11685
11686         * text2.C (pasteSelection): set a selection over the pasted text.
11687
11688 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11689
11690         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11691         and libgraphics to build on Cygwin.
11692
11693 2002-03-15  Juergen Vigna  <jug@sad.it>
11694
11695         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11696         inserting an Inset into the paragraph. I know this is not the best
11697         fix but we already use current_view in CutAndPaste so we will remove
11698         all of it's using at the same time.
11699
11700         * buffer.C (sgmlError): deactivated function till it is rewritten in
11701         the right mode, now it can create problems.
11702
11703         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11704         before accessing it.
11705
11706 2002-03-14  Juergen Vigna  <jug@sad.it>
11707
11708         * undo_funcs.C (textHandleUndo): do the right thing when updating
11709         the inset after the undo/redo.
11710
11711         * text2.C (setCursor): just some testcode for #44 not ready yet.
11712
11713         * undo_funcs.C (textHandleUndo): set the next() and previous()
11714         pointers of the paragraph to 0 before deleting otherwise we have
11715         problems with the Paragraph::[destructor].
11716
11717         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11718         on a paragraph insertion.
11719
11720 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * buffer.C (asciiParagraph): use += operator for char append to
11723         string.
11724
11725         * paragraph.C (getFontSettings): compare >= not just >
11726         (highestFontInRange): ditto
11727         (setFont): ditto
11728
11729 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * paragraph.C: change several algorithm to be more appripriate for
11732         the problem domain. This is lookip in FontList and in the InsetList.
11733
11734 2002-03-13  André Pönitz <poenitz@gmx.net>
11735
11736         * commandtags.h:
11737         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11738
11739 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * commandtags.h:
11742         * LyXAction.C:
11743         * lyxfunc.C:
11744         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11745
11746 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * Painter.C (display): anon helper function, adjust code for this
11749         change.
11750         (pixmap): remove function.
11751
11752         * Painter.h: remove private display variable.
11753
11754         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11755
11756 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11757
11758         * WorkArea.[Ch]: remove figinset_canvas cruft.
11759
11760 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * lyxtextclass.C (operator): add one item cache optimization.
11763
11764         * bufferlist.h: doxy changes
11765
11766         * bufferlist.C: ws changes
11767
11768         * DepTable.[Ch] (ext_exist): place const in the right spot.
11769
11770         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11771         call resizeInsets.
11772         (workAreaExpose): call resizeInsets when the with BufferView changes.
11773         (Dispatch): adjust for protectedBlank removal
11774         (specialChar): call updateInset if the insert went ok.
11775
11776         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11777         specialChar instead.
11778
11779         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11780
11781         * BufferView.h: doxy change
11782
11783         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11784
11785         * lyxtextclass.C (operator[]): remove non-const version
11786         (defaultLayout): remove non-const version
11787
11788 2002-03-12  Juergen Vigna  <jug@sad.it>
11789
11790         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11791         did resize the LyXText too.
11792
11793         * buffer.C (readLyXformat2): set layout information on newly allocated
11794         paragraphs.
11795
11796         * tabular.C (OldFormatRead): set layout information on the paragraph.
11797
11798 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11799
11800         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11801
11802 2002-03-11  Juergen Vigna  <jug@sad.it>
11803
11804         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11805         plainly wrong.
11806         (resizeCurrentBuffer): force also the insets to resize themselfes.
11807         (moveCursorUpdate): fixed up for InsetText.
11808
11809 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * commandtags.h:
11812         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11813         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11814         value of Dialogs::tooltipsEnabled().
11815         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11816
11817 2002-03-08  Juergen Vigna  <jug@sad.it>
11818
11819         * BufferView_pimpl.C (updateInset): update inset inside inset also
11820         if it isn't inside theLockingInset().
11821
11822 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * buffer.C (asciiParagraph): redo some of the word and line length
11825         handling.
11826         (getLists): look for Caption instead of caption.
11827
11828 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * buffer.C (Buffer): initialize niceFile to true
11831         (makeLaTeXFile):
11832         (makeLinuxDocFile):
11833         (makeDocBookFile): make sure niceFile is true on exit
11834
11835 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11838
11839 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11840
11841         * LyXSendto.C: remove.
11842         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11843         * lyx_gui.C: remove now-redundant comment.
11844         * ColorHandler.h: remove forward declaration of class WorkArea.
11845         * lyxfunc.C: remove #include "WorkArea.h".
11846
11847 2002-03-07  Juergen Vigna  <jug@sad.it>
11848
11849         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11850         got moved away with the DEPM and also set the inset_owner always
11851         right which before could have been omitted.
11852
11853 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11856         wanted layout is not found.
11857
11858 2002-03-07  Juergen Vigna  <jug@sad.it>
11859
11860         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11861
11862 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11863
11864         * paragraph.C (breakParagraph): use default layout not layout of
11865         prev paragraph.
11866         (Paragraph): clear ParagraphParameters.
11867
11868 2002-03-06  Juergen Vigna  <jug@sad.it>
11869
11870         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11871         otherwise it would not be a valid lenght. Fixed a special case in
11872         the minipage compatibility read where we end the document with a
11873         minipage.
11874
11875         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11876         was set as it could be 0 for InsetTexts first entry.
11877
11878 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * paragraph.C (writeFile): if layout is empty write out
11881         defaultLayoutName().
11882
11883         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11884         file without named layout we set layout to defaultLayoutName().
11885
11886 2002-03-06  Juergen Vigna  <jug@sad.it>
11887
11888         * CutAndPaste.C (copySelection): set layout for new paragraph.
11889
11890         * text.C (prepareToPrint): leave ERT inset left aligned
11891         (leftMargin): don't indent paragraphs inside ERT insets
11892
11893 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * paragraph.C (breakParagraph): dont call clear do the work manually
11896
11897         * paragraph.[Ch] (clear): remove function
11898
11899 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * paragraph.C (Paragraph): dont call clear, the work has already
11902         been done.
11903
11904         * lyxtextclass.C (operator): assert if n is empty
11905
11906         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11907         work manually instead.
11908
11909 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * BufferView_pimpl.C: protect selectionLost against text == 0
11912
11913 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * text.C (breakParagraph): fix a setting layout to '0' problem.
11916
11917 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11918
11919         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11920         final location of file, for the included files, and graphics.
11921
11922 2002-03-05  Juergen Vigna  <jug@sad.it>
11923
11924         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11925
11926 2002-03-04  Juergen Vigna  <jug@sad.it>
11927
11928         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11929
11930         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11931         last column of multicolumn cells.
11932         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11933
11934 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11935
11936         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11937         file if it doesn't go to a temporary file.
11938
11939         * buffer.C (sgmlOpenTag):
11940         (sgmlCloseTag):  remove extra newline insertion.
11941
11942 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943
11944         * text.C (getRowNearY): comment out debug msg
11945
11946 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11947
11948         * text2.C: first -> first_y
11949
11950         * text.C (getRowNearY): add some attemts at a possible
11951         optimization, not working.
11952
11953         * tabular.[Ch]: add BufferParams to several function so that newly
11954         created paragraph can be initialized to he default layotu for the
11955         buffers textclass.
11956
11957         * tabular-old.C (ReadOld): add buf->params to call of Init
11958
11959         * screen.C: rename text->first to text->first_y
11960
11961         * paragraph.C (breakParagraph): always set layout in the broken
11962         paragraph
11963
11964         * lyxtextclass.C (Read): remove lowercase
11965         (hasLayout): ditto
11966         (operator): ditto
11967         (delete_layout): ditto
11968
11969         * lyxtext.h: rename first -> first_y
11970
11971         * lyxlayout.C (Read): remove lowercase
11972         (name): ditto
11973         (setName): ditto
11974         (obsoleted_by): ditto
11975
11976         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11977
11978         * buffer.C (insertErtContents): add params are to InsetERT
11979         (parseSingleLyXformat2Token): add code to check if a paragraphs
11980         layout really exist.
11981         (parseSingleLyXformat2Token): add params to several inset
11982         constructors
11983         (asciiParagraph): remove lowercase, do the layout comparisons with
11984         no_case
11985
11986         * BufferView_pimpl.C (cursorNext): first -> first_y
11987         (resizeCurrentBuffer): first -> first_y
11988         (updateScrollbar): first -> first_y
11989         (scrollCB): first -> first_y
11990         (workAreaMotionNotify): first -> first_y
11991         (workAreaButtonPress): first -> first_y
11992         (checkInsetHit): first -> first_y
11993         (cursorPrevious): first -> first_y
11994         (cursorNext): first -> first_y
11995         (Dispatch): add buffer_->params to severl inset contructors
11996
11997 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11998
11999         * lyxlayout.C (Read): remove some debug info that I forgot.
12000
12001         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12002         clean up the code slightly.
12003         (makeLinuxDocFile): ditto
12004         (makeDocBookFile): ditto
12005
12006         * text2.C: layout as string
12007
12008         * text.C: layout as string
12009
12010         * paragraph_pimpl.C: layout as string
12011
12012         * paragraph.[Ch]: layout as string
12013
12014         * lyxtextclasslist.[Ch]: layout as string
12015
12016         * lyxtextclass.[Ch]: layout as string
12017
12018         * lyxtext.h: layout as string
12019
12020         * lyxlayout.[Ch]: layout as string
12021
12022         * lyx_cb.C: layout as string
12023
12024         * bufferview_funcs.C: layout as string
12025
12026         * bufferparams.C: layout as string
12027
12028         * buffer.C: layout as string
12029
12030         * LyXView.[Ch]: layout as string
12031
12032         * LaTeXFeatures.[Ch]: layout as string
12033
12034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12035
12036         * BufferView_pimpl.C: change current_layout to string, remove
12037         lyx::layout_type.
12038         (Dispatch):
12039         (smartQuote):
12040         (insertInset):
12041         (workAreaButtonRelease): layout as string
12042
12043         * BufferView2.C (unlockInset): adjust
12044
12045         * vspace.C (asLatexCommand): use an explict temp variable.
12046
12047 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * Makefile.am: use FRONTEND_*
12050
12051 2002-03-01  Juergen Vigna  <jug@sad.it>
12052
12053         * tabular.C (SetWidthOfMulticolCell): changed to something better
12054         I hope but still work in progress.
12055         (recalculateMulticolumnsOfColumn): renamed function from
12056         recalculateMulticolCells as it is more appropriate now.
12057         (SetWidthOfCell): calculate multicols better.
12058
12059 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12062
12063         * lyxfunc.C (processKeySym): print sequence also if it is
12064         `deleted' (complete)
12065
12066         * kbsequence.C (print): print sequence even if it is deleted
12067         (complete would be a better word, actually).
12068
12069         * lyxfunc.C (dispatch): print complete options after a prefix key
12070
12071         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12072
12073 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12074
12075         * text2.C (setCharFont): eliminate setCharFont code duplication.
12076
12077 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12080         LFUN_TABULAR_FEATURE (bug #177)
12081
12082 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12083
12084         * Makefile.am: remove figure.h
12085
12086 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12087
12088         * Bufferview_pimpl.C:
12089         * CutAndPasteC:
12090         * LaTeX.C:
12091         * LyXSendto.C:
12092         * buffer.C:
12093         * bufferlist.C:
12094         * converter.C:
12095         * language.C:
12096         * lyxfunc.C:
12097         * lyxvc.C:
12098         * paragraph.C:
12099         * text.C:
12100         * text2.C: remove #include "lyx_gui_misc.h".
12101
12102         * LaTeX.C: added #include <cstdio>
12103
12104 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12107         that the paragraph following this one can have.
12108
12109         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12110
12111         * vspace.C (asLatexCommand): fix bogus gcc warning
12112
12113         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12114
12115 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12116
12117         * text2.C (setLayout): get rid of redundant code
12118
12119 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12120
12121         * text2.C (incDepth): make sure depth cannot be increased beyond
12122         reasonable values.
12123
12124 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12125
12126         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12127         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12128
12129         * PainterBase.h (image):
12130         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12131         a LyXImage const *.
12132
12133 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * BufferView.C:
12136         * BufferView.h:
12137         * BufferView_pimpl.C:
12138         * BufferView_pimpl.h:
12139         * LaTeXFeatures.C:
12140         * LyXAction.C:
12141         * LyXView.C:
12142         * Makefile.am:
12143         * UpdateList.h:
12144         * UpdateList.C:
12145         * buffer.C:
12146         * figure.h:
12147         * figureForm.C:
12148         * figureForm.h:
12149         * figure_form.C:
12150         * figure_form.h:
12151         * lyx_cb.C:
12152         * lyx_gui.C:
12153         * lyx_gui_misc.C:
12154         * lyxfunc.C:
12155         * sp_base.h:
12156         * sp_ispell.h:
12157         * sp_pspell.h:
12158         * sp_spell.C: remove fig inset, and the crap house of
12159           cards that follows it
12160
12161 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * Makefile.am:
12164         * lyxserver.C:
12165         * os2_defines.h:
12166         * os2_errortable.h:
12167         * nt_defines.h: move .h into support/
12168
12169         * vms_defines.h: remove
12170
12171         * WorkArea.C: add space in debug output
12172
12173         * text2.C:
12174         * paragraph.C:
12175         * buffer.C: add WITH_WARNINGS
12176
12177         * vc-backend.h:
12178         * vc-backend.C:
12179         * bufferlist.C: s/retrive/retrieve/, add docs
12180
12181         * vspace.h:
12182         * vspace.C:
12183         * kbmap.h:
12184         * lyxlength.h:
12185         * lyxgluelength.h:
12186         * length_common.h:
12187         * chset.h:
12188         * chset.C: add docs
12189
12190         * lyxgui.C: add ID to X error handler
12191
12192         * lyxtestclass.c: fix typo
12193
12194 2002-02-26  Juergen Vigna  <jug@sad.it>
12195
12196         * tabular_funcs.C (write_attribute): changed so that some default
12197         attributes are not written at all.
12198         (getTokenValue): set default values before trying to read the
12199         value so we have the return value always set as default if we don't
12200         find the token we search for.
12201
12202         * tabular.C (Write): write bools as bools not as strings!
12203
12204 2002-02-22  Juergen Vigna  <jug@sad.it>
12205
12206         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12207         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12208
12209         * text.C (leftMargin): don't add an indent for paragraphs inside
12210         tabular cells (fix #208).
12211
12212 2002-02-21  José Matos  <jamatos@fep.up.pt>
12213
12214         * tabular.C (docBook): fixed support for long tables.
12215
12216 2002-02-20  Juergen Vigna  <jug@sad.it>
12217
12218         * text2.C (getFont): get the drawing font of the Inset if this
12219         paragraph is inside an inset (only important for InsetERT for now).
12220
12221         * buffer.C (insertErtContents): use new lanugage params in ERT
12222         constructor.
12223
12224         * CutAndPaste.C: commenting out seemingly uneeded code.
12225
12226 2002-02-19  Allan Rae  <rae@lyx.org>
12227
12228         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12229         Iterators might be simple to use but they also get invalidated.
12230         (removeAutoInsets): renamed saved cursor tracking variables and added
12231         some comments to clarify what everything does.
12232
12233 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * Chktex.C:
12236         * LaTeX.C:
12237         * LyXSendto.C:
12238         * converter.C:
12239         * lyx_cb.C:
12240         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12241         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12242
12243         * lyxfunc.C:
12244         * vc-backend.h: remove #include "support/syscall.h"
12245
12246         * LaTeX.C:
12247         * LyXSendto.C:
12248         * converter.C: rearrange #includes in Lars' approved fashion.
12249
12250         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12251         forward declare class Timeout in the header file.
12252
12253         * XFormsView.C: changes due to the above.
12254
12255         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12256         similar to LyXView.
12257
12258         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12259         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12260
12261 2002-02-18  José Matos  <jamatos@fep.up.pt>
12262
12263         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12264         insets contents.
12265
12266 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12267
12268         * a lot of small ws changes
12269         * add a lot of using std::XXX
12270         * use std construcs some places where approp.
12271         * use some exisint stuff from lyxfunctional where approp.
12272         * Make file changes to use partial linking (lets test this now...)
12273
12274 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12275
12276         * Chktex.C:
12277         * buffer.C:
12278         remove #include "support/syscontr.h" as it's redundant. Always has been.
12279
12280         * Chktex.C:
12281         * LaTeX.C:
12282         * LyXSendto.C:
12283         * converter.C:
12284         * lyx_cb.C:
12285         * vc-backend.C:
12286         change Systemcalls::System to Systemcalls::Wait and
12287         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12288         No change of functionality, just reflects the stripped down Systemcalls
12289         class.
12290
12291 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12292
12293         * debug.[Ch]: add a GRAPHICS type to the enum.
12294
12295 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12296
12297         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12298
12299         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12300         there is an inset.
12301
12302 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12305         match the changes below.
12306
12307         * text2.C (toggleInset): if there is not editable inset at cursor
12308         position, try to see if cursor is _inside_ a collapsable inset
12309         and close it.
12310
12311 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12314         document menu has a nice checkbox
12315
12316 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12317
12318         * lyxlength.C (asLatexString): change PW to output as percent of
12319         \textwidth.
12320
12321         * lengthcommon.C: change '%' to 't%'
12322
12323         * lyxfunc.C (dispatch): a few comments from Martin
12324
12325 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * WorkArea.h:
12328         * WorkArea.C:
12329         * BufferView_pimpl.h:
12330         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12331           the X selection.
12332
12333 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * vspace.C (inPixels): fix compiler warning
12336
12337 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * lyxfunc.C (getStatus): fix status message for disabled commands.
12340
12341 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * BufferView_pimpl.C: fix crash on close buffer
12344         during selection (#227)
12345
12346 2002-01-27  Herbert Voss  <voss@lyx.org>
12347
12348         * buffer.C: link old Figure to new graphic inset
12349
12350 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12351
12352         * FontLoader.C (getFontinfo): Change the latex font names in order
12353         to match the names of type1inst.
12354
12355 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12358
12359         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12360         (extchanged): ditto
12361         (ext_exist): ditto
12362         (remove_files_with_extension): ditto
12363         (remove_file): ditto
12364         (write): ditto
12365
12366         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12367         document is smaller than the work area height. Do not initialize
12368         static variables to 0.
12369
12370 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12373
12374         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12375         LFUN_LAYOUT_PARAGRAPHS.
12376
12377         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12378         tabular. It is possible to provide a possible cell, which will
12379         typically be the actcell from the corresponding insettabular
12380
12381         * lyxfunc.C (getStatus): small cleanup; disable
12382         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12383         true
12384
12385 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12386
12387         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12388
12389         * paragraph.C (startTeXParParams):
12390         (endTeXParParams): new methods. The LaTeX code to
12391         start/end paragraph formatting
12392         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12393         empty (fixes bug #200)
12394
12395         * vspace.C (inPixels): adapt to the change below
12396         (inPixels): [later] more cleanups (remove unused variables)
12397
12398         * lyxlength.C (inPixels): change to use a width and a height as
12399         parameter.
12400
12401 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12404         Replaced with \paperwidth
12405
12406         * DepTable.C (insert): add std:: qualifier
12407
12408 2002-01-18  Allan Rae  <rae@lyx.org>
12409
12410         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12411         updated also?
12412
12413         * text.C (drawInset): Turned out I didn't know enough about how
12414         rebreaking worked.  This fixes most of the redraw problems.  I see
12415         an occasional cursor trail when a line is broken now and the cursor
12416         placement can seem out by a few pixels also after a rebreak.
12417
12418 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * buffer.C (parseSingleLyXformat2Token): update because minipage
12421         width is now a LyXLength
12422
12423         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12424
12425         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12426         math insets
12427
12428 2002-01-17  Juergen Vigna  <jug@sad.it>
12429
12430         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12431
12432         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12433         is set correctly and the inset is updated correctly.
12434
12435 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12436
12437         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12438         the beginning of the loop.
12439
12440 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * lyxrc.C: improve help for use_scalable_fonts
12443
12444 2002-01-17  Allan Rae  <rae@lyx.org>
12445
12446         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12447
12448 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12451         make sure to set their inset_owner to the right value (bug #171)
12452
12453 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12454
12455         * DepTable.h
12456         * DepTable.C: Implement mtime checking to reduce time spent doing
12457         CRCs.
12458
12459 2002-01-16  Juergen Vigna  <jug@sad.it>
12460
12461         * tabular.C (GetAdditionalHeight): one of error fixed.
12462
12463         * lyxrc.C (output): small fix in writing use_pspell.
12464
12465 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12466
12467         * sp_base.h: #include LString.h
12468
12469 2002-01-16  Allan Rae  <rae@lyx.org>
12470
12471         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12472         Can someone check this please?
12473
12474         * text.C (drawInset): It was possible that p.row would be removed by
12475         breakAgainOneRow upsetting a few other settings.  There may be another
12476         small tweak possible by setting need_break_row = 0 when p.row has been
12477         removed but I don't know enough about the logic here.
12478
12479 2002-01-15  Allan Rae  <rae@lyx.org>
12480
12481         * text.C (insertChar): removed conditional truism.
12482
12483         * BufferView2.C (removeAutoInsets): More tweaks.
12484         cur_par_prev could be a stray pointer.  Check for trailing empty line
12485         in case last line was cur_par and only had an error inset on it.
12486
12487 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12490         absolute
12491
12492         * vc-backend.C (most methods):
12493         * exporter.C (Export):
12494         * converter.C (convert):
12495         (runLaTeX):
12496         * LyXSendto.C (SendtoApplyCB):
12497         * lyxfunc.C (dispatch):
12498         (menuNew):
12499         (open):
12500         (doImport):
12501         * lyx_cb.C (AutoSave):
12502         (InsertAsciiFile):
12503         * BufferView_pimpl.C (MenuInsertLyXFile):
12504         * buffer.C (runChktex): use Buffer::filePath().
12505
12506         * buffer.h: rename filename to filename_; rename filepath to
12507         filepath_ and make it private
12508         (filePath): new method
12509
12510         * buffer.C (writeFile): use fileName()
12511         (getLatexName):
12512
12513         * lyx_main.C (init): fix starting  of LyX when the binary is a
12514         link from so,ewhere else.
12515
12516         * minibuffer.C: include <cctype> for isprint
12517
12518 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12519
12520         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12521         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12522         name clash with InsetCollapsable's width function.
12523
12524 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * lastfiles.C: include <iterator>
12527
12528 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12529
12530         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12531         std::count.
12532
12533         * buffer.C (makeLaTeXFile): ditto.
12534         Also make loop operation more transparent.
12535
12536 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12537
12538         * ToolbarDefaults.C: remove trailing comma closing namespace.
12539
12540         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12541
12542         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12543         as in WorkArea.
12544
12545         * trans.C (Load): comment out unused variable, allowed.
12546
12547 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12548
12549         * minibuffer.[Ch] (append_char): new method to recieve input from the
12550         drop-down completion browser. If a key was pressed, then recieve this
12551         char and append it to the existing string.
12552         (peek_event): modify the positioning data passed to the completion
12553         browser so that it can be placed above the minibuffer rather than below.
12554 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * LyXAction.C (init): alloe error-next for readonly documents.
12557
12558         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12559         count.
12560
12561 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * bufferlist.C (readFile): create the buffer _after_ checking that
12564         the file exists.
12565
12566         * lyxfunc.C (verboseDispatch): fix handling of arguments
12567
12568         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12569
12570         * lyxrc.C: use string::erase() instead of initializing to "".
12571
12572
12573 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * BufferView_pimpl.h:
12576         * BufferView_pimpl.C:
12577         * WorkArea.h:
12578         * WorkArea.C:
12579         * text2.C: tell X when we have made a selection for copying
12580
12581 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * BufferView_pimpl.C (MenuInsertLyXFile):
12584         * lyxfunc.C (menuNew):
12585         (open):
12586         (doImport): add shortcuts to directory buttons
12587
12588         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12589         open a float)
12590
12591         * lyxfunc.C (setStatusMessage):
12592         (getStatusMessage): new methods
12593         (getStatus):use setStatusMessage instead of setErrorMessage
12594         (dispatch): when function is disabled, set error message here
12595         [instead of in getStatus previously]
12596
12597         * BufferView_pimpl.C (workAreaButtonRelease): update
12598         toolbar/menubar here too.
12599
12600 2002-01-13  Allan Rae  <rae@lyx.org>
12601
12602         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12603         Now seems indestructible.  Remaining task is to audit all other
12604         code affected by deleteEmptyParagraphMechanism.  One small quirk
12605         left is that an empty document with an error in the preamble can
12606         be made to report an error but no error box appears.  I don't know
12607         where it goes.
12608         (removeAutoInsets): Improved comments.
12609
12610 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * Thesaurus.h:
12613         * Thesaurus.C: update for Aiksaurus 0.14
12614
12615 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * text2.C (firstParagraph): removed member function, all uses
12618         replaces with ownerParagraph
12619         (redoParagraphs): here
12620         (updateInset): here
12621         (toggleAppendix): here
12622         * BufferView2.C (insertErrors): here
12623         (setCursorFromRow): here
12624
12625 2002-01-13  Allan Rae  <rae@lyx.org>
12626
12627         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12628         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12629         There is still a way to segfault this although you may have to do this
12630         multiple times: Have an InsetERT with an unknown command in it.
12631         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12632         <down-arrow>, <Enter> again, View->DVI, BANG!
12633
12634         * text2.C (setCursor):
12635         (deleteEmptyParagraphMechanism):
12636         * lyxtext.h (setCursor):
12637         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12638         Making use of the return value may help fix other bugs.
12639
12640 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12643
12644         * LyXView.C (updateMenubar): call MenuBar::update here
12645         (updateToolbar): but not here
12646         (showState): do not update toolbar/menubar
12647
12648         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12649         should need to care about that.
12650
12651         * lyxfunc.C (verboseDispatch): simplify a bit
12652         (getStatus): have a version which takes a pseudoaction, and
12653         another which requires a (kb_action,string).
12654
12655         * LyXAction.C (retrieveActionArg): make it work also when action
12656         is not a pseudo-action.
12657         (getActionName): simplify a bit
12658         (helpText):
12659
12660 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * lyxfunc.C (verboseDispatch): new families of methods with
12663         several ways to specify a command and a bool to indicate whether
12664         the command name and shortcut should be displayed in minibuffer
12665         (eventually, we could extend that to a finer bitmask like
12666         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12667         (dispatch): the pristine dispatch command which just, well,
12668         dispatchs! Note it still sets its result to minibuffer; I'm not
12669         sure we want that.
12670
12671         * lyxfunc.h: remove setHintMessage
12672
12673         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12674
12675 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * BufferView_pimpl.C (specialChar): delete new inset if we have
12678         not been able to insert it.
12679
12680         * kbmap.C: revert to using int instead of kb_action, since all we
12681         are dealing with is pseudo-actions.
12682
12683         * LyXAction.C (searchActionArg): change to return int instead of
12684         kb_action, since the result is a pseudoaction.
12685
12686 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12687
12688         * buffer.C (insertErtContents): Fix (partially) the font bug.
12689
12690 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12691
12692         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12693         as the other one is broken on my machine!
12694
12695 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12696
12697         * commandtags.h:
12698         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12699
12700 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12701
12702         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12703         reflect their actual use. Provide compatibility code for older lyxrc
12704         files.
12705
12706         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12707         FL_NORMAL_STYLE.
12708         change names of popup font variables in line with the changes to lyxrc.C
12709
12710 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * buffer.C (asciiParagraph): avoid outputing a word twice after
12713         an inset.
12714
12715         * lyxrc.C (getDescription): document that document_path and
12716         template_path can be empty.
12717
12718 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * LaTeXFeatures.C (getMacros):
12721         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12722
12723         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12724
12725         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12726         getPackages.
12727         (getPackages): rename feature "floats" to "float". Use an array to
12728         iterate over 'simple' features (i.e. just a \usepackage). Add
12729         handling of "amsmath" (renamed from "amsstyle").
12730
12731 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12732
12733         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12734         features list.
12735
12736 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12739         FuncStaus::FuncStatus & FuncStaus::some_method().
12740
12741 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12742
12743         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12744         of the func_satus stuff. Edited and massaged in various ways by
12745         JMarc.
12746
12747         * lyxfunc.C (getStatus): use FuncStatus
12748
12749 2002-01-08  Juergen Vigna  <jug@sad.it>
12750
12751         * text.C (nextBreakPoint): use function Inset::isChar().
12752
12753         * paragraph.C (TeXOnePar): use function
12754         Inset::forceDefaultParagraphs.
12755
12756         * buffer.C (latexParagraphs): use function
12757         Inset::forceDefaultParagraphs.
12758
12759 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * lyx_gui.C (init): set the style of the menu popups to
12762         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12763
12764 2002-01-07  Juergen Vigna  <jug@sad.it>
12765
12766         * text.C (setHeightOfRow): small fix
12767         (prepareToPrint): don't look at alignment if we don't have the place
12768         for doing it.
12769
12770 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * box.C: New file. Move the Box methods and functions out of box.h,
12773         following Lars' suggestion.
12774
12775 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12776
12777         * box.h: #include "support/LOstream.h", needed for inlined function.
12778
12779         * lyxtextclass.C:
12780         * lyxtextclasslist.C: added some using std declarations.
12781
12782 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * box.h: make signed dimensions to allow insets wider than
12785           the screen (bug #162)
12786
12787         * BufferView_pimpl.C: add some insetHit debug
12788
12789 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * vc-backend.C: add FIXME
12792
12793 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12794
12795         * lyxfunc.C (getStatus): enable code for showing math font status
12796         in toolbar/menu.
12797
12798 2002-01-07  Juergen Vigna  <jug@sad.it>
12799
12800         * text.C (nextBreakPoint): removed debug output not needed anymore.
12801
12802 2002-01-06  Juergen Vigna  <jug@sad.it>
12803
12804         * text.C (nextBreakPoint): fixed up this function we had this bug
12805         since ever but now hopefully we break row better.
12806         (insertChar): we have to check if an inset is the next char as it
12807         could now happen that a large inset is causing a break.
12808
12809 2002-01-05  Juergen Vigna  <jug@sad.it>
12810
12811         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12812         if it doesn't like to be drawed.
12813
12814 2002-01-04  Juergen Vigna  <jug@sad.it>
12815
12816         * BufferView2.C (lockInset): forgot to set a cursor.
12817
12818         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12819
12820 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12821
12822         * FormMathsPanel.C:
12823         * FormMathsPanel.h
12824         * MathsSymbols.C:
12825         * form_maths_panel.C:
12826         * form_maths_panel.h:
12827         * form_maths_panel.fd: implemented sub- and super- buttons in math
12828         panel.
12829
12830         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12831         (or ^ space) to be used as in TeX (req'd by André).
12832
12833         * lyxfunc.C: Allow ^ and _ again to be used both as
12834         super/subscript (mathed) and as themselves (in text).
12835
12836 2002-01-03  Allan Rae  <rae@lyx.org>
12837
12838         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12839         "LyX" or the filename of the current buffer if it has one.  This is a
12840         modified form of John Levon's patch.
12841
12842         * XFormsView.C (setWindowTitle): also set icon title.
12843
12844         * LyXView.h (setWindowTitle): signature changed.
12845         * XFormsView.h (setWindowTitle): ditto.
12846
12847 2002-01-02  Juergen Vigna  <jug@sad.it>
12848
12849         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12850
12851 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * screen.C (topCursorVisible): introduce a temp var for
12854         text->cursor.row(), handle the case where this row is null. (kindo
12855         hachish)
12856
12857         * text2.C (setCursor): add a couple of asserts.
12858
12859         * paragraph.h (inset_iterator): add -> operator
12860
12861         * paragraph.[Ch] (autoDeleteInsets): remove member function
12862
12863         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12864         cursor pos correctly and handle inset deletion by itself.
12865         (insertErrors): move iterator declaration out of for expression
12866
12867         * lyxtextclass.C: add <algorithm>
12868
12869         * Makefile.am: added the new files to sources, removed layout.C
12870
12871         * layout.C: removed file
12872
12873         * layout.h: remove LYX_DUMMY_LAYOUT
12874
12875         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12876         layout.
12877
12878         * lyxlayout.[Ch]:
12879         * lyxtextclass.[Ch]:
12880         * lyxtextclasslist.[Ch]: new files
12881
12882         * include order changes to a lot of files, also changes because of
12883         the six new files.
12884
12885 2001-12-27  Juergen Vigna  <jug@sad.it>
12886
12887         * buffer.C (asciiParagraph): more fixes.
12888
12889         * tabular.C (ascii): make ascii export support export of only the
12890         data separated by a column-delimiter.
12891         (ascii): better support for ascii export.
12892
12893         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12894
12895 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * tabular_funcs.C: use a "using std::getline" instead of the
12898         previous fix from Angus (necessary for cxx + lyxstring)
12899
12900 2001-12-24  Juergen Vigna  <jug@sad.it>
12901
12902         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12903
12904         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12905         problems. First check a minipage also if we have some ert-contents
12906         (not only on par->size(), second set the right depth of the paragraph
12907         on the relink to the root-paragraph-list!
12908
12909         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12910         which then did not anymore update the main paragraphs on undo/redo!
12911
12912 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12913
12914         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12915         code. Support all font-changing funcs (even those which are not in
12916         menu currently). Support for reporting font settings in
12917         mathed (disabled until Andre provides a function on mathed's side).
12918
12919         * func_status.h (toggle): small helper function to set toggle
12920         state on a flag.
12921
12922 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12923
12924         * tabular_funcs.C: getline -> std::getline
12925
12926 2001-12-21  Juergen Vigna  <jug@sad.it>
12927
12928         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12929         accessed and could be 0 (I couldn't generate this but it seems
12930         Michael could!).
12931
12932 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12935         * tabular_funcs.h: here and include iosfwd
12936
12937 2001-12-20  Juergen Vigna  <jug@sad.it>
12938
12939         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12940         inside inset but undo_par was.
12941
12942 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * Thesaurus.C: always include <config.h> in sources.
12945
12946         * Painter.h:
12947         * lyxlookup.h:
12948         * box.h: do not include <config.h> in header files
12949
12950         * text.C (paintLastRow): remove unused variable
12951
12952         * text.C (transformChar):
12953         (insertChar):
12954         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12955
12956         * Painter.C (text):
12957         * font.C (width): rewrite to use uppercase() instead of
12958         islower/toupper.
12959
12960         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12961
12962 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * lyxfind.C: clean up of find failure position change
12965
12966 2001-12-20  Juergen Vigna  <jug@sad.it>
12967
12968         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12969
12970         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12971         (TeXRow): added to LaTeX a single tabular row.
12972         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12973         (Latex): simplified and finally good LT-h/f support.
12974         (various_functions): just small adaptions for LT-h/f support.
12975
12976         * tabular_funcs.[hC]: added and moved here all not classfunctions
12977         of LyXTabular.
12978
12979 2001-12-19  Juergen Vigna  <jug@sad.it>
12980
12981         * tabular.[Ch]: better support for longtabular options (not finished
12982         yet!)
12983
12984 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12985
12986         * text.C (paintLastRow): use the label font instead of the font of
12987         the last character to compute the size of *_BOX. This makes more
12988         sense and avoids a crash with empty paragraphs.
12989         Use Painter::rectangle to draw EMPTY_BOX.
12990
12991 2001-12-19  Juergen Vigna  <jug@sad.it>
12992
12993         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12994         the paragraphs if the replaced paragraph is not the first one!
12995         Tried to delete not used paragraphs but does not work yet so for
12996         now it's inside #ifdef's and by default off!
12997
12998 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * MenuBackend.C: include "lyx_main.h" instead of declaring
13001         lastfiles (actually was declared as LastFiles* instead of a
13002         scoped_ptr).
13003
13004 2001-12-17  Juergen Vigna  <jug@sad.it>
13005
13006         * tabular.C (AppendColumn): applied John's fix
13007
13008 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * BufferView.h:
13011         * BufferView.C:
13012         * BufferView_pimpl.h:
13013         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13014
13015         * Makefile.am:
13016         * box.h: new start of class for above
13017
13018         * lyxfunc.C: ignore space-only minibuffer dispatches.
13019           Show the command name when it doesn't exist
13020
13021         * minibuffer.C: don't add empty lines to the history
13022
13023         * minibuffer.C: add a space on dropdown completion
13024
13025 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * text.C: fix line above/below drawing in insets
13028
13029 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * lyxlength.C (LyXLength): Initialize private variables.
13032
13033 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13034
13035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13036         when inserting error insets.
13037
13038 2001-12-13  Juergen Vigna  <jug@sad.it>
13039
13040         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13041         actually sometimes the before-paragraph.
13042         (setUndo): don't clear the redostack if we're not actually undoing!
13043
13044 2001-12-06  Juergen Vigna  <jug@sad.it>
13045
13046         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13047         and fixed redoing of main paragraph, so we can use it now ;)
13048
13049         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13050
13051 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13052
13053         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13054         Juergen's request
13055
13056 2001-12-13  André Pönitz <poenitz@gmx.net>
13057
13058         * undostack.[Ch]:
13059         * undo_func.C: minor cleanup
13060
13061 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13062
13063         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13064         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13065         font in urw-fonts package which is marked as -urw-fontspecific and
13066         does not work (incidentally, changing the encoding in the
13067         fonts.dir of this package to -adobe-fontspecific fixes the
13068         problem).
13069
13070         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13071         is a crash when undoing first paragraph (Juergen, please take a
13072         look). THis does not mean the undo fix is wrong, just that it
13073         uncovers problems.
13074
13075         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13076         the (Paragraph*) version when needed instead of duplicating the
13077         code.
13078
13079         * text.C (workWidth): use Inset::parOwner to find out where the
13080         inset has been inserted. This is a huge performance gain for large
13081         documents with lots of insets. If Inset::parOwner is not set, fall
13082         back on the brute force method
13083
13084         * paragraph_pimpl.C (insertInset):
13085         * paragraph.C (Paragraph):
13086         (cutIntoMinibuffer): set parOwner of insets when
13087         inserting/removing them
13088
13089         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13090
13091 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13092
13093         * commandtags.h:
13094         * LyXAction.C:
13095         * lyx_main.C:
13096         * lyxfunc.C:
13097         * mathed/formulabase.C:
13098         * mathed/math_cursor.[Ch]:
13099         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13100
13101
13102 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * lyxlength.[Ch] (operator!=): new function
13105
13106 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13107
13108         * text.C (workWidth): use Inset::parOwner to find out where the
13109         inset has been inserted. This is a huge performance gain for large
13110         documents with lots of insets. If Inset::parOwner is not set, fall
13111         back on the brute force method
13112
13113         * paragraph_pimpl.C (insertInset):
13114         * paragraph.C (Paragraph):
13115         (cutIntoMinibuffer): set parOwner of insets when
13116         inserting/removing them
13117
13118         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13119
13120 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * tabular-old.C (getTokenValue):
13123         * tabular.C (getTokenValue):
13124         (write_attribute): new versions for LyXLength
13125         (everywhere): adjust the use of widths
13126
13127         * tabular.h: change the type of widths from string to LyXLength
13128
13129 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13130
13131         * paragraph.C: fixed missing line number count when exporting
13132         Environments to LaTeX file
13133
13134         * buffer.C: added informational message for checking line numbers.
13135
13136 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13137
13138         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13139         paragraph, do the 'double space' part, but not the 'empty
13140         paragraph' one.
13141
13142         * text.C (workWidth): small optimization
13143         (getLengthMarkerHeight): use minimal size for negative lengths.
13144
13145 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13148
13149         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13150
13151 2001-12-11  André Pönitz <poenitz@gmx.net>
13152
13153         * FontLoader.C:
13154         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13155
13156 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * text2.C: keep selection on a setFont()
13159
13160 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13161
13162         * lyx_cb.C: another bv->text misuse, from insert label
13163
13164 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * kbsequence.h:
13167         * kbsequence.C: re-instate nmodifier mask
13168
13169 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * lyx_main.h: make lyxGUI private.
13172
13173 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * lyxfind.C: place the cursor correctly on failed search
13176
13177 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13178
13179         * text.C (getLengthMarkerHeight): for small heights, the arrows
13180         are not always on top/bottom of the text
13181         (drawLengthMarker): smaller arrows; take the left margin in
13182         account; draw also vfills.
13183         (paintFirstRow):
13184         (paintLastRow): remove special code for vfill and standard spaces,
13185         since everything is handled in drawLengthMarker now.
13186
13187 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * buffer.C (insertErtContents): try to handle font and language
13190         interaction a bit better.g
13191
13192         * ColorHandler.C (updateColor): change the hash to cover the whole
13193         LColor enum, ws cleanup
13194         (getGCLinepars): ditto
13195         (getGCLinepars): only lookup in the linecache once.
13196
13197 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13198
13199         * iterators.C (operator++): Make the iterator more robust
13200
13201         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13202         (John's patch)
13203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13204
13205 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * lyxtext.h:
13208         * text.C: better added space drawing
13209
13210 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * LyXView.C:
13213         * BufferView2.C: fix layout combo update on inset unlock
13214
13215 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * Makefile.am: don't compile unused files
13218
13219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13220
13221         * lyxfunc.C:
13222         * commandtags.h:
13223         * LyXAction.C: remove old LFUN_LAYOUTNO
13224
13225 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * paragraph_pimpl.h:
13228         * paragraph_pimpl.C: isTextAt() doesn't need font param
13229
13230 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * lyxlex.h:
13233         * lyxlex.C: little cleanup
13234
13235 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * BufferView_pimpl.C: fix insertAscii for insets
13238
13239 2001-12-05  Juergen Vigna  <jug@sad.it>
13240
13241         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13242         set the right font on the "multi" paragraph paste!
13243
13244 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * trans_decl.h:
13247         * trans_mgr.[Ch]:
13248         * trans.[Ch]:
13249         * lyxgluelength.C:
13250         * lyxlength.C: remove out-commented code.
13251
13252         * BufferView_pimpl:
13253         * CutAndPaste.C:
13254         * DepTable.C:
13255         * buffer.C:
13256         * chset.C:
13257         * lastfiles.C:
13258         * lyxlex.C:
13259         * lyxlex_pimpl.C:
13260         * lyxserver.C:
13261         * screen.C:
13262         * tabular-old.C:
13263         * tabular.C:
13264         * text.C:
13265         * trans_mgr.C:
13266         * vc-backend.C: change "while(" to "while ("
13267
13268         * lyxlength.[Ch]: add zero function to check if length is zero or
13269         not
13270         * lyxgluelength.C: use it
13271
13272 2001-12-05  Allan Rae  <rae@lyx.org>
13273
13274         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13275         Works for 2.95.3, from what I understand of Garst's reports this should
13276         work for other g++ versions.  We're screwed if the abs(int) definition
13277         changed between bugfix releases of gcc.
13278
13279 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * text.C: fix chapter label offset !
13282
13283 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * lyxtext.h:
13286         * text.C: fix hfill at end of line, clean up
13287
13288 2001-12-04  Juergen Vigna  <jug@sad.it>
13289
13290         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13291         that we force an update of the inset and it's owners if neccessary.
13292
13293 2001-12-03  Juergen Vigna  <jug@sad.it>
13294
13295         * text.C (rowLast): simplified code
13296
13297 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13298
13299         * lyxfunc.C: fix show options on timeout
13300
13301 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * screen.C (topCursorVisible): scroll half a page when the cursor
13304         reached top of bottom of screen
13305
13306 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * minibuffer.C: deactivate on loss of focus
13309
13310 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13311
13312         * vspace.[Ch] (operator!=): add operator.
13313
13314 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * BufferView_pimpl.C: refuse to open an inset when
13317         there's a selection.
13318
13319 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * BufferView_pimpl.C: allow to click on RHS of full row insets
13322
13323 2001-11-30  Juergen Vigna  <jug@sad.it>
13324
13325         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13326         insets for undo reasons.
13327
13328 2001-11-28  André Pönitz <poenitz@gmx.net>
13329
13330         * vspace.[Ch]: cosmetical changes
13331
13332 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * LyXAction.h:
13335         * LyXAction.C:
13336         * lyxfunc.h:
13337         * lyxfunc.C:
13338         * kbmap.h:
13339         * kbmap.C:
13340         * lyxrc.C:
13341         * kbsequence.h:
13342         * kbsequence.C: part re-write of old kb code
13343
13344         * Painter.C:
13345         * WorkArea.C: remove Lgb_bug_find_hack
13346
13347 2001-11-30  José Matos <jamatos@fep.up.pt>
13348
13349         * buffer.C (makeDocBookFile): add a comment to point a hack.
13350         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13351         Fixed a double write of labels.
13352
13353 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13354
13355         * LaTeX.C:
13356         * LaTeX.h Fixed bug in LaTeX class where it would not
13357         re-run latex if no depfiles were changed, but the .dvi was removed.
13358
13359 2001-11-28  André Pönitz <poenitz@gmx.net>
13360
13361         * all the files from the change on 2001/11/26:
13362         use lyx::layout_type instead of LyXTextClass::size_type
13363         use lyx::textclass_type instead of LyXTextClassList::size_type
13364
13365 2001-11-29  Juergen Vigna  <jug@sad.it>
13366
13367         * text.C: added support for paragraph::isFreeSpacing()
13368
13369         * buffer.C: same as above
13370
13371         * paragraph.h: inserted isFreeSpacing() function to enable
13372         FreeSpacing inside InsetERT.
13373
13374         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13375         of the paragraph's in the cut/copy buffer to 0!
13376
13377         * text2.C (removeRow): remove the assert as it can!
13378
13379         * lyxtext.h: added helper function firstRow returning firstrow and
13380         made firstrow private again.
13381
13382         * BufferView2.C (lockInset): don't relock if we're already locked!
13383
13384         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13385         the only paragraph.
13386         (removeRow): added Assert::(firstrow)
13387
13388         * debug.C: forgot to add INSETTEXT here.
13389
13390 2001-11-28  Juergen Vigna  <jug@sad.it>
13391
13392         * sp_spell.C (initialize): changed error text to more general
13393         spellchecker command use (not only ispell!)
13394
13395         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13396
13397         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13398
13399 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * vspace.C: initialise lyxgluelength on failure
13402
13403 2001-11-28  Allan Rae  <rae@lyx.org>
13404
13405         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13406         declaration & definition that looks like a function declaration.
13407
13408 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * BufferView2.C (copy):
13411         (copyEnvironment): do not clear the selection when doing a copy.
13412
13413         * text.C (paintFirstRow): compilation fix
13414
13415 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13416
13417         * tabular.C (Latex): correct line count when writing latex.
13418
13419 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * paragraph_pimpl.h:
13422         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13423           bug a bit
13424
13425 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * text.C:
13428         * LColor.h:
13429         * LColor.C: change vfillline->added_space
13430
13431         * text.C: add markers and text for added space
13432
13433         * vspace.C: fix comment
13434
13435 2001-11-28  André Pönitz <poenitz@gmx.net>
13436
13437         * paragraph.C: whitespace changes
13438         * all the other files from the change on 2001/11/26:
13439         change *::pos_type into lyx::pos_type
13440
13441 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13442
13443         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13444         language of the document when inserting error insets.
13445
13446 2001-11-26  André Pönitz <poenitz@gmx.net>
13447
13448         * BufferView_pimpl.[Ch]:
13449         *       CutAndPaste.C:
13450         * buffer.[Ch]:
13451         * lyxcursor.[Ch]:
13452         * lyxfind.C:
13453         * lyxfunc.C:
13454         * lyxrow.[Ch]:
13455         * paragraph.[Ch]:
13456         * paragraph_pimpl.[Ch]:
13457         * sp_spell.C:
13458         * text.C:
13459         * text2.C: reduce header dependencies, introduce type for positions
13460
13461 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * <various>: change to use Alert.h
13464
13465 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13468         when encountering an unknown token.
13469         (readLyXformat2): Show an error message if there were unknown tokens.
13470
13471 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * BufferView2.C:
13474         * BufferView_pimpl.C:
13475         * buffer.C:
13476         * paragraph.h:
13477         * text.C:
13478         * text2.C: use par->isInset()
13479
13480 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * paragraph_pimpl.h:
13483         * paragraph_pimpl.C: cleanup
13484
13485 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * text2.C (removeRow):
13488         * text.C (setHeightOfRow): remove useless (and costly) call to
13489         getRow.
13490
13491 2001-11-20  Allan Rae  <rae@lyx.org>
13492
13493         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13494         Now need Inset*::checkInsertChar() to return true for appropriate
13495         cases so that the characters in the minibuffer will actually be
13496         inserted.
13497
13498 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * text.C: change the order of the includes.
13501         (workWidth): initialize it at once.
13502         (workWidth): make maxw unsigned
13503         (setHeightOfRow): remove unused variable (inset)
13504         (selectSelectedWord): remove unused variable (inset)
13505         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13506
13507 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13510         server is not running.
13511         (openConnection):
13512         (closeConnection): add debug info when server is disabled.
13513
13514         * ColorHandler.C (getGCForeground): send debug message to GUI
13515         channel.
13516
13517         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13518
13519         * kbmap.C (bind): modify because return conventions of
13520         kb_sequence::parse have changed.
13521
13522         * kbsequence.C (parse): only ignore spaces and not any stupid
13523         control character. This avoids tests like s[i] <= ' ', which are
13524         guaranteed to fail with 8bit characters and signed chars.
13525         Change return code to string::npos when there have been no error
13526         (0 was a bad idea when error is at first character)
13527
13528 2001-11-14  José Matos  <jamatos@fep.up.pt>
13529
13530         * buffer.h:
13531         * buffer.C (simpleDocBookOnePar): removed unused argument.
13532
13533 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13536         insets which are part of a word. Paragraph::isLetter takes care of
13537         that now. Use Paragraph::isInset to identify insets.
13538         (selectSelectedWord): do not test for hyphenation break.
13539
13540         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13541         that protected spaces are considered as spaces.
13542
13543         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13544         Inset::isLetter.
13545
13546 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * lyxserver.h:
13549         * lyxserver.C: fix it. and small cleanup.
13550
13551 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * BufferView_pimpl.C: use inline helpers
13554
13555         * LaTeXFeatures.h:
13556         * LaTeXFeatures.C: fix typos
13557
13558         * Spacing.h:
13559         * Spacing.C: move spacing_string into class
13560
13561         * ToolbarDefaults.C: move stuff into namespace anon
13562
13563         * layout.h: update enum
13564
13565         * lyxfunc.C: use better debug
13566
13567         * minibuffer.h: fix typo
13568
13569         * debug.h:
13570         * debug.C:
13571         * WorkArea.C: add and use Debug::WORKAREA
13572
13573         * lyxtext.h:
13574         * text.C:
13575         * text2.C: code re-organisation, inline helpers
13576
13577 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13578
13579         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13580         std::vector.empty().
13581
13582 2001-11-09  Allan Rae  <rae@lyx.org>
13583
13584         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13585         '\n's after tables.  Tabular and ERT inset work now makes this no
13586         longer necessary.
13587
13588 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * minibuffer.h:
13591         * minibuffer.C: fix crash, improve drop-down completion
13592
13593 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * lyxserver.h:
13596         * lyxserver.C: invalidate fd's when doing endPipe()
13597
13598 2001-11-08  José Matos  <jamatos@fep.up.pt>
13599
13600         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13601         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13602
13603         * paragraph.h:
13604         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13605
13606 2001-11-07  José Matos  <jamatos@fep.up.pt>
13607
13608         * buffer.h:
13609         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13610         const qualifier.
13611
13612         * buffer.C (sgmlOpenTag):
13613         * buffer.C (sgmlCloseTag): removed debug info.
13614
13615         * buffer.h (sgmlOpenTag):
13616         * buffer.h (sgmlCloseTag): made public.
13617
13618 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * buffer.C (saveParamsAsDefaults):
13621         * lyx_cb.C (MenuLayoutSave): remove
13622
13623         * LyXAction.C (init):
13624         * commandtags.h:
13625         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13626
13627 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * buffer.C (setPaperStuff): removed from here...
13630
13631         * bufferparams.C (setPaperStuff): ... and moved there.
13632
13633 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * minibuffer.h:
13636         * minibuffer.C:
13637         * XFormsView.C: add support for drop-down completion
13638
13639 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13640
13641         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13642         commands.
13643
13644 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13645
13646         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13647         disabled.
13648
13649 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * lyx_main.C: change ref to known bugs
13652
13653 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13654
13655         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13656         to work around older babel problems.
13657
13658 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13659
13660         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13661
13662 2001-10-24  Juergen Vigna  <jug@sad.it>
13663
13664         * tabular-old.C (ReadOld): below variable changes reflected.
13665
13666         * tabular.[Ch]: added ltType struct for longtable header/footer
13667         defines and changed all instances where they are used. Added
13668         future support for double top/bottom rows.
13669
13670 2001-10-24  José Matos  <jamatos@fep.up.pt>
13671
13672         * buffer.h (docbookHandleCaption):
13673         * buffer.C (docbookHandleCaption): removed unused function.
13674         (makeDocBookFile): moved docbook supported version to v4.1.
13675
13676 2001-10-24  José Matos  <jamatos@fep.up.pt>
13677
13678         * tabular.h:
13679         * tabular.C (docbookRow): new function to export docbook code of a row.
13680         (DocBook): now honors the longtable flags.
13681
13682 2001-10-23  José Matos  <jamatos@fep.up.pt>
13683
13684         * LaTeXFeatures.h:
13685         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13686         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13687
13688         * buffer.C (makeLinuxDocFile):
13689         (makeDocBookFile): reworked the preamble, more clean, and with
13690         support for lyx defined entities. Changed the document declaration
13691         to be more XML friendly.
13692
13693         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13694         if we need to output XML that should be done with a filter.
13695
13696 2001-10-22  Juergen Vigna  <jug@sad.it>
13697
13698         * sp_pspell.h (class PSpell): add alive function needed in the
13699         controller to see if the spellchecker could be started.
13700
13701 2001-10-22  Juergen Vigna  <jug@sad.it>
13702
13703         * buffer.C (insertStringAsLines): modify the font for inserting
13704         chars in certain conditions by calling checkInsertChar(font).
13705
13706 2001-10-19  Juergen Vigna  <jug@sad.it>
13707
13708         * text.C (workWidth): use getRow instead of wrong algorithm.
13709         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13710
13711 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * lyxserver.h:
13714         * lyxserver.C:
13715         * lyx_main.h:
13716         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13717
13718 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * text.C (workWidth): do not search for the exact row when
13721         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13722         optimization for big documents.
13723
13724 2001-10-18  Juergen Vigna  <jug@sad.it>
13725
13726         * text.C (workWidth): new function with added Inset * parameter.
13727
13728 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13729
13730         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13731
13732         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13733         change return type of getColumnNearX.
13734
13735
13736         * text.C (changeRegionCase): use uppercase/lowercase instead of
13737         toupper/tolower.
13738         (leftMargin):
13739         (rightMargin): simplify code by factoring out the uses of
13740         textclasslist.
13741         (labelFill):
13742         (numberOfHfills):
13743         (setHeightOfRow):
13744         (appendParagraph): use Paragraph::size_type
13745
13746 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * vspace.C (asLatexString): add a missing break
13749
13750 2001-10-15  Herbert Voss  <voss@perce.de>
13751
13752         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13753
13754 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13755
13756         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13757         is not available.
13758
13759 2001-10-10  André Pönitz <poenitz@gmx.net>
13760
13761         * lyxfunc.C: removed greek_kb_flag.
13762
13763 2001-10-10  Herbert Voss  <voss@perce.de>
13764
13765         * lyx_main.C: delete global string help_lyxdir.
13766
13767 2001-10-09  Herbert Voss  <voss@perce.de>
13768
13769         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13770
13771         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13772
13773         * lyx_main.C: added global string help_lyxdir.
13774
13775         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13776
13777 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13778
13779         * lyxrc.C (set_font_norm_type): support iso8859-4
13780
13781 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13782
13783         * LaTeX.C (deplog): add another regex for MikTeX
13784
13785 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13786
13787         * lyxrc.C (set_font_norm_type): support iso8859-3
13788
13789 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13792
13793         * LaTeXFeatures.C: remove special case of french and index
13794
13795         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13796         before \begin{document}). This solves several incompatibilities.
13797
13798 2001-10-03  Garst Reese  <reese@isn.net>
13799
13800         * lyx_cb.C: change CheckTex error msg.
13801
13802 2001-10-03  José Matos  <jamatos@fep.up.pt>
13803
13804         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13805
13806 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * .cvsignore: update
13809
13810         * lyx_main.C (commandLineVersionInfo): use new style version info.
13811
13812         * buffer.C (writeFile):
13813         (makeLaTeXFile):
13814         (makeLinuxDocFile):
13815         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13816
13817         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13818
13819         * version.h: update to use stuff in version.C
13820
13821         * version.C.in: new file. Contains version information determined
13822         at compile time. This is a merging of version.h and
13823         version_info.h.in.
13824
13825 2001-10-03  Juergen Vigna  <jug@sad.it>
13826
13827         * BufferView_pimpl.C (update): don't change "dirty" status in
13828         updateInset call.
13829
13830 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * WorkArea.C (c-tor): re-position version string slightly.
13833
13834 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13835
13836         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13837         revert to previous code.
13838
13839         WorkArea.[Ch]: (show, destroySplash): methods removed.
13840
13841         WorkArea.C: rework code so that it's an amalgam of the codes before and
13842         after the splash screen was moved to WorkArea.
13843
13844 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * lyxrc.C (read):
13847         * vspace.C (inPixels):
13848         (lyx_advance):
13849         * kbmap.C (bind):
13850         * buffer.C (insertStringAsLines):
13851         (asciiParagraph): fix types to be large enough
13852
13853         * lyxlex_pimpl.h: change member status from short to int
13854
13855         * layout.h: fix type of endlabeltype
13856
13857         * kbmap.C (bind):
13858         * kbsequence.C (parse): change return type to string::size_type
13859
13860         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13861         variable
13862
13863         * Bullet.C (bulletSize):
13864         (bulletEntry): do not use short ints as parameters
13865
13866         * BufferView2.C (insertLyXFile): change a char to an int.
13867
13868         * WorkArea.C (WorkArea): remove unneeded floats in computation
13869
13870 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13871
13872         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13873
13874         * paragraph.C (asString): Do not ignore newline/hfill chars when
13875         copying to the clipboard.
13876
13877 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13878
13879         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13880         after a multi-line inset.
13881
13882 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * paragraph.C (validate): Set NeedLyXFootnoteCode
13885
13886 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13887
13888         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13889         and decrease-error to decrease.
13890
13891 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13894         it more readable (should be equivalent)
13895
13896 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13897
13898         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13899
13900 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13903         of a cursor (row, etc.) after a character has been deleted
13904         (deleteEmptyParagraphMechanism): call the method above on _all_
13905         cursors held by the LyXText when a double space has been
13906         detected/deleted.
13907
13908 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13909
13910         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13911         pixmap.
13912         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13913
13914         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13915         background. Use greyOut() and the new show() methods to toggle between
13916         the foreground and background. Add code to remove the splash after
13917         its initial showing.
13918
13919         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13920         (create_forms): no longer call Dialogs::showSplash.
13921
13922 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * .cvsignore: add version_info.h
13925
13926 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * version_info.h.in: new file
13929
13930         * Makefile.am: add version_info.h.in
13931
13932         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13933         version_info.h instead of VERSION_INFO
13934
13935 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13936
13937         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13938         The ERT inset now returns string().
13939
13940 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * lyxtext.h, text.C (selectNextWord): renamed as
13943         selectNextWordToSpellcheck.
13944
13945         * text.C (selectNextWordToSpellcheck): Modified to not select
13946         words inside an ERT inset.
13947
13948 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13949
13950         * lyx_cb.C (MenuLayoutSave): change a bit the question
13951
13952         * sp_base.h: include <sys/types.h>
13953
13954 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13955
13956         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13957
13958 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13959
13960         * several files: fix typos in user-visible strings
13961
13962 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * text2.C (pasteSelection): do not set the selection, since it
13965         will be cleared later. Actually, the intent was to fix the way the
13966         selection was set, but I figured rmoving the code was just as good.
13967
13968 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13969
13970         * FontLoader.C (available): Check if font is available without
13971         loading the font.
13972
13973 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13974
13975         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13976
13977 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * lyxrc.[Ch]: added display_graphics variable and associated code.
13980
13981 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13982
13983         * bufferparams.C (hasClassDefaults): new method. Returns true if
13984         the buffer parameters correspond to known class defaults
13985
13986 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13987
13988         * XFormsView.C (show): set minimum size to the main window.
13989
13990 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * text2.C (copySelection):
13993         (cutSelection):
13994         * lyxfind.C (LyXReplace):
13995         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13996         LyXText::selectionAsString.
13997
13998         * paragraph.C (asString): add "label" argument to the second form
13999
14000         * text2.C (selectionAsString): add "label" argument and pass it to
14001         Paragraph::asString.
14002
14003 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * lyx_main.C (commandLineHelp): remove version information
14006
14007 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14008
14009         * lyx_main.C: add -version commandline option
14010
14011 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * paragraph.h: make the optional constructor arg required instead.
14014         some modifications to other files because of this.
14015
14016         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14017
14018         * lyxserver.C (C_LyXComm_callback): make it static
14019
14020         * lyx_main.C (error_handler): make it static
14021
14022         * lyx_gui.C (LyX_XErrHandler): make it static
14023
14024         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14025
14026         * WorkArea.C: make the extern "C" methods static.
14027
14028         * Makefile.am (lyx_LDADD): simplify
14029
14030 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14031
14032         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14033         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14034
14035         * LyXAction.C (init):
14036         * lyxfunc.C (dispatch): associated code removal.
14037
14038 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14039
14040         * lyxfont.h (isSymbolFont): shut off warning
14041
14042         * text.C (setHeightOfRow):
14043         (getVisibleRow): fix crash with empty paragraphs which have a
14044         bottom line
14045
14046 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14047
14048         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14049         code.
14050
14051 2001-09-04  José Matos  <jamatos@fep.up.pt>
14052         * buffer.C
14053         * buffer.h
14054         * tabular.C (docbook): rename docBook method to docbook.
14055
14056 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14057
14058         * Makefile.am: add dependencies to main.o.
14059
14060 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * FontLoader.C (available): Return false if !lyxrc.use_gui
14063
14064 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14065
14066         * FontInfo.C (query):
14067         * converter.C (view):
14068         * importer.C (Import):
14069         * exporter.C (Export): Can not -> cannot.
14070
14071 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14072
14073         * BufferView_pimpl.C: allow to create index inset even if
14074           string is empty
14075
14076 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14077
14078         * buffer.C (getLists): replace boost::tie code with an explicit pair
14079         as boost::tie can break some compilers.
14080
14081         * iterators.h: Added a std:: declaration to the return type of
14082         ParIterator::size.
14083
14084 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14087           case.
14088
14089 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14090
14091         * iterators.[Ch]: New files. Provide paragraph iterators.
14092
14093         * buffer.C (changeLanguage): Use paragraph iterators.
14094         (isMultiLingual): ditto
14095
14096         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14097
14098 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * FontLoader.C: Support for cmr font.
14101
14102 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14105         (available): New method.
14106
14107         * FontInfo.C (getFontname): Use scalable fonts even when
14108         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14109         found.
14110
14111 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14112
14113         * converter.C (Formats::view): reverted! Incorrect fix.
14114
14115 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14116
14117         * converter.C (Formats::view): only output the -paper option
14118         if the dvi viewer is xdvi, thereby fixing bug #233429.
14119
14120 2001-08-23  Herbert Voss  <voss@perce>
14121
14122         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14123
14124 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14125
14126         * Spacing.h (Spacing): Set space to Default on in the default
14127         constructor.
14128
14129 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * vc-backend.h (RCS::versionString): add RCS to version
14132         (CVS::versionString): add CVS to version
14133
14134         * vc-backend.C (scanMaster): do not add CVS to version.
14135         (scanMaster): do not add RCS to version
14136
14137         * lyxvc.C (versionString): new method
14138
14139         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14140
14141 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * Spacing.C (set): initialize fval
14144
14145 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14148         " or \.
14149
14150 2001-08-16  Juergen Vigna  <jug@sad.it>
14151
14152         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14153
14154 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * BufferView_pimpl.C:
14157         * figureForm.C:
14158         * lyxtext.h:
14159         * text2.C: setParagraph takes linespacing now
14160
14161 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14162
14163         * LyxAction.C: add internal LFUN_CITATION_INSERT
14164
14165         * LyXView.C: actually apply fix
14166
14167         * bufferlist.C: fix open non-existent file
14168
14169         * lyxfind.C: fix indentation
14170
14171         * lyxfunc.C: remove unneeded assert, fix typo
14172
14173 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * MenuBackend.C: use "Floatname List"
14176
14177 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14180         when converting LaTeX layout to insetERT.
14181         Generate a non-collapsed float when reading old float
14182
14183 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14184
14185         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14186         ERT insets.
14187
14188 2001-08-13  Juergen Vigna  <jug@sad.it>
14189
14190         * text.C (fill): return 0 instead of 20 as this seems to be the more
14191         correct value.
14192
14193 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14196         lyxrc.font_norm.
14197
14198 2001-08-13  Juergen Vigna  <jug@sad.it>
14199
14200         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14201         casesensitive off.
14202         (SearchBackward): comment out the unlocking of the inset_owner this
14203         should not be needed!
14204
14205 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * Many files: Remove inherit_language, and add latex_language
14208
14209         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14210         collapsible insets.
14211
14212 2001-08-10  Juergen Vigna  <jug@sad.it>
14213
14214         * text.C (prepareToPrint): fixed hfill-width in draw!
14215
14216         * BufferView2.C (selectLastWord): save the selection cursor as this
14217         now is cleared in the function LyXText::clearSelection!
14218
14219 2001-08-08  Juergen Vigna  <jug@sad.it>
14220
14221         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14222         BACKSPACE type functions.
14223
14224         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14225         is only cutted from the document but not put in the cut-buffer, where
14226         still the old stuff should be.
14227
14228         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14229
14230         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14231
14232         * tabular.C (SetWidthOfCell): fixed special case where the width
14233         was not updated!
14234         (LeftLine): handle '|' in align_special.
14235         (RightLine): ditto
14236         (LeftAlreadyDrawed): ditto
14237         (SetWidthOfCell): ditto
14238
14239 2001-08-07  Juergen Vigna  <jug@sad.it>
14240
14241         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14242
14243 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14246         * lyxlex.[hC]: ditto
14247
14248 2001-08-06  Juergen Vigna  <jug@sad.it>
14249
14250         * text.C (getVisibleRow): fix up row clearing a bit.
14251
14252 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * minibuffer.C: make sure the X server sees the changes in the input.
14255
14256 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * paragraph.C (getFont): split into...
14259         (getLabelFont): this
14260         (getLayoutFont): and this
14261         * paragraph_pimpl.C (realizeFont): calling this
14262
14263         * text2.C (getFont): split into...
14264         (getLayoutFont): this
14265         (getLabelFont): and this
14266         (realizeFont): all three calling this
14267
14268         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14269         files where used.
14270
14271 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14274
14275 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14276
14277         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14278         layouts from the Quote inset insertion.
14279
14280 2001-08-03  Juergen Vigna  <jug@sad.it>
14281
14282         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14283
14284         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14285         only if status not is already CHANGED_IN_DRAW (second level).
14286
14287         * text.C (draw): don't set the need_break_row when inside an
14288         InsetText LyXText.
14289
14290 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14291
14292         * buffer.C (parseSingleLyXformat2Token): handle more latex
14293         conversion cases.
14294
14295         * bufferview_funcs.[hC]: change function names to
14296         begin with small char, adjust other files.
14297
14298 2001-08-02  André Pönitz <poenitz@gmx.net>
14299
14300         * lyxfunc.C:
14301         BufferView_pimpl.C: remove broken special code for math-greek
14302
14303 2001-08-02  Juergen Vigna  <jug@sad.it>
14304
14305         * BufferView_pimpl.C (update): redone this function so that we
14306         update the text again if there was a CHANGE_IN_DRAW.
14307
14308         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14309         (drawFromTo): added a new internal bool which is used by draw() and
14310         redraw() function.
14311         (general): some cursor drawing problems fixed.
14312
14313 2001-08-01  Juergen Vigna  <jug@sad.it>
14314
14315         * lyxfind.C (LyXFind): fixed
14316         (SearchForward): ditto
14317         (SearchBackward): ditto
14318
14319         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14320         spurius drawing of the cursor in the main area.
14321
14322         * text2.C (status): small fix which could lead to a segfault!
14323         (clearSelection): remove unneeded BufferView param.
14324
14325 2001-08-01  André Pönitz <poenitz@gmx.net>
14326
14327         * lyxfunc.C: small change due to changed mathed interface
14328
14329 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14332
14333 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * lyxfunc.c: fail gracefully if file doesn't exist
14336
14337         * LyXSendto.C:
14338         * buffer.C:
14339         * lyxfunc.C:
14340         * BufferView_pimpl.C: IsDirWriteable() proto changed
14341
14342         * LyXView.C: fix updateWindowTitle() to store the last title
14343
14344 2001-07-31  Juergen Vigna  <jug@sad.it>
14345
14346         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14347         the font (wrong since using of Paragraph::highestFontInRange).
14348
14349         * paragraph.C (highestFontInRange): added a default_size parameter.
14350
14351         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14352         (setHeightOfRow): reformat
14353
14354 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * converter.[hC] + affected files: move to (inital-char)lowercase
14357         function names.
14358
14359         * ParagraphParameters.C (ParagraphParameters): remove commented code
14360
14361         * PainterBase.[Ch]: remove commented code
14362
14363         * LaTeXFeatures.h: add "bool floats" for float.sty
14364
14365         * LaTeXFeatures.C (LaTeXFeatures): init floats
14366         (require): handle float
14367         (getPackages): do it with floats
14368
14369 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * BufferView_pimpl.C (Dispatch): improve handling of
14372         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14373
14374         * commandtags.h: #include lyxfont.h here temporarily to avoid
14375         keybinding bug.
14376
14377         * bufferlist.h: include LString.h here.
14378
14379 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * text2.C (getStringToIndex): new method.
14382
14383 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14384
14385         * *: Reduced header file dependencies all over.
14386
14387 2001-07-30  Baruch Even  <baruch@lyx.org>
14388
14389         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14390
14391 2001-07-29  Baruch Even  <baruch@lyx.org>
14392
14393         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14394
14395 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * ParameterStruct.h (endif): add a default constructor to make
14398         sure that all variables is initialized.
14399
14400         * ParagraphParameters.C (ParagraphParameters): adjust
14401
14402 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14405         index; also, check that there is something to index, and that it
14406         does not span over several paragraphs.
14407         (doubleClick): use WHOLE_WORD_STRICT for double click.
14408
14409         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14410
14411         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14412         scheme.
14413
14414 2001-07-26  Baruch Even  <baruch@lyx.org>
14415
14416         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14417         an InsetFig figure, backwards compatible reading of old figure code.
14418
14419 2001-07-27  Juergen Vigna  <jug@sad.it>
14420
14421         * text2.C: font.realize function adaption.
14422
14423         * text.C (draw): add a warnings lyxerr text if needed.
14424
14425         * layout.C: font.realize function adaption.
14426
14427         * language.C: add inherit_language and implement it's handlings
14428
14429         * bufferview_funcs.C (StyleReset): remove language parameter from
14430         font creation (should be language_inherit now).
14431
14432         * bufferparams.C (writeFile): handle ignore_language.
14433
14434         * paragraph.C (getFontSettings): the language has to be resolved
14435         otherwise we have problems in LyXFont!
14436
14437         * lyxfont.C (lyxWriteChanges): added document_language parameter
14438         (update): removed unneeded language parameter
14439
14440         * paragraph.C (validate): fixed wrong output of color-package when
14441         using interface colors for certain fonts in certain environments,
14442         which should not seen as that on the final output.
14443
14444 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * BufferView_pimpl.C:
14447         * Thesaurus.h:
14448         * Thesaurus.C:
14449         * Makefile.am:
14450         * commandtags.h:
14451         * LyXAction.C: add thesaurus support
14452
14453         * lyxfind.h:
14454         * lyxfind.C: add "once" parameter, for thesaurus, to not
14455           move to the next match
14456
14457 2001-07-26  Juergen Vigna  <jug@sad.it>
14458
14459         * lyxfont.C (realize): honor ignore_language too!
14460         (resolved): ditto.
14461
14462         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14463
14464         * text.C (draw): one place more for ignore_language to not draw
14465         itself!
14466
14467 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14470
14471 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14472
14473         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14474         the minipage conversion problem.
14475
14476 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14477
14478         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14479         insert an inset.
14480
14481 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * BufferView.h: don't forward declare WorkArea
14484
14485         * BufferView.C: don't include WorkArea.h
14486
14487 2001-07-25  André Pönitz <poenitz@gmx.net>
14488
14489         * commandtags.h:
14490         * LyXAction.C:
14491         * lyxfunc.C:  new LFUN 'math-space'
14492
14493         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14494
14495 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14496
14497         * text2.C (toggleInset): call open/close
14498
14499 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14500
14501         * lyxfunc.C (dispatch): add debug for the disabled case
14502
14503         * font.C (buttonText): make similar to rectText
14504
14505         * buffer.C (readInset): comment out parsing of insetlist and
14506         insttheorem
14507
14508         * PainterBase.C (rectText): small correction
14509
14510         * BufferView_pimpl.C: comment out insettheorem and insetlist
14511         * LyXAction.C: ditto
14512         * commandtags.h: ditto
14513
14514 2001-07-24  Juergen Vigna  <jug@sad.it>
14515
14516         * text.C (draw): honor the ignore_language.
14517
14518         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14519
14520 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14523         char inset.
14524
14525 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14526
14527         * lyxtext.h: remove unused (and unimplemented) methods
14528
14529 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14530
14531         * text.C (getVisibleRow): honor background color
14532
14533         * PainterBase.h:
14534         * Painter.h: remove default color argument for fillRectangle
14535
14536         * text.C (backgroundColor): new method
14537
14538 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * text.C (getVisibleRow): adjust
14541
14542         * font.[Ch] (rectText): new method, metrics
14543         (buttonText): new method, metrics
14544
14545         * PainterBase.[hC]: make rectText and buttonText always draw and take
14546         fewer paramteres.
14547
14548 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14549
14550         * ToolbarDefaults.C (read):
14551         * MenuBackend.C (read): allow escaping in all strings
14552
14553         * BufferView_pimpl.C (insertAndEditInset): new method.
14554         (Dispatch): use insertAndEditInset whenever appropriate.
14555
14556         * BufferView_pimpl.C (insertNote): removed
14557
14558         * BufferView_pimpl.C (smartQuote): new method, moved from
14559         BufferView; if an insetquote cannot be inserted, insert a '"'
14560         character instead.
14561
14562         * BufferView2.C: remove insertCorrectQuote();
14563
14564         * lyxfunc.C (getStatus): Add support for all remaingin
14565         inset-insert lfuns.
14566
14567         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14568
14569         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14570         command (necessary to pass " as parameter of self-insert.
14571
14572         * text.C (selectWordWhenUnderCursor):
14573         (selectWord): add word_location parameter
14574         (selectWordWhenUnderCursor): same + remove special code for word
14575         boundary.
14576         (selectNextWord): use kind() to guess type of insetspecialchar,
14577         not latex().
14578
14579         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14580         (insertErtContents): create ert insets as collapsed.
14581         (readInset): better compatibility code for Info inset.
14582
14583 2001-07-20  Juergen Vigna  <jug@sad.it>
14584
14585         * lyxfunc.C (dispatch): use always LyXFind now!
14586
14587         * text2.C (init): add a reinit flag so that the LyXText can be
14588         reinited instead of deleted and reallocated (used in InsetText).
14589
14590         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14591
14592         * text.C: ditto
14593
14594         * text2.C: ditto
14595
14596 2001-07-18  Juergen Vigna  <jug@sad.it>
14597
14598         * text.C (selectNextWord): handle insets inside inset by calling
14599         always the bv->text functions so that we can go up the_locking_inset!
14600
14601         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14602         in strange locations when inside an inset!
14603
14604         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14605         handling to include insets.
14606
14607         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14608
14609 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * LyXAction.C (init):
14612         * commandtags.h:
14613         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14614         LIGATURE_BREAK, since the name is so stupid.
14615
14616 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14617
14618         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14619         InsetInfos.
14620
14621         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14622
14623         * sp_form.[Ch]: remove.
14624
14625         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14626
14627         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14628         InsetInfo.
14629
14630         * src/buffer.C (readInset): ditto.
14631
14632 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14633
14634         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14635         menuSeparator(), endOfSentenceDot(), ldots() and
14636         hyphenationPoint(), which are therefore removed.
14637         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14638
14639         * LyXAction.C (init):
14640         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14641
14642         * paragraph.C (getWord): removed.
14643
14644         * BufferView_pimpl.C (Dispatch): use last word or selection for
14645         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14646
14647         * lyx_main.C (queryUserLyXDir): do not ask before creating
14648         user_dir, except if it has been named explicitely.
14649
14650 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14651
14652         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14653         a document of zero size.
14654
14655 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14656
14657         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14658         approriately in the c-tor and in require().
14659         (getPackages): output the appropriate LaTeX for natbib support.
14660
14661         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14662         variables "use_natbib" and "use_numerical_citations" when reading the
14663         LyX file.
14664         (readInset): read the various natbib cite commands.
14665         (validate): white-space change.
14666
14667         * bufferparams.[Ch]: new variables "bool use_natbib" and
14668         "bool use_numerical_citations".
14669         (writeFile): output them in the LyX file.
14670
14671 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14672
14673         * lyxfunc.C (getStatus): add support for all the inset insertion
14674         commands.
14675
14676         * text2.C (insertInset):
14677         * paragraph.C (insetAllowed):
14678         * BufferView_pimpl.C (insertInset): update to take in account the
14679         renaming of insertInsetAllowed
14680
14681         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14682
14683         * text2.C (getInset): new method. returns inset at cursor position.
14684
14685         * BufferView_pimpl.C (Dispatch): changes because of this.
14686
14687         * LyXAction.C (init): rename open-stuff to inset-toggle.
14688
14689         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14690
14691         * text2.C (toggleInset): renamed from openStuff; use
14692         Inset::open().
14693
14694 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14695
14696         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14697
14698         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14699
14700 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14701
14702         * buffer.C (readLyXformat2): Add filename to the error dialog
14703
14704 2001-07-18  Juergen Vigna  <jug@sad.it>
14705
14706         * tabular.C (GetCellNumber): put an assert here instead of the check!
14707
14708 2001-07-17  Juergen Vigna  <jug@sad.it>
14709
14710         * BufferView_pimpl.C (toggleSelection): adapted too.
14711
14712         * text.C (selectNextWord): adapted for use with insets.
14713         (selectSelectedWord): ditto
14714
14715 2001-07-17  Juergen Vigna  <jug@sad.it>
14716
14717         * sp_spell.C (PSpell): fix initialitation order.
14718
14719 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * paragraph.C: spacing
14722
14723 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14724
14725         * sp_spell.C: repair language selection for pspell
14726
14727 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * lyxfunc.h: change more methods to begin with lower char.
14730
14731 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14734         for unknown layouts.
14735
14736 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * buffer.C (readLyXformat2): Generate an error dialog if there are
14739         unknown layouts.
14740
14741 2001-07-16  Juergen Vigna  <jug@sad.it>
14742
14743         * sp_spell.C: always compile ISpell part.
14744
14745         * lyxrc.C: added use_pspell entry and it's handling.
14746
14747 2001-07-13  Juergen Vigna  <jug@sad.it>
14748
14749         * sp_spell.C: removed double includes.
14750
14751 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14752
14753         Consistent use of Lsstream.h:
14754         * Lsstream.h: added using std::stringstream for consistencies sake.
14755
14756         * buffer.C: removed using std::stringstream
14757
14758         * lyxfont.C (stateText):
14759         * paragraph.C (asString):
14760         * text.C (selectNextWord, selectSelectedWord):
14761         * text2.C (setCounter):
14762         * vspace.C (asString, asLatexString):
14763         std::ostringstream -> ostringstream.
14764
14765 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14766
14767         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14768         * commandtags.h: add LFUN_HELP_ABOUTLYX
14769         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14770
14771 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14772
14773         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14774         cursorToggle()
14775         * lyx_gui_misc.C: remove spellchecker
14776         * lyxfunc.C: showSpellchecker
14777         * sp_base.h: added
14778         * sp_ispell.h: added
14779         * sp_pspell.h: added
14780         * sp_spell.C: added
14781         * sp_form.[Ch]: removed
14782         * spellchecker.[Ch]: removed
14783
14784 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14785
14786         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14787         is set.
14788         (simpleTeXSpecialChars): Simply print the input character without
14789         any special translation if pass_thru is set.
14790
14791         * layout.h: Added bool pass_thru to layout class for being able to
14792         implement pass through of a paragraph for Literate Programming.
14793
14794         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14795         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14796         * layout.C (Read): add "passthru" to list of layout tags and add
14797         code to set the pass_thru boolean when it is read.
14798
14799 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * trans_decl.h: remove allowed from KmodInfo
14802
14803         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14804         remove allowed code
14805         (Load): adjust
14806
14807         * paragraph_pimpl.C (erase): use boost::prior
14808
14809         * Painter.C (text): use data() instead of c_str() when length is
14810         also provided.
14811         * WorkArea.C (putClipboard): ditto
14812         * font.h (width): ditto
14813
14814         * BufferView2.C: use it-> instead of (*it). for iterators
14815         * texrow.C: ditto
14816         * paragraph_pimpl.C: ditto
14817         * paragraph.C: ditto
14818         * minibuffer.C: ditto
14819         * language.C: ditto
14820         * kbmap.C: ditto
14821         * encoding.C: ditto
14822         * counters.C: ditto
14823         * converter.C: ditto
14824         * chset.C: ditto
14825         * Variables.C: ditto
14826         * TextCache.C: ditto
14827         * MenuBackend.C: ditto
14828         * LyXAction.C: ditto
14829         * LColor.C: ditto
14830         * FloatList.C: ditto
14831         * DepTable.C: ditto
14832         * ColorHandler.C (LyXColorHandler): ditto
14833
14834 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14835
14836         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14837
14838         * text2.C (openStuff): reintroduce this method (which had been
14839         nuked in NEW_INSETS frenzy).
14840
14841         * lyxfunc.C (Dispatch): when an action has not been handled, use
14842         its name in the error message, not its number.
14843
14844         * paragraph.C (inInset): change method name to begin with lowercase.
14845
14846         * undo_funcs.C:
14847         * text2.C: updates because of this.
14848
14849 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * ToolbarDefaults.C (add): add spaces in error message
14852
14853 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14856         (readLyXformat2): rename return_par to first_par, use lyxlex's
14857         pushToken and remove the manual push handling.
14858         (parseSingleLyXformat2Token): add another ert comp. variable:
14859         in_tabular, rename return_par to first_par. handle newlines better
14860
14861 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14862
14863         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14864
14865 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14866
14867         * text2.C (getParFromID): removed
14868
14869         * buffer.C (getParFromID): new method moved form lyxtext.
14870         * BufferView2.C (insertErrors): adjust
14871         (setCursorFromRow): adjust
14872         * BufferView_pimpl.C (restorePosition): adjust
14873         * lyxfunc.C (Dispatch): adjust
14874         * undo_funcs.C (textUndo): adjust
14875         (textRedo): adjust
14876         (textHandleUndo): adjust
14877         (textHandleUndo): adjust
14878
14879 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14880
14881         * buffer.C: up' the LYX_FORMAT
14882
14883         * lyxfont.h: turn NO_LATEX on as default
14884
14885         * buffer.C (insertErtContents): new methods of tex style compability.
14886         (parseSingleLyXformat2Token): use it several places.
14887         * tabular.C (OldFormatRead): and here
14888
14889 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14890
14891         * text2.C: remove some commented code.
14892         reindent file.
14893
14894         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14895         * trans.C: changes because of the above.
14896
14897 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14898
14899         * text2.C (setCounter): Fix counters bug with bibliography layout.
14900
14901 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14904         own member functions
14905         (simpleTeXSpecialChars): ditto
14906
14907 2001-07-06  Juergen Vigna  <jug@sad.it>
14908
14909         * a lot of files: changed the access to LyXText::status and the
14910         call of undo-functions.
14911
14912         * undo.[Ch]: added a inset_id to the undo informations.
14913
14914         * undo_funcs.[Ch]: added and moved here all undo functions.
14915
14916         * lyxtext.h: give the status enum a weight, made status_ a private
14917         variable and made accessor functions for it, removed the whole bunch
14918         of undo-functions as they are now in their own file, make some
14919         functions publically available. Added function ownerParagraph with
14920         int parameter.
14921
14922         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14923         made InInset() a const function, added getParFromID() function.
14924
14925         * buffer.[Ch]: added const version for inset_iterator functions,
14926         added getInsetFromID() function.
14927
14928         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14929         changed undo functions for new version.
14930
14931 2001-07-05  Juergen Vigna  <jug@sad.it>
14932
14933         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14934         unknow mechanism does not call the proper constructor but only this
14935         one also if I request the other!?
14936
14937 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14940
14941         * text2.C (LyXText): use initialization lists.
14942
14943         * lyxtext.h (Selection): initialize set_ and mark_
14944         (init): remove method
14945
14946 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14947
14948         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14949
14950 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * screen.[Ch]: change method names to begin with lowercase
14953
14954         * BufferView_pimpl.C (updateScrollbar): simplify further and
14955         hopefully make it a bit faster.
14956
14957 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14958
14959         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14960         calling directly xforms functions.
14961
14962         * Painter.C (Painter):
14963         * lyx_cb.C (MenuWrite):
14964         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14965         fl_display.
14966
14967         * lyx_gui.C: remove bogus guiruntime extern declaration.
14968
14969 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14970
14971         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14972         in NEW_INSETS
14973         (redoDrawingOfParagraph): ditto
14974         (redoParagraphs): ditto
14975         (cutSelection): don't create a object for CutAndPaste use the
14976         static method directly
14977         (pasteSelection): ditto
14978
14979         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14980         LyXview (+ rename)
14981
14982 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * modifications to some other files because of this.
14985
14986         * Makefile.am (lyx_SOURCES): add XFormsView
14987
14988         * XFormsView.[Ch]: new files
14989
14990         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14991         the main window. Move the gui dependent stuff to XFormsView
14992
14993 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * tabular.C (GetCellInset): update cur_cell also in the row/col
14996         version of this function.
14997
14998         * lyxfunc.C: no need to include figure_form.h here.
14999
15000         * FontLoader.h:
15001         * lyxfunc.h:
15002         * lyxscreen.h:
15003         * text2.C:
15004         * lyxvc.C: no need to include forms.h here.
15005
15006 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15009
15010         * lyxfunc.C (Dispatch):
15011         * Spacing.C (set):
15012         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15013         constructor argument.
15014
15015 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * paragraph.C (Paragraph): dont't clear, and just set layout.
15018         (makeSameLayout): use params's copy contructor.
15019
15020         * ParagraphParameters.[Ch] (makeSame): delete method
15021
15022 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * Variables.[Ch]: fix indentation, rename set to isSet
15025
15026 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * lyxfunc.C (Dispatch): fix typo
15029
15030 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15033         upper_bound.
15034
15035         * bufferlist.C: include assert.h for emergencyWrite().
15036
15037 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15038
15039         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15040           give up at last (bug #425202) !
15041
15042 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * lyx_gui_misc.C:
15045         * sp_form.h:
15046         * sp_form.C:
15047         * spellchecker.h:
15048         * spellchecker.C: strip spellchecker options and bring up
15049           preferences tab instead
15050
15051 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15054         the istringstream constructor
15055
15056 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * paragraph.C (getLayout): fix return value
15059
15060         * paragraph.h: do not declare getLayout as inline.
15061
15062         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15063
15064 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15065
15066         * lyxcursor.h (operator<): new func
15067         (operator>): new func
15068         (operator>=): new func
15069         (operator<=): new func
15070
15071         * text.C (changeCase): use selection.start and selection.end
15072         (changeRegionCase): require from to be <= to. Require par to be a
15073         valid paragraph.
15074
15075         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15076
15077 2001-06-27  Juergen Vigna  <jug@sad.it>
15078
15079         * text.C (cursorLeftOneWord): changed to return the cursor and added
15080         overlay with BufferView * parameter which calls this one.
15081         (getWord): added
15082         (selectWord): use new getWord function.
15083         (changeCase): renamed from changeWordCase as and extended to work
15084         also on selections.
15085
15086         * lyxtext.h: added enum word_location
15087
15088         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15089         changeCase as this operates now also on selections.
15090
15091 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15092
15093         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15094
15095         * many files: send debug output to Debug::INFO instead of
15096         Debug::ANY.
15097
15098         * converter.C (View):
15099         (Convert):
15100         (Move): send debug output to Debug::FILES instead of console.
15101
15102 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15103
15104         * lyxfunc.C (getStatus): use func_status
15105
15106         * func_status.h: new header, describing the results of
15107         LyXFunc::getStatus;
15108
15109         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15110         LFUN_MATH_HALIGN.
15111
15112 2001-06-25  The LyX Project  <jug@sad.it>
15113
15114         * buffer.C (sgmlOpenTag):
15115         (sgmlCloseTag):
15116         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15117
15118 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15119
15120         * text2.C: remove some dead code
15121
15122         * tabular.C (GetCellInset): store the last cell checked (gotten)
15123
15124         * tabular.h: add the helper for the speedup
15125
15126         * lyxtext.h: remove some dead code
15127
15128 2001-06-26  The LyX Project  <Asger>
15129
15130         * paragraph.C: Change export to LaTeX of alignment to
15131         \begin{center} and family for better roundtrip work with reLyX.
15132
15133         * Tune the math drawing a bit.
15134
15135 2001-06-25  The LyX Project  <Asger>
15136
15137         * LColor.C (LColor): New color for math background. New color
15138         for buttons.
15139
15140 2001-06-25  The LyX Project  <jug@sad.it>
15141
15142         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15143
15144         * lyxfunc.C (Open):
15145         * bufferlist.C (newFile): do not restrict to files ending with
15146         .lyx
15147
15148         * BufferView_pimpl.C (MenuInsertLyXFile):
15149
15150 2001-06-24  The LyX Project  <jug@sad.it>
15151
15152         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15153         of compare_no_case
15154
15155 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * lyxtext.h: rename most methods to begin with a small char.
15158         Lots of changes because of this.
15159
15160         * paragraph.C (Paragraph): do not call fitToSize
15161         (erase): call Pimpl::erase
15162         (insertChar): call Pimpl::insertChar
15163         (insertInset): call Pipl::insertInset
15164         (breakParagraph): do not call fitToSize
15165         (breakParagraphConservative): do not call fitToSize
15166         (fitToSize): remove method
15167
15168         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15169
15170 2001-06-24  The LyX Project  <Asger>
15171
15172         * Fix Qt compilation^2
15173
15174 2001-06-24  The LyX Project  <jug@sad.it>
15175
15176         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15177         depthHook(getDepth()-1).
15178
15179         * paragraph.h:
15180         * ParagraphParameters.h:
15181         * ParameterStruct.h: change type of depth to unsigned int ==
15182         depth_type. Many adaptations to other files before of that.
15183
15184 2001-06-24  The LyX Project  <Asger>
15185
15186         * Fix Qt compilation.
15187
15188 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * paragraph.h: renamed several methods to begin with small letter.
15191         several changes to many parts of the code because of this.
15192
15193 2001-06-23  The LyX Project  <jug@sad.it>
15194
15195         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15196         rewritten to discard all double spaces when KeepEmpty is off
15197         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15198         to only handle newlines but not fiddle with spaces and friends.
15199
15200         * lyxfunc.C (MenuNew): when doing 'new from template', use
15201         template_path as default directory
15202
15203 2001-06-23  The LyX Project  <Asger>
15204
15205         * Clean-up of header file includes all over
15206         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15207
15208 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * paragraph.h: renamed from lyxparagraph.h
15211
15212 2001-06-23  Asger  <lyx@violet.home.sad.it>
15213
15214         * Buffer.h: Removed Buffer::resize
15215         * BufferList.h: Removed BufferList::resize
15216         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15217         the document lazily when we change the width, or the font settings.
15218
15219 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15222
15223 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * buffer.h: remove out of date comment
15226
15227 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15228
15229         * lyxscreen.h:
15230         * screen.C: fix "theoretical" GC leak
15231
15232 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * LaTeX.C (scanAuxFile):
15235         (deplog): remove trailing \r when reading stream (useful under
15236         win32)
15237
15238 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15239
15240         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15241         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15242         and BufferView::theLockingInset(Inset*), so should use them and not
15243         access bv_->text->the_locking_inset directly.
15244
15245         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15246
15247 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * Makefile.am:
15250         * tex-defs.h: remove old unused file
15251
15252 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * BufferView_pimpl.C: fix typo, remove minibuffer message
15255           when buffer has loaded
15256
15257 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * lyxfunc.C (Dispatch): use stringstream
15260         (MenuNew): use stringstream
15261         (Open): use stringstream
15262
15263         * importer.C (Import): use stringstream
15264
15265         * bufferview_funcs.C (CurrentState): use stringstream
15266
15267         * LaTeX.C (run): use stringstream
15268
15269         * BufferView_pimpl.C (savePosition): use stringstream
15270         (restorePosition): use stringstream
15271         (MenuInsertLyXFile): use stringstream
15272
15273 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15274
15275         * BufferView.C:
15276         * Bullet.C:
15277         * ColorHandler.C:
15278         * FontInfo.C:
15279         * FontLoader.C:
15280         * LColor.C:
15281         * LaTeXFeatures.C:
15282         * Painter.C:
15283         * gettext.C:
15284         * lyx_gui_misc.C:
15285         * lyxserver.C:
15286         * vspace.C: removed // -*- C++ -*- as first line.
15287
15288         * lyxfind.h:
15289         * version.h: added // -*- C++ -*- as first line.
15290
15291 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15294
15295         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15296         of string
15297
15298 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15301         of floats.
15302
15303 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * gettext.C: include LString.h even when --disable-nls is on.
15306
15307 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15308
15309         * converter.h (Get): changed argument type from int to
15310         FormatList::size_type to avoid unnecessary conversion.
15311
15312         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15313         before using it.
15314
15315 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * gettext.h: include LString.h even when --disable-nls is on.
15318
15319 2001-06-07  Juergen Vigna  <jug@sad.it>
15320
15321         * text.C (BreakAgain): subst spaces with tabs.
15322
15323         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15324         (resizeInsetsLyXText): set force on resizeLyXText.
15325
15326 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15327
15328         * gettext.h (gettext_init):
15329         (locale_init): use a real definition instead of a macro
15330
15331 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * Bufferview_pimpl.C:
15334         * LColor.h:
15335         * LColor.C: further lcolor tidies
15336
15337 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15338
15339         * BufferView_pimpl.C (updateScrollbar): simplify.
15340
15341         * BufferView2.C: don't include insets/insetinfo.h, change
15342         prototype for insertInset and call the Pimpl version. let
15343         updateInset call Pimpl version.
15344
15345         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15346         gotoInset to BufferView::Pimpl
15347
15348 2001-06-01  Juergen Vigna  <jug@sad.it>
15349
15350         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15351         inside a LockingInset (is the update needed at all?).
15352
15353 2001-05-31  Juergen Vigna  <jug@sad.it>
15354
15355         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15356         here not the old one otherwise how should we compare it afterwards
15357         if it's the same!
15358
15359 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15360
15361         * lyxfont.C:
15362         * tabular.C:
15363         * tabular-old.C:
15364         * FontInfo.C: bring C functions into global namespace when
15365         necessary
15366
15367 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * LString.h: make sure config.h has been loaded before LString.h.
15370
15371         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15372         (one for each char read by EatLine!).
15373
15374         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15375         variables.
15376
15377 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15378
15379         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15380         to the same as the par we break from
15381
15382 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15385
15386         * MenuBackend.C (expand): also create menu entries for wide
15387         versions of the floats.
15388
15389         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15390
15391         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15392
15393         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15394         frontends/Makefile.am
15395
15396         * text2.C: adjust
15397         * text.C: adjust
15398
15399
15400         * tabular.C (getTokenValue): add std::
15401
15402         * tabular-old.C (getTokenValue): add std::
15403         (getTokenValue): ditto
15404         (getTokenValue): ditto
15405
15406         * screen.C (ToggleSelection): adjust
15407
15408         * lyxtext.h: put selection cursors inside a Selection struct.
15409
15410         * lyxfunc.C (moveCursorUpdate): adjust
15411
15412         * lyxfont.C (latexWriteStartChanges): add std::
15413
15414         * lyxfind.C: adjust
15415
15416         * font.h: delete with(char const *, LyXFont const &)
15417
15418         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15419
15420         * FontInfo.C (getFontname): add std::
15421
15422         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15423         (workAreaButtonPress): adjust
15424         (tripleClick): adjust
15425         (update): adjust
15426         (moveCursorUpdate): adjust
15427         (Dispatch): adjust
15428
15429         * BufferView2.C (gotoInset): adjust
15430
15431 2001-05-30  Juergen Vigna  <jug@sad.it>
15432
15433         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15434         to check pspell I add this as default as I now have new pspell
15435         libraries and they seem to use this.
15436
15437 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * text2.C (CutSelection): make the cursor valid before the call to
15440         ClearSelection.
15441
15442 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15443
15444         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15445         relied on 0 terminated strings and other horrors. Bug found due to
15446         the new assert in lyxstring!
15447
15448         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15449         KP_ keys.
15450
15451 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15452
15453         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15454         to latinkeys.bind.
15455
15456         * lyxfunc.C (processKeySym): change method of getting to the
15457         self-insert char.
15458
15459         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15460         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15461         * BufferView_pimpl.[Ch]: here as private methods.
15462
15463 2001-05-28  Juergen Vigna  <jug@sad.it>
15464
15465         * text.C (SetHeightOfRow): added the update() call again as it is
15466         needed to initialize inset dimensions!
15467
15468 2001-05-16  Juergen Vigna  <jug@sad.it>
15469
15470         * text2.C (SetCharFont): Add new function with BufferView * and
15471         bool toggleall parameters for setting insets internal fonts.
15472         (SetFont): Freeze the undo as we may change fonts in Insets and
15473         all this change should be inside only one Undo!
15474
15475         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15476         setting font's in insets as for them we have the SetFont function!
15477
15478 2001-05-15  Juergen Vigna  <jug@sad.it>
15479
15480         * text2.C (ClearSelection): to be sure we REALLY don't have any
15481         selection anymore!
15482
15483         * tabular.C (TeXCellPreamble): fixed the left border problem for
15484         multicolumn cells.
15485
15486 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15487
15488         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15489         dependancy file
15490
15491 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15494         LFUN_BREAKPARAGRAPH.
15495
15496         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15497         help test to "internal only", similar for LFUN_INSERT_URL
15498
15499         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15500         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15501         auto_region_delete and deadkeys.
15502
15503 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15504
15505         * LColor.h:
15506         * LColor.C: remove some dead entries, tidy a little
15507
15508 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15509
15510         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15511         commented code.
15512         (Dispatch): implement LFUN_ESCAPE
15513
15514         * commandtags.h: add LFUN_ESCAPE
15515
15516         * LyXAction.C (init): add entry for LFUN_ESCAPE
15517
15518         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15519         Remove commented code.
15520         (insertNote): moved here
15521         (open_new_inset): moved here
15522
15523         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15524         BufferView_pimpl
15525
15526 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15527
15528         * kbmap.C (findbinding): clean it up and make it work correctly.
15529
15530         * lyx_main.C (init): do not pass argc and argv as parameters
15531
15532 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15533
15534         * buffer.C: fix path for OS/2 & Win32
15535
15536         * lyx_gui.C:
15537         * lyx_main:
15538         * lyx_main.C: Added os:: class.
15539
15540         * os2_defines.h: update
15541
15542 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15545         better by trying again with reduced state.
15546
15547 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * lyxrc.C (read): print error about invalid key sequence only when
15550         debugging (because not all latinX keysyms are known to some X
15551         servers)
15552
15553         * kbsequence.C (getiso): add a few std:: qualifiers
15554         (getiso): comment out extra return statement.
15555
15556 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15557
15558         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15559         handling.
15560         (Dispatch): enhance the accent inset a bit. (not perfect)
15561
15562 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15565
15566 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15567
15568         * bufferlist.C (emergencyWrite): fix assert() call
15569
15570 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15571
15572         * text.C (InsertChar): Added trivial patch to only send the "you
15573         can not do multiple spaces this way" message once during a
15574         session.
15575
15576 2001-05-08  Baruch Even  <baruch@lyx.org>
15577
15578         * Makefile.am: Changed order of libraries to get LyX to link properly
15579         with the gnome frontend.
15580
15581 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * LaTeXFeatures.h: add a std:: qualifier
15584
15585 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15586
15587         * paragraph.C (String): use stringstream
15588
15589 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * paragraph.C (writeFile): remove footflag arg
15592
15593         * buffer.C (makeLaTeXFile): use stringstream
15594         (latexParagraphs): remove footnot gurba
15595
15596         * LaTeXFeatures.C (getPackages): use stringstream
15597         (getMacros): likewise
15598         (getTClassPreamble): likewise
15599         (getFloatDefinitions): new method
15600
15601         * paragraph.C (writeFile): reindent
15602         (Erase): reindent
15603
15604         * WorkArea.h: revert the xpos + etc changes.
15605
15606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15607
15608         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15609
15610         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15611         (pasteSelection): likewise
15612         * text2.C (CreateUndo): likewise
15613
15614 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15615
15616         * minibuffer.C (peek_event): temporarily reduce the functionality
15617         of the minibuffer (to allow args on lfuns)
15618
15619         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15620         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15621
15622         * buffer.C (readInset): add compability reading of old float
15623         lists, add reading of new style float list.
15624         (readInset): avoid reevaluation of inscmd.getCmdName()
15625         (getLists): reindent
15626
15627         * MenuBackend.C (MenuItem): implement parsing of
15628         md_floatlistinsert and md_floatinsert.
15629         (expand::LastFiles): move initalizaton of iterators out of loop,
15630         avoid reevaluation.
15631         (expand::Documents): introduce typdedef vector<string> Strings,
15632         and use it.
15633         (expand::ExportFormats): introduce typedef vector<Format const *>
15634         Formats, and use it.
15635         (expand): implement FloatListInsert and FloatInsert.
15636
15637         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15638         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15639         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15640
15641         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15642         handling.
15643         (Dispatch::LFUN_FLOAT_LIST): implement
15644
15645 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15646
15647         * LaTeX.C (run): Fix problem with --export code.
15648
15649 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15650
15651         * BufferView.[Ch] (workarea): removed.
15652         (getClipboard) new method; wrapper for workarea()->getClipboard()
15653
15654         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15655         bug.
15656
15657         * WorkArea.h (width, height, xpos, ypos): These methods all
15658         returned the dimensions of the work_area sub-area of WorkArea,
15659         resulting in a position error if the WorkArea were resized. Now
15660         return the dimensions of the entire WorkArea.
15661
15662         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15663
15664 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * LaTeX.C (deplog): correct the syntax of regex reg1
15667
15668 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * undo.C: remove !NEW_INSETS cruft
15671
15672 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15673
15674         * text2.C: remove !NEW_INSETS cruft
15675
15676         * text.C: remove !NEW_INSETS cruft
15677
15678         * tabular.C: remove !NEW_INSETS cruft
15679
15680         * spellchecker.C: remove !NEW_INSETS cruft
15681
15682         * lyxtext.h: remove !NEW_INSETS cruft
15683
15684         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15685
15686         * lyxfunc.C: remove !NEW_INSETS cruft
15687
15688         * lyxfind.C: remove !NEW_INSETS cruft
15689
15690         * lyx_cb.C: remove !NEW_INSETS cruft
15691
15692         * figureForm.C: remove  !NEW_INSETS cruft
15693
15694         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15695
15696         * buffer.[Ch]: remove !NEW_INSETS cruft
15697
15698         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15699
15700         * CutAndPaste.C: remove !NEW_INSETS cruft
15701
15702         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15703
15704         * BufferView2.C: remove !NEW_INSETS cruft
15705
15706         * BufferView.h: remove !NEW_INSETS cruft
15707
15708 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * Lsstream.h: include LString.h before the sstream headers to
15711         fix problem with gcc 2.95.3 and lyxstring
15712
15713 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * lyx_main.C: add using directives when needed for C functions
15716         declared in std:: namespace.
15717
15718 2001-04-27  Juergen Vigna  <jug@sad.it>
15719
15720         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15721         (SetHeightOfRow): comment out the update call should not be needed!
15722
15723 2001-04-13  Juergen Vigna  <jug@sad.it>
15724
15725         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15726         (LyXTabular): tried to minimize operator= operations (and realized
15727         hopfully Lars wish).
15728
15729 2001-04-27  Juergen Vigna  <jug@sad.it>
15730
15731         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15732
15733 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15736
15737         * buffer.C (readInset): hack to make listof algorithm work
15738
15739         * BufferView_pimpl.C: hack to make listof algorithm work
15740
15741 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * LyXAction.C: removed all !NEW_INSETS cruft
15744         (init): moved lfun_item in method
15745
15746         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15747
15748 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15749
15750         * BufferView2.C (theLockingInset): white space.
15751
15752 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15753
15754         * minibuffer.C: include <iostream>
15755
15756         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15757
15758         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15759
15760         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15761
15762         * text.[Ch] (TransposeChars): new method
15763
15764 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15765
15766         * call message directly through LyXView instead of through LyXFunc
15767         * BufferView2.C: adjust
15768         * BufferView_pimpl.C: adjust
15769         * FontLoader.C: adjust
15770         * buffer.C: adjust
15771         * bufferview_funcs.C: adjust
15772         * converter.C: adjust
15773         * figureForm.C: adjust
15774         * importer.C: adjust
15775         * lyx_cb.C: adjust
15776         * lyx_gui_misc.C: adjust
15777         * lyxfunc.C: adjust
15778         * lyxvc.C: adjust
15779         * text2.C: adjust
15780         + more files in subdirs
15781
15782         * lyxparagraph.h (size): move up int file
15783         (GetLayout): ditto
15784
15785         * adjust all uses of Assert to lyx::Assert.
15786
15787         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15788         lyxfunctional in namespace lyx
15789         * layout.C (hasLayout): ditto
15790         (GetLayout): ditto
15791         (GetLayout): ditto
15792         (delete_layout): ditto
15793         (NumberOfClass): ditto
15794         * converter.C (GetFormat): ditto
15795         (GetNumber): ditto
15796         (Add): ditto
15797         (Delete): ditto
15798         (SetViewer): ditto
15799         * bufferlist.C (getFileNames): ditto
15800         (emergencyWriteAll): ditto
15801         (exists): ditto
15802         (getBuffer): ditto
15803         * MenuBackend.C (hasSubmenu): ditto
15804         (hasMenu): ditto
15805         (getMenu): ditto
15806         * BufferView_pimpl.C (getInsetByCode): ditto
15807
15808 2001-04-18  Juergen Vigna  <jug@sad.it>
15809
15810         * vspace.C (asLatexString): fixed the 100% problem.
15811
15812 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * lyxfunc.C (Dispatch):
15815         * minibuffer.C:
15816         * minibuffer.h: add a few std:: qualifiers
15817
15818 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * minibuffer.[Ch]: reimplement so that commands is initiated and
15821         run from lyxfunc, simplified som handling, and made the completion
15822         and history code for complete. wip.
15823
15824         * lyxfunc.C (processKeySym): call message
15825         (miniDispatch): new temporary method
15826         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15827         (LFUN_MESSAGE): implement
15828         (LFUN_MESSAGE_PUSH): implement
15829         (LFUN_MESSAGE_POP): implement
15830         (initMiniBuffer): the initial/defualt minibuffer message.
15831
15832         * lyxfont.[Ch]: inline some more getters
15833
15834         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15835
15836         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15837
15838         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15839         (AutoSave): use LFUN_MESSAGE
15840         (Reconfigure): ditto
15841
15842         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15843
15844         * figureForm.C: use LFUN_MESSAGE
15845
15846         * converter.C (runLaTeX): use LFUN_MESSAGE
15847
15848         * bufferview_funcs.C: use LFUN_MESSAGE
15849         (Melt): ditto
15850         (changeDepth): ditto
15851
15852         * bufferparams.h: use boost::
15853
15854         * bufferlist.h: inherit privately from noncopyable
15855
15856         * bufferlist.C (loadLyXFile): remove some commented code.
15857
15858         * buffer.C (runChktex): use LFUN_MESSAGE
15859
15860         * ShareContainer.h: inherit privately from noncopyable
15861
15862         * ParagraphParameters.[hC] (depth): inline it.
15863
15864         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15865         methods.
15866         (message): new method
15867         (messagePush): ditto
15868         (messagePop): ditto
15869         (show): init minibuffer
15870         (showState): direct call
15871
15872         * LaTeX.[Ch]: inherit privately from noncopyable
15873         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15874         instead of WriteStatus.
15875
15876         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15877
15878         * BufferView_pimpl.C (buffer): don't init minibuffer
15879         (workAreaButtonPress): use LFUN_MESSAGE
15880         (workAreaButtonRelease): ditto
15881         (savePosition): ditto
15882         (restorePosition): ditto
15883         (MenuInsertLyXFile): ditto
15884         (workAreaExpose): don't init minibuffer
15885         (update): remove commented code, simplify
15886
15887         * BufferView2.C (openStuff): use LFUN_MESSAGE
15888         (toggleFloat): ditto
15889         (menuUndo): ditto
15890         (menuRedo): ditto
15891         (copyEnvironment): ditto
15892         (pasteEnvironment): ditto
15893         (copy): ditto
15894         (cut): ditto
15895         (paste): ditto
15896         (gotoInset): ditto
15897         (updateInset): remove some commented code
15898
15899         * lastfiles.h: inherit privately from noncopyable
15900         * layout.h: ditto
15901         * lyx_gui.h: ditto
15902         * lyx_main.h: ditto
15903         * lyxlex.h: ditto
15904         * lyxlex_pimpl.h: ditto
15905
15906         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15907         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15908         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15909
15910         * LyXAction.h: inherit privately from noncopyable, add methods
15911         func_begin, func_end, returning iterators to the func map.
15912
15913         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15914         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15915         (func_begin): new method
15916         (func_end): new method
15917
15918         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15919         and not)
15920         (copySelection): ditto
15921         (pasteSelection): ditto
15922
15923         * BufferView.C: whitespace change
15924         * BufferView.h: inherit privately from noncopyable
15925
15926 2001-04-16  Allan Rae  <rae@lyx.org>
15927
15928         * tabular-old.C (l_getline):
15929         * spellchecker.C (sc_check_word):
15930         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15931         an unrecognised preprocessor directive.  So ensure they're wrapped.
15932
15933 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15934
15935         * src/exporter.C (Export): Give an error message when path to file
15936         contains spaces.
15937
15938 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15939
15940         * LaTeX.C (deplog): Always check that foundfile exists.
15941
15942 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * lyx_main.h:
15945         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15946
15947 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15948
15949         * tabular.[Ch] (getLabelList): implement new method
15950
15951         * minibuffer.h: comment ouf setTiimer
15952
15953         * minibuffer.C (ExecutingCB): constify res
15954         (peek_event): constify s
15955         (Set): constify ntext
15956         (Init): constify nicename
15957
15958         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15959
15960         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15961         (savePosition): use two params to Minibuffer::Set
15962         (restorePosition): ditto
15963
15964 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * lyx_main.C: include language.h
15967
15968         * Makefile.am (lyx_main.o): add language.h
15969
15970 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * exporter.C:
15973         * paragraph.C:
15974         * screen.C:
15975         * tabular.C:
15976         * CutAndPaste.C: include gettext.h
15977
15978         * lyxfont.h: remove old hack with ON and OFF.
15979
15980         * lyxparagraph.h:
15981         * lyxfont.h: do not include language.h...
15982
15983         * BufferView2.C:
15984         * LaTeXFeatures.C:
15985         * Painter.C:
15986         * bufferview_funcs.C:
15987         * font.C:
15988         * lyxfont.C:
15989         * text.C:
15990         * text2.C:
15991         * trans_mgr.C:
15992         * paragraph.C: ... but do it here instead
15993
15994 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15997
15998         * tabular.C: small reformat
15999
16000         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16001         NEW_INSETS version
16002         (GetChar): ditto
16003         (BreakParagraph): ditto
16004         (SetOnlyLayout): ditto
16005         (SetLayout): ditto
16006
16007         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16008         with one arg less.
16009
16010         * lastfiles.C: removed most using decl, add std:: where needed
16011
16012         * buffer.C: ws changes
16013
16014         * MenuBackend.C (class compare_format): put into anon namespace
16015         (expand): constify label, names, action, action2
16016         (expand):
16017
16018         * text.C (SingleWidth): constify font
16019         (IsBoundary): constify rtl2
16020         (GetVisibleRow): constify ww
16021
16022         * LaTeX.C (deplog): constify logfile
16023
16024         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16025         start_x, end_x
16026         (workAreaExpose): constify widthChange, heightChange
16027
16028         * lyxrow.C (par): moved
16029         (height): moved
16030         (next): moved
16031         * lyxrow.h: as inlines here
16032
16033         * lyxfont.h (shape): moved from lyxfont.C
16034         (emph): moved from lyxfont.C
16035
16036         * lyxfont.C (LyXFont): use initialization list for all
16037         constructors
16038         (shape): move to lyxfont.h as inline
16039         (emph): move to lyxfont.h as inline
16040
16041
16042 2001-04-04  Juergen Vigna  <jug@sad.it>
16043
16044         * vspace.C: had to include stdio.h for use of sscanf
16045
16046 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16047
16048         * BufferView.h:
16049         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16050         independent of xforms.
16051
16052 2001-04-02  Juergen Vigna  <jug@sad.it>
16053
16054         * spellchecker.C: fixed namespace placing!
16055
16056 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16057
16058         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16059         the LyXParagraph * is 0.
16060
16061 2001-03-29  Juergen Vigna  <jug@sad.it>
16062
16063         * vspace.C: added support for %, c%, p%, l%.
16064         (stringFromUnit): added helper function.
16065         (asLatexString): changed to give right results for the %-values.
16066
16067         * buffer.C: convert the widthp in a width%.
16068
16069 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16070
16071         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16072         figureForm.[Ch].
16073
16074         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16075         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16076
16077         * lyx_cb.[Ch]: see above.
16078
16079         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16080         form1.[Ch].
16081
16082         * form1.[Ch]:
16083         * lyx.[Ch]: replaced by figure_form.[Ch].
16084
16085         * lyx_gui.C:
16086         * lyx_gui_misc.C:
16087         * lyxfunc.C: changed headers associated with above changes.
16088
16089 2001-03-27  Juergen Vigna  <jug@sad.it>
16090
16091         * BufferView_pimpl.C: set the temporary cursor right!
16092
16093 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16094
16095         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16096
16097 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16098
16099         * LString.h: removed "using std::getline"!
16100
16101         * BufferView_pimpl.C (Dispatch): changes due to changes in
16102         InsetInclude::Params.
16103
16104         * buffer.C (tag_name): removed redundant break statements as they were
16105         producing lots of warnings with my compiler.
16106
16107 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * LString.h: add "using std::getline" when using the real <string>.
16110
16111 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16112
16113         * buffer.C: removed bitset usage.
16114         PAR_TAG moved to an anonymous name space.
16115         (tag_name): new funtion, also in the anonymous namespace.
16116         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16117         (makeDocBookFile): clean code. Completed transition from string arrays
16118         to string vectors.
16119         (SimpleDocBookOnePar): code clean.
16120
16121 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16122
16123         * tabular.C: add some comments.
16124
16125 2001-03-22  Juergen Vigna  <jug@sad.it>
16126
16127         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16128         compatibility read a bit and fixed bug with minipage in different
16129         depth.
16130
16131 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16132
16133         * buffer.C (pop_tag): removed.
16134         (push_tag): removed.
16135         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16136         array replaced with vector. Added support for CDATA sections.
16137         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16138         at any nest level.
16139         (makeDocBookFile): XML conformant declaration of CDATA section,
16140         fixed bug related to <emphasis> in the first paragraph char.
16141         (sgmlOpenTag): exclude empty tags.
16142         (sgmlCloseTag): ditto.
16143
16144         * buffer.h (pop_tag): removed.
16145         (push_tag): removed.
16146
16147 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16148
16149         * language.h (Languages): added size_type and size().
16150
16151 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16152
16153         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16154         response on compability reading of minipages. One probliem is that
16155         the old usage of minipages was «flertydig»
16156
16157         * several files here and in subdirs: don't use static at file
16158         scope use anon namespaces instead.
16159
16160 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16161
16162         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16163         LaTeX output. This is necessary for Literate document
16164         processing.
16165
16166 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16167
16168         * buffer.C: insert hfill when needed.
16169
16170         * tabular.C (l_getline): use string::erase, small whitespace change.
16171
16172         * BufferView_pimpl.C: try the anon namespace.
16173         * WorkArea.C: ditto
16174
16175 2001-03-16  Juergen Vigna  <jug@sad.it>
16176
16177         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16178         otherwise it won't open options-dialogs.
16179
16180         * buffer.C: honor pextraWidth(p) on converting minipages.
16181
16182         * tabular.C (l_getline): changed the functions to strip trailing \r.
16183
16184 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16185
16186         * BufferView_pimpl.C:
16187         * minibuffer..C: added "using SigC::slot" declaration.
16188
16189 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16190
16191         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16192
16193         * text2.C: ditto
16194
16195         * text.C: ditto
16196
16197         * paragraph.C: ditto
16198
16199         * lyxtext.h: NO_PEXTRA
16200
16201         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16202
16203         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16204         * ParameterStruct.h: ditto
16205         * ParagraphParameters.h: ditto
16206         * lyxparagraph.h: ditto
16207
16208 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16209
16210         * buffer.C: add compability for minipage alignment.
16211         (latexParagraphs): remove unwanted pextra check.
16212
16213         * several files: remove CXX_WORKING_NAMESPACES
16214
16215         * buffer.C (pop_tag): tie is in namespace boost
16216
16217         * BufferView.h: noncopyable is in namespace boost
16218         * lyxlex.h: ditto
16219         * lyx_main.h: ditto
16220         * lyx_gui.h: ditto
16221         * layout.h: ditto
16222         * lastfiles.h: ditto
16223         * bufferlist.h: ditto
16224         * ShareContainer.h: ditto
16225         * LyXView.h: ditto
16226         * LyXAction.h: ditto
16227         * LaTeX.h: ditto
16228
16229 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16230
16231         * Merging changes from BRANCH_MVC back into HEAD.
16232
16233         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16234
16235 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16236
16237         * BufferView_pimpl.C: change from intl.C
16238
16239         * combox.h:
16240         * combox.C:
16241         * Makefile.am: move combox.*
16242
16243         * form1.h:
16244         * form1.C:
16245         * lyx_gui.C:
16246         * intl.h:
16247         * intl.C: remove dialog (covered by prefs)
16248
16249 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16250
16251         * lyxfunc.C (Dispatch): removed redundant break statement.
16252
16253 2001-03-14  Juergen Vigna  <jug@sad.it>
16254
16255         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16256
16257 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16258
16259         * buffer.C: add hack to fix compability reading of minipages.
16260
16261 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * buffer.C (getLists): Cleanup.
16264
16265 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16266
16267         * lyxfont.C (update): don't honor toggleall on font size.
16268
16269 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16270
16271         * bmtable.c:
16272         * bmtable.h:
16273         * Makefile.am: moved to frontends/xforms/
16274
16275         * lyx_gui_misc.C:
16276         * lyxfunc.C:
16277         * BufferView_pimpl.C: changes for moved mathpanel
16278
16279 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * gettext.h: fix gettext_init() in --disable-nls
16282
16283 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16284
16285         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16286
16287 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16288
16289         * lyx.C:
16290         * lyx.h: strip external form
16291
16292 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16293
16294         * BufferView_pimpl.C: add comment, destroySplash()
16295
16296 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16297
16298         * BufferView_pimpl.C:
16299         * LyXAction.C:
16300         * buffer.C:
16301         * commandtags.h:
16302         * lyxfunc.C: use re-worked insetinclude
16303
16304 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16305
16306         * buffer.C: add using std::stringstream.
16307
16308         * lyx_cb.C: readd using std::ios.
16309
16310         * buffer.C: add using std::map.
16311
16312         * BufferView_pimpl.C: add using std::vector.
16313
16314         * ShareContainer.h: add std:: to swap.
16315
16316         * buffer.h: add some typedefs
16317         * buffer.C (getLists): use them
16318         (getLists): renamed from getTocList.
16319         add a counter for the different float types and use it in the
16320         generated string.
16321         (getLists): use the same counter for the NEW_INSETS and the "non"
16322         NEW_INSETS
16323
16324         * lyx_cb.h: remove unused items, includes, using etc.
16325
16326         * ShareContainer.h: remove some commented code, add more comments
16327         and "documentation".
16328
16329 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16330
16331         * buffer.C (getTocList): make the list also when NEW_INSETS is
16332         defined.
16333
16334         * buffer.h: remove TocType
16335
16336         * buffer.C (getTocList): change to return a map<string,
16337         vector<TocItem> >, implement for dynamic number of list.
16338
16339         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16340         * text2.C (PasteSelection): adjust
16341         * CutAndPaste.C (pasteSelection): adjust
16342
16343         * FloatList.C (FloatList): update from the new_insets branch.
16344         * Floating.[Ch]: ditto
16345         * LaTeXFeatures.C: ditto
16346         * buffer.C: ditto
16347         * lyxlex_pimpl.C: ditto
16348
16349         * paragraph.C (Last): remove when NEW_INSETS is defined.
16350
16351         * other file: changes because of the above.
16352
16353 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16354
16355         * lyxparagraph.h: rename next to next_, previous to previous_,
16356         make them private for NEW_INSETS. Rename Next() to next(),
16357         Previous() to previous().
16358
16359         * other files: changes because of the above.
16360
16361 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16362
16363         * BufferView.h:
16364         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16365         problem.
16366
16367 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * main.C (main): pass lyx_localedir to gettext_init().
16370
16371         * gettext.h: remove locale_init and gettext_init macros
16372
16373         * gettext.C (locale_init): new function
16374         (gettext_init): new function
16375
16376         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16377         setlocale().
16378
16379 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16380
16381         * Moved credits to frontends:
16382         * credits.[Ch]: removed
16383         * credits_form.[Ch]: removed
16384         * lyx_gui_misc.C: remove credits stuff
16385         * Makefile.am:
16386
16387 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16388
16389         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16390
16391         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16392         unneeded destructor.
16393
16394         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16395         a standalone pointer again.
16396
16397         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16398
16399 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16400
16401         * Makefile.am:
16402         * filedlg.h:
16403         * filedlg.C:
16404         * LyXAction.C:
16405         * ToolbarDefaults.C:
16406         * bufferlist.C:
16407         * commandtags.h:
16408         * form1.C:
16409         * form1.h:
16410         * lyx_cb.C:
16411         * lyx_cb.h:
16412         * lyxfunc.h:
16413         * lyxfunc.C:
16414         * BufferView_pimpl.C: use new file dialog in GUII
16415
16416         * lyx_cb.h:
16417         * lyx_cb.C: remove LayoutsCB to Toolbar
16418
16419 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16420
16421         * ShareContainer.h (get): add std:: qualifier
16422
16423 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16424
16425         * ShareContainer.h: define a proper ShareContainer::value_type
16426         type (and use typename to please compaq cxx)
16427
16428 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16429
16430         * lyxparagraph.h: move serveral local vars to
16431         ParameterStruct/ParagraphParameters., use ShareContainer in
16432         FontTable., make vars in FontTable private and add getter and
16433         setter.
16434
16435         * paragraph.C: changes because of the above.
16436
16437         * lyxfont.h: remove copy constructor and copy assignment. (the
16438         default ones is ok), move number inside FontBits. move inlines to
16439         lyxfont.C
16440
16441         * lyxfont.C: add number to initializaton of statics, move several
16442         inlines here. constify several local vars. some whitespace
16443         cleanup. Dont hide outerscope variables.
16444
16445         * Spacing.h: add two new constructors to match the set methods.
16446
16447         * ShareContainer.h: new file, will perhaps be moved to support
16448
16449         * ParameterStruct.h: new file
16450
16451         * ParagraphParameters.h: new file
16452
16453         * ParagraphParameters.C: new file
16454
16455         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16456         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16457
16458         * BufferView_pimpl.C: ParagraphParameter changes.
16459         * buffer.C: Likewise.
16460         * bufferview_funcs.C: Likewise.
16461         * text.C: Likewise.
16462         * text2.C: Likewise.
16463
16464 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16465
16466         * lyxfind.C (LyXReplace): do not redefine default argument in
16467         implementation.
16468         (IsStringInText): ditto
16469         (SearchForward): ditto
16470         (SearchBackward): ditto
16471
16472 2001-03-06  Juergen Vigna  <jug@sad.it>
16473
16474         * lyxfind.C (IsStringInText): put parentes around expressions.
16475
16476 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16477
16478         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16479
16480 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16481
16482         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16483
16484         * stl_string_fwd.h: add comment
16485
16486         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16487
16488         * tabular.h:
16489         * tabular.C: remove unused DocBook methods
16490
16491         * intl.C:
16492         * language.C:
16493         * paragraph.C:
16494         * buffer.C:
16495         killed DO_USE_DEFAULT_LANGUAGE
16496
16497 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16498
16499         * lyx_gui.C: do not include language.h.
16500
16501         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16502         arguments in function implementation.
16503
16504 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16505
16506         * BufferView_pimpl.C: add <ctime>
16507
16508 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16509
16510         * BufferView_pimpl.C: add using std::find_if
16511
16512 2001-02-27  José Matos  <jamatos@fep.up.pt>
16513
16514         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16515         by OnlyPath.
16516
16517 2001-02-11  José Matos  <jamatos@fep.up.pt>
16518
16519         * buffer.C (makeDocBookFile): command styles now have a parameter as
16520         "title" by default.
16521
16522 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16523
16524         * layout_forms.[Ch]: removed
16525         * lyx_cb.[Ch]: out character
16526         * lyx_gui.C: out character
16527         * lyx_gui_misc.C: out character
16528         * bufferview_funcs.C: : out character,
16529         added toggleall as parameter in ToggleAndShow
16530
16531 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16534
16535         * text2.C (SetCurrentFont): Disable number property at boundary.
16536
16537 2001-02-26  Juergen Vigna  <jug@sad.it>
16538
16539         * lyxfunc.C (getStatus): added a string argument override function so
16540         that this is correctly called from LyXFunc::Dispatch if it contains a
16541         do_not_use_argument which is used!
16542         (Dispatch): added check for "custom" export and call appropriate func.
16543
16544 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16545
16546         * lyxrc.C: Add language_command_local, language_use_babel and
16547         language_global_options.
16548
16549         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16550
16551         * buffer.C (makeLaTeXFile): Use language_use_babel and
16552         language_global_options.
16553
16554 2001-02-23  Juergen Vigna  <jug@sad.it>
16555
16556         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16557         which works with LyXText and putted it inside BufferView. Here now we
16558         only call for that part the BufferView::Dispatch() function.
16559
16560         * BufferView.C (Dispatch): added.
16561
16562         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16563         functions which needs to use a LyXText over from LyXFunc.
16564         (MenuInsertLyXFile): added
16565         (getInsetByCode): added
16566         (moveCursorUpdate): added
16567         (static TEXT): added
16568
16569 2001-02-22  Juergen Vigna  <jug@sad.it>
16570
16571         * BufferView_pimpl.C (update): call a status update to see if LyXText
16572         needs it.
16573
16574 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16575
16576         * vc-backend.C (revert): implement for CVS
16577         (getLog): implement for CVS
16578
16579 2001-02-20  Juergen Vigna  <jug@sad.it>
16580
16581         * text2.C (ClearSelection): added BufferView param for inset_owner call
16582
16583         * lyxfunc.C (TEXT): added this function and use it instead of
16584         directly owner->view()-text of getLyXText().
16585
16586 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16587
16588         * src/layout_forms.C: out preamble
16589         * src/layout_forms.h: out preamble
16590         * src/lyx_cb.C: out preamble
16591         * src/lyx_cb.h: out preamble
16592         * src/lyx_gui.C: out preamble
16593         * src/lyx_gui_misc.C: out preamble
16594         * src/lyxfunc.C: connect with guii preamble
16595
16596 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16597
16598         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16599
16600 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16603         whether to run bibtex.
16604
16605 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16606
16607         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16608
16609 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16610
16611         * Makefile.am (lyx_SOURCES): removed bibforms.h
16612
16613         * vspace.h: doxygen
16614
16615         * text.C (GetVisibleRow): make several local vars const
16616
16617         * tabular.C: small cleanup.
16618
16619         * lyxserver.C (callback): use compare instead of strncmp
16620
16621         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16622         inlines to after class or to paragraph.C
16623
16624         * lyxfont.h: remove friend operator!=
16625
16626         * converter.h: move friend bool operator< to non friend and after
16627         class def.
16628
16629         * combox.h: small cleanup
16630
16631         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16632         to inlines after class def.
16633
16634         * buffer.C (pop_tag): use string operations instead of strcmp
16635
16636         * bmtable.c: doxygen, small cleanup
16637
16638         * LaTeX.h: remove friend operator==
16639
16640 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16641
16642         * screen.C:
16643         * lyxrc.[Ch]:
16644         * lyxfunc.C:
16645         * lyxfont.[Ch]:
16646         * lyx_cb.C:
16647         * intl.[Ch]:
16648         * commandtags.h:
16649         * buffer.C:
16650         * WorkArea.[Ch]:
16651         * LyXAction.C:
16652         * BufferView_pimpl.C:
16653         * BufferView.[Ch]: remove cruft
16654
16655 2001-02-14  Juergen Vigna  <jug@sad.it>
16656
16657         * lyxfunc.C: removed #if 0 unused code
16658
16659         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16660
16661         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16662
16663         * text2.C (SetSelection): added a BufferView * parameter
16664
16665 2001-02-13  Juergen Vigna  <jug@sad.it>
16666
16667         * lyxfunc.C (Dispatch): fixed protected blank problem.
16668         * BufferView2.C (protectedBlank): added LyxText * parameter.
16669
16670         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16671         (AppendColumn): same as above for column_info.
16672
16673         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16674         (moveCursorUpdate): use a LyXText param for support of InsetText.
16675
16676         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16677         (tripleClick): ditto
16678
16679         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16680
16681         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16682
16683         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16684
16685         * text2.C (SetSelection): set correct update status if inset_owner
16686         (ToggleFree): ditto
16687
16688 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16689
16690         * tabular.C: remove some commented code.
16691
16692 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16693
16694         * BufferView_pimpl.C: call hideSplash()
16695
16696         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16697
16698         * include_form.h:
16699         * bibforms.h: remove
16700
16701         * lyxfunc.C:
16702         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16703           add LFUN_CHILD_CREATE
16704
16705         * counters.h: fix tiny typo
16706
16707         * lyx_cb.C:
16708         * lyx.h:
16709         * lyx_gui.C:
16710         * lyx.C: move splash to frontends/xforms/
16711
16712         * lyx_gui_misc.C: move Include and Bibform to frontends
16713
16714         * lyxvc.h: clarify comment
16715
16716         * vspace.C: tiny housekeeping
16717
16718 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16719
16720         * text.C (PrepareToPrint): RTL Fix.
16721
16722         * paragraph.C (GetUChar): New method.
16723         (String):  Use GetUChar.
16724
16725         * buffer.C (asciiParagraph): Use GetUChar.
16726
16727 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16728
16729         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16730
16731 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * buffer.h:
16734         * buffer.C: rename to getLogName(), handle
16735           build log / latex log nicely
16736
16737 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16738
16739         * MenuBackend.C:
16740         * MenuBackend.h: remove support for reference menuitem type.
16741
16742 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16743
16744         * BufferView_pimpl.C: housekeeping
16745         * BufferView_pimpl.h:
16746         * LyXView.h:
16747         * Makefile.am:
16748         * Timeout.C:
16749         * Timeout.h:
16750         * minibuffer.h: move Timeout GUI-I
16751
16752 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16753
16754         * lyxrc.C (read): Update converters data-structures.
16755
16756 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16757
16758         * LaTeX.h (operator!=): add operator != for Aux_Info
16759
16760 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16761
16762         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16763
16764         * LaTeXLog.C: deleted, useful code moved to Buffer
16765
16766         * buffer.h:
16767         * buffer.C: new function getLatexLogName()
16768
16769         * lyx_gui_misc.C:
16770         * lyx_gui.C:
16771         * lyxvc.C:
16772         * lyxvc.h:
16773         * lyxfunc.C: use frontends for LaTeX and VC logs
16774
16775 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16776
16777         * LaTeX.h: yet another std:: that Allan forgot.
16778
16779         * Variables.C (set): renamed from isset(), because this clashes
16780         with some HP-UX macros (grr).
16781
16782 2001-02-06  Allan Rae  <rae@lyx.org>
16783
16784         * LaTeX.h: Another bug fix.  Missing std:: this time.
16785
16786 2001-02-04  Allan Rae  <rae@lyx.org>
16787
16788         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16789         floats problem. I've left it commented out because it's not quite
16790         correct.  It should also test that the current object is a table or
16791         figure inset.  But I haven't gotten around to figuring out how to do
16792         that.  I *think* it'll be something like: "table" == inset.type()
16793
16794         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16795         bool.
16796
16797 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16798
16799         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16800         all the citation/databases/styles in the auxilary file.
16801         (run): Rerun latex if there was a babel language error.
16802
16803 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16804
16805         * text.C (Backspace): Preserve the font when changing newline char
16806         with a space.
16807         (BreakParagraph): If the cursor is before a space, delete the space.
16808
16809         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16810
16811 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16812
16813         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16814         new argument (code).
16815         (ChangeCitationsIfUnique): New method.
16816
16817         * paragraph.C (GetPositionOfInset): Handle bibkey.
16818
16819 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16820
16821         * BufferView_pimpl.h: change type of Position::par_pos to
16822         LyXParagraph::size_type.
16823
16824 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16825
16826         * BufferView_pimpl.C (savePosition, restorePosition): Write
16827         messages to minibuffer.
16828
16829 2001-01-28  José Matos  <jamatos@fep.up.pt>
16830
16831         * buffer.C (makeDocBookFile): adds support for document language.
16832         A silly restriction on the name of LatexCommand types where removed.
16833         Added support for CDATA sections, allows to chars unescaped, used
16834         among others in code, to avoid escape < and >.
16835
16836 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16837
16838         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16839         saved positions instrad of a stack. Furthermore, a position is
16840         stored using paragraph id/paragraph position.
16841
16842         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16843         Remove LFUN_REF_BACK.
16844
16845 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16846
16847         * converter.C (dvipdfm_options): New method.
16848
16849 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * vspace.C (isValidLength): Fix for empty input string.
16852
16853 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * LyXAction.C (init): change description of LFUN_FIGURE to
16856         "Insert Graphics"
16857
16858 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16859
16860         * LaTeX.C: add using directive
16861
16862 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16863
16864         * MenuBackend.C (expand): Fix the sorting of the formats.
16865
16866 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16867
16868         * lyx_main.C: tiny error message fix
16869
16870 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16871
16872         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16873         calling fl_initialize(). This fixes the problem with ',' as
16874         decimal separator in text files.
16875
16876 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16877
16878         * trans.C (process): Fix the keymap bug.
16879
16880 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16881
16882         * LaTeX.C (scanAuxFiles): New method. Provides support for
16883         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16884         (scanLogFile) Scan for "run BibTeX" messages.
16885
16886         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16887         OT1 font encoding. Also, load the aecompl package if the ae
16888         package is loaded.
16889
16890         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16891
16892 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * texrow.C (increasePos): turn two error messages into debug
16895         messages.
16896
16897 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16898
16899         * LaTeX.C (scanAux): Handle the \@input macro.
16900         (runBibTeX): Use scanAux().
16901
16902         * language.C (latex_options_): New field.
16903
16904         * LaTeXFeatures.C (getMacros): Add language macros.
16905
16906         * buffer.C (makeLaTeXFile): Small fix.
16907
16908 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16911
16912         * text2.C: add a using directive.
16913
16914 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16915
16916         * BufferView2.C:
16917         * lyx_gui_misc.h:
16918         * lyxfr1.C:
16919         * lyxfunc.C: kill LyXBell.
16920
16921 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16922
16923         * text.C (IsBoundary): Remove the error message
16924
16925         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16926
16927         * lyxrc.C (setDefaults): Correct initialization value for
16928         font_norm_type.
16929
16930 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16931
16932         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16933         gotoError().
16934
16935         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16936         and GotoNextNote().
16937
16938         * src/LyXAction.C: Added reference-next.
16939
16940         * text.C (InsertChar): Use contains instead of strchr.
16941
16942         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16943
16944 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16945
16946         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16947         alignment commands (when needed).
16948
16949         * text.C (InsertChar): Add ':' to number separator chars.